Announcement

Collapse
No announcement yet.

Online music service integration - how to test

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

    #16
    Originally posted by mherger View Post
    > What are commands required to update it when you have made a commit ?

    git pull

    (in both folders)

    --

    Michael
    Ok thanks.
    I'm going to be running this concentrating on how it performs with both default and Material skins.
    Jim
    https://jukeradio.double6.net


    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


      #17
      Is this "to be expected":
      Code:
      [20-01-07 14:43:19.4797] Slim::Networking::SqueezeNetwork::_error (497) Unable to login to SN: Connect timed out: Bad file descriptor
      Main System: Marantz SR-5015 + Adam Audio T8V + Teufel Ultima 20 Mk 3 + BK Monolith+ FF + Lenovo T560 + Kodi + LG OLED65B26LA + UP-Board running Daphile
      Kitchen: Touch + Ikea ENEBY 30
      Home-Office: SqueezeLite-X + Topping DX3 Pro + NAD 312 + TMA Premium 905

      Comment


        #18
        Originally posted by bakker_be View Post
        Is this "to be expected":
        Code:
        [20-01-07 14:43:19.4797] Slim::Networking::SqueezeNetwork::_error (497) Unable to login to SN: Connect timed out: Bad file descriptor
        Never mind, started from scratch, using command line instead of "Git Desktop" and things look quite a bit different
        Main System: Marantz SR-5015 + Adam Audio T8V + Teufel Ultima 20 Mk 3 + BK Monolith+ FF + Lenovo T560 + Kodi + LG OLED65B26LA + UP-Board running Daphile
        Kitchen: Touch + Ikea ENEBY 30
        Home-Office: SqueezeLite-X + Topping DX3 Pro + NAD 312 + TMA Premium 905

        Comment


          #19
          If anyone else is trying this on a Pi3 using the full Raspbian Desktop image then I have 2(3) tips

          1. Use a 16Gb SD Card. I chose the full Raspbian as I figured it had Perl installed which it did but the git clone wouldn't fit on an 8Gb card.
          2. You need to install IO::Socket:SSL support i.e. libnet-ssleay-perl and libio-socket-ssl-perl using
          Code:
           sudo apt-get install libnet-ssleay-perl
          Code:
           sudo apt-get install libio-socket-ssl
          3. Check for typos!!!

          NB If you are using an NFS mount to a NAS (I was) then edit fstab accordingly but also use
          Code:
          sudo raspi-config
          to get the boot to wait for network services otherwise fstab runs before the Pi has a network connection
          Jim
          https://jukeradio.double6.net


          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


            #20
            Originally posted by d6jg View Post

            NB If you are using an NFS mount to a NAS (I was) then edit fstab accordingly but also use
            Code:
            sudo raspi-config
            to get the boot to wait for network services otherwise fstab runs before the Pi has a network connection
            You could also use _netdev option ( https://unix.stackexchange.com/quest...it-for-network )
            ------------------------------------------------------------------------------------

            Comment


              #21
              Observation No 1

              Spotify Playlists played from My Music / Playlists frequently include an extra zero length track.
              When played from My Apps / Spotify / Playlists there is no extraneous track

              This anomaly does not affect play. The zero track is just skipped.

              Material


              IPeng



              Sent from my iPhone using Tapatalk
              Jim
              https://jukeradio.double6.net


              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


                #22
                Originally posted by d6jg View Post
                Observation No 1

                Spotify Playlists played from My Music / Playlists frequently include an extra zero length track.
                When played from My Apps / Spotify / Playlists there is no extraneous track

                This anomaly does not affect play. The zero track is just skipped.

                Material


                IPeng



                Sent from my iPhone using Tapatalk
                This behaviour applies to some Spotify playlists only. I am as yet unable to identify any oddity with the ones that seem to have extraneous tracks.

                @michael
                I can examine the database for clues
                Also do you want this sort of feedback here or on the other thread? Or direct as issue in your github?
                Jim
                https://jukeradio.double6.net


                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


                  #23
                  Online music service integration - how to test

                  > This behaviour applies to some Spotify playlists only. I am as yet

                  Could you share one with me?

                  > I can examine the database for clues


                  The playlist tracks are not stored in the database.

                  --

                  Michael
                  Michael

                  "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
                  (LMS: Settings/Information)

                  Comment


                    #24
                    Originally posted by mherger View Post
                    > This behaviour applies to some Spotify playlists only. I am as yet

                    Could you share one with me?

                    > I can examine the database for clues


                    The playlist tracks are not stored in the database.

                    --

                    Michael
                    This is direct from Spotify app
                    I said it had no effect on playback but it does hiccup the Now Playing display by one track each time there is a zero track.

                    Unproven theory. The original playlist may have been longer but had tracks deleted from it by its author.

                    Jim
                    https://jukeradio.double6.net


                    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


                      #25
                      Oh, that playlist has "local tracks" in it: the greater did integrate his local mp3 with the Spotify app. These tracks obviously can't be played. Don't know why they're not filtered out during import. Will look into this. Thanks!
                      Michael

                      "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
                      (LMS: Settings/Information)

                      Comment


                        #26
                        Observation No 2 - Track Artists or Album Artists

                        This is going to be difficult to explain but I think that the integration is reading Track Artists into the Artist database rather than Album Artists (if either thing exists in Spotify). The consequences of this are subtle.

                        I will give an example.

                        In my Spotify library I have 2 albums by the rap artist Zdot (don't ask) - Ambition v2 and Intrumental World.

                        Both are "indexed" in Spotify under Zdot from an Artist point of view.

                        However in the case of Ambition v2 each track bar one is by Zdot featuring XXXX. It is NOT a compilation album.

                        When imported into LMS all (track) artists appear in my Library - should they? I would argue no it should only be Zdot himself.

                        The consequences are

                        1) The Artist list is bloated by the numerous Zdot featuring XXXX entries.
                        2) It is impossible to select the whole of Ambition v2 to play from an artist entry. The only way of playing the whole album is via Albums. This applies to Default, Material & iPeng.

                        If there is such a thing as Album Artist in Spotify then I think that the database entries need that instead of Track Artist.

                        Here are Spotify links so you can import and see what I mean

                        Ambition v2 - https://open.spotify.com/album/0uvxsuUa9lehp7l8S7UbtC
                        Instrumental World - https://open.spotify.com/album/3DegoFcYGR85V8ookNCmRw

                        Ambition v2 isn't very good but Instrumental World is quite well worth a listen as it isn't rap at all as it is an Instrumental album that could be classified as Jazz Electronica. All tracks in Instrumental World are credited to Zdot only so that appears correctly.
                        Last edited by d6jg; 2020-01-08, 10:01.
                        Jim
                        https://jukeradio.double6.net


                        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


                          #27
                          Originally posted by d6jg View Post
                          If there is such a thing as Album Artist in Spotify then I think that the database entries need that instead of Track Artist.
                          What you're basically saying is that I should ignore track artists, and only use album artists? The data I receive for the first case is the following (and more):

                          Code:
                          {
                            "album_type" : "album",
                            "artists" : [ {
                              "id" : "3Vg8iAEbLFGTO3ZqPtlIsN",
                              "name" : "Zdot",
                              "type" : "artist",
                            } ],
                            "name" : "Ambition V2",
                            "popularity" : 0,
                            "tracks" : {
                              "items" : [ {
                                "artists" : [ {
                                  "id" : "3a0hSEEqSIurl5oGGDFcCF",
                                  "name" : "Zdot feat. Wiley",
                                  "type" : "artist",
                                }, {
                                  "id" : "3Vg8iAEbLFGTO3ZqPtlIsN",
                                  "name" : "Zdot",
                                  "type" : "artist",
                                }, {
                                  "id" : "7k9T7lZlHjRAM1bb0r9Rm3",
                                  "name" : "Wiley",
                                  "type" : "artist",
                                } ],
                                "id" : "2YB2Qz3K72TD0wiKCfIUmW",
                                "name" : "BMO Field",
                                "track_number" : 1,
                                "type" : "track",
                              }, {
                          As you can see there's an artist at the album level, and there are two at the track level. That's what I'm importing to LMS: ALBUMARTIST for the first one, and TRACKARTIST for the latter. Should I only use the artist at the album level?

                          (Oh, and I like the popularity!)
                          Michael

                          "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
                          (LMS: Settings/Information)

                          Comment


                            #28
                            Code:
                            "items" : [ {
                                  "artists" : [ {
                                    "id" : "3a0hSEEqSIurl5oGGDFcCF",
                                    "name" : "Zdot feat. Wiley",
                                    "type" : "artist",
                                  }, {
                                    "id" : "3Vg8iAEbLFGTO3ZqPtlIsN",
                                    "name" : "Zdot",
                                    "type" : "artist",
                                  }, {
                                    "id" : "7k9T7lZlHjRAM1bb0r9Rm3",
                                    "name" : "Wiley",
                                    "type" : "artist",
                                  } ],
                            How about some horrible string parsing ... e.g. if artistn.name (n always 1?) can be constructed from the others by putting a single word between them (like "feat.", "and", "&" "with") then ignore that artist.
                            Paul Webster
                            Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
                            and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

                            Comment


                              #29
                              Originally posted by mherger View Post
                              What you're basically saying is that I should ignore track artists, and only use album artists? The data I receive for the first case is the following (and more):

                              Code:
                              {
                                "album_type" : "album",
                                "artists" : [ {
                                  "id" : "3Vg8iAEbLFGTO3ZqPtlIsN",
                                  "name" : "Zdot",
                                  "type" : "artist",
                                } ],
                                "name" : "Ambition V2",
                                "popularity" : 0,
                                "tracks" : {
                                  "items" : [ {
                                    "artists" : [ {
                                      "id" : "3a0hSEEqSIurl5oGGDFcCF",
                                      "name" : "Zdot feat. Wiley",
                                      "type" : "artist",
                                    }, {
                                      "id" : "3Vg8iAEbLFGTO3ZqPtlIsN",
                                      "name" : "Zdot",
                                      "type" : "artist",
                                    }, {
                                      "id" : "7k9T7lZlHjRAM1bb0r9Rm3",
                                      "name" : "Wiley",
                                      "type" : "artist",
                                    } ],
                                    "id" : "2YB2Qz3K72TD0wiKCfIUmW",
                                    "name" : "BMO Field",
                                    "track_number" : 1,
                                    "type" : "track",
                                  }, {
                              As you can see there's an artist at the album level, and there are two at the track level. That's what I'm importing to LMS: ALBUMARTIST for the first one, and TRACKARTIST for the latter. Should I only use the artist at the album level?

                              (Oh, and I like the popularity!)
                              Yes. In the case of this sort of album I think only the artist at album level. That will keep the artist list tidy (and artist images) and make it possible to play the album in full from both artist and album listings.

                              We need to consider Various Artist compilations though? I suspect the general consensus would be to bring them in as VA but I have none in my Spotify library - I suppose I could add one and find out what happens.
                              Jim
                              https://jukeradio.double6.net


                              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


                                #30
                                Originally posted by Paul Webster View Post
                                Code:
                                "items" : [ {
                                      "artists" : [ {
                                        "id" : "3a0hSEEqSIurl5oGGDFcCF",
                                        "name" : "Zdot feat. Wiley",
                                        "type" : "artist",
                                      }, {
                                        "id" : "3Vg8iAEbLFGTO3ZqPtlIsN",
                                        "name" : "Zdot",
                                        "type" : "artist",
                                      }, {
                                        "id" : "7k9T7lZlHjRAM1bb0r9Rm3",
                                        "name" : "Wiley",
                                        "type" : "artist",
                                      } ],
                                How about some horrible string parsing ... e.g. if artistn.name (n always 1?) can be constructed from the others by putting a single word between them (like "feat.", "and", "&" "with") then ignore that artist.
                                Asking for trouble methinks
                                Jim
                                https://jukeradio.double6.net


                                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

                                Working...
                                X