Announcement
Collapse
No announcement yet.
Announce: Material Skin
Collapse
X
-
2.7.1 Release
Bug-fix release, main changes:
- Translation updates.
- Remove any leading slash from xxx_svg.png paths.
- Enhance custom action support; add to context menus - artists, albums, genres, years, queue, tracks, playlists.
- Fix RadioNet icon mapping.
Material debug: 1. Launch via http: //SERVER:9000/material/?debug=json (Use http: //SERVER:9000/material/?debug=json,cometd to also see update messages, e.g. play queue) 2. Open browser's developer tools 3. Open console tab in developer tools 4. REQ/RESP messages sent to/from LMS will be logged here.Comment
-
Paul Webster
Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-pluginComment
-
at material.min.js?r=2.7.1:216. When I click this error it takes me to line 216 highlighting the following: {customActions=eval(a.data);
Hopefully that's helpful.
Thanks for all you do.Comment
-
Hey, after updating to 2.7.1 none of the custom actions I created earlier are showing. In chrome devtools when I load material skin it shows the following error... material.min.js?r=2.7.1:216 SyntaxError: Unexpected token ':'
at material.min.js?r=2.7.1:216. When I click this error it takes me to line 216 highlighting the following: {customActions=eval(a.data);
Hopefully that's helpful.
Thanks for all you do.Material debug: 1. Launch via http: //SERVER:9000/material/?debug=json (Use http: //SERVER:9000/material/?debug=json,cometd to also see update messages, e.g. play queue) 2. Open browser's developer tools 3. Open console tab in developer tools 4. REQ/RESP messages sent to/from LMS will be logged here.Comment
-
Code:{ "artist":[ { "title":"Random Play Artist", "script":"lmsCommand('$ID', ['dynamicplaylist', 'playlist', 'play', 'dpldefault_zz_CONTEXTMENU_for_selected_artist_a01_songs_random', 'dynamicplaylist_parameter_1:$ARTISTID'])", "icon":"playlist_play" }, { "title":"Artist Radio", "lmscommand":["dynamicplaylist", "playlist", "play", "dpldefault_zz_CONTEXTMENU_for_selected_artist_a01_songs_random", "dynamicplaylist_parameter_1:$ARTISTID"], "svg":"dice-list" } ], "genre":[ { "title":"Random Play Genre", "script":"lmsCommand('$ID', ['dynamicplaylist', 'playlist', 'play', 'dpldefault_zz_CONTEXTMENU_for_selected_genre_a01_songs_random', 'dynamicplaylist_parameter_1:$GENREID'])", "icon":"playlist_play" } ] }
Comment
-
Are you sure you're on 2.7.1 of MaterialSkin? As I've just copied your example into an actions.json and it appears to work just fine for me. I say appears, as I do not use these plugins but using my browser's dev tools I can see the a JSONRPC command is sent when the action is performed.Material debug: 1. Launch via http: //SERVER:9000/material/?debug=json (Use http: //SERVER:9000/material/?debug=json,cometd to also see update messages, e.g. play queue) 2. Open browser's developer tools 3. Open console tab in developer tools 4. REQ/RESP messages sent to/from LMS will be logged here.Comment
-
Are you sure you're on 2.7.1 of MaterialSkin? As I've just copied your example into an actions.json and it appears to work just fine for me. I say appears, as I do not use these plugins but using my browser's dev tools I can see the a JSONRPC command is sent when the action is performed.
I will try removing plugin and re-installing.Comment
-
Radio > Tune in URL option available?
I often use Radio > Tune In URL but can't find it in the Material skin (not the TuneIn plugin, just the tune-to-a-radio-station-by-url functionality).
Is it available? (I searched the thread but couldn't find any information).
The material skin is impressive. Thanks for all the great work.
Comment
-
I often use Radio > Tune In URL but can't find it in the Material skin (not the TuneIn plugin, just the tune-to-a-radio-station-by-url functionality).
Is it available? (I searched the thread but couldn't find any information).
The material skin is impressive. Thanks for all the great work.
[ATTACH]35948[/ATTACH]
Sent from my Pixel 3a using TapatalkLiving Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
Bedroom: Radio
Bathroom: RadioComment
-
Are you sure you're on 2.7.1 of MaterialSkin? As I've just copied your example into an actions.json and it appears to work just fine for me. I say appears, as I do not use these plugins but using my browser's dev tools I can see the a JSONRPC command is sent when the action is performed.
ThanksComment
-
Material debug: 1. Launch via http: //SERVER:9000/material/?debug=json (Use http: //SERVER:9000/material/?debug=json,cometd to also see update messages, e.g. play queue) 2. Open browser's developer tools 3. Open console tab in developer tools 4. REQ/RESP messages sent to/from LMS will be logged here.Comment
-
OK I was able to get a test script to work that has two commands in it. One thing I have noticed is whatever the first variable is, for example $ID, is not passed onto the second command. I had to use $NAME in the second command to get the script to work. For whatever reason if I use $ID more than once it sends that param blank.
Blank Param in request payload...
Code:{"id":0,"method":"slim.request","params":["",["dynamicplaylist","playlist","stop"]]}
Code:{ "title":"Artist Radio", "script":"lmsCommand('$ID', ['dynamicplaylist', 'playlist', 'play', 'dpldefault_zz_CONTEXTMENU_for_selected_artist_a01_songs_random', 'dynamicplaylist_parameter_1:$ARTISTID']); setTimeout(() => lmsCommand('$NAME', ['dynamicplaylist', 'playlist', 'stop']), 10000)", "icon":"queue_music" },
Code:{ "title":"Artist Radio", "script":"lmsCommand('$ID', ['dynamicplaylist', 'playlist', 'play', 'dpldefault_zz_CONTEXTMENU_for_selected_artist_a01_songs_random', 'dynamicplaylist_parameter_1:$ARTISTID']); setTimeout(() => lmsCommand('$ID', ['dynamicplaylist', 'playlist', 'stop']), 10000)", "icon":"queue_music" },
Comment
Comment