Announcement

Collapse
No announcement yet.

Announce: Material Skin

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Originally posted by hopkins
    Hi,

    I have what seems to be a small bug to report.
    When adding the parameter $HOST to a weblink in the action.json file, the target link is added to the current location. For example:

    {
    ...
    }

    The first two actions work, but the last one results in this adress (concatanation of the material adress + target): "http://192.168.1.177:9001/material/192.168.1.177:5000/LMSplaylist"
    Which browser is this with? As I've just created an actions.json with your info, and its working for me - well the correct URL is shown.

    The code for this is common, so I fail to see how it would work for one but not the other.
    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
      Which browser is this with? As I've just created an actions.json with your info, and its working for me - well the correct URL is shown.

      The code for this is common, so I fail to see how it would work for one but not the other.
      Thanks for your reply. I am using Googl Chrome Version 103.0.5060.66.
      Oddly enough, when I startup the browser and click on the album link, I have the same problem. Refreshing the page and clicking again works. But the system action item never works.

      Comment


      • I figured out that the album action in fact only works from the My Music > Albums view. If click on the album action item from any other view (for ex: My Music > Random Albums, or My Music > Album Artists > artist xyz > album) it does not work...

        Comment


        • Originally posted by hopkins
          I figured out that the album action in fact only works from the My Music > Albums view. If click on the album action item from any other view (for ex: My Music > Random Albums, or My Music > Album Artists > artist xyz > album) it does not work...
          Again, works for me - I get the same URL in all places for a particular album.
          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
            Again, works for me - I get the same URL in all places for a particular album.
            Thanks. I'll try with another browser, clear all history, restart my computer, etc..

            Comment


            • Something I should mention. I initially had a fixed ip adress in the file, and later replaced it with the $HOST parameter...

              Comment


              • Originally posted by slartibartfast
                Just tried default skin and sure enough you can have duplicate favourites even in the same folder.

                Sent from my Pixel 3a using Tapatalk
                Disclaimer - I have not played around with this allot, but...

                I have one of my favorites radio stations playing, I click "more" and the only option is to remove from favorites. All other options within the UI (default or material) dont seem to allow creating a duplicate

                But, I can go into the folder, choose "new favorite" and paste the name and url and it does indeed allow duplicates.

                This seems like the hard way, but it does work, thanks. Ideally it would be nice to be able to copy a favorite from any folder, or even the play queue to an "often played" folder. Maybe I am overlooking something....

                Jim

                Comment


                • Tags to show in information track details

                  Thanks for creating such a great interface. I do have a suggestion that I hope you can consider. I often put useful/interesting information in the "Comment" tag of a track (e.g., liner notes, concert info, etc.), but the Comment tag isn't shown in the track information screen. E.g., the following shows the Artist, Year, Genre, and Source but not the comment
                  Click image for larger version

Name:	track_details.jpg
Views:	1
Size:	45.7 KB
ID:	1575370
                  Likewise, this information screen mentions the comment but doesn't show its value like it does for Artist, Genre, Year, and Rating.
                  Click image for larger version

Name:	track_details2.jpg
Views:	1
Size:	92.9 KB
ID:	1575371
                  I'm guessing this is specific to Material because the web interface does show the comment.
                  Click image for larger version

