Announcement

Collapse
No announcement yet.

Announce: Material Skin

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Originally posted by cpd73
    So just to be 10% clear:
    1. Use Material's search field and enter artist name
    2. Click on artist, list of albums is shown
    3. Click on (+) icon that is shown when hovering over an album


    If that is correct, then all Material asks lms to do is add the album using its ID. I've just tried,and it seems to work for me. I have noticed that Material also sends "sort:yearalbum" - which is the sort I use for albums under an artist. Perhaps this is messing things up? As noted in my sig, you can use Material's debug to see what commands are sent to LMS.
    Thanks for your reply.

    It's hard for me to read the debug log, but it looks like the response to "cmd:add" employs "sort:album".

    I have found another album that exhibits the problem. The key seems to be that the album has been ripped from multiple disks. For example, the second album doing this is a two-disk set with seven tracks per disk. If I click on the artist's name and then click (+) on the album, the tracks are queued in the order: 1,8,9,2,3,10,4,11,12,5,13,6,7,14. It's going in order, but with the two disks interleaved somehow. But again, if I click the (+) directly without first clicking on the artist's name, the problem goes away.

    In the tags, the tracks are numbered sequentially, 1–14. There is no discnumber tag. But the filenames have not been changed from what the ripper produced. The format is "01 [artist name] - [track title].flac". So there are two files whose name starts "01", two that start "02", etc. Could that make a difference somehow?


    UPDATE: I renamed the files to be sequential, "01 [artist name] - [track title].flac", "02 .....", rescanned the database, and the problem disappeared.
    Also, in the case where I click (+) directly without clicking on the artist's name, the "sort:album" tag does not appear in the log.

    So, it looks like that's the source of the trouble somehow. I don't know if this problem can be fixed. I have a lot of multi-disc sets!
    Last edited by dpotts; 2021-06-11, 01:19.

    Comment


    • How to produce the multi-disc track order problem

      You can make any album produce the bad-track-order-queue problem by changing the track numbers of the file names.

      Here is an example. Below is the original file listing for an album.

      Click image for larger version

Name:	Screenshot 2021-06-10 182050.png
Views:	1
Size:	52.5 KB
ID:	1572519

      The track numbers are in sequential order. Search for the artist, click the artist name, and then play the album that appears in the album list for the artist. The tracks are in the proper order, as below.

      Click image for larger version

Name:	Screenshot 2021-06-10 184933.jpg
Views:	1
Size:	55.1 KB
ID:	1572520

      To produce the bad queue, rename the files by duplicating some of the track numbers. In the example below, I renamed "04", "05", and "06" to be "01", "02", and "03".

      Click image for larger version

Name:	Screenshot 2021-06-10 181404.png
Views:	1
Size:	57.5 KB
ID:	1572521

      You can see, for example, that in the screenshot above, the second circled file name has "01" as the track number, but it's the fourth movement of the symphony.

      Now rescan the database, search for the artist name, click the name, and play the album from the list that appears. The following was my result:

      Click image for larger version

