Announcement

Collapse
No announcement yet.

Announce: Material Skin

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Originally posted by CJS
    .
    If your curiosity remains.
    Nope, done being curious . Thanks for trying it out!

    Just to document with pictures (in case fellow members think I'm (still) nuts). This is on the apk, although the browser (PC, using Chrome) behaves the same

    Favorites just folders, no grid option:

    Click image for larger version

Name:	Screenshot_20230515-100524.png
Views:	363
Size:	154.6 KB
ID:	1638827

    I added the song "Fifty-Four" from my library - grid option appears:

    Click image for larger version

Name:	Screenshot_20230515-100654.png
Views:	360
Size:	198.3 KB
ID:	1638828

    Jim

    Comment


    • Originally posted by Redrum
      Nope, done being curious . Thanks for trying it out!
      An explanation may be that Material skin only offers the grid view option when the view contains one or more icons. I have added an icon to each folder, while you haven't.

      FYI, for each category (folder) in my favorites I have copied an icon (in png format) to directory /usr/share/squeezeboxserver/HTML/EN/html/images (location for LMS debian package). This icon is then included in file favorites.opml as follows (example for category "Rock Radio Stations"):

      Code:
      <outline icon="html/images/rock_radio_icon.png" text="Rock Radio Stations">
           favorites in this category
      </outline>
      | LMS 8.3.2 on Linux Mint 21.2 | Squeezebox Boom | RPi0W + pCP 8.2.0 + HiFiBerry DAC Zero | ESP Muse Luxe |

      Comment


      • Originally posted by CJS
        An explanation may be that Material skin only offers the grid view option when the view contains one or more icons. .
        That would explain it. I guess I never worry about icons too much. In fact, I'll add a radio station to favorites from the now playing, rather than browse, and that results in no icon, where, if I used browse, it would. I discovered that a bit ago.

        But, I could argue that the folder symbol is indeed an icon

        Jim

        Comment


        • Originally posted by Redrum
          But, I could argue that the folder symbol is indeed an icon
          The folder symbol is for sure called an icon in the LMS favorites.opml file. So yes. I think that this is the explanation. Personally I like to assign icons to my Favorites folders. However (as far as I know) this can only be done by manually editing the favorites.opml file. And you need to prepare icons and copy them to LMS. So it does require some extra effort.
          | LMS 8.3.2 on Linux Mint 21.2 | Squeezebox Boom | RPi0W + pCP 8.2.0 + HiFiBerry DAC Zero | ESP Muse Luxe |

          Comment


          • If I wanted grid view in favorites root (I don't), I could edit just one, or add a single item that would end up at the bottom (like ZZ Top ).

            But I am a list and name kind of guy, so we will just move on, nothing to see here Nice you came up with an explanation though. Your offer to share the opml file would have indeed made grid available, and I would have been further confused!

            Jim

            Comment


            • Originally posted by Redrum
              That would explain it. I guess I never worry about icons too much.
              How did you manage to create a favourites folder without an icon? All folders get the folder icon for me - whether I create with Material or default skin. Even if I edit favorites.opml and remove the icon/image setting for a folder it still gets the folder icon - as I would expect.

              And yes, to allow grid you need images or icons.
              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
                How did you manage to create a favourites folder without an icon? All folders get the folder icon for me - whether I create with Material or default skin. Even if I edit favorites.opml and remove the icon/image setting for a folder it still gets the folder icon - as I would expect.
                I tested this, and see the following behavior:

                If the favorites top level ONLY has folders and NO other favorites, and I edit favorites.opml and remove the icons for all folders (that I previously added myself), then:
                • Default skin and jivelite/squeezeplay show default red heart symbol for the folders
                • Material skin shows NO icons for the folders

                When I then add a radio station favorite to the favorites top level, then:
                • Default skin and jivelite/squeezeplay show default red heart symbol for the folders, plus icon for the added favorite
                • Material skin shows default white folder symbol for the folders, plus icon for the added favorite
                So the behavior of LMS Material is exactly as shown in the screenshots posted by Redrum in post number 9826.
                Last edited by CJS; 2023-05-16, 09:52.
                | LMS 8.3.2 on Linux Mint 21.2 | Squeezebox Boom | RPi0W + pCP 8.2.0 + HiFiBerry DAC Zero | ESP Muse Luxe |

                Comment


                • Originally posted by CJS
                  edit favorites.opml and remove the icons for all folders
                  OK, this was only occurring if more than 1 folder - I was previously testing with only one folder. The reason that this is happening is that Material has some code to hide icons in list if they are all the same - this is because apps such as iHeartRadio use the same icon for each list entry, which I think looks bad. So, if there is more than 1 icon entry in a list and they are all the same icon, then they are all hidden. However, this should not apply to favourites - and I have now fixed this for the next release.
                  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

                    How did you manage to create a favourites folder without an icon? All folders get the folder icon for me - whether I create with Material or default skin. Even if I edit favorites.opml and remove the icon/image setting for a folder it still gets the folder icon - as I would expect.

                    And yes, to allow grid you need images or icons.
                    Hi Craig;

                    I created folders in LMS UI way before the birth of material, but I also have created them in Material with "create folder" (folder with a '+' icon). I have not edited anything as I am more of a label over picture navigation kind of guy.

                    If you look at my two images from this post: https://forums.slimdevices.com/forum...26#post1638826 The first one, with only folders, does not show the folder icon, but it is in the entry (I assume). When I added a song from my library (fifty-four), viola, the folder icons appeared, along with the grid view selector.

                    ok...I just read your latest post, regarding duplicated being hidden, and your rev. All I wrote is moot, but I'll post anyhow...

                    Thanks again for all you do.

                    Jim

                    Comment


                    • Originally posted by kidstypike

                      You can't if you're using Grid view, use List view to drag & drop favourites.
                      Thanks, this indeed workls for me!

                      Comment


                      • Hi Craig,

                        You probably have a good reason for this, but I noticed in the Material desktop display / expanded "Now Playing" view, that most of the buttons have tooltips, but most of those do not include their keyboard shortcut as part of the tooltip. Is this because keyboard shortcuts can be disabled and it is difficult to dynamically add the shortcuts to the button tooltips when they are enabled?​
                        Living Room: SB Touch + DIY PSU > CI Audio VDA.2 DAC + VAC.1 PSU > VRX.1 cables > Emotiva XSP-1 Gen 2 preamp + XPA-DR2 amp > Blue Jeans cables > B&W 804 speakers
                        Laptop: System76 Galago + Ubuntu 18.04 + Squeezelite + Epiphany/Material Skin > Emotiva Little Ego DAC > Grado PS500 headphones
                        Bedroom: RPi Zero W + Squeezelite > miniBOSS DAC HAT > Bose SoundLink Revolve
                        Phone: Pixel 6a + Termux/Squeezelite + Material APK > Senn IE80 earbuds
                        Server: System76 Meerkat + Pop!_OS 22.04 + LMS 8.4

                        Comment


                        • Originally posted by Ron F.
                          most of the buttons have tooltips, but most of those do not include their keyboard shortcut as part of the tooltip.​
                          Not all buttons have shortcuts. Which ones are you referring to?
                          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

                            Not all buttons have shortcuts. Which ones are you referring to?
                            I was thinking the tool-tips for volume up & down, play/pause, previous & next track, should include their shortcuts.
                            Living Room: SB Touch + DIY PSU > CI Audio VDA.2 DAC + VAC.1 PSU > VRX.1 cables > Emotiva XSP-1 Gen 2 preamp + XPA-DR2 amp > Blue Jeans cables > B&W 804 speakers
                            Laptop: System76 Galago + Ubuntu 18.04 + Squeezelite + Epiphany/Material Skin > Emotiva Little Ego DAC > Grado PS500 headphones
                            Bedroom: RPi Zero W + Squeezelite > miniBOSS DAC HAT > Bose SoundLink Revolve
                            Phone: Pixel 6a + Termux/Squeezelite + Material APK > Senn IE80 earbuds
                            Server: System76 Meerkat + Pop!_OS 22.04 + LMS 8.4

                            Comment


                            • Originally posted by Ron F.

                              I was thinking the tool-tips for volume up & down, play/pause, previous & next track, should include their shortcuts.
                              Ah, OK - it was just that you explicitly expanded now-playing. These buttons don't show shortcuts on any view. Will add for 3.3.0
                              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

                                Ah, OK - it was just that you explicitly expanded now-playing. These buttons don't show shortcuts on any view. Will add for 3.3.0
                                You are right, these buttons don't show shortcuts in any view! Thank you for adding.
                                Living Room: SB Touch + DIY PSU > CI Audio VDA.2 DAC + VAC.1 PSU > VRX.1 cables > Emotiva XSP-1 Gen 2 preamp + XPA-DR2 amp > Blue Jeans cables > B&W 804 speakers
                                Laptop: System76 Galago + Ubuntu 18.04 + Squeezelite + Epiphany/Material Skin > Emotiva Little Ego DAC > Grado PS500 headphones
                                Bedroom: RPi Zero W + Squeezelite > miniBOSS DAC HAT > Bose SoundLink Revolve
                                Phone: Pixel 6a + Termux/Squeezelite + Material APK > Senn IE80 earbuds
                                Server: System76 Meerkat + Pop!_OS 22.04 + LMS 8.4

                                Comment

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