Name:	track_details3.png
Views:	2
Size:	184.9 KB
ID:	1575378
                  Would it be possible to show the Comment on both those material skin screens if there is one? It seems as useful as many tags whose values are displayed, like Year, Genre, Conductor, Artist, etc. (More ambitiously, it might be nice to be able to customize what tags are shown, but I'm assuming that would be a much bigger lift).

                  Thanks again for this great skin,
                  Mike
                  Last edited by mps; 2022-07-03, 01:40.

                  Comment


                  • Grey Bar In Android

                    Originally posted by cpd73
                    Bug fix release, changes:
                    1. Adjust desktop layout code to try to fix Safari issues (#589)
                    2. Fix missing queue menu items (Transfer queue, etc).
                    Since this release I now see a grey bar at the bottom of all the screens on android, see below.

                    EDIT : I notice this only happens if the zoom level is set above 50% in Applications Settings (which it is for my old eyes on a small android phone!)
                    Attached Files
                    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


                    • I have encountered something that seems odd to me, although it might be by design. It might well have been documented in one of the release announcements, and I just failed to note it. If so, I apologize!

                      When I browse through My Music > Artists to particular artist, I see a dropdown menu with a number of options, including one to browse the same artist's offerings in configured online services:

                      Click image for larger version

Name:	material-menu1..jpg
Views:	1
Size:	11.1 KB
ID:	1575374

                      If, instead, I select the "More" option for a track in the queue, and then select the artist's name, I go to the same listing of that artist's albums in the LMS library, but without the dropdown menu:

                      Click image for larger version

Name:	material-menu2..jpg
Views:	1
Size:	4.9 KB
ID:	1575375

                      Admittedly, the dropdown menu might be considered redundant here, since it is possible to go back from the artist's page to the "More" page. There are options available there to view the artist, album, or song on online services. But it is slightly confusing.


                      There is an associated issue that seems to apply only to Qobuz. When I browse My Music to an artist's listing of LMS albums, I do get the dropdown menu, as shown in the first image, and the Qobuz link does take me to Qobuz list of links for that artist:

                      Click image for larger version

Name:	material-menu3.jpg
Views:	1
Size:	16.5 KB
ID:	1575376

                      However, there is no response to a click on any of those links. I can confirm that the corresponding link to Spotify does work, and also that Qobuz can be accessed this way in the Classic skin.

                      Here is the javascript log when clicking on "Albums" in the Qobuz menu:

                      Code:
                      material.min.js?r=2.9.8:238 [Sat, 02 Jul 2022 21:52:06 GMT] ERROR:Error: Network Error (4) ['browseonlineartist', 'items', 'menu:browseonlineartist', 'item_id:0']
                      logError @ material.min.js?r=2.9.8:238
                      (anonymous) @ material.min.js?r=2.9.8:375
                      Promise.catch (async)
                      doTextClick @ material.min.js?r=2.9.8:375
                      browseClick @ material-deferred.min.js?r=2.9.8:148
                      click @ material.min.js?r=2.9.8:376
                      click @ VM199:3
                      He @ material.min.js?r=2.9.8:69
                      n @ material.min.js?r=2.9.8:69
                      He @ material.min.js?r=2.9.8:69
                      e.$emit @ material.min.js?r=2.9.8:69
                      click @ material.min.js?r=2.9.8:75
                      He @ material.min.js?r=2.9.8:69
                      n @ material.min.js?r=2.9.8:69
                      Yr.o._wrapper @ material.min.js?r=2.9.8:69
                      material.min.js?r=2.9.8:238 console.trace
                      logError @ material.min.js?r=2.9.8:238
                      (anonymous) @ material.min.js?r=2.9.8:375
                      Promise.catch (async)
                      doTextClick @ material.min.js?r=2.9.8:375
                      browseClick @ material-deferred.min.js?r=2.9.8:148
                      click @ material.min.js?r=2.9.8:376
                      click @ VM199:3
                      He @ material.min.js?r=2.9.8:69
                      n @ material.min.js?r=2.9.8:69
                      He @ material.min.js?r=2.9.8:69
                      e.$emit @ material.min.js?r=2.9.8:69
                      click @ material.min.js?r=2.9.8:75
                      He @ material.min.js?r=2.9.8:69
                      n @ material.min.js?r=2.9.8:69
                      Yr.o._wrapper @ material.min.js?r=2.9.8:69
                      material.min.js?r=2.9.8:1          POST http://<LMS IP>:9000/jsonrpc.js net::ERR_EMPTY_RESPONSE
                      (anonymous) @ material.min.js?r=2.9.8:1
                      e.exports @ material.min.js?r=2.9.8:1
                      e.exports @ material.min.js?r=2.9.8:1
                      Promise.then (async)
                      r.request @ material.min.js?r=2.9.8:1
                      r.<computed> @ material.min.js?r=2.9.8:1
                      (anonymous) @ material.min.js?r=2.9.8:1
                      lmsCommand @ material.min.js?r=2.9.8:518
                      (anonymous) @ material.min.js?r=2.9.8:522
                      $jscomp.generator.Engine_.nextStep_ @ material-deferred.min.js?r=2.9.8:35
                      $jscomp.generator.Engine_.next_ @ material-deferred.min.js?r=2.9.8:31
                      next @ material-deferred.min.js?r=2.9.8:36
                      (anonymous) @ material-deferred.min.js?r=2.9.8:37
                      $jscomp.asyncExecutePromiseGenerator @ material-deferred.min.js?r=2.9.8:37
                      $jscomp.asyncExecutePromiseGeneratorProgram @ material-deferred.min.js?r=2.9.8:37
                      lmsList @ material.min.js?r=2.9.8:521
                      doTextClick @ material.min.js?r=2.9.8:375
                      browseClick @ material-deferred.min.js?r=2.9.8:148
                      click @ material.min.js?r=2.9.8:376
                      click @ VM199:3
                      He @ material.min.js?r=2.9.8:69
                      n @ material.min.js?r=2.9.8:69
                      He @ material.min.js?r=2.9.8:69
                      e.$emit @ material.min.js?r=2.9.8:69
                      click @ material.min.js?r=2.9.8:75
                      He @ material.min.js?r=2.9.8:69
                      n @ material.min.js?r=2.9.8:69
                      Yr.o._wrapper @ material.min.js?r=2.9.8:69
                      Usually running latest beta LMS nightly on Raspberry Pi OS with virtual players. Occasionally using SB Radio, Boom or Classic.

                      Comment


                      • Originally posted by staresy
                        Since this release I now see a grey bar at the bottom of all the screens on android, see below.

                        EDIT : I notice this only happens if the zoom level is set above 50% in Applications Settings (which it is for my old eyes on a small android phone!)
                        I think this is due to some changes I made to fix Safari on iOS not re-loading the desktop view after its been asleep. I've made some tweaks and this seems to have resolved the issue for me, but will play some more to be sure.
                        Last edited by cpd73; 2022-07-03, 12:22.
                        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 RobbH
                          I have encountered something that seems odd to me, although it might be by design. It might well have been documented in one of the release announcements, and I just failed to note it. If so, I apologize!

                          When I browse through My Music > Artists to particular artist, I see a dropdown menu with a number of options, including one to browse the same artist's offerings in configured online services:
                          ...

                          If, instead, I select the "More" option for a track in the queue, and then select the artist's name, I go to the same listing of that artist's albums in the LMS library, but without the dropdown menu:
                          ...

                          Admittedly, the dropdown menu might be considered redundant here, since it is possible to go back from the artist's page to the "More" page. There are options available there to view the artist, album, or song on online services. But it is slightly confusing.
                          I've updated the code for 2.9.9 to try to add these here as well.

                          Originally posted by RobbH
                          There is an associated issue that seems to apply only to Qobuz. When I browse My Music to an artist's listing of LMS albums, I do get the dropdown menu, as shown in the first image, and the Qobuz link does take me to Qobuz list of links for that artist:
                          ...

                          However, there is no response to a click on any of those links. I can confirm that the corresponding link to Spotify does work, and also that Qobuz can be accessed this way in the Classic skin.

                          Here is the javascript log when clicking on "Albums" in the Qobuz menu:

                          Code:
                          material.min.js?r=2.9.8:238 [Sat, 02 Jul 2022 21:52:06 GMT] ERROR:Error: Network Error (4) ['browseonlineartist', 'items', 'menu:browseonlineartist', 'item_id:0']
                          l
                          Well the commend failed - "Network Error" - which probably means LMS did not like the command. It looks a bit sparse, so I guess that is why.
                          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 mps
                            Would it be possible to show the Comment on both those material skin screens if there is one?
                            I second this request

                            Comment


                            • Originally posted by cpd73
                              Bug fix release, changes:
                              1. Adjust desktop layout code to try to fix Safari issues (#589)
                              2. Fix missing queue menu items (Transfer queue, etc).
                              Excellent — many thanks, as ever.
                              Duet x 3, via various hi-fi. LMS running on Raspberry Pi OS (Debian 10) + OMV on a Pi4 (4GB RAM) in an Argon Neo case.

                              Comment


                              • Originally posted by cpd73
                                I've updated the code for 2.9.9 to try to add these here as well.
                                Thanks!

                                Well the commend failed - "Network Error" - which probably means LMS did not like the command. It looks a bit sparse, so I guess that is why.
                                I think the Network Error occurs before clicking on anything in the dropdown menu. It appears as soon as the menu opens. Does that make any difference?
                                Usually running latest beta LMS nightly on Raspberry Pi OS with virtual players. Occasionally using SB Radio, Boom or Classic.

                                Comment

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