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

3 years agoRewrite of Music provider sync engine (#310)
Marcel van der Veldt [Sat, 14 May 2022 13:27:12 +0000 (15:27 +0200)]
Rewrite of Music provider sync engine (#310)

* use generators for large listings to reduce memory usage

* change datamodel to allow multiple instances of providers

* do not crash if artist has no folder on disk

* speedup musicbrainz matching

* fixes for object matching using sort name

* fix tests

* fix library add/remove

* ensure sort_name exists

* only add filesystem artists/albums with their own folder in library by default

3 years ago1.0.35
Marcel van der Veldt [Thu, 12 May 2022 07:53:13 +0000 (09:53 +0200)]
1.0.35

3 years agoreturn if track can't be parsed
Marcel van der Veldt [Thu, 12 May 2022 07:51:55 +0000 (09:51 +0200)]
return if track can't be parsed

3 years agodelay sync of filesystem provider workaround
Marcel van der Veldt [Thu, 12 May 2022 07:49:17 +0000 (09:49 +0200)]
delay sync of filesystem provider workaround

3 years agofix example
Marcel van der Veldt [Thu, 12 May 2022 00:10:54 +0000 (02:10 +0200)]
fix example

3 years ago1.0.34
Marcel van der Veldt [Thu, 12 May 2022 00:07:39 +0000 (02:07 +0200)]
1.0.34

3 years agoRefactor config and setup (#309)
Marcel van der Veldt [Thu, 12 May 2022 00:07:14 +0000 (02:07 +0200)]
Refactor config and setup (#309)

* Allow sync to be started manually

3 years agoFix KeyError when retrieving full album object (#308)
Marcel van der Veldt [Wed, 11 May 2022 20:38:07 +0000 (22:38 +0200)]
Fix KeyError when retrieving full album object (#308)

3 years ago1.0.33
Marcel van der Veldt [Wed, 11 May 2022 20:18:57 +0000 (22:18 +0200)]
1.0.33

3 years agofix checksum
Marcel van der Veldt [Wed, 11 May 2022 20:02:28 +0000 (22:02 +0200)]
fix checksum

3 years agoadd image helper
Marcel van der Veldt [Wed, 11 May 2022 20:00:36 +0000 (22:00 +0200)]
add image helper

3 years agoAdd trigger sync helper method (#307)
Marcel van der Veldt [Wed, 11 May 2022 19:25:24 +0000 (21:25 +0200)]
Add trigger sync helper method (#307)

3 years agoAdd media_item to queue_item (#306)
Marcel van der Veldt [Wed, 11 May 2022 19:25:04 +0000 (21:25 +0200)]
Add media_item to queue_item (#306)

3 years agoAdd support for volume muting (#305)
Marcel van der Veldt [Wed, 11 May 2022 19:24:51 +0000 (21:24 +0200)]
Add support for volume muting (#305)

3 years agoImprove filesystem sync (#304)
Marcel van der Veldt [Wed, 11 May 2022 19:04:43 +0000 (21:04 +0200)]
Improve filesystem sync (#304)

* speedup sync by using cache

* fix errors when artist/album is not present

* fix stream preview

3 years agoAdd support for m4a audio container (#303)
Marcel van der Veldt [Wed, 11 May 2022 11:39:40 +0000 (13:39 +0200)]
Add support for m4a audio container (#303)

3 years agoImprove uri parsing (#302)
Marcel van der Veldt [Wed, 11 May 2022 10:32:28 +0000 (12:32 +0200)]
Improve uri parsing (#302)

* move enums to separate file to prevent circular imports

* add pytest to CI

* Update uri.py

3 years ago1.0.32
Marcel van der Veldt [Tue, 10 May 2022 19:51:44 +0000 (21:51 +0200)]
1.0.32

3 years agoImprove filesystem provider (#301)
Marcel van der Veldt [Tue, 10 May 2022 19:46:40 +0000 (21:46 +0200)]
Improve filesystem provider (#301)

* address issues in filesystem provider

* fix get artist tracks

* add support for embedded images

* fix artist albums

3 years ago1.0.31
Marcel van der Veldt [Mon, 9 May 2022 22:50:11 +0000 (00:50 +0200)]
1.0.31

3 years agodecrease buffer for radio playback (#300)
Marcel van der Veldt [Mon, 9 May 2022 22:49:40 +0000 (00:49 +0200)]
decrease buffer for radio playback (#300)

3 years agoUpdate setup.py
Marcel van der Veldt [Mon, 9 May 2022 20:58:49 +0000 (22:58 +0200)]
Update setup.py

3 years agoAdd passive mode to play_media (#299)
Marcel van der Veldt [Mon, 9 May 2022 20:57:52 +0000 (22:57 +0200)]
Add passive mode to play_media (#299)

3 years agoBump peter-evans/create-pull-request from 4.0.2 to 4.0.3 (#296)
dependabot[bot] [Mon, 9 May 2022 20:56:49 +0000 (22:56 +0200)]
Bump peter-evans/create-pull-request from 4.0.2 to 4.0.3 (#296)

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

---
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 agoBump pre-commit from 2.18.1 to 2.19.0 (#297)
dependabot[bot] [Mon, 9 May 2022 20:56:40 +0000 (22:56 +0200)]
Bump pre-commit from 2.18.1 to 2.19.0 (#297)

Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.18.1 to 2.19.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.18.1...v2.19.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>
3 years agoUpdate filesystem.py (#298)
Marcel van der Veldt [Mon, 9 May 2022 20:06:22 +0000 (22:06 +0200)]
Update filesystem.py (#298)

3 years agofix track artist lookup in filesystem provider
Marcel van der Veldt [Mon, 9 May 2022 13:26:15 +0000 (15:26 +0200)]
fix track artist lookup in filesystem provider

3 years ago1.0.29
Marcel van der Veldt [Mon, 9 May 2022 13:14:39 +0000 (15:14 +0200)]
1.0.29

3 years agoUpdate setup.py
Marcel van der Veldt [Mon, 9 May 2022 13:14:11 +0000 (15:14 +0200)]
Update setup.py

3 years agofix for filesystem provider (#295)
Marcel van der Veldt [Mon, 9 May 2022 13:13:36 +0000 (15:13 +0200)]
fix for filesystem provider (#295)

3 years ago1.0.29
Marcel van der Veldt [Mon, 9 May 2022 12:26:05 +0000 (14:26 +0200)]
1.0.29

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

3 years agoPrevent crash of filesystem provider when invalid ID3 tag found
Marcel van der Veldt [Mon, 9 May 2022 12:25:01 +0000 (14:25 +0200)]
Prevent crash of filesystem provider when invalid ID3 tag found

3 years ago1.0.28
Marcel van der Veldt [Mon, 9 May 2022 11:34:26 +0000 (13:34 +0200)]
1.0.28

3 years agofix database setup
Marcel van der Veldt [Mon, 9 May 2022 11:18:13 +0000 (13:18 +0200)]
fix database setup

3 years agofix mediaitem imports
Marcel van der Veldt [Mon, 9 May 2022 11:04:37 +0000 (13:04 +0200)]
fix mediaitem imports

3 years agodo not analyze external audio
Marcel van der Veldt [Mon, 9 May 2022 10:52:23 +0000 (12:52 +0200)]
do not analyze external audio

3 years agoimprove uri parse helper to give better exception if it fails (#294)
Marcel van der Veldt [Mon, 9 May 2022 10:14:53 +0000 (12:14 +0200)]
improve uri parse helper to give better exception if it fails (#294)

3 years agoFix error in compare track utility (#293)
Marcel van der Veldt [Mon, 9 May 2022 10:01:55 +0000 (12:01 +0200)]
Fix error in compare track utility (#293)

3 years agoMerge branch 'master' of https://github.com/music-assistant/music-assistant-lib
Marcel van der Veldt [Sun, 8 May 2022 23:15:46 +0000 (01:15 +0200)]
Merge branch 'master' of https://github.com/music-assistant/music-assistant-lib

3 years ago1.0.27
Marcel van der Veldt [Sun, 8 May 2022 23:15:09 +0000 (01:15 +0200)]
1.0.27

3 years agounpause only if we're active source
Marcel van der Veldt [Sun, 8 May 2022 22:56:13 +0000 (00:56 +0200)]
unpause only if we're active source

3 years agoFix Tune-In Radio playback (#292)
Marcel van der Veldt [Sun, 8 May 2022 22:49:55 +0000 (00:49 +0200)]
Fix Tune-In Radio playback (#292)

* Fix Tune-In radio playback

* support old style presets

3 years agoprovider object is not serializable
Marcel van der Veldt [Sun, 8 May 2022 11:33:35 +0000 (13:33 +0200)]
provider object is not serializable

3 years ago1.0.26
Marcel van der Veldt [Sun, 8 May 2022 10:31:33 +0000 (12:31 +0200)]
1.0.26

3 years agosend elapsed time as int
Marcel van der Veldt [Sun, 8 May 2022 10:27:56 +0000 (12:27 +0200)]
send elapsed time as int

3 years agofix state changed event
Marcel van der Veldt [Sun, 8 May 2022 10:26:46 +0000 (12:26 +0200)]
fix state changed event

3 years ago1.0.25
Marcel van der Veldt [Sun, 8 May 2022 09:47:31 +0000 (11:47 +0200)]
1.0.25

3 years agomark playerstate off by default if not powered
Marcel van der Veldt [Sun, 8 May 2022 09:39:32 +0000 (11:39 +0200)]
mark playerstate off by default if not powered

3 years agoAdd count helper functions (#291)
Marcel van der Veldt [Sun, 8 May 2022 09:38:57 +0000 (11:38 +0200)]
Add count helper functions (#291)

3 years agoSelect stream port from predefined range (#290)
Marcel van der Veldt [Sun, 8 May 2022 09:02:57 +0000 (11:02 +0200)]
Select stream port from predefined range (#290)

3 years agofix typeerror in database setup (#289)
Marcel van der Veldt [Sun, 8 May 2022 08:26:38 +0000 (10:26 +0200)]
fix typeerror in database setup (#289)

3 years ago1.0.24
Marcel van der Veldt [Sun, 8 May 2022 00:20:34 +0000 (02:20 +0200)]
1.0.24

3 years agoImprove Tunein music provider (#288)
Marcel van der Veldt [Sat, 7 May 2022 23:36:29 +0000 (01:36 +0200)]
Improve Tunein music provider (#288)

- respect sort order
- support library folders

3 years agoremove comment
Marcel van der Veldt [Sat, 7 May 2022 22:43:55 +0000 (00:43 +0200)]
remove comment

3 years agofix database being recreated at every start (#287)
Marcel van der Veldt [Sat, 7 May 2022 22:42:18 +0000 (00:42 +0200)]
fix database being recreated at every start (#287)

3 years ago1.0.23
Marcel van der Veldt [Sat, 7 May 2022 19:46:48 +0000 (21:46 +0200)]
1.0.23

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

3 years ago1.0.22
Marcel van der Veldt [Sat, 7 May 2022 19:39:26 +0000 (21:39 +0200)]
1.0.22

3 years agoUpdate database.py
Marcel van der Veldt [Sat, 7 May 2022 19:38:32 +0000 (21:38 +0200)]
Update database.py

3 years agoFix TypeError in initial database setup (#286)
Marcel van der Veldt [Sat, 7 May 2022 19:38:12 +0000 (21:38 +0200)]
Fix TypeError in initial database setup (#286)

3 years agoauto select stream port (#285)
Marcel van der Veldt [Sat, 7 May 2022 19:20:06 +0000 (21:20 +0200)]
auto select stream port (#285)

3 years agoFix sample rate for forced crossfade streams (#284)
Marcel van der Veldt [Sat, 7 May 2022 18:46:08 +0000 (20:46 +0200)]
Fix sample rate for forced crossfade streams (#284)

3 years agoDo not send full queue object if only the time changed (#283)
Marcel van der Veldt [Sat, 7 May 2022 18:27:01 +0000 (20:27 +0200)]
Do not send full queue object if only the time changed (#283)

3 years agofix attribute error crossfade_duration (#282)
Marcel van der Veldt [Sat, 7 May 2022 17:04:05 +0000 (19:04 +0200)]
fix attribute error crossfade_duration (#282)

3 years ago1.0.21
Marcel van der Veldt [Sat, 7 May 2022 15:21:19 +0000 (17:21 +0200)]
1.0.21

3 years agofix typo
Marcel van der Veldt [Sat, 7 May 2022 14:28:38 +0000 (16:28 +0200)]
fix typo

3 years agounifi repeat modes
Marcel van der Veldt [Sat, 7 May 2022 10:51:22 +0000 (12:51 +0200)]
unifi repeat modes

3 years agoRefactor queue settings (#281)
Marcel van der Veldt [Sat, 7 May 2022 09:02:15 +0000 (11:02 +0200)]
Refactor queue settings (#281)

- easier save/restore of player preferences
- future proofing
- handle stream transcoding based on player capabilities

3 years ago1.0.20
Marcel van der Veldt [Thu, 5 May 2022 22:50:12 +0000 (00:50 +0200)]
1.0.20

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

3 years agovarious fixes
Marcel van der Veldt [Thu, 5 May 2022 22:49:12 +0000 (00:49 +0200)]
various fixes

3 years agoBump pylint from 2.13.5 to 2.13.8 (#277)
dependabot[bot] [Wed, 4 May 2022 12:23:27 +0000 (14:23 +0200)]
Bump pylint from 2.13.5 to 2.13.8 (#277)

Bumps [pylint](https://github.com/PyCQA/pylint) from 2.13.5 to 2.13.8.
- [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.5...v2.13.8)

---
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 agoBump mypy from 0.942 to 0.950 (#278)
dependabot[bot] [Wed, 4 May 2022 12:22:20 +0000 (14:22 +0200)]
Bump mypy from 0.942 to 0.950 (#278)

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

---
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 agoBump pytest from 7.1.1 to 7.1.2 (#279)
dependabot[bot] [Wed, 4 May 2022 12:22:07 +0000 (14:22 +0200)]
Bump pytest from 7.1.1 to 7.1.2 (#279)

Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.1.1 to 7.1.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.1.1...7.1.2)

---
updated-dependencies:
- dependency-name: pytest
  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 agoUpdate python-slugify requirement from <=6.1.1,>=4.0 to >=4.0,<6.1.3 (#280)
dependabot[bot] [Wed, 4 May 2022 12:21:57 +0000 (14:21 +0200)]
Update python-slugify requirement from <=6.1.1,>=4.0 to >=4.0,<6.1.3 (#280)

Updates the requirements on [python-slugify](https://github.com/un33k/python-slugify) to permit the latest version.
- [Release notes](https://github.com/un33k/python-slugify/releases)
- [Changelog](https://github.com/un33k/python-slugify/blob/master/CHANGELOG.md)
- [Commits](https://github.com/un33k/python-slugify/compare/4.0.0...v6.1.2)

---
updated-dependencies:
- dependency-name: python-slugify
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years agoremove argparse dependency
Marcel van der Veldt [Wed, 4 May 2022 12:21:32 +0000 (14:21 +0200)]
remove argparse dependency

3 years agoFix KeyError when restoring queue from cache (#276)
Marcel van der Veldt [Mon, 2 May 2022 06:14:30 +0000 (08:14 +0200)]
Fix KeyError when restoring queue from cache (#276)

3 years ago1.0.19
Marcel van der Veldt [Fri, 29 Apr 2022 19:31:37 +0000 (21:31 +0200)]
1.0.19

3 years agoFix some small glitches (#275)
Marcel van der Veldt [Fri, 29 Apr 2022 19:31:03 +0000 (21:31 +0200)]
Fix some small glitches (#275)

3 years agofix image lookups (#274)
Marcel van der Veldt [Fri, 29 Apr 2022 15:38:10 +0000 (17:38 +0200)]
fix image lookups (#274)

some leftover after metadata refactor

3 years ago1.0.18
Marcel van der Veldt [Fri, 29 Apr 2022 14:27:06 +0000 (16:27 +0200)]
1.0.18

3 years agoAuto-update pre-commit hooks (#272)
github-actions[bot] [Fri, 29 Apr 2022 14:25:05 +0000 (16:25 +0200)]
Auto-update pre-commit hooks (#272)

Co-authored-by: marcelveldt <marcelveldt@users.noreply.github.com>
3 years agoImprove metadata handling (#273)
Marcel van der Veldt [Fri, 29 Apr 2022 14:24:35 +0000 (16:24 +0200)]
Improve metadata handling (#273)