Announcement

Collapse
No announcement yet.

Announce: Material Skin

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Originally posted by Ron F.
    I have a question regarding "What Was That Tune?" Frequently, I lose the option to select the grid view for it's display, and I don't know why that is - the icon is just not there on the RHS of the panel. It does not seem to matter whether I am playing my own music or streaming. Occasionally, I do have the Grid-View option, but more often than not, it disappears.
    Grid should be disabled for "What was that tune?" - mainly because grid does not show as much info, as there is less space per item, and (for me at least) this info is more important when needing track details. Plus "what was that tune" lists tracks, and tracks are shown as a list elsewhere. Not sure how you've ever seen the grid icon for 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 SlimChances
      Material seems to have lost a bit of functionality with my setup, specifically Erland's multilibrary and custom browse. When I select Albums or New Albums from Custom Browse I get no results. The wheel spins briefly and then disappears. I am able to select from all the other categories (genre, year, artist etc).
      I've seen this occasionally too. The issue, I think, is that when asking for a list of items, Material asks for up to 25k of items. CustomBrowse does not like this, and if you look at your LMS log you will see it throws errors due to the way it is querying LMS's DB. To be honest, Material is doing nothing wrong here - the API spec allows asking for this large a number of items. So, the issue is with CustomBrowse.
      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 SlimChances
        Material seems to have lost a bit of functionality with my setup, specifically Erland's multilibrary and custom browse. When I select Albums or New Albums from Custom Browse I get no results. The wheel spins briefly and then disappears. I am able to select from all the other categories (genre, year, artist etc).
        Odd that you state you have issues with "New Albums", as Material gets the size of this list from LMS's settings - so in this instance it should not ask for 25k, but (e.g.) 300. If you enable Material's debug (detailed previously in this thread multiple times) you can see the message Material sends. For me, when asking for "New Albums" I see:

        Code:
        [21:41:05] JSON REQ: ["02:00:70:ad:ca:5e",["custombrowse","browsejive",0,300,"hierarchy:newalbums65"]]
        As you can see, only 300 items are asked for. However, just noticed this is from the "New Albums" in the top level - when called from within the "Custom Browse" entry, it asks for 25k. Just tried changing this to only ask for 300 - but Custom Browse returns all albums! Even checked in default web-UI, "Custom Browse" / "New Albums" -> lists all albums!
        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
          Grid should be disabled for "What was that tune?" - mainly because grid does not show as much info, as there is less space per item, and (for me at least) this info is more important when needing track details. Plus "what was that tune" lists tracks, and tracks are shown as a list elsewhere. Not sure how you've ever seen the grid icon for this.
          I see. My eyes being what they are however, I like the grid view option with the larger artwork in "What Was That Tune!" If I click on an album cover, I get more information.

          I have been listening to the Radio Paradise Main Mix FLAC Interactive stream for the past hour, and the Grid View option for "What Was That Tune" has mysteriously returned to Material.

          When I refresh "What Was That Tune" now, the JSON request looks like:
          [2:41:32 PM] JSON REQ: ["00:04:20:23:c4:ce",["playhistory","items",0,25000,"menulayhistory"]]

          The response was huge - but it worked.

          Best,
          Ron
          Last edited by Ron F.; 2019-07-12, 23:28.
          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.
            When I refresh "What Was That Tune" now, the JSON request looks like:
            [2:41:32 PM] JSON REQ: ["00:04:20:23:c4:ce",["playhistory","items",0,25000,"menulayhistory"]]

            The response was huge - but it worked.
            You can configure, in LMS's settings, a limit for "What was that tune"
            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 Ron F.
              I see. My eyes being what they are however, I like the grid view option with the larger artwork in "What Was That Tune!" If I click on an album cover, I get more information.
              Changed the code for 0.9.1 to allow grid here - and in more other places.
              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
                Changed the code for 0.9.1 to allow grid here - and in more other places.
                That is great! Thank you.

                Something I have noticed when attempting to use the "What Was That Tune" plugin, and I don't know if this is an issue with Material or LMS, is that when I select this plugin, sometimes I get a list of connected devices to choose from, and sometimes I don't. If I am asked to first choose a device to show the play history for, then I get the list view with no option for the grid view. Sometimes however I am not asked, and we jump directly to the device I am currently controlling, and in that case I would get the grid view. I am not sure what is causing the periodic change in behavior, but it might be caused by adding a new device or shutting down devices that LMS knows about.
                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.
                  That is great! Thank you.

                  Something I have noticed when attempting to use the "What Was That Tune" plugin, and I don't know if this is an issue with Material or LMS, is that when I select this plugin, sometimes I get a list of connected devices to choose from, and sometimes I don't. If I am asked to first choose a device to show the play history for, then I get the list view with no option for the grid view. Sometimes however I am not asked, and we jump directly to the device I am currently controlling, and in that case I would get the grid view. I am not sure what is causing the periodic change in behavior, but it might be caused by adding a new device or shutting down devices that LMS knows about.
                  It appears to me now that the somewhat unpredictable behavior I am seeing, is originating with the "What Was That Tune" plugin itself. Possibly Michael can take a look at it, at some point.
                  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


                  • Announce: Material Skin

                    > It appears to me now that the somewhat unpredictable behavior I am
                    > seeing, is originating with the "What Was That Tune" plugin itself.
                    > Possibly Michael can take a look at it, at some point.


                    You would see this if all tracks logged would have come from only one
                    player. In this case WWTT would skip the player selection menu.

                    --

                    Michael
                    Michael

                    "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
                    (LMS: Settings/Information)

                    Comment


                    • Originally posted by mherger
                      > It appears to me now that the somewhat unpredictable behavior I am
                      > seeing, is originating with the "What Was That Tune" plugin itself.
                      > Possibly Michael can take a look at it, at some point.


                      You would see this if all tracks logged would have come from only one
                      player. In this case WWTT would skip the player selection menu.

                      --

                      Michael
                      I see. I have my track limit set to 50, so if the last 50 tracks played come from one player, essentially the device playing now, and the other players are paused, then we skip the player selection menu. OK - that makes sense. Thank you.
                      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


                      • @craig

                        There is a bit of a clamour elsewhere for a "Now Playing" screen - nothing to do with Material - but could you add one in similar way to mini-player which I have fathomed can be called by http://LMSIP:9000/Material/mini-player

                        Could you create - http://LMSIP:9000/Material/now-playing ? No navigation just image / titles etc - I imagine it would be best received in landscape mode ?
                        Jim



                        VB2.4 storage QNAP TS419p (NFS)
                        Living Room Joggler & Pi4/Khadas -> Onkyo TXNR686 -> Celestion F20s
                        Office Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s
                        Dining Room SB Radio
                        Bedroom (Bedside) Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
                        Bedroom (TV) & Bathroom SB Touch ->Denon AVR ->Mordaunt Short M10s + Kef ceiling speakers
                        Guest Room Joggler > Topping Amp -> Wharfedale Modus Cubes

                        Comment


                        • Originally posted by d6jg
                          @craig

                          There is a bit of a clamour elsewhere for a "Now Playing" screen - nothing to do with Material - but could you add one in similar way to mini-player which I have fathomed can be called by http://LMSIP:9000/Material/mini-player

                          Could you create - http://LMSIP:9000/Material/now-playing ? No navigation just image / titles etc - I imagine it would be best received in landscape mode ?
                          What about just the current desktop expanded now-playing view? Would adding a URL parameter to auto-start in that view be enough? e.g. http://LMSIP:9000/Material/desktop?initial=now-playing Or would you also want the 'i', expand/collapse, and menu buttons to be hidden? Player selection is required, as if a player vanishes material will auto-switch to the next - so some indication is required.
                          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
                            What about just the current desktop expanded now-playing view? Would adding a URL parameter to auto-start in that view be enough? e.g. http://LMSIP:9000/Material/desktop?initial=now-playing Or would you also want the 'i', expand/collapse, and menu buttons to be hidden? Player selection is required, as if a player vanishes material will auto-switch to the next - so some indication is required.
                            I think that would work if it could be inside a Chrome app - which I guess it could
                            Jim



                            VB2.4 storage QNAP TS419p (NFS)
                            Living Room Joggler & Pi4/Khadas -> Onkyo TXNR686 -> Celestion F20s
                            Office Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s
                            Dining Room SB Radio
                            Bedroom (Bedside) Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
                            Bedroom (TV) & Bathroom SB Touch ->Denon AVR ->Mordaunt Short M10s + Kef ceiling speakers
                            Guest Room Joggler > Topping Amp -> Wharfedale Modus Cubes

                            Comment


                            • Originally posted by d6jg
                              I think that would work if it could be inside a Chrome app - which I guess it could
                              WIP for 0.9.1:

                              Click image for larger version

Name:	Screenshot from 2019-07-16 17-40-29.jpg
Views:	1
Size:	73.0 KB
ID:	1566648
                              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


                              • Like the idea A lot! Could use a cheap android tablet to create a nice display on top of my transporter.
                                Just need album art and artist info. No controls or menu.
                                SqueezeBoxes: 1x Transporter (Living room) 1x SB2 (shed), 1x Radio (Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch (Study 2), few spare unit's (SB2, SB3, Boom, Touch)
                                Server: LMS on Pi3B+ 8.1.2 on PcP 7.0.1
                                Network: Draytek, Netgear Smart Switch 24p, Ubiquiti PoE, 3x Ubiquity

                                Comment

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