Announcement

Collapse
No announcement yet.

Announce: Material Skin

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Originally posted by simoh
    How do I play a radio URL with Material? With the default skin, I have 'Tune In URL' in the radio menu. With material, I can't see this.
    Simon.
    Go to Favourites > click the heart icon.

    Click image for larger version

Name:	FavURL.jpg
Views:	471
Size:	22.2 KB
ID:	1626729

    Server - LMS 8.4.0 RPi4B 4GB/NanoSound ONE case/pCP 8.1.0 - 75K library, playlists & LMS cache on Sata SSD (ntfs)

    Lounge - DAC32 - AudioEngine B2
    Office - RPi 3B+/HiFiBerry DAC HAT/RPi screen - Edifier D12
    Bedroom - Echo Show 8

    Spares - 1xSB Touch, 1xSB3, 4xRPi, AVI DM5 speakers

    Comment


    • Thanks @kidstypike

      Comment


      • Originally posted by simoh
        How do I play a radio URL with Material? With the default skin, I have 'Tune In URL' in the radio menu. With material, I can't see this.
        Simon.
        If you mean to directly add to the queue, there is an "Add URL" entry in the main menu - visible when showing queue in mobile layout, always there for desktop
        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

          If you mean to directly add to the queue, there is an "Add URL" entry in the main menu - visible when showing queue in mobile layout, always there for desktop
          Nice avatar. I’ve seen that somewhere before.
          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


          • A couple of times recently I have noticed that Material skin has stopped updating the current track progress. If I start playing a track I see the artwork but the track progress indicator stays at zero. If I select a different player and then return to the original player I see the artwork for the previously selected different player. If I either clear the cache or quit Material skin and reopen it then it works correctly. Very strange. This is using the APK.
            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
              A couple of times recently I have noticed that Material skin has stopped updating the current track progress. If I start playing a track I see the artwork but the track progress indicator stays at zero. If I select a different player and then return to the original player I see the artwork for the previously selected different player. If I either clear the cache or quit Material skin and reopen it then it works correctly. Very strange. This is using the APK.
              Next time this happens open Material on another machine, e.g. a PC, and see if that too is affected. When a track is playing Material has an internal 'tick' mechanism to move the progress counter, but this only happens if Material thinks the track is playing. What did the play/pause button show?

              When you saif it stopped updating the progress, was it showing progress >0 and a pause icon?
              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

                Next time this happens open Material on another machine, e.g. a PC, and see if that too is affected. When a track is playing Material has an internal 'tick' mechanism to move the progress counter, but this only happens if Material thinks the track is playing. What did the play/pause button show?

                When you saif it stopped updating the progress, was it showing progress >0 and a pause icon?
                Hmm it may still have been showing the play button but not sure. That seems more likely but the player was definitely playing though.
                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

                  Hmm it may still have been showing the play button but not sure. That seems more likely but the player was definitely playing though.
                  I have no doubt the player was playing, but was checking the state Material was in.

                  When you have noticed the update stop, is that after the app was not used for a while? Do you have the APK's notification item enabled? The notification item stops Android from completly killing the APK. If it is not used, the APK is in the backgorund, and you do not interact with it for a while, them Android will close the APK. Now, the code should still handle this, but I suspect what I might need to do is have the APK do a status refresh whenever its screen is 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

                    I have no doubt the player was playing, but was checking the state Material was in.

                    When you have noticed the update stop, is that after the app was not used for a while? Do you have the APK's notification item enabled? The notification item stops Android from completly killing the APK. If it is not used, the APK is in the backgorund, and you do not interact with it for a while, them Android will close the APK. Now, the code should still handle this, but I suspect what I might need to do is have the APK do a status refresh whenever its screen is shown.
                    I had just installed a plugin update and also started playback on another player so it wasn't idle. If it it happens again I'll check on my laptop. Maybe I should run two instances on my phone, one APK and one in a browser.
                    Living Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
                    Bedroom: Radio
                    Bathroom: Radio

                    Comment


                    • I would like to report a probable bug on visualization of the rating of a song (the empty/full "five stars").

                      When the song naturally changes, the cover art and all data are updated, but the rating stars do not change and remain the ones of the previous song.
                      This happens both when current song is shown minimized on the bottom bar, or it is maximized with full cover art.

                      However when skipping song back or forth with the arrow buttons, the ratings are correctly updated.
                      The problem seems to occur only when the song naturally finishes and the next song is played from the queue.

                      I have Material Skin 3.0.3 and Trackstat 3.3.602 installed on LMS 8.1.1

                      Comment


                      • Originally posted by ptou
                        I would like to report a probable bug on visualization of the rating of a song (the empty/full "five stars").

                        When the song naturally changes, the cover art and all data are updated, but the rating stars do not change and remain the ones of the previous song.
                        This happens both when current song is shown minimized on the bottom bar, or it is maximized with full cover art.

                        However when skipping song back or forth with the arrow buttons, the ratings are correctly updated.
                        The problem seems to occur only when the song naturally finishes and the next song is played from the queue.

                        I have Material Skin 3.0.3 and Trackstat 3.3.602 installed on LMS 8.1.1
                        Hmmm.... Well I can't even see any ratings. I can set ratings with TrackStat, and they are correctly updated - as I can see them if I use 'More' to show track information. With RatingsLight I can't even set a rating. (this also fails for RatingsLight from the More menu, in Material and Squeezer)

                        The following should return a track's rating in its response but for some reason does not:

                        curl 'http://localhost:9000/jsonrpc.js' --data-raw '{"id":0,"method":"slim.request","params":["01:02:03:04:05:06",["status","-",1,"tags:cdegiloqrstuyAABIKNSTR"]]}'

                        I have a queue with 1 track in it that has been rated - but this call is not returning any rating info.
                        To be honest, I'm tempted to just remove the ratings related code. If the above is not returning a rating value, then I'm not sure what to do - LMS is responsible for that.

                        I realise in your case you are seeing ratings, just not changing when they should. However, I can't fix an issue if I can't recreate it. Plus, I don't use ratings. Hence being tempted to just remove this from Material.
                        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

                          Hmmm.... Well I can't even see any ratings. I can set ratings with TrackStat, and they are correctly updated - as I can see them if I use 'More' to show track information. With RatingsLight I can't even set a rating. (this also fails for RatingsLight from the More menu, in Material and Squeezer)

                          The following should return a track's rating in its response but for some reason does not:

                          curl 'http://localhost:9000/jsonrpc.js' --data-raw '{"id":0,"method":"slim.request","params":["01:02:03:04:05:06",["status","-",1,"tags:cdegiloqrstuyAABIKNSTR"]]}'

                          I have a queue with 1 track in it that has been rated - but this call is not returning any rating info.
                          To be honest, I'm tempted to just remove the ratings related code. If the above is not returning a rating value, then I'm not sure what to do - LMS is responsible for that.

                          I realise in your case you are seeing ratings, just not changing when they should. However, I can't fix an issue if I can't recreate it. Plus, I don't use ratings. Hence being tempted to just remove this from Material.
                          Ratings seem to update for me when the song finishes and both the Now Playing Screen and the playlist show ratings. I use trakstat Click image for larger version  Name:	Selection_005.jpg Views:	5 Size:	186.7 KB ID:	1627452
                          Last edited by SlimChances; 2023-01-18, 17:55.
                          Logitech Media Server Version: 8.4.0 - 1678519305 @ Sat 11 Mar 2023 08:54:37 AM CET
                          Operating system: Debian - EN - utf8
                          Platform Architecture: x86_64-linux
                          Perl Version: 5.34.0 - x86_64-linux-gnu-thread-multi
                          Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)​

                          Comment


                          • Originally posted by SlimChances

                            Ratings seem to update for me when the song finishes and both the Now Playing Screen and the playlist show ratings
                            Not sure why they are no longer showing for me. Did you use TrackStat or RatingsLight? Is there any setting I need to tweek? I've done a complete re-install of LMS8.4 nightly, with new plugins, etc.

                            If the code works, then I'm happy to leave. Its just not a piece of functionality I use.
                            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 use trakstat. I hope the code remains in place. I will have a look in my settins and see if I have adjusted anything
                              Logitech Media Server Version: 8.4.0 - 1678519305 @ Sat 11 Mar 2023 08:54:37 AM CET
                              Operating system: Debian - EN - utf8
                              Platform Architecture: x86_64-linux
                              Perl Version: 5.34.0 - x86_64-linux-gnu-thread-multi
                              Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)​

                              Comment


                              • Click image for larger version

Name:	Selection_006.jpg
Views:	199
Size:	321.2 KB
ID:	1627459 I think I modified settings under Classic Interface. The settings do not seem to be availabble in Material but effect the outcome in Material. So under Classical Interface i inserted and selected this option (screen shot does not show the entire selection
                                Code:
                                TRACKNUM - TITLE from ALBUM by ARTIST GENRE in  YEAR  RL_RATING_STARS_APPENDED
                                . Interestingly this only works out in Material in Classic interface I don't get ratings shown
                                Logitech Media Server Version: 8.4.0 - 1678519305 @ Sat 11 Mar 2023 08:54:37 AM CET
                                Operating system: Debian - EN - utf8
                                Platform Architecture: x86_64-linux
                                Perl Version: 5.34.0 - x86_64-linux-gnu-thread-multi
                                Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)​

                                Comment

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