Originally posted by sveninndh
View Post
Announcement
Collapse
No announcement yet.
Announce: Material Skin
Collapse
X
-
Originally posted by kidstypike View Post
Comment
-
Hi, Craig. I have a very simple question. In my library view, it seems that the release year is always displayed next to the album name, which I like very much. My question is: Is there an option somewhere that controls this? I couldn't find it if there is. For the default skin, it is an option that can be specified on the Interface settings of LMS. Thanks.Sam
Comment
-
Originally posted by SamY View PostHi, Craig. I have a very simple question. In my library view, it seems that the release year is always displayed next to the album name, which I like very much. My question is: Is there an option somewhere that controls this? I couldn't find it if there is. For the default skin, it is an option that can be specified on the Interface settings of LMS. Thanks.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
-
Thanks for the reply to my previous question, Craig. On a related topic, when adding albums/tracks to the queue from the library view, the release year is picked up and displayed next to the album name in the queue. However, the release year is not displayed when adding the same album/track from the Qobuz plugin view. Where does MS look for the release year? Here is the JSON request coming from the plugin, where the year is not displayed in the queue. It looks pretty much identical to the message from the library view adding the same track, including the 'year' field being populated. Any ideas?
10:44:53 AM] JSON PLAYER (b8:26:eb:c1:71:f0): {"seq_no":0,"mixer volume":39,"player_name":"Max2Play","playlist_trac ks":2,"player_connected":1,"mode":"stop","playli st _timestamp":1677685493.57322,"power":0,"playlist mode":"off","playlist repeat":0,"playlist_cur_index":0,"playlist_loop":[{"bitrate":"750kbps","album_id":"1464","disccou nt" :"2","playlist index":0,"trackartist_ids":"3112","samplesize":"16 ","coverid":"586dcae4","artist_id":"3112","url ":"q obuz://3963525.flac","id":16100,"composer_ids":"3459","sa mplerate":"44100","artist_ids":"3112","duration":" 330","artwork_url":"/imageproxy/https%3A%2F%2Fstatic.qobuz.com%2Fimages%2Fcovers%2 F31%2F30%2F0060251743031_600.jpg/image.jpg","genre":"Pop","album":"August And Everything After","tracknum":"1","artist":"Counting Crows","title":"Round Here (Album Version)","type":"flc","disc":"1","year":"1993"}],"signalstrength":0,"digital_volume_control":0, "re moteMeta":{"id":16100,"title":"Round Here (Album Version)","coverid":"586dcae4","duration":"330","a lbum_id":"1464","genre":"Pop","disc":"1","album":" August And Everything After","type":"flc","disccount":"2","bitrate":"750 kbps","artist_id":"3112","tracknum":"1","url":"qob uz://3963525.flac","year":"1993","artist":"Counting Crows","samplesize":"16","artwork_url":"/imageproxy/https%3A%2F%2Fstatic.qobuz.com%2Fimages%2Fcovers%2 F31%2F30%2F0060251743031_600.jpg/image.jpg","artist_ids":"3112","composer_ids":"345 9","trackartist_ids":"3112","samplerate":"44100 "}, "playlist shuffle":0,"player_ip":"192.168.1.11:58680"}
EDIT: Here is a screenshot of the queue showing the same Qobuz track, the first added from the library view and the second from the Qobuz plugin view:
Last edited by SamY; 2023-03-01, 16:59.Sam
Comment
-
Originally posted by SamY View PostThanks for the reply to my previous question, Craig. On a related topic, when adding albums/tracks to the queue from the library view, the release year is picked up and displayed next to the album name in the queue. However, the release year is not displayed when adding the same album/track from the Qobuz plugin view. Where does MS look for the release year? Here is the JSON request coming from the plugin, where the year is not displayed in the queue. It looks pretty much identical to the message from the library view adding the same track, including the 'year' field being populated.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
-
Originally posted by cpd73 View Post
That JSON you posted is from a status message, I assume, and its only showing the one track. You need to post a JSON message that has both. Anyhow, the year is taken from the "year" in the response.
[12:55:09 PM] JSON REQ: ["cc:cc:68:62:41:ac",["status",0,5000,"tags:cdegilqtuysAAIKNSxx"]]
material.min.js?r=3.1.4:245
[12:55:09 PM] JSON RESP: {"params":["cc:cc:68:62:41:ac",["status","0",5000,"tags:cdegilqtuysAAIKNSxx"]],"method":"slim.request","id":0,"result":{"seq_ no" :0,"mixer volume":21,"player_name":"Bedroom pair","playlist_tracks":2,"player_connected":1,"mo de":"stop","playlist_timestamp":1677693309.32002 ," power":0,"playlist mode":"off","playlist repeat":0,"playlist_cur_index":0,"playlist_loop":[{"album_id":"1472","disccount":"1","playlist index":0,"trackartist_ids":"3481","remote":1,"samp lesize":"24","coverid":"12ceb25e","artist_id":"348 1","url":"qobuz://27056131.flac","id":16364,"composer_ids":"3483","a rtist_ids":"3481","duration":"360","artwork_url":"/imageproxy/https%3A%2F%2Fstatic.qobuz.com%2Fimages%2Fcovers%2 F30%2F71%2F0088807237130_600.jpg/image.jpg","genre":"Blues","album":"In Session","tracknum":"3","artist":"Albert King","title":"Pride And Joy","disc":"1","year":"1998"},{"playlist index":1,"duration":"360","artwork_url":"/imageproxy/https%3A%2F%2Fstatic.qobuz.com%2Fimages%2Fcovers%2 F30%2F71%2F0088807237130_600.jpg/image.jpg","remote":1,"samplesize":"24","coverid": "-232007292","album":"In Session","artist":"Albert King","url":"qobuz://27056131.flac","id":"-232007292","title":"Pride And Joy","year":"0"}],"signalstrength":0,"digital_volume_control":1,"remoteMeta":{"id":16364,"title":"Pride And Joy","coverid":"12ceb25e","duration":"360","album _ id":"1472","genre":"Blues","disc":"1","album":"I n Session","disccount":"1","tracknum":"3","url":"qob uz://27056131.flac","year":"1998","artist_id":"3481","a rtist":"Albert King","samplesize":"24","artwork_url":"/imageproxy/https%3A%2F%2Fstatic.qobuz.com%2Fimages%2Fcovers%2 F30%2F71%2F0088807237130_600.jpg/image.jpg","artist_ids":"3481","composer_ids":"348 3","trackartist_ids":"3481","remote":1},"playli st shuffle":0,"player_ip":"192.168.1.14:50340"}}
material.min.js?r=3.1.4:245Last edited by SamY; 2023-03-01, 19:55.Sam
Comment
-
Originally posted by SamY View Post
Okay. I've been doing some more testing and ran into this JSON status request and response where the second track (the one from Qobuz without the year displayed) seems to have TWO "year" attributes associated with it --- the first with "0" and the other from the "remoteMeta" attributes with the correct value "1998". I don't know, however, where the "0" field is coming from. Any ideas?
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
-
Originally posted by cpd73 View Post
Nope. And remoteMeta is not in the track list, but as an extra. Which, I guess means its only for one track. Do you have a status message like this for more tracks? Just to see if its only for one or for all.
Sam
Comment
-
Originally posted by SamY View PostI can generate one. What scenario exactly do you want to see?
Code:{ "params": [ ... ], ... "result": { ... "playlist_loop": [ { "playlist index": 0, ... "year": "1998" }, { "playlist index": 1, ... "year": "0" } ], ... "remoteMeta": { ... "year": "1998", }, ... } }
Anyhow, your original question was "where does Material get the year from" - and now you can see its from LMS.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.
- Likes 1
Comment
-
Originally posted by bossanova808 View PostHi Craig
The Zap option you added a while back, seems to have disappeared? Was that intentional? I miss it!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
-
Originally posted by cpd73 View Post
If you past your JSONRCP RESP messages into a JSSON formatter (e.g. https://jsonformatter.org/) you can see the structure of the respnse. e.g.
Code:{ "params": [ ... ], ... "result": { ... "playlist_loop": [ { "playlist index": 0, ... "year": "1998" }, { "playlist index": 1, ... "year": "0" } ], ... "remoteMeta": { ... "year": "1998", }, ... } }
Anyhow, your original question was "where does Material get the year from" - and now you can see its from LMS.Sam
Comment
-
Originally posted by carldickson View PostHI, Is there a way of remembering the LMS password so every time I go to Material Skin I don't have to enter the password in on that device?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
Comment