Skip to content

Commit 0ac49d9

Browse files
authored
music-assistant: 2.2.7 -> 2.3.2 (#355494)
2 parents 97a7f71 + d1b042e commit 0ac49d9

File tree

3 files changed

+18
-8
lines changed

3 files changed

+18
-8
lines changed

pkgs/by-name/mu/music-assistant/package.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ in
2424

2525
python.pkgs.buildPythonApplication rec {
2626
pname = "music-assistant";
27-
version = "2.2.7";
27+
version = "2.3.2";
2828
pyproject = true;
2929

3030
src = fetchFromGitHub {
3131
owner = "music-assistant";
3232
repo = "server";
3333
rev = "refs/tags/${version}";
34-
hash = "sha256-GMjeNX8C027F+Wl/HfluWap9pDOeQwlM9qOs0Sp5tTI=";
34+
hash = "sha256-q71LczFsJAvZaWCQg4Lgzg2XX4XDFvA3x255Re00D9Q=";
3535
};
3636

3737
patches = [

pkgs/by-name/mu/music-assistant/providers.nix

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
# Do not edit manually, run ./update-providers.py
22

33
{
4-
version = "2.2.6";
4+
version = "2.3.2";
55
providers = {
66
airplay = ps: [
77
];
88
apple_music = ps: [
99
]; # missing pywidevine
10+
bluesound = ps: with ps; [
11+
pyblu
12+
];
1013
builtin = ps: [
1114
];
1215
chromecast = ps: with ps; [
@@ -40,6 +43,8 @@
4043
opensubsonic = ps: with ps; [
4144
py-opensonic
4245
];
46+
player_group = ps: [
47+
];
4348
plex = ps: with ps; [
4449
plexapi
4550
];
@@ -48,17 +53,20 @@
4853
radiobrowser = ps: with ps; [
4954
radios
5055
];
56+
siriusxm = ps: [
57+
]; # missing sxm
5158
slimproto = ps: with ps; [
5259
aioslimproto
5360
];
5461
snapcast = ps: with ps; [
5562
bidict
5663
snapcast
5764
];
58-
sonos = ps: with ps; [
65+
sonos = ps: [
66+
]; # missing aiosonos
67+
sonos_s1 = ps: with ps; [
5968
defusedxml
6069
soco
61-
sonos-websocket
6270
];
6371
soundcloud = ps: [
6472
]; # missing soundcloudpy
@@ -76,8 +84,6 @@
7684
];
7785
tunein = ps: [
7886
];
79-
ugp = ps: [
80-
];
8187
ytmusic = ps: with ps; [
8288
yt-dlp
8389
ytmusicapi

pkgs/by-name/mu/music-assistant/update-providers.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
from urllib.request import urlopen
1717

1818
from jinja2 import Environment
19+
from mashumaro.exceptions import MissingField
1920
from packaging.requirements import Requirement
2021

2122
TEMPLATE = """# Do not edit manually, run ./update-providers.py
@@ -113,7 +114,10 @@ async def get_provider_manifests(version: str = "master") -> List:
113114
from music_assistant.common.models.provider import ProviderManifest # type: ignore
114115

115116
for fn in basedir.glob("**/manifest.json"):
116-
manifests.append(await ProviderManifest.parse(fn))
117+
try:
118+
manifests.append(await ProviderManifest.parse(fn))
119+
except MissingField as ex:
120+
print(f"Error parsing {fn}", ex)
117121

118122
return manifests
119123

0 commit comments

Comments
 (0)