Announcement

Collapse
No announcement yet.

Announce: Material Skin

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • After setting debug log for os.files and os.paths I get this in the server.log when using Material (obfuscated one folder name here):
    Code:
    [19-08-03 13:04:36.8375] Slim::Utils::OS::Win32::isDriveReady (476) Checking drive state for D:
    [19-08-03 13:04:36.8377] Slim::Utils::OS::Win32::isDriveReady (477)       --> ok
    [19-08-03 13:04:36.8447] Slim::Utils::Misc::readDirectory (928) opendir on [D:\\Music\SBS Source\xx xx\Amparo Sánchez] failed: No such file or directory
    For the default skin it's this:
    Code:
    [19-08-03 13:11:41.9365] Slim::Utils::Misc::fixPath (567) Fixed: Amparo Sánchez to file:///D:/Music/SBS%20Source/xx%20xx/Amparo%20S%E1nchez
    [19-08-03 13:11:41.9367] Slim::Utils::Misc::fixPath (569) Base: D:\Music\SBS Source\xx xx
    [19-08-03 13:11:41.9450] Slim::Utils::Misc::readDirectory (933) Reading directory: D:\Music\SBS Source\xx xx\Amparo Sánchez
    [19-08-03 13:11:41.9648] Slim::Utils::Misc::readDirectory (962) Directory contains 2 items

    Comment


    • Announce: Material Skin

      > [19-08-03 13:04:36.8447] Slim::Utils::Misc::readDirectory (928) opendir on [D:\\Music\SBS Source\xx xx\Amparo Sánchez] failed: No such file > [19-08-03 13:11:41.9450] Slim::Utils::Misc::readDirectory (933) Reading directory: D:\Music\SBS Source\xx xx\Amparo Sánchez

      Why would the first query have a double backslash? Are you browsing
      folders using Material's own implementation or LMS provided browse modes?

      --

      Michael
      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
        > [19-08-03 13:04:36.8447] Slim::Utils::Misc::readDirectory (928) opendir on [D:\\Music\SBS Source\xx xx\Amparo Sánchez] failed: No such file > [19-08-03 13:11:41.9450] Slim::Utils::Misc::readDirectory (933) Reading directory: D:\Music\SBS Source\xx xx\Amparo Sánchez

        Why would the first query have a double backslash?
        That might be Material's fault. For the file-system API, I was replacing single backslash with double backslash. Can't remember why, so have remove this for the next release. Anyhow, surely it should not matter? I know with Linux at least, that "/home//user////folder' is the same as '/home/user/folder' Not sure about windows - I try to use that as little as possible
        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 mherger
          Why would the first query have a double backslash? Are you browsing
          folders using Material's own implementation or LMS provided browse modes?

          --

          Michael
          With Material I was browsing using "Musikordner", with Default skin using "Music Folder".

          Click image for larger version

Name:	BMF Material2.jpg
Views:	1
Size:	9.3 KB
ID:	1566761Click image for larger version

