Announcement

Collapse
No announcement yet.

Announce: Material Skin

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Originally posted by sveninndh
    Can you please tell me the JSONRPC call? Unfortunately I'm not familiar with it.
    Thank you very much.
    Is there a particular reason you want to restart LMS so often?

    Sent from my Pixel 3a using Tapatalk
    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
      Is there a particular reason you want to restart LMS so often?
      if you develop plugins in Perl and that's not your main profession right now, then you need a lot of restarts and you want a 1-click solution.

      Comment


      • Originally posted by sveninndh
        if you develop plugins in Perl and that's not your main profession right now, then you need a lot of restarts and you want a 1-click solution.
        From a commandline, the following should shutdown the server:

        Code:
        curl 'http://SERVER:9000/jsonrpc.js' -X POST --data-raw '{"id":0,"method":"slim.request","params":["",["stopserver"]]}'
        ...and to restart:

        Code:
        curl 'http://SERVER:9000/jsonrpc.js' -X POST --data-raw '{"id":0,"method":"slim.request","params":["",["restartserver"]]}'
        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
          From a commandline, the following should shutdown the server:

          Code:
          curl 'http://SERVER:9000/jsonrpc.js' -X POST --data-raw '{"id":0,"method":"slim.request","params":["",["stopserver"]]}'
          ...and to restart:

          Code:
          curl 'http://SERVER:9000/jsonrpc.js' -X POST --data-raw '{"id":0,"method":"slim.request","params":["",["restartserver"]]}'
          Thanks for your help.
          Unfortunately, it didn't work for me at first, but it pointed me in the right direction.
          The following change finally worked:

          Code:
          curl "http://SERVER:9000/jsonrpc.js" -X POST -d "{\"id\":0,\"method\":\"slim.request\",\"params\":[\"\",[\"restartserver\"]]}"
          You can then use it to create a Windows shortcut and enter this command line there directly.
          So you have the server restart with just one click.
          Great, thanks again..

          Comment


          • 2.9.5 Release

            Bug fix release, changes:
            1. For LMS 8.3 add album-artist when favouriting an album.
            2. Fix add/play all for mixes when called from custom action.
            3. Reduce dialog buttons min-width if screen is 400px or less.
            4. Always use HTML for 'textarea' values.
            5. For mobile devices add a search button at the right of search fields containing text.
            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
              Bug fix release, changes:
              1. For LMS 8.3 add album-artist when favouriting an album.
              2. Fix add/play all for mixes when called from custom action.
              3. Reduce dialog buttons min-width if screen is 400px or less.
              4. Always use HTML for 'textarea' values.
              5. For mobile devices add a search button at the right of search fields containing text.
              The search button works perfectly [emoji106]

              Sent from my Pixel 3a using Tapatalk
              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
                Bug fix release, changes:
                1. For LMS 8.3 add album-artist when favouriting an album.
                2. Fix add/play all for mixes when called from custom action.
                3. Reduce dialog buttons min-width if screen is 400px or less.
                4. Always use HTML for 'textarea' values.
                5. For mobile devices add a search button at the right of search fields containing text.
                Thanks a lot to developers to having fix the "search button" issue quickly. Now works perfectly as expected.

                Comment


                • It seams I found a little glitch in Material skin (i am using here the Android App on a Fire HD 8 with the dark mode in Material Skin switched on).
                  If you use the mobile display with the cover left and the info on the left and you double tap onto the cover and then close the cover display with the cross in the right hand corner (maybe you have to do it a few times), suddenly the background is changing to blue.
                  You only have to press one of the three buttons on the bottom to get back the normal background.

                  This is reproducible on the tablet in the Material Skin App, but I did not get it to happen on the tablet with the Silk browser or Vivaldi or on my Mac in a browser or my iPhone in a browser.

                  The app is version 0.2.0. Nothing is playing, it only shows the last played song with cover.
                  Pi4 4GB piCorePlayer with LMS and Squeezelite for USB inside an Argon One case
                  Pi3B+ (7" Display, Hifiberry DAC+ Pro) piCorePlayer with Squeezlite/Jivelite for Hifiberry inside a SmartiPi touch case
                  Pi Zero W only for Bluetooth headphones
                  Two Airport Express
                  Ikea Symfonisk

                  Comment


                  • Originally posted by carsten_h
                    It seams I found a little glitch in Material skin (i am using here the Android App on a Fire HD 8 with the dark mode in Material Skin switched on).
                    If you use the mobile display with the cover left and the info on the left and you double tap onto the cover and then close the cover display with the cross in the right hand corner (maybe you have to do it a few times), suddenly the background is changing to blue.
                    You only have to press one of the three buttons on the bottom to get back the normal background.

                    This is reproducible on the tablet in the Material Skin App, but I did not get it to happen on the tablet with the Silk browser or Vivaldi or on my Mac in a browser or my iPhone in a browser.

                    The app is version 0.2.0. Nothing is playing, it only shows the last played song with cover.
                    Can you show a screenshot? I am not not sure what you mean by "mobile display with cover left and the info on the left". Unless you mean the info is on the right with the tablet held on landscape orientation.

                    Sent from my Pixel 3a using Tapatalk
                    Living Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
                    Bedroom: Radio
                    Bathroom: Radio

                    Comment


                    • Originally posted by carsten_h
                      the background is changing to blue.
                      Is it semi-transparent? Sounds like the whole page is being 'selected'
                      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
                        Can you show a screenshot? I am not not sure what you mean by "mobile display with cover left and the info on the left".
                        Yes, it is in landscape and on the right. :-)

                        Here are the screenshots:
                        Click image for larger version

Name:	3B9EBB67-79CA-4CDE-AA4D-B5AD3C8185BA.jpeg
Views:	1
Size:	75.1 KB
ID:	1575106

                        Click image for larger version

Name:	942AAC6A-724C-4C15-914F-60828E5CF59D.jpeg
Views:	1
Size:	76.5 KB
ID:	1575107

                        It doesn‘t look transparent.
                        Pi4 4GB piCorePlayer with LMS and Squeezelite for USB inside an Argon One case
                        Pi3B+ (7" Display, Hifiberry DAC+ Pro) piCorePlayer with Squeezlite/Jivelite for Hifiberry inside a SmartiPi touch case
                        Pi Zero W only for Bluetooth headphones
                        Two Airport Express
                        Ikea Symfonisk

                        Comment


                        • Originally posted by carsten_h
                          Yes, it is in landscape and on the right. :-)

                          Here are the screenshots:
                          [ATTACH]37959[/ATTACH]

                          [ATTACH]37960[/ATTACH]

                          It doesn‘t look transparent.
                          Weird. I tried on my phone and didn't see the colour change. Do you have another device to try it on?

                          I tried on my old Nexus 7 and that was OK as well.

                          Sent from my Pixel 3a using Tapatalk
                          Last edited by slartibartfast; 2022-05-20, 17:42.
                          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
                            Do you have another device to try it on?
                            Yes, I have tested now a few different ones.
                            No iOS/iPadOS/macOS or Windows device has this problem.
                            I tested a Fire HD10 Gen 9 and it doesn’t has this problem.
                            Another Fire HD 8 Gen 10 doesn’t has this problem.

                            It is only the oldest Fire HD 8 Gen 7 which has this problem. As this is a really old Android version I would say, that you can forget the problem!
                            So don’t think any longer on it!
                            Pi4 4GB piCorePlayer with LMS and Squeezelite for USB inside an Argon One case
                            Pi3B+ (7" Display, Hifiberry DAC+ Pro) piCorePlayer with Squeezlite/Jivelite for Hifiberry inside a SmartiPi touch case
                            Pi Zero W only for Bluetooth headphones
                            Two Airport Express
                            Ikea Symfonisk

                            Comment


                            • Originally posted by carsten_h
                              Yes, I have tested now a few different ones.
                              No iOS/iPadOS/macOS or Windows device has this problem.
                              I tested a Fire HD10 Gen 9 and it doesn’t has this problem.
                              Another Fire HD 8 Gen 10 doesn’t has this problem.

                              It is only the oldest Fire HD 8 Gen 7 which has this problem. As this is a really old Android version I would say, that you can forget the problem!
                              So don’t think any longer on it!
                              Which Android version is it? My Nexus 7 is 7.1.2.

                              Sent from my Pixel 3a using Tapatalk
                              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 Android version is it?
                                It is Fire OS 5 which is based on Android 5.
                                Pi4 4GB piCorePlayer with LMS and Squeezelite for USB inside an Argon One case
                                Pi3B+ (7" Display, Hifiberry DAC+ Pro) piCorePlayer with Squeezlite/Jivelite for Hifiberry inside a SmartiPi touch case
                                Pi Zero W only for Bluetooth headphones
                                Two Airport Express
                                Ikea Symfonisk

                                Comment

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