SlimChances wrote:
> I am on version 7.1 of Material now and it is working well except one
> glitch that was not in earlier version. When I click on New Albums I get
> a generic error message "Something went wrong:Error Network Error". I
> have encountered this before on a much earlier version of Material which
> I reported but was not able to provide the correct Debug info for you. I
> will try again. I am using the desktop version.
> This is the messagge immediately after selecting New Albums from the
> main page.
> >
Code:
--------------------
> > [Tue, 21 May 2019 17:09:12 GMT] ERROR:Error: Network Error
> Array(5) [ "custombrowse", "browsejive", 0, 25000, "hierarchy:newalbums65"
]=
>
--------------------
> >
Are you sure that's from 'New Music' On the main page? As the command
issued for that should be:
Code:
--------------------
["albums",0,25000,"wantMetadata:1","sort:new","tags:jlyasS","library_id:0"]
--------------------
I've just installed Custom Browse and my laptop test install, and for
"New Albums" *within* "Custom Browse" it sends:
Code:
--------------------
["custombrowse","browsejive",0,25000,"hierarchy:newalbums65","newalbums65:newalbums65"]
--------------------
Which is working for me. But this command is different to yours, as you
do not have the "newalbums65:newalbums65"
If you start Material as either
"http://HOST:9000/material/desktop?debug=json" or
"http://HOST:9000/material/mobile?debug=json" (it has to be one of these
two), then Material will log the JSON messages its sends, and the
responses received. For instance, when I click on Custom Browse the
following is logged:
Code:
--------------------
[18:28:03] JSON REQ:
["80:19:34:d5:0a:02",["custombrowse","browsejive",0,25000]]
utils.min.js?r=0.7.1:26 [18:28:03] JSON RESP:
{"params":["80:19:34:d5:0a:02",["custombrowse","browsejive","0","25000"]],"id":1,"result":{"item_loop":[{"window":{"menuStyle":"album"},"params":{"albums":"albums","hierarchy":"albums"},"menuIcon":"iPeng/plugins/CustomBrowse/html/images/custombrowse.png","text":"Albums"},{"text":"Artists","window":{"menuStyle":"album"},"params":{"artists":"artists","hierarchy":"artists"},"menuIcon":"iPeng/plugins/CustomBrowse/html/images/custombrowse.png"},{"params":{"hierarchy":"decades65","decades65":"decades65"},"menuIcon":"iPeng/plugins/CustomBrowse/html/images/custombrowse.png","text":"Decades"},{"menuIcon":"iPeng/plugins/CustomBrowse/html/images/custombrowse.png","params":{"genres":"genres","hierarchy":"genres"},"text":"Genres"},{"text":"New
Albums","menuIcon":"iPeng/plugins/CustomBrowse/html/images/custombrowse.png","params":{"newalbums65":"newalbums65","hierarchy":"newalbums65"},"window":{"menuStyle":"album"}},{"menuIcon":"iPeng/plugins/
CustomBrowse/html/images/custombrowse.png","params":{"newartists65":"newartists65","hierarchy":"newartists65"},"window":{"menuStyle":"album"},"text":"New
Artists"},{"text":"Playlists","menuIcon":"iPeng/plugins/CustomBrowse/html/images/custombrowse.png","params":{"hierarchy":"playlists65","playlists65":"playlists65"}},{"params":{"hierarchy":"years65","years65":"years65"},"menuIcon":"iPeng/plugins/CustomBrowse/html/images/custombrowse.png","text":"Years"}],"base":{"actions":{"add-hold":{"itemsParams":"params","params":{},"cmd":["custombrowse","insert"]},"play":{"cmd":["custombrowse","play"],"params":{},"nextWindow":"nowPlaying","itemsParams":"params"},"go":{"cmd":["custombrowse","browsejive"],"itemsParams":"params","params":{}},"add":{"params":{},"itemsParams":"params","cmd":["custombrowse","add"]}}},"lastChanged":1558459272,"count":8,"offset":"0"},"method":"slim.request"}
--------------------
Can you post what is sent/received when you click on your "Custom
Browse" entry from the main menu?
------------------------------------------------------------------------
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=109624
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins