Announcement

Collapse
No announcement yet.

Announce: Material Skin

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Originally posted by dbm204
    I think we both agree about how it works but we are talking past one another. Firstly, I am not in any way suggesting that Material should change the way it implements Library Views. I just wanted to say that because I know others have suggested that in the past.

    I know that there is a setting for the player in Material but I didn't mention that because I thought it would be easier for sveninndh​ to check the web interface.

    Sending the vitrual-library ID with each request only works if you have a library selected for Browse in Material. If you don't have any browse library set in Material then it can fail.

    Using the default webview interface, I just set my SqueezePlayer in Windows to my Jazz Library View. I went to Material and Jazz showed up in the player settings. Material browse does not have a library set (set to All) so I can see everything when I browse in Material. I tried to play a Bob Dylan album. Nothing happens. I then try to play a Coleman Hawkins album and it plays on my computer.

    I then set Material browse to Rock and tried to play the Bob Dylan album. That played even though the player is still set to Jazz. That is because Material sends an explicit library ID for the Rock library to override the LMS Jazz library setting. But when Material is set to "All" whatever is sent doesn't override the Jazz setting on the player and nothing is played.
    We are seeing different behaviour then. If Material is set to "All" it still overrides the player library for me. If it didn't it would be very confusing to use.
    Living Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
    Bedroom: Radio
    Bathroom: Radio

    Comment


    • Originally posted by dbm204
      If you don't have any browse library set in Material then it can fail.

      ....

      I then set Material browse to Rock and tried to play the Bob Dylan album. That played even though the player is still set to Jazz. That is because Material sends an explicit library ID for the Rock library to override the LMS Jazz library setting. But when Material is set to "All" whatever is sent doesn't override the Jazz setting on the player and nothing is played.
      Then this sounds like an lms bug. Material always sends a library id. Using 0 for default library.
      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 slartibartfast
        Material skin library view seems to override the player setting.
        That's because I think the library id should be a user setting, not a player. Like browse modes.

        These settings make sense to be player specific when using the hardware players interface. But for a multi-player ui then they should be UI instance specific.
        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

          That's because I think the library id should be a user setting, not a player. Like browse modes.

          These settings make sense to be player specific when using the hardware players interface. But for a multi-player ui then they should be UI instance specific.
          I know, I was caught out by it many moons ago 🤣. I was just pointing that mine works as you would expect and it doesn't fail to play a track which isn't in the player library view.
          Living Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
          Bedroom: Radio
          Bathroom: Radio

          Comment


          • Originally posted by cpd73

            Then this sounds like an lms bug. Material always sends a library id. Using 0 for default library.
            I agree and always assumed it to be so. I left open the possibility that it could be in either side because I didn't run a trace on this in both Material and LMS (sorry, but I am happy to live with this). In a lot of software 0 is often treated as nothing sent so no special action taken. LMS is probably then not overriding the player setting which leads to this behaviour. That was my guess for what was happening to sveninndh​ which is why I brought this up in the first place.

            Comment


            • Originally posted by dbm204

              I agree and always assumed it to be so. I left open the possibility that it could be in either side because I didn't run a trace on this in both Material and LMS (sorry, but I am happy to live with this). In a lot of software 0 is often treated as nothing sent so no special action taken. LMS is probably then not overriding the player setting which leads to this behaviour. That was my guess for what was happening to sveninndh​ which is why I brought this up in the first place.
              Which LMS version are you using? I don't see the bug in 8.4.1.
              Living Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
              Bedroom: Radio
              Bathroom: Radio

              Comment


              • Originally posted by slartibartfast

                I know, I was caught out by it many moons ago 🤣. I was just pointing that mine works as you would expect and it doesn't fail to play a track which isn't in the player library view.
                Track?? Just tried that and one Bob Dylan track played ok. But try to play an album from the 70's when the LMS library is set to 60's. Play an album doesn't work.

                Comment


                • Originally posted by dbm204

                  Track?? Just tried that and one Bob Dylan track played ok. But try to play an album from the 70's when the LMS library is set to 60's. Play an album doesn't work.
                  Yes you're right. You can "Play disc starting at track" but you can't play "Play album starting at track". It clears the playlist. It would be interesting to check the debug info from Material when this happens.
                  Living Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
                  Bedroom: Radio
                  Bathroom: Radio

                  Comment


                  • Originally posted by slartibartfast

                    Which LMS version are you using? I don't see the bug in 8.4.1.
                    Logitech Media Server Version: 8.4.0 - 1672577932 @ Sun Jan 1 14:19:16 WEST 2023
                    Material 3.1.4

                    https://downloads.slimdevices.com/nightly/?ver=8.4

                    I use this as my source. It shows 8.4.0 as being the latest.

                    Comment


                    • Originally posted by dbm204

                      Logitech Media Server Version: 8.4.0 - 1672577932 @ Sun Jan 1 14:19:16 WEST 2023
                      Material 3.1.4

                      https://downloads.slimdevices.com/nightly/?ver=8.4

                      I use this as my source. It shows 8.4.0 as being the latest.
                      My mistake, mine is also 8.4.0 but from Feb 17
                      Living Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
                      Bedroom: Radio
                      Bathroom: Radio

                      Comment


                      • Originally posted by cpd73

                        Then this sounds like an lms bug. Material always sends a library id. Using 0 for default library.
                        How would I check that Material is sending the library id? I am seeing the same issue when playing a complete album but playing single tracks or even a single disc of a multi disc album works correctly.
                        Living Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
                        Bedroom: Radio
                        Bathroom: Radio

                        Comment


                        • Originally posted by cpd73

                          Are you running the git/master version? If so that appears to be broken at the mo, working on a fix now.
                          Yes I do, because of the change you made recently. I hadn't thought of that possibility at all. Ok, thanks, I'll wait for the next public release then.

                          Comment


                          • Originally posted by sveninndh

                            Yes I do, because of the change you made recently. I hadn't thought of that possibility at all. Ok, thanks, I'll wait for the next public release then.
                            No, glad you tried - otherwise I'd have made a release with this bug! It's fixed now if you want to update.
                            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 slartibartfast

                              How would I check that Material is sending the library id? I am seeing the same issue when playing a complete album but playing single tracks or even a single disc of a multi disc album works correctly.
                              Use Material's JSONRPC debug, and you will see the library_id parameter.
                              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 dbm204
                                Hi sveninndh

                                do you use Library Views? If so, do you have one set on the player "SqueezePlay"? If it is set on the player (check using the web interface or Squeezer app) then it may filter the album request. Material can show you albums for a different Library View (or all). That may not be what is causing this but it does produce the same effect.

                                If you can play the tracks individually then it is not a library view issue.
                                All players are set to 'all'. I have to deal with this setting a little more closely, it's not quite clear to me yet.
                                I think it's like Craig wrote.​

                                Comment

                                Working...
                                X
                                😀
                                🥰
                                🤢
                                😎
                                😡
                                👍
                                👎