File tree Expand file tree Collapse file tree 3 files changed +18
-8
lines changed
pkgs/by-name/mu/music-assistant Expand file tree Collapse file tree 3 files changed +18
-8
lines changed Original file line number Diff line number Diff line change 2424
2525python . 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 = [
Original file line number Diff line number Diff line change 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 ; [
4043 opensubsonic = ps : with ps ; [
4144 py-opensonic
4245 ] ;
46+ player_group = ps : [
47+ ] ;
4348 plex = ps : with ps ; [
4449 plexapi
4550 ] ;
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
7684 ] ;
7785 tunein = ps : [
7886 ] ;
79- ugp = ps : [
80- ] ;
8187 ytmusic = ps : with ps ; [
8288 yt-dlp
8389 ytmusicapi
Original file line number Diff line number Diff line change 1616from urllib .request import urlopen
1717
1818from jinja2 import Environment
19+ from mashumaro .exceptions import MissingField
1920from packaging .requirements import Requirement
2021
2122TEMPLATE = """# 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
You can’t perform that action at this time.
0 commit comments