music-assistant-server.git
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>
3 years agoUpdate databases requirement from <=0.5.5,>=0.5 to >=0.5,<0.6.1 (#347)
dependabot[bot] [Tue, 31 May 2022 08:28:42 +0000 (10:28 +0200)]
Update databases requirement from <=0.5.5,>=0.5 to >=0.5,<0.6.1 (#347)

* Update databases requirement from <=0.5.5,>=0.5 to >=0.5,<0.6.1

Updates the requirements on [databases](https://github.com/encode/databases) to permit the latest version.
- [Release notes](https://github.com/encode/databases/releases)
- [Changelog](https://github.com/encode/databases/blob/master/CHANGELOG.md)
- [Commits](https://github.com/encode/databases/compare/0.5.0...0.6.0)

---
updated-dependencies:
- dependency-name: databases
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
* Update requirements.txt

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
3 years agoFix for case-sensitive contenttype from file extension (#348)
Marcel van der Veldt [Tue, 31 May 2022 08:25:38 +0000 (10:25 +0200)]
Fix for case-sensitive contenttype from file extension (#348)

3 years ago1.1.19
Marcel van der Veldt [Sun, 29 May 2022 22:24:18 +0000 (00:24 +0200)]
1.1.19

3 years agoImprove parsing of metadata in fileprovider (#345)
Marcel van der Veldt [Sun, 29 May 2022 22:23:06 +0000 (00:23 +0200)]
Improve parsing of metadata in fileprovider (#345)

* small code refactor

* fix item deletions

* cleanup db when provider removed

* fix compare order

* fix relative paths in playlists

3 years agoFix WAVE as output format (#344)
Marcel van der Veldt [Fri, 27 May 2022 22:44:20 +0000 (00:44 +0200)]
Fix WAVE as output format (#344)

3 years agoAuto-update pre-commit hooks (#343)
github-actions[bot] [Fri, 27 May 2022 22:40:02 +0000 (00:40 +0200)]
Auto-update pre-commit hooks (#343)

Co-authored-by: marcelveldt <marcelveldt@users.noreply.github.com>
3 years ago1.1.18
Marcel van der Veldt [Thu, 26 May 2022 07:37:02 +0000 (09:37 +0200)]
1.1.18

3 years agofix for missing drop column support in sql engine
Marcel van der Veldt [Thu, 26 May 2022 07:36:18 +0000 (09:36 +0200)]
fix for missing drop column support in sql engine

3 years ago1.1.17
Marcel van der Veldt [Wed, 25 May 2022 23:03:47 +0000 (01:03 +0200)]
1.1.17

3 years agoSeveral small fixes (#342)
Marcel van der Veldt [Wed, 25 May 2022 23:03:19 +0000 (01:03 +0200)]
Several small fixes (#342)

* Add check before stop command

* fix typo

* fix metadata merging

* loosen aiofiles requirement

* add function to start specific sync task

3 years agoSupport for album having multiple artists (#341)
Marcel van der Veldt [Wed, 25 May 2022 19:36:13 +0000 (21:36 +0200)]
Support for album having multiple artists (#341)

* Add support for multiple album artists

3 years ago1.1.16
Marcel van der Veldt [Tue, 24 May 2022 19:04:56 +0000 (21:04 +0200)]
1.1.16

3 years agoFix error on empty username in config (#340)
Marcel van der Veldt [Tue, 24 May 2022 18:37:14 +0000 (20:37 +0200)]
Fix error on empty username in config (#340)

3 years agoUpdate requirements.txt
Marcel van der Veldt [Tue, 24 May 2022 18:28:28 +0000 (20:28 +0200)]
Update requirements.txt

3 years agobump requirements
Marcel van der Veldt [Tue, 24 May 2022 18:26:21 +0000 (20:26 +0200)]
bump requirements

3 years ago1.1.15
Marcel van der Veldt [Sun, 22 May 2022 21:08:32 +0000 (23:08 +0200)]
1.1.15

3 years agoThrow exceptions when required info is missing on albums (#338)
Marcel van der Veldt [Sun, 22 May 2022 21:01:29 +0000 (23:01 +0200)]
Throw exceptions when required info is missing on albums (#338)

* Add more guard for missing required info

3 years agoFix artist not marked as 'in library' when exists on multiple providers (#337)
Marcel van der Veldt [Sun, 22 May 2022 20:41:55 +0000 (22:41 +0200)]
Fix artist not marked as 'in library' when exists on multiple providers (#337)

Fix filesystem library race condition with streaming provider

3 years agoFix: Stop playback at end of queue properly (#336)
Marcel van der Veldt [Sun, 22 May 2022 19:44:16 +0000 (21:44 +0200)]
Fix: Stop playback at end of queue properly (#336)

* Fix: Stop queue stream when no more tracks in queue (no repeat)

* send stop when queue is empty

* send silence to player at queue end

3 years agoMerge branch 'master' of https://github.com/music-assistant/music-assistant-lib
Marcel van der Veldt [Sun, 22 May 2022 08:03:31 +0000 (10:03 +0200)]
Merge branch 'master' of https://github.com/music-assistant/music-assistant-lib

3 years agoraise error when required ID3 tags missing
Marcel van der Veldt [Sun, 22 May 2022 06:28:37 +0000 (08:28 +0200)]
raise error when required ID3 tags missing

3 years ago1.1.14
Marcel van der Veldt [Sat, 21 May 2022 23:20:31 +0000 (01:20 +0200)]
1.1.14

3 years agoFixed some small glitches (#335)
Marcel van der Veldt [Sat, 21 May 2022 23:06:20 +0000 (01:06 +0200)]
Fixed some small glitches (#335)

* fix exception when audio analyze fails

* cleanup event enum

* allow provider object to be serialized to dict

* emit events on all media library changes

3 years agoImprove match/link logic (#334)
Marcel van der Veldt [Sat, 21 May 2022 21:43:11 +0000 (23:43 +0200)]
Improve match/link logic (#334)

Improve match logic

3 years agoOptimize database for large collections (#333)
Marcel van der Veldt [Sat, 21 May 2022 20:37:08 +0000 (22:37 +0200)]
Optimize database for large collections (#333)

* Database speed improvements

* fix disc/track number storage for albumtracks

3 years ago1.1.13
Marcel van der Veldt [Sat, 21 May 2022 00:58:02 +0000 (02:58 +0200)]
1.1.13

3 years agofix albums without albumartist set - fallback to various artists
Marcel van der Veldt [Sat, 21 May 2022 00:57:06 +0000 (02:57 +0200)]
fix albums without albumartist set - fallback to various artists

3 years ago1.1.12
Marcel van der Veldt [Sat, 21 May 2022 00:15:00 +0000 (02:15 +0200)]
1.1.12

3 years agodo not follow symlinks
Marcel van der Veldt [Sat, 21 May 2022 00:14:44 +0000 (02:14 +0200)]
do not follow symlinks

3 years ago1.1.11
Marcel van der Veldt [Sat, 21 May 2022 00:05:22 +0000 (02:05 +0200)]
1.1.11

3 years agoCorrect datamodel so that tracks can be linked to multiple albums (#331)
Marcel van der Veldt [Fri, 20 May 2022 23:43:07 +0000 (01:43 +0200)]
Correct datamodel so that tracks can be linked to multiple albums (#331)

3 years agoPin aiofiles to 0.8.0 (#332)
Marcel van der Veldt [Fri, 20 May 2022 23:42:52 +0000 (01:42 +0200)]
Pin aiofiles to 0.8.0 (#332)

3 years ago1.1.10
Marcel van der Veldt [Thu, 19 May 2022 22:00:58 +0000 (00:00 +0200)]
1.1.10

3 years agoFix AlbumType detection (#330)
Marcel van der Veldt [Thu, 19 May 2022 21:59:32 +0000 (23:59 +0200)]
Fix AlbumType detection (#330)

* Fix AlbumType detection

3 years agoMerge branch 'master' of https://github.com/music-assistant/music-assistant-lib
Marcel van der Veldt [Thu, 19 May 2022 20:32:41 +0000 (22:32 +0200)]
Merge branch 'master' of https://github.com/music-assistant/music-assistant-lib

3 years agoFix crash when trying to open a corrupted playlist file
Marcel van der Veldt [Thu, 19 May 2022 20:32:29 +0000 (22:32 +0200)]
Fix crash when trying to open a corrupted playlist file

3 years agofix typo
Marcel van der Veldt [Thu, 19 May 2022 20:18:49 +0000 (22:18 +0200)]
fix typo

3 years ago1.1.9
Marcel van der Veldt [Thu, 19 May 2022 19:51:23 +0000 (21:51 +0200)]
1.1.9

3 years agofix typo
Marcel van der Veldt [Thu, 19 May 2022 19:00:13 +0000 (21:00 +0200)]
fix typo

3 years agoFix for parsing metadata from nfo files (#329)
Marcel van der Veldt [Thu, 19 May 2022 18:20:03 +0000 (20:20 +0200)]
Fix for parsing metadata from nfo files (#329)

3 years ago1.1.8
Marcel van der Veldt [Thu, 19 May 2022 13:37:49 +0000 (15:37 +0200)]
1.1.8

3 years agoremastered=remaster
Marcel van der Veldt [Thu, 19 May 2022 13:17:29 +0000 (15:17 +0200)]
remastered=remaster

3 years agoFix get single artist or album on filesystem provider (#328)
Marcel van der Veldt [Thu, 19 May 2022 12:56:44 +0000 (14:56 +0200)]
Fix get single artist or album on filesystem provider (#328)

3 years agoOptimize database transactions (#327)
Marcel van der Veldt [Thu, 19 May 2022 12:41:07 +0000 (14:41 +0200)]
Optimize database transactions (#327)

3 years agoFix issues with search (#326)
Marcel van der Veldt [Thu, 19 May 2022 09:33:20 +0000 (11:33 +0200)]
Fix issues with search (#326)

3 years ago1.1.7
Marcel van der Veldt [Wed, 18 May 2022 23:32:57 +0000 (01:32 +0200)]
1.1.7

3 years agofix typos
Marcel van der Veldt [Wed, 18 May 2022 23:32:01 +0000 (01:32 +0200)]
fix typos

3 years agouse safe search string (fix AC/DC search)
Marcel van der Veldt [Wed, 18 May 2022 23:13:44 +0000 (01:13 +0200)]
use safe search string (fix AC/DC search)

3 years agofix typo
Marcel van der Veldt [Wed, 18 May 2022 22:56:53 +0000 (00:56 +0200)]
fix typo

3 years ago1.1.6
Marcel van der Veldt [Wed, 18 May 2022 22:41:10 +0000 (00:41 +0200)]
1.1.6

3 years agoFix: Only 50 library artists retrieved from Spotify (#325)
Marcel van der Veldt [Wed, 18 May 2022 22:39:53 +0000 (00:39 +0200)]
Fix: Only 50 library artists retrieved from Spotify  (#325)

* Fix only 50 artists spotify

3 years agoFix missing disc and track number in db (#324)
Marcel van der Veldt [Wed, 18 May 2022 22:19:52 +0000 (00:19 +0200)]
Fix missing disc and track number in db (#324)

3 years agofix typo
Marcel van der Veldt [Wed, 18 May 2022 21:14:12 +0000 (23:14 +0200)]
fix typo

3 years agoFix musicbrainz artist id lookup (#323)
Marcel van der Veldt [Wed, 18 May 2022 21:05:12 +0000 (23:05 +0200)]
Fix musicbrainz artist id lookup (#323)

Fix musicbrainz artist id lookup when name has small typo

3 years agoWrap blocking I/O in filesystem provider
Marcel van der Veldt [Wed, 18 May 2022 20:35:06 +0000 (22:35 +0200)]
Wrap blocking I/O in filesystem provider

3 years agoMake matching logic for tracks more strict (#322)
Marcel van der Veldt [Wed, 18 May 2022 20:32:00 +0000 (22:32 +0200)]
Make matching logic for tracks more strict (#322)

3 years agoFix search on filesystem provider (#321)
Marcel van der Veldt [Wed, 18 May 2022 15:58:31 +0000 (17:58 +0200)]
Fix search on filesystem provider (#321)

fix search filesystem provider

3 years ago1.1.5
Marcel van der Veldt [Tue, 17 May 2022 22:18:15 +0000 (00:18 +0200)]
1.1.5

3 years agofix a few typos
Marcel van der Veldt [Tue, 17 May 2022 22:17:15 +0000 (00:17 +0200)]
fix a few typos

3 years agoAdd support for removal of items to filesystem (#320)
Marcel van der Veldt [Tue, 17 May 2022 22:13:35 +0000 (00:13 +0200)]
Add support for removal of items to filesystem (#320)

Add removal of items to filesystem

3 years agoadd guard
Marcel van der Veldt [Tue, 17 May 2022 21:00:33 +0000 (23:00 +0200)]
add guard

3 years agoBump pylint from 2.13.8 to 2.13.9 (#316)
dependabot[bot] [Tue, 17 May 2022 20:56:18 +0000 (22:56 +0200)]
Bump pylint from 2.13.8 to 2.13.9 (#316)

Bumps [pylint](https://github.com/PyCQA/pylint) from 2.13.8 to 2.13.9.
- [Release notes](https://github.com/PyCQA/pylint/releases)
- [Changelog](https://github.com/PyCQA/pylint/blob/main/ChangeLog)
- [Commits](https://github.com/PyCQA/pylint/compare/v2.13.8...v2.13.9)

---
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>
3 years agoFix album tracks listing (#319)
Marcel van der Veldt [Tue, 17 May 2022 20:56:07 +0000 (22:56 +0200)]
Fix album tracks listing (#319)

3 years agoFix duplicate thumbnail creation (#318)
Marcel van der Veldt [Tue, 17 May 2022 17:55:10 +0000 (19:55 +0200)]
Fix duplicate thumbnail creation (#318)

3 years agoFix URI parsing in play_media call (#317)
Marcel van der Veldt [Tue, 17 May 2022 12:34:36 +0000 (14:34 +0200)]
Fix URI parsing in play_media call (#317)

3 years agoMerge branch 'master' of https://github.com/music-assistant/music-assistant-lib
Marcel van der Veldt [Tue, 17 May 2022 08:00:56 +0000 (10:00 +0200)]
Merge branch 'master' of https://github.com/music-assistant/music-assistant-lib

3 years agoadd guard
Marcel van der Veldt [Tue, 17 May 2022 07:59:46 +0000 (09:59 +0200)]
add guard

3 years ago1.1.4
Marcel van der Veldt [Mon, 16 May 2022 23:13:21 +0000 (01:13 +0200)]
1.1.4

3 years agouse url or uri
Marcel van der Veldt [Mon, 16 May 2022 23:11:45 +0000 (01:11 +0200)]
use url or uri

3 years agofix for playlist editing
Marcel van der Veldt [Mon, 16 May 2022 23:09:57 +0000 (01:09 +0200)]
fix for playlist editing

3 years agoUpdate player_queue.py
Marcel van der Veldt [Mon, 16 May 2022 22:44:51 +0000 (00:44 +0200)]
Update player_queue.py

3 years agofix playing radio streams queue updates
Marcel van der Veldt [Mon, 16 May 2022 22:37:08 +0000 (00:37 +0200)]
fix playing radio streams queue updates

3 years agoraise if item not found
Marcel van der Veldt [Mon, 16 May 2022 22:22:27 +0000 (00:22 +0200)]
raise if item not found

3 years agoreset db due to breaking changes (again)
Marcel van der Veldt [Mon, 16 May 2022 22:22:12 +0000 (00:22 +0200)]
reset db due to breaking changes (again)

3 years agofix embedded image retrieval func
Marcel van der Veldt [Mon, 16 May 2022 22:21:27 +0000 (00:21 +0200)]
fix embedded image retrieval func

3 years agoimprove matching logic - prevent duplicate tracks
Marcel van der Veldt [Mon, 16 May 2022 21:47:43 +0000 (23:47 +0200)]
improve matching logic - prevent duplicate tracks

3 years agosome small tweaks
Marcel van der Veldt [Mon, 16 May 2022 19:44:20 +0000 (21:44 +0200)]
some small tweaks

3 years ago1.1.3
Marcel van der Veldt [Sun, 15 May 2022 23:58:01 +0000 (01:58 +0200)]
1.1.3

3 years agoPrefer ID3 tags for filesystem provider (#315)
Marcel van der Veldt [Sun, 15 May 2022 23:57:30 +0000 (01:57 +0200)]
Prefer ID3 tags for filesystem provider (#315)

* Prefer ID3 tags for filesystem provider

3 years agoReduce memory usage of cache (#314)
Marcel van der Veldt [Sun, 15 May 2022 23:14:45 +0000 (01:14 +0200)]
Reduce memory usage of cache (#314)

* Reduce memory usage of cache

* ensure string for checksum

3 years agoSome small follow-up fixes (#313)
Marcel van der Veldt [Sun, 15 May 2022 21:55:08 +0000 (23:55 +0200)]
Some small follow-up fixes (#313)

* power on player when play requested

* add delete item in queue

* add guard in auto turn off logic

* adjust logging for loudness analyze

* fix typo in thumbnail creation

* add helper func to retrieve image

3 years agoFix BrokenPipe Error when streaming is aborted (#312)
Marcel van der Veldt [Sun, 15 May 2022 15:32:00 +0000 (17:32 +0200)]
Fix BrokenPipe Error when streaming is aborted (#312)

* Fix BrokenPipe Error when aborting a stream
* adjust some logging

3 years ago1.1.2
Marcel van der Veldt [Sat, 14 May 2022 23:35:43 +0000 (01:35 +0200)]
1.1.2

3 years agoFollow up fixes (#311)
Marcel van der Veldt [Sat, 14 May 2022 23:34:46 +0000 (01:34 +0200)]
Follow up fixes (#311)

* fix library add/remove on Qobux provider

* fix errors when data in nfo metadata file sis marformed

* remove redundant extra cache save

* fix some small glitches

* fix path for artist tracks

* cache filesystem playlist tracks

* fix filesystem album tracks

* silence stream error a bit

3 years ago1.1.0
Marcel van der Veldt [Sat, 14 May 2022 13:52:46 +0000 (15:52 +0200)]
1.1.0

3 years agoMerge branch 'master' of https://github.com/music-assistant/music-assistant-lib
Marcel van der Veldt [Sat, 14 May 2022 13:51:18 +0000 (15:51 +0200)]
Merge branch 'master' of https://github.com/music-assistant/music-assistant-lib

3 years agoadd comment
Marcel van der Veldt [Sat, 14 May 2022 13:51:04 +0000 (15:51 +0200)]
add comment