Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 8 of 8
  1. #1
    Junior Member
    Join Date
    Aug 2018
    Posts
    3

    Spotty - 8-10 sec wait between songs

    I'm fairly new to LMS and Squeezeboxes in general so please bear with me. So far I like what I see.

    I setup LMS on a Ubuntu 16.04 server with a seperate RPi running 4 instances of squeezelite for multiroom speakers and installed the Spotty plugin and signed up for a Spotify Premium trial. When skipping songs/playing 1st song in a list, there's at least a 8 sec wait before the song starts playing

    I have seen various posts mentioning the same issue but no clear reason as to why it happens, so I started monitoring bandwidth on the LMS when a song is changed.

    It seems as though the connection which is downloading the song is capping out at around 3Mbps. I initailly thought that there was something wrong with the network card on the server, but a speedtest showed around 50Mbps download, which is my maximum speed. Different routers/internet connections are also showing the connection peaking at 3Mbps.

    Has anyone else seen this? I'm thinking Spotify most likely cap inbound connections using the API.

    Any feedback most welcome.

  2. #2
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,032
    Are the players synchronised? If so, try to un-synch them.

    Check Settings/Advanced/File Types and disable transcoding Spotty -> FLAC, leaving Spotty -> PCM in place.

    Would any of this make a difference?
    Michael

    http://www.herger.net/slim-plugins - Spotty, MusicArtistInfo

  3. #3
    Junior Member
    Join Date
    Aug 2018
    Posts
    3
    Thanks for the reply Michael.

    I've tried playing on a seperate player, setup on both a Pi or PC and either still takes around 8-10 to start playing.
    And currently have FLAC disabled and PCM enabled but it's still happening.

    I've been watching my Mikrotik router traffic flow using the Torch function. It's definitely capping out at 3Mbps when downloading the song. You see the same speeds when playing a playlist, when the current song is about 5 seconds from finishing.

    The connections seem to going to the 104.196.0.0/14 subnet which belongs to googleusercontent.com

  4. #4
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    3,074
    Are you using a standard internet connection or some kind of VPN or DNS proxy?
    VB2.4 storage QNAP TS419p (NFS)
    Living Room - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
    Office - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3 -> Onkyo CRN755 -> Wharfedale Modus Cubes
    Dining Room -> SB Boom
    Kitchen -> UE Radio (upgraded to SB Radio)
    Bedroom (Bedside) - Pi2+DAC ->ToppingTP21 ->AKG Headphones
    Bedroom (TV) - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
    Everything controlled by iPeng

  5. #5
    Junior Member
    Join Date
    Aug 2018
    Posts
    3
    Just a standard internet connection. 50Mbps down/ 20 Mbps up

  6. #6
    Senior Member
    Join Date
    May 2017
    Posts
    299
    Not completely standard with a mikrotik router
    SqueezeBoxes: 2x SB2 (Living room and study), 1x Radio (Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch (Bedroom)
    Server: LMS on Pi3 7.9.1. on PcP 3.21
    Network: AVM Fritzbox, D-Link Smart Switch 24p, 3x Ubiquity

  7. #7
    Junior Member
    Join Date
    Jan 2011
    Posts
    4
    I can report a similar problem. When listening to songs via Spotty, the current song will finish and there is a gap of 5-10 seconds. For the majority of the time, the display on my SB Touch will say "Rebuffering... 0%" then I can briefly see the percentage shoot up very quickly before the next song in the queue plays.

    I have played with switching off synchronisation and disabling Spotty->FLAC transcoding, but the issue remains.

    This is on Spotty 2.4.2, LMS 7.9.1.

    Between each track I get a bunch of these in the LMS server logs:

    Code:
    [18-08-21 12:38:43.1765] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value):  at /Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x17a0d75c)
    [18-08-21 12:38:43.1769] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value):  at /Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x17a0d75c)
    [18-08-21 12:38:43.1774] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value):  at /Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x17a0d75c)
    [18-08-21 12:38:43.1778] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value):  at /Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x17a0d75c)
    [18-08-21 12:38:43.1782] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value):  at /Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x17a0d75c)
    [18-08-21 12:38:43.1786] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value):  at /Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x17a0d75c)
    [18-08-21 12:38:43.1790] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value):  at /Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x17a0d75c)
    [18-08-21 12:38:43.1793] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value):  at /Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x17a0d75c)
    [18-08-21 12:38:43.1796] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value):  at /Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x17a0d75c)
    [18-08-21 12:38:43.1798] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value):  at /Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x17a0d75c)
    [18-08-21 12:38:43.1801] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value):  at /Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x17a0d75c)
    [18-08-21 12:38:43.1803] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value):  at /Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x17a0d75c)
    [18-08-21 12:38:43.1805] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value):  at /Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x17a0d75c)
    [18-08-21 12:38:43.1808] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value):  at /Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x17a0d75c)
    [18-08-21 12:38:43.1810] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value):  at /Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x17a0d75c)
    [18-08-21 12:38:43.1812] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value):  at /Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x17a0d75c)
    [18-08-21 12:38:43.1814] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value):  at /Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x17a0d75c)
    [18-08-21 12:38:43.1817] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value):  at /Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x17a0d75c)
    [18-08-21 12:38:43.1820] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value):  at /Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x17a0d75c)
    [18-08-21 12:38:43.1822] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value):  at /Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x17a0d75c)
    [18-08-21 12:38:43.1824] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value):  at /Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x17a0d75c)
    [18-08-21 12:38:43.1826] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value):  at /Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x17a0d75c)
    [18-08-21 12:38:43.1829] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value):  at /Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x17a0d75c)
    [18-08-21 12:38:43.1831] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value):  at /Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x17a0d75c)
    [18-08-21 12:38:43.1833] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value):  at /Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x17a0d75c)
    [18-08-21 12:38:43.1837] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value):  at /Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x17a0d75c)

  8. #8
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,032
    Quote Originally Posted by alc23 View Post
    I have played with switching off synchronisation and disabling Spotty->FLAC transcoding, but the issue remains.

    This is on Spotty 2.4.2, LMS 7.9.1.

    Between each track I get a bunch of these in the LMS server logs:

    Code:
    [18-08-21 12:38:43.1765] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value):  at /Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x17a0d75c)
    What OS are you running this on? These lines often point to networking issues.
    Michael

    http://www.herger.net/slim-plugins - Spotty, MusicArtistInfo

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •