Quick test before disappearing for the night - I can package it up as a plugin update tomorrow
This is the last thing shown in the console - the response from LMS. After that comes the 404 - see end for extra info. Only one station (so far) has a local icon - "CRo Jazz" ... and it shows as an icon-id rather than icon. The other stations are specified with a URL to an icon on the broadcasters site. Code: -------------------- { "params": [ "02:0e:8e:24:fe:32", [ "radionowplaying", "items", "0", 25000, "item_id:b880e8fe.1", "menu:radionowplaying" ] ], "id": 3, "method": "slim.request", "result": { "count": 3, "base": { "actions": { "play": { "player": 0, "nextWindow": "nowPlaying", "cmd": [ "radionowplaying", "playlist", "play" ], "itemsParams": "params", "params": { "menu": "radionowplaying" } }, "add-hold": { "itemsParams": "params", "params": { "menu": "radionowplaying" }, "cmd": [ "radionowplaying", "playlist", "insert" ], "player": 0 }, "playControl": { "window": { "isContextMenu": 1 }, "params": { "_index": "0", "item_id": "b880e8fe.1", "menu": "radionowplaying", "_quantity": "25000" }, "itemsParams": "playControlParams", "cmd": [ "radionowplaying", "items" ], "player": 0 }, "more": { "player": 0, "window": { "isContextMenu": 1 }, "itemsParams": "params", "params": { "menu": "radionowplaying" }, "cmd": [ "radionowplaying", "items" ] }, "go": { "params": { "menu": "radionowplaying" }, "itemsParams": "params", "cmd": [ "radionowplaying", "items" ] }, "add": { "player": 0, "cmd": [ "radionowplaying", "playlist", "add" ], "params": { "menu": "radionowplaying" }, "itemsParams": "params" } } }, "window": { "windowStyle": "home_menu" }, "title": "Český rozhlas", "offset": 0, "item_loop": [ { "icon": "/imageproxy/https%3A%2F%2Fwww.czech.radio%2Fsites%2Fdefault%2Ffiles%2Fstyles%2Fcro_16x9_tablet%2Fpublic%2Ff00f74051cca8099c4dd2040d4524841.png/image.png", "text": "CRo D-dur", "actions": { "go": { "params": { "item_id": "b880e8fe.1.0", "menu": "radionowplaying" }, "cmd": [ "radionowplaying", "items" ] } }, "addAction": "go" }, { "text": "CRo Jazz", "addAction": "go", "icon-id": "plugins/RadioNowPlaying/html/images/cro-jazz.png", "actions": { "go": { "params": { "menu": "radionowplaying", "item_id": "b880e8fe.1.1" }, "cmd": [ "radionowplaying", "items" ] } } }, { "text": "CRo Vltava", "icon": "/imageproxy/https%3A%2F%2Fwww.czech.radio%2Fsites%2Fdefault%2Ffiles%2Fstyles%2Fcro_16x9_tablet%2Fpublic%2Ff00f74051cca8099c4dd2040d4524841.png/image.png", "actions": { "go": { "params": { "item_id": "b880e8fe.1.2", "menu": "radionowplaying" }, "cmd": [ "radionowplaying", "items" ] } }, "addAction": "go" } ] } } -------------------- which results in a GET http://192.168.2.140:9000/plugins/RadioNowPlaying/html/images/cro-jazz_300x300_f.png 404 (Not Found) however ... if I do this from the browser then it works http://192.168.2.140:9000/plugins/RadioNowPlaying/html/images/cro-jazz.png note My icon does not have http etc in front - I tried it with and without a leading / and had same result. Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla finland, abc australia, cbc/radio-canada and rte ireland ------------------------------------------------------------------------ Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 View this thread: http://forums.slimdevices.com/showthread.php?t=109624
_______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins