Announcement

Collapse
No announcement yet.

Announce: Material Skin

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Originally posted by darrell View Post

    What happens if you kill the app or shut down the phone first, then shut down the server, then launch the app?
    Then it can't find the server and goes to settings.

    [Edit] My guess is the you have Material's auto server discover option turned off.
    Last edited by cpd73; 2023-03-19, 13:14.
    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 View Post
      3.2.2 release, changes:

      4. Change dimensions on which now-playing landscape layout changes.

      Just a quick thanks, this change has greatly improved the landscape mode appearance/usability on my android phone.

      Thanks, as ever, for all your continued development with this
      Location 1: LMS 8.3 on Win 10 Brix Server, x3 SB Radios, x1 Touch, x1 Controller : Location 2: LMS 8.3 on Win 10 Brix Server, x2 SB Radios, x1 Duet Receiver, x1 Controller : Alexa Mediaserver Smart Skill, Material Android, SqueezeliteX control

      Comment


        Originally posted by cpd73 View Post

        Then it can't find the server and goes to settings.

        [Edit] My guess is the you have Material's auto server discover option turned off.
        Yes, turning auto discover on fixes the problem. Many thanks.

        Comment


          Originally posted by Apesbrain View Post

          I just tried the MASTER build and the problem with "now-playing landscape layout dimensions" remains. Went back to 3.2.1 and all is well again.

          My browser window dimensions are 1258x962 if that could be accommodated. Thanks.
          And the problem is? With those dimensions I get the same layout as per your screenshot. What are you expecting?
          Last edited by cpd73; 2023-03-19, 14:15.
          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 darrell View Post
            Yes, turning auto discover on fixes the problem. Many thanks.
            I've updated the code, for the next release, to open settings if auto-discover is disabled.
            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 View Post

              I've updated the code, for the next release, to open settings if auto-discover is disabled.
              Even better - thanks!

              Comment


                Originally posted by cpd73 View Post

                And the problem is? With those dimensions I get the same layout as per your screenshot. What are you expecting?
                Thanks for your reply. When I use 3.2.2, I get the "side by side" layout below:

                Click image for larger version

Name:	Clipboard01.jpg
Views:	301
Size:	176.7 KB
ID:	1634305

                Comment


                  Another little bug, this time in the skin, not the app: When there are no players connected to the current server, "Manage Players" just says "No player" so it is not possible to connect players connected to other servers.

                  Comment


                    Originally posted by darrell View Post
                    Another little bug, this time in the skin, not the app: When there are no players connected to the current server, "Manage Players" just says "No player" so it is not possible to connect players connected to other servers.
                    confirm I see this also on iPhone
                    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 Apesbrain View Post
                      When I use 3.2.2, I get the "side by side" layout below:
                      The viewport - i.e. the part of the window that the page sees - is not 1258 x 962, but about 1258x884. Anyhow, this (I think) is a case of not being able to please everyone. I think the current solution works best. However in git/master I've added a 'npRatio' URL query parameter that allows you to adjust when Material thinks the now-playing should be landscape or portrait. This is 1.3333 by default, you probably want about 1.45 - e.g. http :// SERVER:9000/material/?npRatio=1.45
                      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 View Post
                        However in git/master I've added a 'npRatio' URL query parameter that allows you to adjust when Material thinks the now-playing should be landscape or portrait. This is 1.3333 by default, you probably want about 1.45 - e.g. http :// SERVER:9000/material/?npRatio=1.45
                        Thanks! I tested git-master and that works. Would it be easier to have a parameter that forces the layout, i.e. npFormat=portrait? Takes the ratio calculation out of the picture.

                        Comment


                          Hi, would it be possible to add a tag in the section that shows the artist, year, genre and source (below the songtext info)? For example, I would like to add a version tag (scanned via custom tag) to show the version info of an album, like:
                          DCC gzs-1100 CD (US, 1993)

                          another thing I would like to add there, is a link to the files (similar to the functionality to open and view files that are in the same folder).

                          I get that this probably isn’t for everyone, so I am fine to make the changes on my LMS only. As I am not a very good coder, I would appreciate any sample code and some directions in which plugin/file I need to make the edit. If someone can help, would be great!​
                          Living: EtherRegen -> Ultrarendu -> Benchmark DAC2 HGC -> Benchmark AHB2 -> ATC SCM19 v2 & Sennheiser HD650
                          Kitchen: SB Touch -> Audio Pro Addon T10 gen2
                          Kids rooms: SB Booms
                          Bedroom: SB Boom & SB Radio
                          Controls: Material Skin & LMS via internet, iPeng
                          Server: Windows 10 Pro with LMS 8.3
                          Spare: 2 SB Touch, 1 SB3, 2 SB Radio

                          Comment


                            Originally posted by Blackfiction View Post
                            Hi, would it be possible to add a tag in the section that shows the artist, year, genre and source (below the songtext info)? For example, I would like to add a version tag (scanned via custom tag) to show the version info of an album
                            The issue would be in how the tag's value is sent to the skin. The JSONRPC commands only send a limited sub-set of tags. So, AFAIK, there is no way to get this extra information in order to display.

                            Originally posted by Blackfiction View Post
                            another thing I would like to add there, is a link to the files (similar to the functionality to open and view files that are in the same folder).
                            The JSONRPC protocol does have a command to list a set of folders in an album's directory. So, in theory it would be possible to get this list of files and then add into that display.
                            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


                              cpd73 - just checking that you saw this bug - https://forums.slimdevices.com/forum...06#post1634306
                              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 View Post
                                cpd73 - just checking that you saw this bug - https://forums.slimdevices.com/forum...06#post1634306
                                Yes, and fixed in git for 3.2.3
                                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

                                Working...
                                X