Name:	BMF Default2.jpg
Views:	1
Size:	9.7 KB
ID:	1566760

          Originally posted by cpd73
          That might be Material's fault. For the file-system API, I was replacing single backslash with double backslash. Can't remember why, so have remove this for the next release. Anyhow, surely it should not matter? I know with Linux at least, that "/home//user////folder' is the same as '/home/user/folder' Not sure about windows - I try to use that as little as possible
          Yes, the double backslash is part of Material's request. And it doesn't matter for Windows as well. The double backslash is also present for the working folders.
          Code:
          [20:48:11] JSON REQ: ["00:00:00:00:00:00",["readdirectory",0,25000,"folder:D:\\\\Music\\SBS Source\\xx xx\\Amparo Sánchez"]]
          [20:48:11] JSON RESP: {"params":["00:00:00:00:00:00",["readdirectory","0",25000,"folder:D:\\\\Music\\SBS Source\\xx xx\\Amparo Sánchez"]],"method":"slim.request","id":1,"result":{"count":0}}

          Comment


          • 0.9.4 Release

            Main changes:
            1. Fix detecting if an item is in favourites if its within a favorites folder.
            2. Try to use material icons, and not LMS icons, for favourites entries.
            3. Fix album not appearing in favourites, if it is the last item.
            4. Don't hide 'Save to favourites' and 'Delete favourite' options from 'More' lists.
            5. Fic pinned radio stations - will need to re-pin, as format changed.
            6. Check whether "query_param" exists in "URI::http" before using. If not, then manually parse URI string.
            7. Don't show ratings stars for streamed tracks (negative ID).
            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


            • Switch Player Plugin?

              Hello,
              I wonder if the 'switch player' plugin will show on the material or classic skin? It is not showing in Squeezelite-x either.
              I am asking because 'Podcasts' and 'Was lief da eben'-apps show in the apps section of the material skin. Switch Player to me is currently available only in the Squeeze CTRL-app...
              I am on LMS 7.9.2.
              Raspberry Pi 4 Model B 2GB​ with LMS 8.2.0 -- Plugins: Material Skin, MAI, Podcasts, Musik - folge mir, Ratings Light, Exclude Folders -- RPI 2 with a Hifiberry DAC+ running PCP -- 2x UE Smartradios running Firmware 8.0 sth -- 2xWin10 PCs with Squeezelite-X ​-- DSM 7.1 (Synology Disk Station 115) has my music

              Comment


              • Originally posted by streifenleopard
                Hello,
                I wonder if the 'switch player' plugin will show on the material or classic skin? It is not showing in Squeezelite-x either.
                I am asking because 'Podcasts' and 'Was lief da eben'-apps show in the apps section of the material skin. Switch Player to me is currently available only in the Squeeze CTRL-app...
                I am on LMS 7.9.2.
                Material has an inbuilt switch-player. There's an icon above the queue that has two arrows pointing in opposite directions. Pressing that will produce a dialog allowing you to select the player you wish to move the queue to.
                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
                  Pressing that will produce a dialog allowing you to select the player you wish to move the queue to.
                  Thanks but the 'Switch Player'-plugin has the ability to take along the playlist and just keep on playing on the player you're moving to. This is the functionality I am looking for.
                  Raspberry Pi 4 Model B 2GB​ with LMS 8.2.0 -- Plugins: Material Skin, MAI, Podcasts, Musik - folge mir, Ratings Light, Exclude Folders -- RPI 2 with a Hifiberry DAC+ running PCP -- 2x UE Smartradios running Firmware 8.0 sth -- 2xWin10 PCs with Squeezelite-X ​-- DSM 7.1 (Synology Disk Station 115) has my music

                  Comment


                  • Originally posted by streifenleopard
                    Thanks but the 'Switch Player'-plugin has the ability to take along the playlist and just keep on playing on the player you're moving to. This is the functionality I am looking for.
                    There is always the "Music Walk With Me" plugin which has the same functionality and works with material skin.

                    Sent from my SM-G900F 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
                      As stated many time, please run the skin with JSON debugging. Look in the console tab of your browser's developer tools. You should see lines such as:
                      Code:
                      [07:11:06] JSON PLAYER (00:01:02:03:04:05): {"power":1,"player_ip":"127.0.0.1:58104","playlist_cur_index":"0","playlist_timestamp":1564747862.82473,"digital_volume_control":1,"time":1.41557229614258,"signalstrength":0,"playlist shuffle":0,"player_connected":1,"seq_no":0,"playlist repeat":2,"rate":1,"playlist_tracks":3,"player_name":"Wibble","playlist_loop":[{"rating":"40","year":"1980","type":"mp3","tracknum":"1","duration":2.112,"title":"Hmm","playlist index":0,"album":"Wibble","album_id":"44271","genre":"Rock","artist":"Wobble","artist_ids":"86415","id":53227,"artist_id":"86415","bitrate":"128kbps CBR"}],"playlist mode":"off","mixer volume":21,"duration":2.112,"mode":"pause","can_seek":1}
                      ...this is the status from LMS and details the curent track. These details are what are used to get biography, etc.

                      You should also see lines that have:
                      Code:
                      [07:11:18]  JSON REQ: ["",["musicartistinfo","biography","html:1","artist_id:86415"]]
                      ...this is the request for biography info.

                      So, please load Material with debug, clear play queue, navigate in browse-view to desired track, clear console, play track, press 'i' button. Paste the relevant lines from the console window (as shown above) here. This should give me more info to work on.

                      @Craig

                      Did someone give you a debug for this? If not the following gave me the bio of T Bone Walker - it does seem to occur quite frequently

                      Code:
                      [3:24:45 PM] JSON PLAYER (b8:27:eb:82:34:3c): {"waitingToPlay":1,"signalstrength":0,"mode":"play","playlist_timestamp":1565000285.55454,"playlist mode":"off","playlist_cur_index":"17","playlist shuffle":0,"rate":1,"seq_no":0,"player_ip":"10.0.0.209:42092","player_connected":1,"duration":782.226,"can_seek":1,"player_name":"Office USB DAC","mixer volume":80,"playlist repeat":0,"power":1,"time":0,"playlist_tracks":35,"playlist_loop":[{"type":"flc","playlist index":17,"coverid":"f3c431e0","id":1748814,"year":"1996","bitrate":"819kbps VBR","composer_ids":"378401","trackartist":"Eric Clapton","genre":"Rock","tracknum":"3","album":"Crossroads 2: Live In The Seventies","album_id":"146296","albumartist_ids":"377940","title":"Stormy Monday","artist_id":"378401","composer":"T-Bone Walker","albumartist":"Eric Clapton","trackartist_ids":"377940","duration":782.226}],"digital_volume_control":1}
                      utils.min.js?r=0.9.4:26 [3:24:52 PM] JSON REQ: ["",["musicartistinfo","lyrics","html:1","track_id:1748814"]]
                      utils.min.js?r=0.9.4:26 [3:24:52 PM] JSON REQ: ["",["musicartistinfo","biography","html:1","artist_id:378401"]]
                      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
                        @Craig

                        Did someone give you a debug for this? If not the following gave me the bio of T Bone Walker - it does seem to occur quite frequently

                        Code:
                        [3:24:45 PM] JSON PLAYER (b8:27:eb:82:34:3c): {"waitingToPlay":1,"signalstrength":0,"mode":"play","playlist_timestamp":1565000285.55454,"playlist mode":"off","playlist_cur_index":"17","playlist shuffle":0,"rate":1,"seq_no":0,"player_ip":"10.0.0.209:42092","player_connected":1,"duration":782.226,"can_seek":1,"player_name":"Office USB DAC","mixer volume":80,"playlist repeat":0,"power":1,"time":0,"playlist_tracks":35,"playlist_loop":[{"type":"flc","playlist index":17,"coverid":"f3c431e0","id":1748814,"year":"1996","bitrate":"819kbps VBR","composer_ids":"378401","trackartist":"Eric Clapton","genre":"Rock","tracknum":"3","album":"Crossroads 2: Live In The Seventies","album_id":"146296","albumartist_ids":"377940","title":"Stormy Monday","artist_id":"378401","composer":"T-Bone Walker","albumartist":"Eric Clapton","trackartist_ids":"377940","duration":782.226}],"digital_volume_control":1}
                        utils.min.js?r=0.9.4:26 [3:24:52 PM] JSON REQ: ["",["musicartistinfo","lyrics","html:1","track_id:1748814"]]
                        utils.min.js?r=0.9.4:26 [3:24:52 PM] JSON REQ: ["",["musicartistinfo","biography","html:1","artist_id:378401"]]
                        PS I do have some T-Bone Walker tracks in my library which I guess is why he has an artist_id

                        EDIT I have done some more tests and that is the issue. Its the first artist_id that Material is working from and if the composer also exists as an album or track artist in your collection then they have an artist_id and come first.
                        Last edited by d6jg; 2019-08-05, 15:42.
                        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 streifenleopard
                          Hello,
                          I wonder if the 'switch player' plugin will show on the material or classic skin? It is not showing in Squeezelite-x either.
                          I am asking because 'Podcasts' and 'Was lief da eben'-apps show in the apps section of the material skin. Switch Player to me is currently available only in the Squeeze CTRL-app...
                          I am on LMS 7.9.2.
                          Saw this post, so thought I would try out this plugin. When I selected/installed it, it seems to depend on two other plugins, "Title Switcher", and "TrackStat". I could not find its functionality either and when I looked back in the Settings|Plugins I see that "Title Switcher" fails to load. I have not looked further into it.

                          Click image for larger version

Name:	FailedToLoad.PNG
Views:	1
Size:	14.9 KB
ID:	1566780

                          R Greg Dawson
                          Squeezelite-X

                          Comment


                          • Originally posted by rgdawson
                            Saw this post, so thought I would try out this plugin. When I selected/installed it, it seems to depend on two other plugins, "Title Switcher", and "TrackStat". I could not find its functionality either and when I looked back in the Settings|Plugins I see that "Title Switcher" fails to load. I have not looked further into it.

                            [ATTACH]27843[/ATTACH]

                            R Greg Dawson
                            Pretty sure "Switch Player" should not depend on any other plugins. I used to have it installed but never had "Title Switcher" or "Trackstat".

                            Sent from my SM-G900F 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
                              Pretty sure "Switch Player" should not depend on any other plugins. I used to have it installed but never had "Title Switcher" or "Trackstat".

                              Sent from my SM-G900F using Tapatalk
                              Likewise. I’m sure it doesn’t. I used to use it but switched to Music, Walk with Me.
                              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
                                Likewise. I’m sure it doesn’t. I used to use it but switched to Music, Walk with Me.
                                Same.

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

                                Comment

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