Marcel van der Veldt [Sun, 7 Aug 2022 23:08:40 +0000 (01:08 +0200)]
1.8.5
Marcel van der Veldt [Sun, 7 Aug 2022 23:08:04 +0000 (01:08 +0200)]
Fix: filesystem browse ignoring case (#451)
Fix filesystem browse ignoring case
Marcel van der Veldt [Sun, 7 Aug 2022 22:58:20 +0000 (00:58 +0200)]
Fix support for mpeg dash based radio streams (#450)
Marcel van der Veldt [Sun, 7 Aug 2022 22:20:54 +0000 (00:20 +0200)]
Fix: Ignore diacritic characters when matching on name (#449)
Marcel van der Veldt [Sun, 7 Aug 2022 22:04:47 +0000 (00:04 +0200)]
Fix: Qobuz stream disconnects abruptly (#448)
Fix: Qobuz stream disconnect abrubt
Extend buffer size
Shorten expiry
Log the amount of time the we were buffering the stream
Lars Solberg [Fri, 5 Aug 2022 09:39:03 +0000 (11:39 +0200)]
A way to override base_url (#802) (#447)
* A way to override base_url (#802)
Marcel van der Veldt [Fri, 5 Aug 2022 06:10:32 +0000 (08:10 +0200)]
1.8.4
Marcel van der Veldt [Fri, 5 Aug 2022 06:09:56 +0000 (08:09 +0200)]
adjust error message
Marcel van der Veldt [Thu, 4 Aug 2022 00:12:57 +0000 (02:12 +0200)]
1.8.3
Marcel van der Veldt [Thu, 4 Aug 2022 00:12:14 +0000 (02:12 +0200)]
add warning on chunk number mismatch
Marcel van der Veldt [Wed, 3 Aug 2022 23:10:31 +0000 (01:10 +0200)]
Make Play media more flexible (#446)
* make play_media more flexible
- radio feature is optional toggle for the enqueue command
- add additional "replace_next" enqueue option
- restructure some code
dependabot[bot] [Wed, 3 Aug 2022 23:01:58 +0000 (01:01 +0200)]
Bump flake8 from 4.0.1 to 5.0.2 (#445)
Bumps [flake8](https://github.com/pycqa/flake8) from 4.0.1 to 5.0.2.
- [Release notes](https://github.com/pycqa/flake8/releases)
- [Commits](https://github.com/pycqa/flake8/compare/4.0.1...5.0.2)
---
updated-dependencies:
- dependency-name: flake8
dependency-type: direct:development
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>
Marcel van der Veldt [Wed, 3 Aug 2022 22:58:23 +0000 (00:58 +0200)]
don't hide timeout errors
Marcel van der Veldt [Wed, 3 Aug 2022 22:57:12 +0000 (00:57 +0200)]
small typo
Marcel van der Veldt [Wed, 3 Aug 2022 09:06:43 +0000 (11:06 +0200)]
fix typo in seconds_skipped
Marcel van der Veldt [Wed, 3 Aug 2022 09:04:56 +0000 (11:04 +0200)]
fix queue index calculation on stream error
Marcel van der Veldt [Wed, 3 Aug 2022 08:50:38 +0000 (10:50 +0200)]
remove buffer workaround for ytmusic/sonos
because it causes a side effect of hiccups in cast platform
Marcel van der Veldt [Tue, 2 Aug 2022 20:25:56 +0000 (22:25 +0200)]
fix linting
Marcel van der Veldt [Mon, 1 Aug 2022 18:13:49 +0000 (20:13 +0200)]
fix typo
Marcel van der Veldt [Sun, 31 Jul 2022 23:22:50 +0000 (01:22 +0200)]
1.8.2
Marcel van der Veldt [Sun, 31 Jul 2022 23:22:45 +0000 (01:22 +0200)]
Merge branch 'master' of https://github.com/music-assistant/music-assistant-lib
Marcel van der Veldt [Sun, 31 Jul 2022 22:49:19 +0000 (00:49 +0200)]
Improve Radio feature for mixed playlists (#444)
* remove legacy get_by_name methods
* Improve radio feature for mixed playlists
Marcel van der Veldt [Sun, 31 Jul 2022 21:13:30 +0000 (23:13 +0200)]
remove legacy get_by_name methods
Marcel van der Veldt [Fri, 29 Jul 2022 19:44:23 +0000 (21:44 +0200)]
1.8.1
Marcel van der Veldt [Fri, 29 Jul 2022 19:41:35 +0000 (21:41 +0200)]
fetch album tracks on add/refresh
Marcel van der Veldt [Fri, 29 Jul 2022 19:41:15 +0000 (21:41 +0200)]
some typos
Marcel van der Veldt [Fri, 29 Jul 2022 14:44:31 +0000 (16:44 +0200)]
bump version to 1.8.0
Marcel van der Veldt [Fri, 29 Jul 2022 14:05:26 +0000 (16:05 +0200)]
remove player workarounds
it simply does not work reliable with all playertypes
Marcel van der Veldt [Fri, 29 Jul 2022 13:36:18 +0000 (15:36 +0200)]
final (temporary) fix for kodi/vlc players for now
Marcel van der Veldt [Fri, 29 Jul 2022 13:34:22 +0000 (15:34 +0200)]
add group_parents helper
Marcel van der Veldt [Fri, 29 Jul 2022 10:52:39 +0000 (12:52 +0200)]
Fix playback on reconnecting players
Marcel van der Veldt [Fri, 29 Jul 2022 09:49:35 +0000 (11:49 +0200)]
adjust comments
Marcel van der Veldt [Fri, 29 Jul 2022 09:41:39 +0000 (11:41 +0200)]
Refactor controllers a bit (#443)
refactor controllers vs models
Marvin Schenkel [Fri, 29 Jul 2022 08:07:16 +0000 (10:07 +0200)]
Add feature of starting a radio based on artist, album, playlist or track (#442)
* Initial implementation of radio feature thoughout the code base
* Implement similar tracks for YT Music
* Implement similar tracks for Spotify
This MVP implementation only provides the radio feature when there is a streaming provider (spotify or YTM) attached to a media item. The frontend will need to be guarded so that radio can not be started if there's no supported streaming provider.
Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
Marcel van der Veldt [Thu, 28 Jul 2022 20:40:11 +0000 (22:40 +0200)]
1.7.4
Marcel van der Veldt [Thu, 28 Jul 2022 20:38:52 +0000 (22:38 +0200)]
lower loglevel
Marcel van der Veldt [Thu, 28 Jul 2022 20:06:02 +0000 (22:06 +0200)]
player_id is query string
Marcel van der Veldt [Thu, 28 Jul 2022 19:52:41 +0000 (21:52 +0200)]
small fix
Marcel van der Veldt [Thu, 28 Jul 2022 19:24:11 +0000 (21:24 +0200)]
fix playback control and resume from player itself
Marcel van der Veldt [Thu, 28 Jul 2022 19:20:52 +0000 (21:20 +0200)]
cool down media updated events
Marcel van der Veldt [Thu, 28 Jul 2022 18:18:39 +0000 (20:18 +0200)]
fix tag parsing of ogg files
Marcel van der Veldt [Thu, 28 Jul 2022 18:18:00 +0000 (20:18 +0200)]
Allow song to have 0 as duration
Marcel van der Veldt [Thu, 28 Jul 2022 16:07:58 +0000 (18:07 +0200)]
fix edge case at stream error
Marcel van der Veldt [Thu, 28 Jul 2022 14:20:36 +0000 (16:20 +0200)]
prevent player from buffering ahead too much
Marcel van der Veldt [Thu, 28 Jul 2022 14:18:58 +0000 (16:18 +0200)]
prevent redundant player_queue updated events
Marcel van der Veldt [Thu, 28 Jul 2022 07:29:50 +0000 (09:29 +0200)]
guard code for ItemMapping instead of album
Marcel van der Veldt [Wed, 27 Jul 2022 20:31:18 +0000 (22:31 +0200)]
yet another crossfade buffer fix
Marcel van der Veldt [Wed, 27 Jul 2022 18:40:32 +0000 (20:40 +0200)]
1.7.3
Marcel van der Veldt [Wed, 27 Jul 2022 18:28:22 +0000 (20:28 +0200)]
fix missing is_group_leader
Marcel van der Veldt [Wed, 27 Jul 2022 18:23:16 +0000 (20:23 +0200)]
fix typo
Marcel van der Veldt [Wed, 27 Jul 2022 18:00:12 +0000 (20:00 +0200)]
cleanup
Marcel van der Veldt [Wed, 27 Jul 2022 17:02:53 +0000 (19:02 +0200)]
force max 8 seconds of buffer for YT music
Marcel van der Veldt [Wed, 27 Jul 2022 17:00:09 +0000 (19:00 +0200)]
prevent duplicate player queue update event
Marcel van der Veldt [Wed, 27 Jul 2022 16:47:46 +0000 (18:47 +0200)]
cleanup
Marcel van der Veldt [Wed, 27 Jul 2022 15:53:42 +0000 (17:53 +0200)]
simplify media changed events a bit
only send media_item added/changed event after all actions are done
Marcel van der Veldt [Wed, 27 Jul 2022 15:25:39 +0000 (17:25 +0200)]
Fix announce feature (#441)
* Fix announce feature
Marcel van der Veldt [Wed, 27 Jul 2022 13:38:19 +0000 (15:38 +0200)]
Various small fixes and enhancements (#440)
* fix edge case where playlist track has invalid albumdetails
* make the audio buffer more dynamic
* fix loop thread safety (fixes issues with cast speakers)
* simplify some code
* simplify player poll task
* extend timeout for spotify token retrieval
* Fix count of PagedItems queries
* Fix relative paths in playlists
* Handle some edge cases in cleanup procedure
* Fix metadata checksum overwrite
* Fix type of mediaitem image
* additional guards for library edit usage
* Fix local artwork retrieval in artist/album folders
* Handle (and log) slow Spotify connection
Marcel van der Veldt [Mon, 25 Jul 2022 19:48:23 +0000 (21:48 +0200)]
1.7.2
Marcel van der Veldt [Mon, 25 Jul 2022 19:47:52 +0000 (21:47 +0200)]
Fix several issues in Browse feature (#439)
- fix sort order of items in browse
- fix parsing item that has not (yet_ been added to the db
- fix relative file paths within playlist
Marcel van der Veldt [Mon, 25 Jul 2022 19:43:36 +0000 (21:43 +0200)]
fix test gh workflow
dependabot[bot] [Mon, 25 Jul 2022 17:46:01 +0000 (19:46 +0200)]
Bump mypy from 0.961 to 0.971 (#435)
Bumps [mypy](https://github.com/python/mypy) from 0.961 to 0.971.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.961...v0.971)
---
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>
dependabot[bot] [Mon, 25 Jul 2022 17:45:53 +0000 (19:45 +0200)]
Bump pytest-sugar from 0.9.4 to 0.9.5 (#436)
Bumps [pytest-sugar](https://github.com/Teemu/pytest-sugar) from 0.9.4 to 0.9.5.
- [Release notes](https://github.com/Teemu/pytest-sugar/releases)
- [Changelog](https://github.com/Teemu/pytest-sugar/blob/master/CHANGES.rst)
- [Commits](https://github.com/Teemu/pytest-sugar/commits)
---
updated-dependencies:
- dependency-name: pytest-sugar
dependency-type: direct:development
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>
dependabot[bot] [Mon, 25 Jul 2022 17:45:42 +0000 (19:45 +0200)]
Bump pytest-aiohttp from 0.3.0 to 1.0.4 (#437)
Bumps [pytest-aiohttp](https://github.com/aio-libs/pytest-aiohttp) from 0.3.0 to 1.0.4.
- [Release notes](https://github.com/aio-libs/pytest-aiohttp/releases)
- [Changelog](https://github.com/aio-libs/pytest-aiohttp/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/pytest-aiohttp/compare/v0.3.0...v1.0.4)
---
updated-dependencies:
- dependency-name: pytest-aiohttp
dependency-type: direct:development
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>
Marcel van der Veldt [Mon, 25 Jul 2022 17:44:58 +0000 (19:44 +0200)]
Fix unsollicited (re)starts of queue playback (#438)
* Fix unsollicited (re)starts of queue playback
Marcel van der Veldt [Mon, 25 Jul 2022 12:04:55 +0000 (14:04 +0200)]
Better handling of missing or malformed ID3 tags (#434)
* Better handling of missing or malformed ID3 tags
* Add tests for parser logic
* Enforce Various Artists name to be consistent
Marcel van der Veldt [Sat, 23 Jul 2022 00:56:31 +0000 (02:56 +0200)]
1.7.1
Marcel van der Veldt [Sat, 23 Jul 2022 00:49:23 +0000 (02:49 +0200)]
add album artists filter
Marcel van der Veldt [Sat, 23 Jul 2022 00:16:17 +0000 (02:16 +0200)]
fix typo
Marcel van der Veldt [Fri, 22 Jul 2022 23:58:47 +0000 (01:58 +0200)]
include artists column when searching tracks or albums
Marcel van der Veldt [Fri, 22 Jul 2022 23:58:14 +0000 (01:58 +0200)]
convert float to int first
Marcel van der Veldt [Fri, 22 Jul 2022 23:25:52 +0000 (01:25 +0200)]
1.7.0
Marcel van der Veldt [Fri, 22 Jul 2022 23:24:46 +0000 (01:24 +0200)]
round durations to int
Marcel van der Veldt [Fri, 22 Jul 2022 23:20:12 +0000 (01:20 +0200)]
auto create collage image for playlists
Marcel van der Veldt [Fri, 22 Jul 2022 23:15:50 +0000 (01:15 +0200)]
a few fixes for search
Marcel van der Veldt [Fri, 22 Jul 2022 17:45:52 +0000 (19:45 +0200)]
fix repeat all
Marcel van der Veldt [Fri, 22 Jul 2022 17:38:15 +0000 (19:38 +0200)]
fix name in browse listings
Marcel van der Veldt [Fri, 22 Jul 2022 14:44:38 +0000 (16:44 +0200)]
fix race condition while playing announcements
Marcel van der Veldt [Fri, 22 Jul 2022 14:32:19 +0000 (16:32 +0200)]
return full provider item in versions
Marcel van der Veldt [Fri, 22 Jul 2022 10:35:25 +0000 (12:35 +0200)]
add previous player url to snapshot state
allows resuming from previous state
Marcel van der Veldt [Fri, 22 Jul 2022 10:06:46 +0000 (12:06 +0200)]
1.6.9
Marcel van der Veldt [Fri, 22 Jul 2022 10:06:28 +0000 (12:06 +0200)]
A few small usability fixes (#433)
* make the album/track versions lookup a bit more strict
* ignore MediaNotFoundError when recursively deleting items from the db
* small typo
* Fix: refresh overwrites info of local files
* prefer local filesystem at lookups
* allow overwrite of local metadata when filesystem
* Allow resume for non-MA sources
Allow resume after announce or pause even if the previous playing media was not initiated by MA
* fix race condition
Marcel van der Veldt [Thu, 21 Jul 2022 23:57:00 +0000 (01:57 +0200)]
1.6.8
Marcel van der Veldt [Thu, 21 Jul 2022 23:56:39 +0000 (01:56 +0200)]
A few small fixes (#432)
* fix artist splitter
do not split artist on &
* fix repeat
* fix add to queue when shuffle is enabled
* typos
Marcel van der Veldt [Thu, 21 Jul 2022 23:31:28 +0000 (01:31 +0200)]
Buffer optimizations (#431)
* make icy metadata controllable
* to not buffer ahead (and skip crossfade) if the player does not have any buffer
* enlarge buffer
Marcel van der Veldt [Thu, 21 Jul 2022 22:04:38 +0000 (00:04 +0200)]
Fix version listings for albums and tracks (#430)
dependabot[bot] [Thu, 21 Jul 2022 22:00:35 +0000 (00:00 +0200)]
Bump pylint from 2.14.4 to 2.14.5 (#426)
Bumps [pylint](https://github.com/PyCQA/pylint) from 2.14.4 to 2.14.5.
- [Release notes](https://github.com/PyCQA/pylint/releases)
- [Commits](https://github.com/PyCQA/pylint/compare/v2.14.4...v2.14.5)
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:development
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>
github-actions[bot] [Thu, 21 Jul 2022 14:03:50 +0000 (16:03 +0200)]
Auto-update pre-commit hooks (#428)
Co-authored-by: marcelveldt <marcelveldt@users.noreply.github.com>
Marcel van der Veldt [Thu, 21 Jul 2022 08:42:03 +0000 (10:42 +0200)]
Fix missing provider id(s) error when updating items in the database (#429)
Marcel van der Veldt [Thu, 21 Jul 2022 00:02:43 +0000 (02:02 +0200)]
1.6.7
Marcel van der Veldt [Thu, 21 Jul 2022 00:01:55 +0000 (02:01 +0200)]
Various small fixes (#427)
* fix playback reporting on qobuz
* fix playlist create
* fix browse feature check
* add additional event type for finished background job
* small change to item linking logic
* avoid db duplicates with a simple lock
* guard search not supported by provider
* attach full album to albumtracks
* add db delete func
* add (back) events when media items update
* speedup add/remove to/from library
* update playlist when tracks added/removed
* fix playlists create/edit
* change playlist item removals to positions
* fix for album tracks listings
* prefer album image
* apply recursive delete
* fix browse feature
Marvin Schenkel [Sat, 16 Jul 2022 10:01:54 +0000 (12:01 +0200)]
Youtube Music: Add library add/remove and playlist track add/remove functionality (#425)
* Add library add/remove functions
* Add library add/remove functions
* Add lib add/remove album, playlist and artist
* Add playlist track add/remove
* Add auth for private playlists
* Fix playlist track remove
Marcel van der Veldt [Sat, 16 Jul 2022 06:53:13 +0000 (08:53 +0200)]
Create playlist implementation (#424)
* Implement playlist_create on filesystem provider
* some cleanup/fixes from previous changes
Marcel van der Veldt [Fri, 15 Jul 2022 21:10:53 +0000 (23:10 +0200)]
Add capabilities attributes/properties for MusicProviders (#423)
* Add capability attributes to MusicProvider model
* implement on existing providers
Co-authored-by: Marvin Schenkel <marvinschenkel@gmail.com>
Marcel van der Veldt [Fri, 15 Jul 2022 17:18:08 +0000 (19:18 +0200)]
Add method to clear all items from the cache (#422)
Marvin Schenkel [Fri, 15 Jul 2022 14:12:50 +0000 (16:12 +0200)]
Add support for brand accounts (#421)
Marvin Schenkel [Fri, 15 Jul 2022 10:06:01 +0000 (12:06 +0200)]
1.6.6 (#420)
1.6.6
Marcel van der Veldt [Fri, 15 Jul 2022 09:20:26 +0000 (11:20 +0200)]
Fix deleted files logic (#419)
- fix typo of path
- remove redundant code
Marvin Schenkel [Fri, 15 Jul 2022 08:46:16 +0000 (10:46 +0200)]
Fix playlist checksum (#418)
* Fix playlist checksum
* Improve code readability
* Update music_assistant/music_providers/ytmusic/helpers.py
Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
* Update music_assistant/music_providers/ytmusic/helpers.py
Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
Marcel van der Veldt [Thu, 14 Jul 2022 22:34:40 +0000 (00:34 +0200)]
Merge branch 'master' of https://github.com/music-assistant/music-assistant-lib
Marcel van der Veldt [Thu, 14 Jul 2022 22:01:30 +0000 (00:01 +0200)]
1.6.5