Announcement

Collapse
No announcement yet.

Announce: Material Skin

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Originally posted by Apesbrain View Post

    Thanks for your help. Screenshot below shows track tags and queue for both 3.1.1 and 3.1.0. Note ARTIST missing in 3.1.1 queue (and "Expanded Now Playing" not shown.) This is repeatable; as soon as I copy 3.1.0 over 3.1.1 and do a "hard refresh" in Chrome, the ARTIST tag reappears and vice-versa.
    Something really odd is going on with your system, as I cannot recreate this. Can you try using Material's JSON debug? e.g.

    1. Start Material as http :// SERVER:9000/material/?debug=json
    2. Clear any items in queue
    3. Navigate to album to add
    4. Open your browser's developer tools
    5. Select the Console tab
    6. Clear any current messages
    7. Add album to queue
    8. In the console tab you should see a "JSON RESP" message that contains ["status","0",5000,"tags:cdegilqtuysAAIKNSxxR"] (NOTE: tags: will only end in R if ratings are to be shown). Can you copy the contents of that into here. (If the message is long there will be "..." at the end, you need to click that to show the whole message).

    This way I can see what LMS is returning, and see if there is something missing.
    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 ptou View Post
      a refresh like the one when switching view, maybe after some seconds?
      Material does poll LMS status at the start/end of each track. For the first and last 6 seconds Material polls the status every 2 seconds.
      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

        Can you try using Material's JSON debug?
        Will send via PM. Thanks.

        Comment


          Originally posted by Apesbrain View Post
          Will send via PM. Thanks.
          Hmmm... I hacked the response message into Material and its showing the artist for me. Can you detail what Material's settings are like in its server settings page?
          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 Apesbrain View Post
            Will send via PM. Thanks.
            Ah! Might have found the culprit. In Material's server side settings do you have "Show artist first in now-playing and queue" set to "No" ? Because that seems to break things for me.

            For now set this to "Yes" and artists will be shown.
            Last edited by cpd73; 2023-01-24, 13:14.
            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

              In Material's server side settings do you have "Show artist first in now-playing and queue" set to "No" ?
              Click image for larger version  Name:	Clipboard01.jpg Views:	4 Size:	28.3 KB ID:	1627993

              Confirming: if I set this to YES, the ARTIST appears.
              Last edited by Apesbrain; 2023-01-24, 13:22.

              Comment


                Originally posted by cpd73 View Post
                3.1.1 release, changes:

                1. Fix track listing in MAI view.
                2. Fix track listing when showing more than 100 tracks.
                3. When choosing if to show composers, etc., look at all in case an artist type has multiple entries.
                4. Use correct tags parameter to return multi-artist entries when browsing tracks.
                5. Strip tags when showing titles in sub-toolbar, etc.
                6. Fix slow searches caused by asking for artist role metadata.
                Btw, in 3.1.1 I am seeing the "like" "don't like" button appear on top of the tech info with Pandora in desktop view.

                Click image for larger version

Name:	Material 311 - Pandora.png
Views:	301
Size:	143.5 KB
ID:	1628000

                Love your work,

                R Greg Dawson

                Squeezelite-X

                Comment


                  Originally posted by rgdawson View Post
                  I am seeing the "like" "don't like" button appear on top of the tech info with Pandora in desktop view.
                  Ah,oops! Forgot about the tech info - seing as I use neither Pandora nor show tech info. For 3.1.1 I'll just not show tech info in this bottom bar if the thumbs are to be shown.
                  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

                    Material does poll LMS status at the start/end of each track. For the first and last 6 seconds Material polls the status every 2 seconds.
                    I had an idea, maybe the rating does not get cleaned when track changes naturally? If the next track has a rating, it correctly overwrites the previous one, but if no rating is present (the field in the json response is completely missing), then the rating field is not reset but keeps the previous track value.
                    This may also justify why when maximizing/minimizing the rating updates, because in this case the whole interface must be re-painted and all fields start from empty (which corresponds to no rating provided).

                    Let me know if I can help in checking if my hypothesis is true, with some hints to where to look in the code.

                    Comment


                      Hi Craig

                      Would it be possible to make the tech info subject to a toggle on / off in the settings? Similar to Pandora, this can be issue with classical music tags.

                      Steve


                      Originally posted by cpd73 View Post

                      Ah,oops! Forgot about the tech info - seing as I use neither Pandora nor show tech info. For 3.1.1 I'll just not show tech info in this bottom bar if the thumbs are to be shown.

                      Comment


                        Originally posted by Shozzer View Post
                        Hi Craig

                        Would it be possible to make the tech info subject to a toggle on / off in the settings? Similar to Pandora, this can be issue with classical music tags.

                        Steve



                        It is already. It just takes 4 clicks to get there 😀
                        Living Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
                        Bedroom: Radio
                        Bathroom: Radio

                        Comment


                          Originally posted by Shozzer View Post
                          Would it be possible to make the tech info subject to a toggle on / off in the settings? Similar to Pandora, this can be issue with classical music tags.
                          How so? Can you provide a screenshot?

                          Also, there is already a setting to disable diplay of tech info.
                          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 ptou View Post

                            I had an idea, maybe the rating does not get cleaned when track changes naturally? If the next track has a rating, it correctly overwrites the previous one, but if no rating is present (the field in the json response is completely missing), then the rating field is not reset but keeps the previous track value.
                            This may also justify why when maximizing/minimizing the rating updates, because in this case the whole interface must be re-painted and all fields start from empty (which corresponds to no rating provided).

                            Let me know if I can help in checking if my hypothesis is true, with some hints to where to look in the code.
                            Sorry, but this works for my limited testing. Both when chaging tracks that have ratings, and to/from those that do not. All I can suggest is that you use Material's JSON debug to see what LMS is stating the rating should be.
                            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


                              Hi Craig

                              Screenshot as follows. I am not sure that the loss of the technical information would be a huge problem so I might just turn it off - sorry, I forgot there was the option already.

                              Steve


                              Click image for larger version

Name:	image.png
Views:	175
Size:	35.0 KB
ID:	1628157

                              Originally posted by cpd73 View Post

                              How so? Can you provide a screenshot?

                              Also, there is already a setting to disable diplay of tech info.

                              Comment


                                Originally posted by cpd73 View Post

                                Ah,oops! Forgot about the tech info - seing as I use neither Pandora nor show tech info. For 3.1.1 I'll just not show tech info in this bottom bar if the thumbs are to be shown.
                                Perhaps you could arrange the buttons the same way you do in now playing, that is, thumbs to the left and right of the skip/play/pause/skip group. That is where I would expect to see them and it would seem more consistent.

                                And for Pandora you could hide the Skip Back as there is no such thing and it is disabled anyway.
                                Last edited by rgdawson; 2023-01-26, 12:50.
                                Squeezelite-X

                                Comment

                                Working...
                                X