[Announce] Spotty 4.0 - integrate local library with your Spotify collection (LMS 8+)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jaca
    Senior Member
    • Nov 2012
    • 718

    Originally posted by mherger
    > I'm running LMS 8.0.0 on Synology NAS so no Spotify on system. (Frankly
    > not sure I would be willing trying "messy" workaround solution on NAS
    > even if there was one)


    I still don't know where you got that "messy workaround" from.
    Apologies Michael.. probably I misunderstood.. jumping at the moment between different things and confusing myself .
    I meant poll (below) .. most likely I need to read it again .. ignore my assumption of anything being "messy".. my bad , sorry




    Originally posted by mherger
    Here's the tool I wrote to export the folder information from a Spotify
    installation and transfer it to Spotty:



    It's a Windows executable. IIRC you'd call it like

    findSpotifyFolderFiles.exe yourserver:9000

    Where you put your server's IP or name as "yourserver", and the correct
    port as you're using it to access the web UI.

    --

    Michael
    Thank you !!

    I assume I run it now and then whenever need to update folder structure? I will definitely check it out. Cheers!
    3x Squeezebox Touch, 4x Squeezebox Radio, 2x SqueezeAMP, Squeezebox Receiver, PiCorePlayer (RPi 3B with HiFiBerry DAC+Pro), Material Skin Apk, SqueezePlayer Apk, Squeezelite-X, Logitech Media Server Version: 8.4.0 with Material Skin (Docker in DS218+)

    Comment

    • mherger
      Babelfish's Best Boy
      • Apr 2005
      • 24640

      [Announce] Spotty 4.0 - integrate locallibrary with your Spotify collection (LMS 8+)

      > I meant poll (below) .. most likely I need to read it again .. ignore my
      > assumption of anything being "messy".. my bad , sorry


      Ah, got it. No worries.

      > I assume I run it now and then whenever need to update folder structure?
      > I will definitely check it out. Cheers!


      Yes, that's correct.

      --

      Michael
      Michael

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

      Comment

      • Jaca
        Senior Member
        • Nov 2012
        • 718

        playlist folders imported yay!

        Amazing !!! Thank you Michael.

        I cannot believe I've missed this before.. its all documented within Spotty settings..

        I had some troubles as my Spotify have different patch:
        "..\AppData\Local\Packages\SpotifyAB.SpotifyMusic_ zpdnekdrzrea0\LocalState\Spotify\Storage\.. "
        Later I realized it probably because I got Windows Store version.. but I have run it in vbox with normal version installed ("..\AppData\Local\Spotify\Storage") and it works just fine

        ps.. Am I right thinking its possible to tweak playlists/folders order now somehow?
        Cheers!
        3x Squeezebox Touch, 4x Squeezebox Radio, 2x SqueezeAMP, Squeezebox Receiver, PiCorePlayer (RPi 3B with HiFiBerry DAC+Pro), Material Skin Apk, SqueezePlayer Apk, Squeezelite-X, Logitech Media Server Version: 8.4.0 with Material Skin (Docker in DS218+)

        Comment

        • mherger
          Babelfish's Best Boy
          • Apr 2005
          • 24640

          [Announce] Spotty 4.0 - integrate locallibrary with your Spotify collection (LMS 8+)

          > ps.. Am I right thinking its possible to tweak playlists/folders order
          > now somehow?

          The only way is to modify it in Spotify, then re-sync using that helper
          application. That's the "poor" about the workaround :-)

          --

          Michael
          Michael

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

          Comment

          • Jaca
            Senior Member
            • Nov 2012
            • 718

            ohh that's me being silly again.. I have asked about it as I forgot I can just drag them within Spotify to change order..
            3x Squeezebox Touch, 4x Squeezebox Radio, 2x SqueezeAMP, Squeezebox Receiver, PiCorePlayer (RPi 3B with HiFiBerry DAC+Pro), Material Skin Apk, SqueezePlayer Apk, Squeezelite-X, Logitech Media Server Version: 8.4.0 with Material Skin (Docker in DS218+)

            Comment

            • luigi2000
              Junior Member
              • Jan 2019
              • 14

              Shuffle not working correctly with Spotify connect

              When I use the Spotify connect mode and play my favorite songs in shuffle mode (around 800 songs) always the same songs are played. I think it is just the last added 50 songs or so. The older songs are never played. Is this a known issue?

              My setup is LMS 8 on raspberry pi 3 with picoreplayer 6.1., spotty 4.2.

              Comment

              • mherger
                Babelfish's Best Boy
                • Apr 2005
                • 24640

                [Announce] Spotty 4.0 - integrate locallibrary with your Spotify collection (LMS 8+)

                > When I use the Spotify connect mode and play my favorite songs in
                > shuffle mode (around 800 songs) always the same songs are played. I
                > think it is just the last added 50 songs or so. The older songs are
                > never played. Is this a known issue?


                I can't reproduce this. Are you shuffling in Spotify or LMS?

                What helper version are you using (see Settings/Advanced/Spotty)?


                --

                Michael
                Michael

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

                Comment

                • luigi2000
                  Junior Member
                  • Jan 2019
                  • 14

                  Originally posted by mherger
                  > When I use the Spotify connect mode and play my favorite songs in
                  > shuffle mode (around 800 songs) always the same songs are played. I
                  > think it is just the last added 50 songs or so. The older songs are
                  > never played. Is this a known issue?


                  I can't reproduce this. Are you shuffling in Spotify or LMS?

                  What helper version are you using (see Settings/Advanced/Spotty)?


                  --

                  Michael
                  I use shuffle in the Spotify app on my Android phone.
                  Helper version: ../Spotty/Bin/arm-linux/spotty-hf (v0.35.0)

                  Comment

                  • Blue Fishey
                    Senior Member
                    • Feb 2008
                    • 109

                    Guys

                    running Logitech Media Server Version: 8.0.0 - 1593666183

                    spooty works, try to play playlist you get the below

                    Running Spotty 4.2


                    Code:
                    [20-07-02 13:47:08.0098] Slim::Player::Song::open (600) Error: Invalid argument: While creating conversion pipeline for: spotify://track:6dnco8haegnJYtylV26cBq
                    [20-07-02 13:47:08.0218] Slim::Player::Pipeline::new (44) Error: Couldn't create listen socket for reader: Invalid argument
                    [20-07-02 13:47:08.0225] Slim::Player::Song::open (600) Error: Invalid argument: While creating conversion pipeline for: spotify://track:6LtPIXlIzPOTF8vTecYjRe
                    [20-07-02 13:47:08.0359] Slim::Player::Pipeline::new (44) Error: Couldn't create listen socket for reader: Invalid argument
                    [20-07-02 13:47:08.0364] Slim::Player::Song::open (600) Error: Invalid argument: While creating conversion pipeline for: spotify://track:2bvzxeD1hPWEYotw40Euq9
                    [20-07-02 13:47:08.0496] Slim::Player::Pipeline::new (44) Error: Couldn't create listen socket for reader: Invalid argument
                    [20-07-02 13:47:08.0503] Slim::Player::Song::open (600) Error: Invalid argument: While creating conversion pipeline for: spotify://track:0L0T4tMAaGqLgIVj1MOj9t
                    [20-07-02 13:47:08.0624] Slim::Player::Pipeline::new (44) Error: Couldn't create listen socket for reader: Invalid argument
                    [20-07-02 13:47:08.0637] Slim::Player::Song::open (600) Error: Invalid argument: While creating conversion pipeline for: spotify://track:42vYxMAWsFpBOS7hgAdzqW
                    [20-07-02 13:47:08.0767] Slim::Player::Pipeline::new (44) Error: Couldn't create listen socket for reader: Invalid argument
                    [20-07-02 13:47:08.0774] Slim::Player::Song::open (600) Error: Invalid argument: While creating conversion pipeline for: spotify://track:1or0hUcD0tEJ3kjpYbhRZA
                    [20-07-02 13:47:08.0894] Slim::Player::Pipeline::new (44) Error: Couldn't create listen socket for reader: Invalid argument
                    [20-07-02 13:47:08.0900] Slim::Player::Song::open (600) Error: Invalid argument: While creating conversion pipeline for: spotify://track:0mqTcM8kuu2IYPotMt7AzS
                    [20-07-02 13:47:08.1025] Slim::Player::Pipeline::new (44) Error: Couldn't create listen socket for reader: Invalid argument
                    [20-07-02 13:47:08.1032] Slim::Player::Song::open (600) Error: Invalid argument: While creating conversion pipeline for: spotify://track:58cQ4wK4k4v8Uh5BjkcHQ3
                    [20-07-02 13:47:08.1160] Slim::Player::Pipeline::new (44) Error: Couldn't create listen socket for reader: Invalid argument
                    [20-07-02 13:47:08.1165] Slim::Player::Song::open (600) Error: Invalid argument: While creating conversion pipeline for: spotify://track:70C4NyhjD5OZUMzvWZ3njJ
                    [20-07-02 13:47:08.1281] Slim::Player::Pipeline::new (44) Error: Couldn't create listen socket for reader: Invalid argument
                    [20-07-02 13:47:08.1288] Slim::Player::Song::open (600) Error: Invalid argument: While creating conversion pipeline for: spotify://track:5TAf4lnZCZTLlZHNZMLFLi
                    [20-07-02 13:47:08.1397] Slim::Player::Pipeline::new (44) Error: Couldn't create listen socket for reader: Invalid argument
                    [20-07-02 13:47:08.1403] Slim::Player::Song::open (600) Error: Invalid argument: While creating conversion pipeline for: spotify://track:0fqP1OK8UuiVK4WdsYCeY3

                    Comment

                    • Blue Fishey
                      Senior Member
                      • Feb 2008
                      • 109

                      This is in the scan input

                      Spotty Albums (2 of 2) Complete 00:00:02

                      Spotty Artists (2 of 2) Complete 00:00:00

                      Spotty Playlists (2 of 2) Complete

                      Comment

                      • mherger
                        Babelfish's Best Boy
                        • Apr 2005
                        • 24640

                        [Announce] Spotty 4.0 - integrate locallibrary with your Spotify collection (LMS 8+)

                        Please don't cross-post.

                        > running Logitech Media Server Version: 8.0.0 - 1593666183
                        >
                        > spooty works, try to play playlist you get the below


                        Please enable INFO logging for plugin.spotty
                        (Settings/Advanced/Logging), try again, post your server.log. How do you
                        start playback? Using LMS? The Spotify app?


                        --

                        Michael
                        Michael

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

                        Comment

                        • Blue Fishey
                          Senior Member
                          • Feb 2008
                          • 109

                          hi mate using LMS and Squeezelite-X client

                          I see the below alot

                          Code:
                          [20-07-02 12:58:57.3065] Plugins::Spotty::Connect::DaemonManager::checkAPIConnectPlayers (208) Connect daemon is running, but not connected - shutting down to force restart: 00:04:20:27:dd:dc Gizmo's Radio & Gizmo’s Radio 2
                          [20-07-02 12:59:57.4701] Plugins::Spotty::Connect::DaemonManager::checkAPIConnectPlayers (208) Connect daemon is running, but not connected - shutting down to force restart: 00:04:20:27:dd:dc Gizmo's Radio & Gizmo’s Radio 2
                          [20-07-02 13:00:57.3185] Plugins::Spotty::Connect::DaemonManager::checkAPIConnectPlayers (208) Connect daemon is running, but not connected - shutting down to force restart: 00:04:20:27:dd:dc Gizmo's Radio & Gizmo’s Radio 2
                          
                          [20-07-03 09:43:56.2789] Slim::Player::Pipeline::new (44) Error: Couldn't create listen socket for reader: Invalid argument
                          [20-07-03 09:43:56.2792] Slim::Player::Song::open (600) Error: Invalid argument: While creating conversion pipeline for: spotify://track:5GorFaKkP2mLREQvhSblIg
                          
                          
                          [20-07-03 10:53:12.7246] Plugins::Spotty::Connect::DaemonManager::checkAPIConnectPlayers (208) Connect daemon is running, but not connected - shutting down to force restart: 00:04:20:27:dd:dc Gizmo's Radio & Gizmo’s Radio 2
                          [20-07-03 10:54:12.7154] Plugins::Spotty::API::__ANON__ (1431) API call: me/player/devices
                          [20-07-03 10:54:12.7157] Plugins::Spotty::API::__ANON__ (1435) error: 429 unknown
                          [20-07-03 10:54:12.7165] Plugins::Spotty::API::error429 (1493) Access Rate limit exceeded for: me/player/devices; retry after 1 seconds.
                          Last edited by Blue Fishey; 2020-07-03, 11:11.

                          Comment

                          • thueri01
                            Junior Member
                            • May 2020
                            • 18

                            Originally posted by mherger
                            > Here is the link:
                            > https://open.spotify.com/playlist/37...1EfXt1u1empPSN


                            Thanks! That's indeed a bug in Spotty. I think I have a fix for playing
                            this from the Spotty menu, don't know yet about the "My Music" import,
                            though. Stay tuned!

                            --

                            Michael
                            Hello Michael,
                            I have updated today on Spotty 4.2.0. .
                            Now Daily Drive runs on all devices.
                            Thank you for fixing.
                            Player-Modell: Squeezebox Radio Firmware: 7.7.3-r16676
                            Player-Modell: Squeezebox Touch Firmware: 7.8.0-r16754
                            Player-Modell: Squeezebox Duet ReceiverFirmware: 77
                            Logitech Media Server Version: 8.0.0 - 1588308753 @ Fri May 1 07:25:27 CEST 2020
                            Server: DS718+ Betriebssystem: Synology DSM 6.2.2 - DE - utf8
                            Plattformarchitektur: x86_64-linux
                            Custom Clock Helper (v2.11.94)
                            Spotty (v4.2.0)

                            Comment

                            • gorman
                              Senior Member
                              • Apr 2005
                              • 833

                              Songs skipping to the next one in playlist after a while...

                              Tried Spotty with Squeezebox Server 7.9.3 - 1579195498 @ Thu Jan 16 21:08:22 WEST 2020 on Windows 10 Pro x64.
                              Now, I use squeezelite installed on the same machine, to listen on headphones while at my desk. Squeezelite is latest release 1.9.7-1256 available.

                              When I listen to Spotify songs play just fine for a little while, more than a minute, less than two usually.
                              And then in logs I see stuff like this:
                              Code:
                              [20-07-04 02:19:44.0013] Slim::Player::StreamingController::_eventAction (270) bc:5f:f4:bf:3e:70: StatusHeartbeat in PLAYING-STREAMING -> Slim::Player::StreamingController::_CheckSync
                              [20-07-04 02:19:44.6747] Slim::Player::Source::_readNextChunk (349) Read to end of file or pipe
                              [20-07-04 02:19:44.6749] Slim::Player::Source::_readNextChunk (372) end of file or error on socket, song pos: 154085619
                              [20-07-04 02:19:44.6751] Slim::Player::Source::_readNextChunk (377) bc:5f:f4:bf:3e:70 mark end of stream
                              And playbacks skips to the next song in playlist, rinse and repeat.

                              Any idea on why? Might it have something to do with Don't Stop the Music plugin? Before I activated it with "Spotify Recommendations (based on the current playlist)" option and it behaved like above. Now I've set it up for "LastMix (local music files only)" and Spotty appears not to skip anymore. Note that I was and I am playing long playlists, so Don't Stop the Music shouldn't have really interacted with the playlist but still... third song now and it's not skipping.



                              Extra question: Also... I launch squeezelite with these arguments: "-n Headphones -s Music -c flac,pcm,mp3,ogg,aac,wma,dsd -o 17 -a :1". Last argument is for bitperfect playback through WASAPI exclusive. But the thing that I don't understand is why I see SB Server transcoding to flac when the player is configured to handle ogg natively. Operatively it doesn't change a thing, but I'm curious...
                              Last edited by gorman; 2020-07-04, 02:31. Reason: Thought the problem was more widespread and I edited to ask to ignore. But it appears as I described originally so this post is valid.

                              Comment

                              • mherger
                                Babelfish's Best Boy
                                • Apr 2005
                                • 24640

                                [Announce] Spotty 4.0 - integrate locallibrary with your Spotify collection (LMS 8+)

                                > Also... I launch squeezelite with these arguments: "-n Headphones -s
                                > Music -c flac,pcm,mp3,ogg,aac,wma,dsd -o 17 -a :1". Last argument is for
                                > bitperfect playback through WASAPI exclusive. But the thing that I don't
                                > understand is why I see SB Server transcoding to flac when the player is
                                > configured to handle ogg natively. Operatively it doesn't change a
                                > thing, but I'm curious...


                                I'd actually recommend you run squeezelite with the simplest parameters
                                possible. Quite often tweaking formats and buffers doesn't play nicely
                                with Spotty (in particular in Connect mode).

                                --

                                Michael
                                Michael

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

                                Comment

                                Working...