Name:	Screenshot 2021-06-10 182447.jpg
Views:	1
Size:	59.6 KB
ID:	1572522

      Comment


      • Originally posted by dpotts
        I have found another album that exhibits the problem. The key seems to be that the album has been ripped from multiple disks. For example, the second album doing this is a two-disk set with seven tracks per disk. If I click on the artist's name and then click (+) on the album, the tracks are queued in the order: 1,8,9,2,3,10,4,11,12,5,13,6,7,14. It's going in order, but with the two disks interleaved somehow. But again, if I click the (+) directly without first clicking on the artist's name, the problem goes away.
        [Edit] In the first case a "sort:" parameter is added, but not in the second. I've now updated the code for 2.4.6 to remove this "sort:" parameter, which should resolve the issue.
        Last edited by cpd73; 2021-06-11, 07:49.
        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 dpotts
          In the tags, the tracks are numbered sequentially, 1–14. There is no discnumber tag.
          I also tried to reproduce it, but here everything is played in the correct order.
          The difference is that I always have the
          TRACKNUMBER/TRACKTOTAL
          DISCNUMBER/DISCTOTAL
          correctly set for all of my albums. The filenames are set like this (this is automatically done by the Music-App on my Mac (iTunes before) when the tags are set correctly):
          <TRACKARTIST>/<ALBUM>/<DISCNUMBER>-<TRACKNUMBER> <TRACKTITLE>.mp3
          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
            I also tried to reproduce it, but here everything is played in the correct order.
            The difference is that I always have the
            TRACKNUMBER/TRACKTOTAL
            DISCNUMBER/DISCTOTAL
            correctly set for all of my albums. The filenames are set like this (this is automatically done by the Music-App on my Mac (iTunes before) when the tags are set correctly):
            <TRACKARTIST>/<ALBUM>/<DISCNUMBER>-<TRACKNUMBER> <TRACKTITLE>.mp3
            I totally agree about using discnumber in the file name and have dbpoweramp set up accordingly. I can't remember the example but I once lost a track from Disc 1 of a multi disc set as there was an exactly similar named track on Disc 2 which overwrote it.
            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
              I totally agree about using discnumber in the file name and have dbpoweramp set up accordingly. I can't remember the example but I once lost a track from Disc 1 of a multi disc set as there was an exactly similar named track on Disc 2 which overwrote it.
              I generally rip each disc of a multi disc set into a separate sub folder.

              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
                [Edit] In the first case a "sort:" parameter is added, but not in the second. I've now updated the code for 2.4.6 to remove this "sort:" parameter, which should resolve the issue.
                Okay. Sorry for being unclear.

                Comment


                • Originally posted by slartibartfast
                  I generally rip each disc of a multi disc set into a separate sub folder.

                  Sent from my Pixel 3a using Tapatalk
                  It is amazing to me that the filenames have any effect whatever. I would have supposed the track order—and everything really—is determined exclusively by the tags, as scanned into the database.

                  Comment


                  • Originally posted by dpotts
                    Okay. Sorry for being unclear.
                    Actually, you weren't that unclear - just me being stoooopid
                    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 dpotts
                      It is amazing to me that the filenames have any effect whatever. I would have supposed the track order—and everything really—is determined exclusively by the tags, as scanned into the database.
                      Please, if you haven't already, don't rename your files. I think I have the required fix for 2.4.6 - and it'd be good to know if it really fixes the issue for you. (I'll make a release at the weekend) You should not have to rename files to get a UI to work, especially one that should be using hte metadata! As stated the "sort:" param is not required, so Material should not be adding it where it was.
                      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


                      • @craig
                        Reporting a buggette.
                        Artist Bio. If artist or AlbumArtist is multi-tagged the lookup fails with “Fetching..”
                        This used to work in that MAI would pull all Artist bio’s and these displayed in Material with no issue.
                        It may be since you added Related Artists which by definition can only work against one artist?
                        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 cpd73
                          Please, if you haven't already, don't rename your files. I think I have the required fix for 2.4.6 - and it'd be good to know if it really fixes the issue for you. (I'll make a release at the weekend) You should not have to rename files to get a UI to work, especially one that should be using hte metadata! As stated the "sort:" param is not required, so Material should not be adding it where it was.
                          Sure, I'll wait.

                          Is there a way to know when it has updated?

                          Comment


                          • Originally posted by dpotts
                            Sure, I'll wait.

                            Is there a way to know when it has updated?
                            It will be announced here.

                            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 dpotts
                              Sure, I'll wait.

                              Is there a way to know when it has updated?
                              Fyi, I just had notice of an MS update, which I installed. I don't know if this was intended to include the fix, but the problem is still there and "cmd:add" still has "sort:album".

                              Comment


                              • Originally posted by dpotts
                                Fyi, I just had notice of an MS update, which I installed. I don't know if this was intended to include the fix, but the problem is still there and "cmd:add" still has "sort:album".
                                You probably have 2.4.5. Look in Server Settings/Plugins or Information for the version number.

                                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

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