Announcement

Collapse
No announcement yet.

Announce: Material Skin

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Originally posted by Redrum
    I wonder if it is possible to add a selection "add to favorites" to the queue now playing menu?
    The reason its not there is because (AFAIK) there's no way to get the station logo from here, plus it would favourite the current URL - which might not be the URL that was loaded. e.g. if you search for a station on TuneIn you get a URL pointing to TuneIn, when LMS loads this it gets redirectred to the actual stream URL (which can change). Ideally you'd want to favourite the TuneIn URL along with the ori gnal URL - wherease what would happen is that you'd favourite the redirected URL and the image of the current track.

    The left pane resettig is so that the history does not get too large - e.g. if you clicked on 'More' from multiple tracks.

    [Edit] But I'll see if there is a wayo to work-around this.
    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


      [Edit] But I'll see if there is a wayo to work-around this.
      Understand why, not that big of a deal, so if there is an easy way fine, otherwise no worries.

      I did notice that if you go to "more" and even dial down to, say "more info", if you use your "back" arrow, the place is maintained. It's only when you add to favorites and there is a pop up that it resets the page. I've never really needed a "are you sure?" for a favorite, perhaps this could be turned off and the place maintained?

      Jim

      Comment


      • Originally posted by Redrum
        I did notice that if you go to "more" and even dial down to, say "more info", if you use your "back" arrow, the place is maintained. It's only when you add to favorites and there is a pop up that it resets the page. I've never really needed a "are you sure?" for a favorite, perhaps this could be turned off and the place maintained?
        The items shown in the left pane from "more" onwards are all controlled by LMS. The save confirmation has its next-window set to "grandparent". So, when Material actions the command it goes back that number of steps. This works for me, and the relevent position is restored.

        Also, even adding a favourite here does not add the station logo. Hmm...
        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


        • I'm not sure I completely understand your first paragraph, how you got the relative position restored, however...

          I just realized if I "add to favorites" from the left pane menu, that saves the favorite without confirmation needed and the menu position in that pane is maintained, that's how I should do my use case:

          Click image for larger version

Name:	image.png
Views:	264
Size:	79.8 KB
ID:	1630997

          I also had never noticed the station logos not being stored, guess I had never really thought about it. I do notice now though that the logos are not stored from the playing pane->more->add to favorites. but they are stored with my latest technique - left pane->station->menu dots->add to favorites.

          So, I'm good, thanks for the feedback.

          Jim

          Comment


          • I think there is another small bug here.

            Material-Skin cannot completely transfer an album to the playlist if this album consists of several discs and would be tagged accordingly.

            LMS displays these albums in a structured way.
            You can easily transfer individual discs to the playlist with one click and no longer wonder about repeating track numbers.
            Now where is the problem of material?
            With all these structured lists, the "Play" button in the header doesn't work anymore, it just doesn't do anything.
            Actually, all tracks of an album should be transferred to the playlist in its entirety (so all discs it contains).

            Click image for larger version

Name:	Screenshot_20230225-121950.jpg
Views:	169
Size:	53.2 KB
ID:	1631428

            Attached Files

            Comment


            • Originally posted by sveninndh
              I think there is another small bug here.

              Material-Skin cannot completely transfer an album to the playlist if this album consists of several discs and would be tagged accordingly.

              LMS displays these albums in a structured way.
              You can easily transfer individual discs to the playlist with one click and no longer wonder about repeating track numbers.
              Now where is the problem of material?
              With all these structured lists, the "Play" button in the header doesn't work anymore, it just doesn't do anything.
              Actually, all tracks of an album should be transferred to the playlist in its entirety (so all discs it contains).

              Click image for larger version

Name:	Screenshot_20230225-121950.jpg
Views:	169
Size:	53.2 KB
ID:	1631428

              The play button in the header works for me with multi disc albums.
              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

                The play button in the header works for me with multi disc albums.
                Click image for larger version

Name:	Screenshots_2023-02-25-15-04-57.jpg
Views:	158
Size:	54.1 KB
ID:	1631444

                This button?

                Sorry, it works not for me.

                Material 3.1.4, LMS 8.4

                Comment


                • Originally posted by sveninndh

                  Click image for larger version

Name:	Screenshots_2023-02-25-15-04-57.jpg
Views:	158
Size:	54.1 KB
ID:	1631444

                  This button?

                  Sorry, it works not for me.

                  Material 3.1.4, LMS 8.4
                  Yes that one, I generally don't use it but tried to test. I normally select the first track then "Play album from track".
                  Living Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
                  Bedroom: Radio
                  Bathroom: Radio

                  Comment


                  • 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.

                    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.
                      As.far as I know Material doesn't allow a different library view for each player.
                      Living Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
                      Bedroom: Radio
                      Bathroom: Radio

                      Comment


                      • I know that Material doesn't support it but that is what causes this behaviour. If the individual player is set to Jazz library via the web interface and you set Material to Classical (or all libraries) then you will see Beethoven in Material. The request to play Beethoven goes to LMS. LMS has Jazz set for the player "SqueezePlay" so the album is filtered out as if it doesn't exist and nothing is added. I don't know whether LMS returns an indicator to the caller (Material) that nothing was added, Or if it does, whether Material is ignoring it. This used to happen to me but I am aware of it and know to clear the library if it is set through the web interface or Squeezer (my other main interfaces).

                        Comment


                        • Originally posted by sveninndh
                          With all these structured lists, the "Play" button in the header doesn't work anymore, it just doesn't do anything.
                          Are you running the git/master version? If so that appears to be broken at the mo, working on a fix now.
                          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
                            I know that Material doesn't support it but that is what causes this behaviour. If the individual player is set to Jazz library via the web interface and you set Material to Classical (or all libraries) then you will see Beethoven in Material. The request to play Beethoven goes to LMS. LMS has Jazz set for the player "SqueezePlay" so the album is filtered out as if it doesn't exist and nothing is added. I don't know whether LMS returns an indicator to the caller (Material) that nothing was added, Or if it does, whether Material is ignoring it. This used to happen to me but I am aware of it and know to clear the library if it is set through the web interface or Squeezer (my other main interfaces).
                            Material does support setting a player's virtual library - its in the player settings. However, setting there does not affect browsing in Material.

                            When browsing Material always sends its virtual-library ID with each request. So, if a player is set to library A, but Material is on B - then Material will show tracks from B.
                            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
                              I know that Material doesn't support it but that is what causes this behaviour. If the individual player is set to Jazz library via the web interface and you set Material to Classical (or all libraries) then you will see Beethoven in Material. The request to play Beethoven goes to LMS. LMS has Jazz set for the player "SqueezePlay" so the album is filtered out as if it doesn't exist and nothing is added. I don't know whether LMS returns an indicator to the caller (Material) that nothing was added, Or if it does, whether Material is ignoring it. This used to happen to me but I am aware of it and know to clear the library if it is set through the web interface or Squeezer (my other main interfaces).
                              Mine doesn't do that. If I set the player library view to 1960s then select a 1970s track in Material then it plays on the 1960s player. Material skin library view seems to override the player setting.
                              Living Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
                              Bedroom: Radio
                              Bathroom: Radio

                              Comment


                              • 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.

                                Comment

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