Announcement

Collapse
No announcement yet.

Announce: Material Skin

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Originally posted by Franck@
    Is it really enough?
    Nope. Sorry, I (mistakenly) assumed it would "just work" I've update the HTML page to use strings (well HTML segments) defined in the standard "strings.txt" file. This should then be used to translate the page.
    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


    • Announce: Material Skin

      > Nope. Sorry, I (mistakenly) assumed it would "just work" I've update
      > the HTML page to use strings (well HTML segments) defined in the
      > standard "strings.txt" file. This should then be used to translate the
      > page.


      I'm sorry I'm too late... for content heavy static HTML files you can
      add the language code as another extension. Eg. readme.html.fr. See


      The "EN" in the base skin path is a bit confusing. I'm not sure whether
      they thought about using this part of the path to help localization. But
      I can't remember EN had anything to do with the language since I got
      involved in the project (which was... a long time ago!).
      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
        >I'm sorry I'm too late... for content heavy static HTML files you can
        add the language code as another extension. Eg. readme.html.fr. See


        The "EN" in the base skin path is a bit confusing. I'm not sure whether
        they thought about using this part of the path to help localization. But
        I can't remember EN had anything to do with the language since I got
        involved in the project (which was... a long time ago!).
        I confirm. It works if I create an "index.hml.fr" file.
        So, Craig, I'll do as you wish (strings.txt or index.html.fr).

        Comment


        • Originally posted by Franck@
          I confirm. It works if I create an "index.hml.fr" file.
          So, Craig, I'll do as you wish (strings.txt or index.html.fr).
          Strangely, when I use the index.html.fr file, the page background is darker than with the index.html file. However, I did not modify anything in the HTML content apart from the text (of the help).

          Comment


          • Originally posted by Franck@
            I confirm. It works if I create an "index.hml.fr" file.
            So, Craig, I'll do as you wish (strings.txt or index.html.fr).
            I think index.html.fr would be easier - then all the strings are all together. I've updated Material in git to only have the basic HTML in index.html, and moved the common header stuff (to set font, colours, etc) into separate files. Hopefully this should make things easier.
            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 think index.html.fr would be easier - then all the strings are all together. I've updated Material in git to only have the basic HTML in index.html, and moved the common header stuff (to set font, colours, etc) into separate files. Hopefully this should make things easier.
              Thanks. I made the pull request.

              Just two little things:
              • On the help page, the tooltips for the "Go home" and "Go back" buttons remain in English.
              • Surprisingly, the help page is displayed with a darker background in French than in English. (I'm using the "light" theme.)

              Comment


              • Originally posted by Franck@
                On the help page, the tooltips for the "Go home" and "Go back" buttons remain in English.
                Fixed, thanks for reporting.

                Originally posted by Franck@
                Surprisingly, the help page is displayed with a darker background in French than in English. (I'm using the "light" theme.)
                I see no difference.
                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 nickey
                  how about swipe right on a favourite list item to play it?
                  Normally swipe left and right in a list are for deleting or selecting or moving or something like that entries, not for playing. I think this will be not so good.
                  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
                    Normally swipe left and right in a list are for deleting or selecting or moving or something like that entries, not for playing. I think this will be not so good.
                    Hi...yeah...well actually it's precisely because Material already handles swipe gestures that I thought my suggestion might be achievable without too much extra coding and that I also mentioned having to include a setting to enable/disable the new feature.

                    Anyway, thanks for answering that particular message...I feel a little less ignored now. It would seem that I'm the only one who finds the direct play button useful, and if I'm honest that's puzzling...but as I mentioned, never mind...particularly since I've now remembered that Squeeze Ctrl, which I had switched away from for Material Apk, does what I want (and more) so I'm back on that!....and all's well that ends well.

                    Comment


                    • Originally posted by nickey
                      It would seem that I'm the only one who finds the direct play button useful, and if I'm honest that's puzzling...
                      I think that's because many (including myself), did not notice the difference between desktop and mobile, until you pointed it out . I guess I just handle the two tap without even thinking about it.

                      I think that Craig does a good job of balancing the needs/desires of the user community, while avoiding the mish mash of "everything for every one". As we all know, our actions have unintended consequences, and what may seem a benign change for some, trips someone up further down the road. Then there is the factor of Craig's time. Now that Material is this mature (and excellent), I think it's a good position to scrutinize changes, no matter how small (seemingly).

                      I also use squeeze cntrl as well as material. I like them both for different reasons. Glad you found what you were looking for! If you have not used SB Player (also from Angry Goat) and want to have your android device act like a player, the two integrate well.

                      Jim

                      Comment


                      • Originally posted by Redrum
                        I think that's because many (including myself), did not notice the difference between desktop and mobile, until you pointed it out . I guess I just handle the two tap without even thinking about it.
                        If you're saying you do use the direct play button on the PC browser version, yet don't think about it on the android side, I would qualify that as puzzling too.

                        Originally posted by Redrum
                        I think that Craig does a good job of balancing the needs/desires of the user community, while avoiding the mish mash of "everything for every one". As we all know, our actions have unintended consequences, and what may seem a benign change for some, trips someone up further down the road. Then there is the factor of Craig's time. Now that Material is this mature (and excellent), I think it's a good position to scrutinize changes, no matter how small (seemingly).
                        I don't think I've said anything to suggest otherwise, in case that might be why you felt it was important to defend Craig's work?

                        Originally posted by Redrum
                        I also use squeeze cntrl as well as material. I like them both for different reasons. Glad you found what you were looking for! If you have not used SB Player (also from Angry Goat) and want to have your android device act like a player, the two integrate well.
                        Jim
                        Yeah, I purchased SB Player around the same time as Squeeze Ctrl, thanks. I also use Squeeze Player, which seems to do pretty much the same thing. The only thing that would be nice to have when using my android phone as a player (here he goes again ) is proper synchronisation...not sure if that limitation is hardware or android related...or both.

                        Comment


                        • Originally posted by nickey
                          If you're saying you do use the direct play button on the PC browser version, yet don't think about it on the android side, I would qualify that as puzzling too.



                          I don't think I've said anything to suggest otherwise, in case that might be why you felt it was important to defend Craig's work?



                          Yeah, I purchased SB Player around the same time as Squeeze Ctrl, thanks. I also use Squeeze Player, which seems to do pretty much the same thing. The only thing that would be nice to have when using my android phone as a player (here he goes again ) is proper synchronisation...not sure if that limitation is hardware or android related...or both.
                          1) maybe because I really don't queue things up, use playlists, etc. I either choose a station, or an album and. When I want to do these things, I just do what it takes without thinking much about it. So I might hit "play" only a few times a day.

                          2) Not sure where you got that take from, my comment was really only an observation after following almost 10k posts on this thread (didn't read them all ), and also spending a good deal of time in product development myself. I think I was trying to compliment Craig for handling it all, maintaining a balance, that's all.

                          3) Sync with other players? I wasn't aware. I use SB Player for ear bud listening exclusively. Maybe post on the SB Player site? Wayne is pretty good about responding.

                          Jim

                          Comment


                          • Originally posted by nickey
                            ....
                            Yeah, I purchased SB Player around the same time as Squeeze Ctrl, thanks. I also use Squeeze Player, which seems to do pretty much the same thing. The only thing that would be nice to have when using my android phone as a player (here he goes again ) is proper synchronisation...not sure if that limitation is hardware or android related...or both.
                            I think Wayne (Angry Goat) has said that synchronization is a hit-or-miss proposition, depending mainly on the phone. I've had it work satisfactorily with various Pixel phones. But as Jim said, the subject is probably best pursued in the SB Player thread.
                            Usually running latest beta LMS nightly on Raspberry Pi OS with virtual players. Occasionally using SB Radio, Boom or Classic.

                            Comment


                            • Originally posted by Redrum
                              1)
                              3) Sync with other players? I wasn't aware. I use SB Player for ear bud listening exclusively. Maybe post on the SB Player site? Wayne is pretty good about responding.

                              Jim
                              Yeah, I basically like to put all available players in a sync group permanently, allowing me to hear whatever I happen to be listening to on one or more of them at any given moment...I think that I read somewhere in the LMS docs that precise synching was a challenge on android (or maybe arm hardware?)...nothing to do with SB Player, if I'm not mistaken. Not a huge deal for me either.
                              Last edited by nickey; 2022-12-05, 16:51.

                              Comment


                              • Originally posted by RobbH
                                I think Wayne (Angry Goat) has said that synchronization is a hit-or-miss proposition, depending mainly on the phone. I've had it work satisfactorily with various Pixel phones. But as Jim said, the subject is probably best pursued in the SB Player thread.
                                Ah, maybe that's where I read it then, Thanks.

                                Comment

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