music-assistant-server.git
3 years agoCentralize polling logic (#390)
Marcel van der Veldt [Thu, 30 Jun 2022 21:38:28 +0000 (23:38 +0200)]
Centralize polling logic (#390)

Move polling logic to player manager

3 years agofix pylint checks
Marcel van der Veldt [Thu, 30 Jun 2022 21:30:37 +0000 (23:30 +0200)]
fix pylint checks

3 years agoBump pylint from 2.13.9 to 2.14.3 (#380)
dependabot[bot] [Thu, 30 Jun 2022 21:17:34 +0000 (23:17 +0200)]
Bump pylint from 2.13.9 to 2.14.3 (#380)

Bumps [pylint](https://github.com/PyCQA/pylint) from 2.13.9 to 2.14.3.
- [Release notes](https://github.com/PyCQA/pylint/releases)
- [Commits](https://github.com/PyCQA/pylint/compare/v2.13.9...v2.14.3)

---
updated-dependencies:
- dependency-name: pylint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years agoAuto-update pre-commit hooks (#389)
github-actions[bot] [Thu, 30 Jun 2022 21:16:48 +0000 (23:16 +0200)]
Auto-update pre-commit hooks (#389)

Co-authored-by: marcelveldt <marcelveldt@users.noreply.github.com>
3 years agofix examples
Marcel van der Veldt [Thu, 30 Jun 2022 19:47:01 +0000 (21:47 +0200)]
fix examples

3 years ago1.4.10
Marcel van der Veldt [Wed, 29 Jun 2022 19:18:57 +0000 (21:18 +0200)]
1.4.10

3 years agoMerge branch 'master' of https://github.com/music-assistant/music-assistant-lib
Marcel van der Veldt [Wed, 29 Jun 2022 19:18:42 +0000 (21:18 +0200)]
Merge branch 'master' of https://github.com/music-assistant/music-assistant-lib

3 years agomore fixes for group
Marcel van der Veldt [Wed, 29 Jun 2022 19:18:32 +0000 (21:18 +0200)]
more fixes for group

3 years ago1.4.9
Marcel van der Veldt [Wed, 29 Jun 2022 15:58:49 +0000 (17:58 +0200)]
1.4.9

3 years agosome fixes for grouped players again
Marcel van der Veldt [Wed, 29 Jun 2022 15:44:52 +0000 (17:44 +0200)]
some fixes for grouped players again

3 years ago1.4.8
Marcel van der Veldt [Tue, 28 Jun 2022 22:55:30 +0000 (00:55 +0200)]
1.4.8

3 years agoA few small fixes (#388)
Marcel van der Veldt [Tue, 28 Jun 2022 22:46:09 +0000 (00:46 +0200)]
A few small fixes (#388)

* fix metadata when repeat is enabled

* try not to crash on a single file while syncing

* fix for album tracks listings matching in multi provider setup

3 years agoFixes for grouped players (#387)
Marcel van der Veldt [Tue, 28 Jun 2022 21:16:55 +0000 (23:16 +0200)]
Fixes for grouped players (#387)

fix grouped players

3 years ago1.4.7
Marcel van der Veldt [Fri, 24 Jun 2022 18:36:07 +0000 (20:36 +0200)]
1.4.7

3 years agoSome small fixes (#386)
Marcel van der Veldt [Fri, 24 Jun 2022 18:35:43 +0000 (20:35 +0200)]
Some small fixes (#386)

- another fix for reconnecting Kodi players
- fix for passive playback start

3 years ago1.4.6
Marcel van der Veldt [Thu, 23 Jun 2022 19:09:47 +0000 (21:09 +0200)]
1.4.6

3 years agofix small typos
Marcel van der Veldt [Thu, 23 Jun 2022 18:45:50 +0000 (20:45 +0200)]
fix small typos

3 years agoallow play_media items to be actual media items
Marcel van der Veldt [Thu, 23 Jun 2022 16:58:55 +0000 (18:58 +0200)]
allow play_media items to be actual media items

3 years agoFix for appending single tracks to queue (#385)
Marcel van der Veldt [Thu, 23 Jun 2022 15:25:56 +0000 (17:25 +0200)]
Fix for appending single tracks to queue (#385)

* fix for appending single items to the queue

3 years agoFix for custom URL(s) in Tune-In Library (#384)
Marcel van der Veldt [Thu, 23 Jun 2022 14:33:10 +0000 (16:33 +0200)]
Fix for custom URL(s) in Tune-In Library (#384)

3 years agofix global search caching
Marcel van der Veldt [Thu, 23 Jun 2022 13:41:57 +0000 (15:41 +0200)]
fix global search caching

3 years agofix typo
Marcel van der Veldt [Thu, 23 Jun 2022 09:54:34 +0000 (11:54 +0200)]
fix typo

3 years agofix for cache
Marcel van der Veldt [Thu, 23 Jun 2022 09:50:39 +0000 (11:50 +0200)]
fix for cache

3 years agofix small typo
Marcel van der Veldt [Thu, 23 Jun 2022 09:38:26 +0000 (11:38 +0200)]
fix small typo

3 years agoImprove cache for items from music providers (#383)
Marcel van der Veldt [Thu, 23 Jun 2022 09:29:19 +0000 (11:29 +0200)]
Improve cache for items from music providers (#383)

remove cache from provider implementations and have the logic at global/abstract level

3 years agoAdd some additional logging for common mistakes (#382)
Marcel van der Veldt [Thu, 23 Jun 2022 09:17:17 +0000 (11:17 +0200)]
Add some additional logging for common mistakes (#382)

* raise error when spotify account used

* print warning when emailaddress used for tunein

3 years agoreplace quote in search query
Marcel van der Veldt [Wed, 22 Jun 2022 22:19:58 +0000 (00:19 +0200)]
replace quote in search query

3 years agoFix playback on Kodi/OSMC (#381)
Marcel van der Veldt [Wed, 22 Jun 2022 20:19:12 +0000 (22:19 +0200)]
Fix playback on Kodi/OSMC (#381)

- support sending icy metadata
- fix playback on players that do multiple get requests

3 years ago1.4.5
Marcel van der Veldt [Mon, 20 Jun 2022 07:38:48 +0000 (09:38 +0200)]
1.4.5

3 years agoIncrease buffer size for radio streams (#379)
Marcel van der Veldt [Mon, 20 Jun 2022 07:38:28 +0000 (09:38 +0200)]
Increase buffer size for radio streams (#379)

3 years ago1.4.4
Marcel van der Veldt [Sun, 19 Jun 2022 22:56:55 +0000 (00:56 +0200)]
1.4.4

3 years agoFix sort order of filesystem album tracks if played (#378)
Marcel van der Veldt [Sun, 19 Jun 2022 22:36:00 +0000 (00:36 +0200)]
Fix sort order of filesystem album tracks if played (#378)

3 years agoFix error when items are deleted from file provider (#377)
Marcel van der Veldt [Sun, 19 Jun 2022 22:07:32 +0000 (00:07 +0200)]
Fix error when items are deleted from file provider (#377)

3 years agoFix default album fallback image for tracks (#376)
Marcel van der Veldt [Sun, 19 Jun 2022 21:18:43 +0000 (23:18 +0200)]
Fix default album fallback image for tracks (#376)

3 years agoPass unavailable players (#375)
Marcel van der Veldt [Sun, 19 Jun 2022 18:52:19 +0000 (20:52 +0200)]
Pass unavailable players (#375)

pass unavailable players

let lib consumer handle unavailable players

3 years ago1.4.3
Marcel van der Veldt [Sat, 18 Jun 2022 12:12:11 +0000 (14:12 +0200)]
1.4.3

3 years agoFix queue corruption issue (#374)
Marcel van der Veldt [Sat, 18 Jun 2022 11:50:50 +0000 (13:50 +0200)]
Fix queue corruption issue (#374)

* Fix queue get corrupt when adding single item

* fix race condition while playing TTS if player is still off

3 years agofix typo
Marcel van der Veldt [Fri, 17 Jun 2022 19:25:03 +0000 (21:25 +0200)]
fix typo

3 years ago1.4.2
Marcel van der Veldt [Fri, 17 Jun 2022 12:12:50 +0000 (14:12 +0200)]
1.4.2

3 years agobypass cache for qobuz library items
Marcel van der Veldt [Fri, 17 Jun 2022 12:12:10 +0000 (14:12 +0200)]
bypass cache for qobuz library items

3 years agocomment
Marcel van der Veldt [Fri, 17 Jun 2022 11:55:51 +0000 (13:55 +0200)]
comment

3 years agoAdd workaround for spotify AP resolve issue (#372)
Marcel van der Veldt [Fri, 17 Jun 2022 11:44:00 +0000 (13:44 +0200)]
Add workaround for spotify AP resolve issue (#372)

3 years agoFix for port already in use check (#373)
Marcel van der Veldt [Fri, 17 Jun 2022 11:43:50 +0000 (13:43 +0200)]
Fix for port already in use check (#373)

3 years ago1.4.1
Marcel van der Veldt [Thu, 16 Jun 2022 23:54:24 +0000 (01:54 +0200)]
1.4.1

3 years agodon't send data in head requests
Marcel van der Veldt [Thu, 16 Jun 2022 23:32:43 +0000 (01:32 +0200)]
don't send data in head requests

3 years agoadd additional logging for spotify
Marcel van der Veldt [Thu, 16 Jun 2022 23:28:26 +0000 (01:28 +0200)]
add additional logging for spotify

3 years ago1.4.0
Marcel van der Veldt [Thu, 16 Jun 2022 16:38:41 +0000 (18:38 +0200)]
1.4.0

3 years agoallow player buffer ahead
Marcel van der Veldt [Thu, 16 Jun 2022 16:37:56 +0000 (18:37 +0200)]
allow player buffer ahead

3 years agoMerge branch 'master' of https://github.com/music-assistant/music-assistant-lib
Marcel van der Veldt [Thu, 16 Jun 2022 16:36:00 +0000 (18:36 +0200)]
Merge branch 'master' of https://github.com/music-assistant/music-assistant-lib

3 years agoadd control endpoint
Marcel van der Veldt [Thu, 16 Jun 2022 16:35:45 +0000 (18:35 +0200)]
add control endpoint

3 years agoUpdate librespot binaries (#371)
Marcel van der Veldt [Thu, 16 Jun 2022 16:17:23 +0000 (18:17 +0200)]
Update librespot binaries (#371)

* update librespot binaries

* add exception when streaming from spotify fails

* don't send analyze job if stream failed

3 years agoalways send base event when queue updates
Marcel van der Veldt [Thu, 16 Jun 2022 15:42:47 +0000 (17:42 +0200)]
always send base event when queue updates

3 years agoadd number of items to queue dict
Marcel van der Veldt [Thu, 16 Jun 2022 15:24:42 +0000 (17:24 +0200)]
add number of items to queue dict

3 years agofix resume point for queue
Marcel van der Veldt [Thu, 16 Jun 2022 14:24:17 +0000 (16:24 +0200)]
fix resume point for queue

3 years agoorderby and limit
Marcel van der Veldt [Thu, 16 Jun 2022 12:51:32 +0000 (14:51 +0200)]
orderby and limit

3 years agoimplement paging on library listings (#370)
Marcel van der Veldt [Thu, 16 Jun 2022 12:13:25 +0000 (14:13 +0200)]
implement paging on library listings (#370)

3 years agoImplement paging on library listings (#369)
Marcel van der Veldt [Thu, 16 Jun 2022 10:30:55 +0000 (12:30 +0200)]
Implement paging on library listings (#369)

implement paging on library listings

3 years agoFix db error when migrating from old version (#368)
Marcel van der Veldt [Thu, 16 Jun 2022 07:40:37 +0000 (09:40 +0200)]
Fix db error when migrating from old version (#368)

3 years agoMerge branch 'master' of https://github.com/music-assistant/music-assistant-lib
Marcel van der Veldt [Wed, 15 Jun 2022 17:52:02 +0000 (19:52 +0200)]
Merge branch 'master' of https://github.com/music-assistant/music-assistant-lib

3 years agofix typo
Marcel van der Veldt [Wed, 15 Jun 2022 17:47:54 +0000 (19:47 +0200)]
fix typo

3 years ago1.3.3
Marcel van der Veldt [Wed, 15 Jun 2022 17:39:13 +0000 (19:39 +0200)]
1.3.3

3 years agoFilesystem improvements (#367)
Marcel van der Veldt [Wed, 15 Jun 2022 15:50:57 +0000 (17:50 +0200)]
Filesystem improvements (#367)

* save the checksums every 50 processed tracks

* overwrite info in db when ids tags are changed

* overwrite metdata too

* update playlists

* delete playlist when deleted

3 years agomove music providers into top level folder
Marcel van der Veldt [Wed, 15 Jun 2022 13:40:43 +0000 (15:40 +0200)]
move music providers into top level folder

3 years agoSmall improvements to the announce/alert feature for TTS (#366)
Marcel van der Veldt [Wed, 15 Jun 2022 12:17:51 +0000 (14:17 +0200)]
Small improvements to the announce/alert feature for TTS (#366)

* small improvements to alert stream

* remove redundant code

3 years agoChange timeout for radio connections (#365)
Marcel van der Veldt [Tue, 14 Jun 2022 17:25:16 +0000 (19:25 +0200)]
Change timeout for radio connections (#365)

change timeout for radio connections

3 years ago1.3.2
Marcel van der Veldt [Tue, 14 Jun 2022 12:35:58 +0000 (14:35 +0200)]
1.3.2

3 years agoBump actions/setup-python from 3.1.2 to 4.0.0 (#363)
dependabot[bot] [Tue, 14 Jun 2022 12:35:35 +0000 (14:35 +0200)]
Bump actions/setup-python from 3.1.2 to 4.0.0 (#363)

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3.1.2 to 4.0.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v3.1.2...v4.0.0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years agoFix stream issues (#364)
Marcel van der Veldt [Tue, 14 Jun 2022 12:35:24 +0000 (14:35 +0200)]
Fix stream issues (#364)

* fix stream issues

* try to survive radio reconnects

* no need for redundant logging

* only allow 30 seconds buffer ahead

3 years ago1.3.1
Marcel van der Veldt [Sat, 11 Jun 2022 16:06:51 +0000 (18:06 +0200)]
1.3.1

3 years agosmall refactor of player model
Marcel van der Veldt [Sat, 11 Jun 2022 14:08:17 +0000 (16:08 +0200)]
small refactor of player model

this is better handled by lib consumer

3 years agofix small typo
Marcel van der Veldt [Sat, 11 Jun 2022 12:06:34 +0000 (14:06 +0200)]
fix small typo

3 years agoMerge branch 'master' of https://github.com/music-assistant/music-assistant-lib
Marcel van der Veldt [Sat, 11 Jun 2022 12:06:24 +0000 (14:06 +0200)]
Merge branch 'master' of https://github.com/music-assistant/music-assistant-lib

3 years agofix indexerror
Marcel van der Veldt [Sat, 11 Jun 2022 10:19:50 +0000 (12:19 +0200)]
fix indexerror

3 years ago1.3.0
Marcel van der Veldt [Fri, 10 Jun 2022 23:34:18 +0000 (01:34 +0200)]
1.3.0

3 years agofix small typo
Marcel van der Veldt [Fri, 10 Jun 2022 21:47:07 +0000 (23:47 +0200)]
fix small typo

3 years agoremove some logging
Marcel van der Veldt [Fri, 10 Jun 2022 21:35:33 +0000 (23:35 +0200)]
remove some logging

3 years agoBump mypy from 0.960 to 0.961 (#359)
dependabot[bot] [Fri, 10 Jun 2022 21:30:13 +0000 (23:30 +0200)]
Bump mypy from 0.960 to 0.961 (#359)

Bumps [mypy](https://github.com/python/mypy) from 0.960 to 0.961.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.960...v0.961)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years agoAuto-update pre-commit hooks (#360)
github-actions[bot] [Fri, 10 Jun 2022 21:30:03 +0000 (23:30 +0200)]
Auto-update pre-commit hooks (#360)

Co-authored-by: marcelveldt <marcelveldt@users.noreply.github.com>
3 years agoBump peter-evans/create-pull-request from 4.0.3 to 4.0.4 (#357)
dependabot[bot] [Fri, 10 Jun 2022 21:29:53 +0000 (23:29 +0200)]
Bump peter-evans/create-pull-request from 4.0.3 to 4.0.4 (#357)

Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v4.0.3...v4.0.4)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years agoRefactor streaming (#361)
Marcel van der Veldt [Fri, 10 Jun 2022 21:29:31 +0000 (23:29 +0200)]
Refactor streaming (#361)

* refactored audio streaming for better (pre)buffering

* Parse ICY metadata from radio stream

* fix alert feature

* set default volume normalisation target to -14

* use ffmpeg with libsoxr

* fix playback on UPNP devices (e.g. Sonos)

* Fix buffering issues

* Optimize memory and cpu consumption while streaming

3 years ago1.2.0
Marcel van der Veldt [Fri, 3 Jun 2022 00:26:52 +0000 (02:26 +0200)]
1.2.0

3 years agopretty name from url
Marcel van der Veldt [Fri, 3 Jun 2022 00:26:14 +0000 (02:26 +0200)]
pretty name from url

3 years agoretry spotify token retrieval
Marcel van der Veldt [Thu, 2 Jun 2022 23:10:35 +0000 (01:10 +0200)]
retry spotify token retrieval

3 years agoAdd play alert feature (#356)
Marcel van der Veldt [Thu, 2 Jun 2022 22:41:51 +0000 (00:41 +0200)]
Add play alert feature (#356)

* add play alert feature

* create constant for fallback duration

* improvements and fix buffers

* move seek to top

* fade in at resume

3 years ago1.1.24
Marcel van der Veldt [Thu, 2 Jun 2022 16:33:42 +0000 (18:33 +0200)]
1.1.24

3 years agoadjust buffer size
Marcel van der Veldt [Thu, 2 Jun 2022 16:31:23 +0000 (18:31 +0200)]
adjust buffer size

3 years ago1.1.23
Marcel van der Veldt [Wed, 1 Jun 2022 23:04:01 +0000 (01:04 +0200)]
1.1.23

3 years agoAdd support for skip/seek (#355)
Marcel van der Veldt [Wed, 1 Jun 2022 19:15:27 +0000 (21:15 +0200)]
Add support for skip/seek (#355)

* prepare skip and resume in queue model

* recalculate queue progress with seek

3 years agofix index error in queue
Marcel van der Veldt [Wed, 1 Jun 2022 14:10:41 +0000 (16:10 +0200)]
fix index error in queue

3 years agofix keyerrors in queue
Marcel van der Veldt [Wed, 1 Jun 2022 13:48:15 +0000 (15:48 +0200)]
fix keyerrors in queue

3 years agoFix race condition when adding items to the library (#354)
Marcel van der Veldt [Wed, 1 Jun 2022 11:17:03 +0000 (13:17 +0200)]
Fix race condition when adding items to the library (#354)

* allow backgroundjobs to be awaited

* adjust controller to await the job if not lazy

3 years ago1.1.20
Marcel van der Veldt [Tue, 31 May 2022 15:30:23 +0000 (17:30 +0200)]
1.1.20

3 years agoFix playback of provided plain url (#353)
Marcel van der Veldt [Tue, 31 May 2022 15:29:21 +0000 (17:29 +0200)]
Fix playback of provided plain url (#353)

3 years agoDerive stream contenttype from grouped player childs (#352)
Marcel van der Veldt [Tue, 31 May 2022 14:21:37 +0000 (16:21 +0200)]
Derive stream contenttype from grouped player childs (#352)

* Derive stream contenttype for grouped player childs

3 years agoFix for providing plain url to play media call
Marcel van der Veldt [Tue, 31 May 2022 14:19:31 +0000 (16:19 +0200)]
Fix for providing plain url to play media call

3 years agofix valueerror
Marcel van der Veldt [Tue, 31 May 2022 14:16:27 +0000 (16:16 +0200)]
fix valueerror

3 years agoCode cleanup and some restructuring (#351)
Marcel van der Veldt [Tue, 31 May 2022 13:45:11 +0000 (15:45 +0200)]
Code cleanup and some restructuring (#351)

* rename last_item to prev_item

* split up queue models to own files

* adjust comment

* clear queue when adding new items while it was finished

* delete related items on delete

* fix keyerror

* power on player should happen in player implementation

3 years agoFix error in musicbrainz lookup when album missing (#350)
Marcel van der Veldt [Tue, 31 May 2022 09:48:10 +0000 (11:48 +0200)]
Fix error in musicbrainz lookup when album missing (#350)

fix error in musicbrainz lookup when album missing

3 years agoFix queue repeat issues (#349)
Marcel van der Veldt [Tue, 31 May 2022 09:45:13 +0000 (11:45 +0200)]
Fix queue repeat issues (#349)

* clear current item when playback stopped (and repeat off)

* restart queue from beginning when repeat enabled

3 years agoBump mypy from 0.950 to 0.960 (#346)
dependabot[bot] [Tue, 31 May 2022 08:28:55 +0000 (10:28 +0200)]
Bump mypy from 0.950 to 0.960 (#346)

Bumps [mypy](https://github.com/python/mypy) from 0.950 to 0.960.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.950...v0.960)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>