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
Marcel van der Veldt [Thu, 14 Jul 2022 22:01:10 +0000 (00:01 +0200)]
Small fixes (#417)
* no cover image for local HA files
* optimize image thumbs
* Fix audio preview
* contentFeatures DLNA header
Marcel van der Veldt [Thu, 14 Jul 2022 21:40:15 +0000 (23:40 +0200)]
optimize image thumbs
Marcel van der Veldt [Thu, 14 Jul 2022 21:37:48 +0000 (23:37 +0200)]
no cover image for local HA files
Marcel van der Veldt [Thu, 14 Jul 2022 21:29:00 +0000 (23:29 +0200)]
Fix for radio streams with playlist url (#416)
* Handle radio stream playlists
* playlist parsing for tunein and url provider
Marcel van der Veldt [Thu, 14 Jul 2022 19:38:28 +0000 (21:38 +0200)]
lower loglevels of metadata providers
Marcel van der Veldt [Thu, 14 Jul 2022 19:16:09 +0000 (21:16 +0200)]
Various fixes for filesystem provider (#415)
fix coverart on tracks
if ID3 tags are changed by user, force overwrite of info in db
optimize file deletions
fix musicbrainz albumartistid parse from id3 tags
make platlist parsing more robust
require track duration
Marcel van der Veldt [Thu, 14 Jul 2022 10:50:07 +0000 (12:50 +0200)]
Set checksum on YTM playlist (#414)
set checksum on playlist so the contents can be refreshed
Marvin Schenkel [Thu, 14 Jul 2022 10:00:43 +0000 (12:00 +0200)]
Improve Youtube Music (#413)
* Cache signature timestamp and cipher
* Fix album sometimes not loading
* Add expires to streamdetails, log loudness
* Add audio channels and sample rate to streamdetails
Marcel van der Veldt [Wed, 13 Jul 2022 23:57:55 +0000 (01:57 +0200)]
1.6.4
Marcel van der Veldt [Wed, 13 Jul 2022 23:57:36 +0000 (01:57 +0200)]
Adjust buffer for youtube music (#412)
* Decrease the buffer a bit to better support Youtube Music
which throttles the music stream so we can't buffer too far ahead
* allow more buffer for next tracks
Marcel van der Veldt [Wed, 13 Jul 2022 23:21:55 +0000 (01:21 +0200)]
Use direct stream whenever possible to minimize overhead (#411)
Use direct stream in ffmpeg if supported by source
Minimize overhead by allowing ffmpeg to consume the file/url directly.
Marcel van der Veldt [Wed, 13 Jul 2022 21:37:48 +0000 (23:37 +0200)]
Only allow ICY metadata on mp3 streamtype (#410)
* Only allow ICY metadata on mp3 streamtype
- Use default metaint of 8192 bytes
Marcel van der Veldt [Wed, 13 Jul 2022 14:39:38 +0000 (16:39 +0200)]
Merge branch 'master' of https://github.com/music-assistant/music-assistant-lib
Marcel van der Veldt [Wed, 13 Jul 2022 14:39:26 +0000 (16:39 +0200)]
some typos and comments
Marcel van der Veldt [Tue, 12 Jul 2022 21:18:25 +0000 (23:18 +0200)]
1.6.3
Marcel van der Veldt [Tue, 12 Jul 2022 21:08:27 +0000 (23:08 +0200)]
Make Announce feature more robust (#409)
* Rename alert to announce (use same naming as HA)
* Make the Announce/alert feature more robust
- recover from unexpected conditions
- fix fade-in
- use silence stream to detect end of playback
- handle edge cases (discovered so far)
* prevent queue command while announcement busy
* create setting for announce volume
* fix wrong loudness for url provider
dependabot[bot] [Tue, 12 Jul 2022 20:24:44 +0000 (22:24 +0200)]
Bump actions/setup-python from 4.0.0 to 4.1.0 (#406)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4.0.0...v4.1.0)
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
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] [Tue, 12 Jul 2022 20:24:32 +0000 (22:24 +0200)]
Bump pre-commit from 2.19.0 to 2.20.0 (#407)
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.19.0 to 2.20.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v2.19.0...v2.20.0)
---
updated-dependencies:
- dependency-name: pre-commit
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>
Marcel van der Veldt [Mon, 11 Jul 2022 19:30:50 +0000 (21:30 +0200)]
Extend support for plain URL's (#408)
Make the URL Music provider a first class citizen.
- Grab metadata if a plain url (or file) is passed to play_media
- Determine if URL is a Track or Radio stream
- Allow URL's in local playlists
Marcel van der Veldt [Sun, 10 Jul 2022 21:11:22 +0000 (23:11 +0200)]
Allow more aggressive buffering by players that require it (#405)
Allow more agressive buffering
For example cast players (especially with Hires audio) want to buffer ahead, allow this without breaking the scenario where the audio source itself is throttled (streaming providers like YT Music)
Marvin Schenkel [Sat, 9 Jul 2022 19:39:53 +0000 (21:39 +0200)]
Youtube Music: Fix streaming of non secured URLs (#404)
* Fix streaming of non secured URLs
* Fix missing duration for artist top tracks
Marvin Schenkel [Sat, 9 Jul 2022 17:08:25 +0000 (19:08 +0200)]
Merge branch 'master' into master
Marcel van der Veldt [Sat, 9 Jul 2022 08:45:28 +0000 (10:45 +0200)]
Youtube Music: Fix artist missing on compilation albums (#403)
Fix artist missing on compilation albums
Marcel van der Veldt [Fri, 8 Jul 2022 23:57:07 +0000 (01:57 +0200)]
1.6.2
Marcel van der Veldt [Fri, 8 Jul 2022 23:56:11 +0000 (01:56 +0200)]
Merge branch 'master' of https://github.com/music-assistant/music-assistant-lib
Marcel van der Veldt [Fri, 8 Jul 2022 23:55:53 +0000 (01:55 +0200)]
small fix
Marvin Schenkel [Fri, 8 Jul 2022 23:47:39 +0000 (01:47 +0200)]
Improve Youtube Music provider (#402)
* Add new YTM parser
* Fix get_track
* Fix parsing bugs
* Fix artist albums without artist
* Increase limit for people with a music addiction :-)
* Update music_assistant/music_providers/ytmusic/ytmusic.py
Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
* Only return highest quality thumb
* Fix missing artist in album search results
* Add duration to album tracks
* ignore albumartists without id
Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
Marcel van der Veldt [Fri, 8 Jul 2022 23:29:45 +0000 (01:29 +0200)]
ignore albumartists without id
Marvin Schenkel [Fri, 8 Jul 2022 21:56:11 +0000 (23:56 +0200)]
Add duration to album tracks
Marvin Schenkel [Fri, 8 Jul 2022 21:50:23 +0000 (23:50 +0200)]
Fix missing artist in album search results
Marvin Schenkel [Fri, 8 Jul 2022 21:25:54 +0000 (23:25 +0200)]
Merge branch 'master' of https://github.com/MarvinSchenkel/music-assistant-lib
Marvin Schenkel [Fri, 8 Jul 2022 21:23:29 +0000 (23:23 +0200)]
Only return highest quality thumb
Marvin Schenkel [Fri, 8 Jul 2022 21:07:18 +0000 (23:07 +0200)]
Update music_assistant/music_providers/ytmusic/ytmusic.py
Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
Marvin Schenkel [Fri, 8 Jul 2022 20:05:00 +0000 (22:05 +0200)]
Increase limit for people with a music addiction :-)
Marvin Schenkel [Fri, 8 Jul 2022 20:02:54 +0000 (22:02 +0200)]
Merge branch 'master' of https://github.com/MarvinSchenkel/music-assistant-lib
Marvin Schenkel [Fri, 8 Jul 2022 20:02:21 +0000 (22:02 +0200)]
Fix artist albums without artist
Marvin Schenkel [Fri, 8 Jul 2022 18:51:41 +0000 (20:51 +0200)]
Merge branch 'music-assistant:master' into master
Marvin Schenkel [Fri, 8 Jul 2022 18:50:26 +0000 (20:50 +0200)]
Fix parsing bugs
Marvin Schenkel [Fri, 8 Jul 2022 17:06:29 +0000 (19:06 +0200)]
Fix get_track
Marcel van der Veldt [Fri, 8 Jul 2022 16:50:11 +0000 (18:50 +0200)]
1.6.1
Marvin Schenkel [Fri, 8 Jul 2022 15:07:57 +0000 (17:07 +0200)]
Add new YTM parser
Marcel van der Veldt [Fri, 8 Jul 2022 13:09:08 +0000 (15:09 +0200)]
Skip system directories (like recycle) in the filesystem scan (#401)
Marcel van der Veldt [Fri, 8 Jul 2022 09:24:24 +0000 (11:24 +0200)]
remove useless print
Marcel van der Veldt [Fri, 8 Jul 2022 09:19:01 +0000 (11:19 +0200)]
Fix order of database initialization (#400)
Marvin Schenkel [Fri, 8 Jul 2022 07:33:00 +0000 (09:33 +0200)]
Merge pull request #1 from music-assistant/master
Merge upstream
Marvin Schenkel [Fri, 8 Jul 2022 07:32:53 +0000 (09:32 +0200)]
Merge branch 'master' into master
Marcel van der Veldt [Fri, 8 Jul 2022 00:17:07 +0000 (02:17 +0200)]
1.6.0
Marcel van der Veldt [Fri, 8 Jul 2022 00:15:53 +0000 (02:15 +0200)]
skip folder we can't access
Marcel van der Veldt [Fri, 8 Jul 2022 00:10:20 +0000 (02:10 +0200)]
fix AttributeError
Marcel van der Veldt [Fri, 8 Jul 2022 00:07:59 +0000 (02:07 +0200)]
fix keyerror
Marcel van der Veldt [Fri, 8 Jul 2022 00:05:20 +0000 (02:05 +0200)]
set buffer to 1 second
Marcel van der Veldt [Thu, 7 Jul 2022 23:41:03 +0000 (01:41 +0200)]
several small fixes
Marcel van der Veldt [Thu, 7 Jul 2022 21:39:37 +0000 (23:39 +0200)]
adjust name
Marcel van der Veldt [Thu, 7 Jul 2022 21:23:05 +0000 (23:23 +0200)]
add crossfade to example
Marcel van der Veldt [Thu, 7 Jul 2022 20:38:33 +0000 (22:38 +0200)]
remove redundant print
Marcel van der Veldt [Thu, 7 Jul 2022 20:28:35 +0000 (22:28 +0200)]
Fix audio buffer issues (#399)
decrease pcm sample size
allow for more realtime streaming
Marvin Schenkel [Thu, 7 Jul 2022 20:23:11 +0000 (22:23 +0200)]
Add YoutubeMusic MusicProvider (#397)
Co-authored-by: Marvin Schenkel <marvin@MacBook-Pro.local>
Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
Marvin Schenkel [Thu, 7 Jul 2022 14:28:37 +0000 (16:28 +0200)]
Remove ytmusic example
Marvin Schenkel [Thu, 7 Jul 2022 14:10:38 +0000 (16:10 +0200)]
Add artist top tracks
Marvin Schenkel [Wed, 6 Jul 2022 21:41:47 +0000 (23:41 +0200)]
Merge branch 'master' of https://github.com/MarvinSchenkel/music-assistant-lib
Marvin Schenkel [Wed, 6 Jul 2022 21:41:41 +0000 (23:41 +0200)]
Fix track images
Marcel van der Veldt [Wed, 6 Jul 2022 21:09:51 +0000 (23:09 +0200)]
run blocking call in executor
Marvin Schenkel [Wed, 6 Jul 2022 20:34:27 +0000 (22:34 +0200)]
Various prasing fixes
Marcel van der Veldt [Wed, 6 Jul 2022 20:22:38 +0000 (22:22 +0200)]
Fix TypeError when there is no next item in the queue (#398)
fix TypeError when there is no next item in the queue
Marcel van der Veldt [Wed, 6 Jul 2022 19:35:23 +0000 (21:35 +0200)]
Merge branch 'master' into pr/397
Marcel van der Veldt [Wed, 6 Jul 2022 18:37:28 +0000 (20:37 +0200)]
1.5.0
Marcel van der Veldt [Wed, 6 Jul 2022 18:36:34 +0000 (20:36 +0200)]
fix insert position in queue
Marcel van der Veldt [Wed, 6 Jul 2022 18:02:52 +0000 (20:02 +0200)]
fix playlist tracks position sorting
Marcel van der Veldt [Wed, 6 Jul 2022 16:45:57 +0000 (18:45 +0200)]
lint
Marcel van der Veldt [Wed, 6 Jul 2022 16:19:07 +0000 (18:19 +0200)]
guard missing album
Marvin Schenkel [Wed, 6 Jul 2022 16:15:36 +0000 (18:15 +0200)]
Merge branch 'master' of https://github.com/MarvinSchenkel/music-assistant-lib
Marvin Schenkel [Wed, 6 Jul 2022 16:15:29 +0000 (18:15 +0200)]
Fix parse tracks
Marcel van der Veldt [Wed, 6 Jul 2022 16:10:20 +0000 (18:10 +0200)]
parse contenttype
Marcel van der Veldt [Wed, 6 Jul 2022 15:59:21 +0000 (17:59 +0200)]
Merge branch 'master' of https://github.com/MarvinSchenkel/music-assistant-lib into pr/397
Marcel van der Veldt [Wed, 6 Jul 2022 15:59:10 +0000 (17:59 +0200)]
fix streaming
audio format is m4a
Marvin Schenkel [Wed, 6 Jul 2022 15:30:05 +0000 (17:30 +0200)]
Merge branch 'master' of https://github.com/MarvinSchenkel/music-assistant-lib
Marvin Schenkel [Wed, 6 Jul 2022 15:29:49 +0000 (17:29 +0200)]
Add artist to track when possible
Marcel van der Veldt [Wed, 6 Jul 2022 14:57:44 +0000 (16:57 +0200)]
Update full.py
Marcel van der Veldt [Wed, 6 Jul 2022 14:54:29 +0000 (16:54 +0200)]
adjust example
Marcel van der Veldt [Wed, 6 Jul 2022 14:42:54 +0000 (16:42 +0200)]
Update artists.py
Marcel van der Veldt [Wed, 6 Jul 2022 14:41:30 +0000 (16:41 +0200)]
Update artists.py
Marcel van der Veldt [Wed, 6 Jul 2022 14:40:14 +0000 (16:40 +0200)]
update example