music-assistant-server.git
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 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>
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