PDA

View Full Version : [Announce] Spotty 2.3.0 - Spotify Connect for your Squeezebox



Pages : [1] 2 3 4

mherger
2018-04-01, 15:53
As people keep asking about a changelog, I'm going to start a new thread for every worthy release. Until I forget about that routine, again :-).

What's new in Spotty v2.3.0?


added support for replay gain
allow to pick the helper you'd like to use
new helper version v0.11.0


Replay Gain (Volume Normalization) is optional, defaults to enabled, if you've chosen any of the normalization options in LMS. But you can enable/disable it independently. Check Settings/Player/Spotty.

The option to pick the helper binary to use is only available if there's more than one binary available for your platform. This should help in situations we've seen where a binary would pass the quick test, but then fail in use. In this case (and ONLY in this case!) you can try to use one of the other available helper applications. Do not mess with that setting, unless you know what you're doing. And if you experience sudden failure, double-check the setting, whether you accidentally chose the wrong helper.

Enjoy the music!

godIsInTheRadio
2018-04-01, 22:44
Hi Michael,

and first of all a huge thank you for this great plugin - should be that with the biggest add-value according to my kids...
Is it possible to sync the spotty plugin display state with the chosen player in web-ui?
To better explain: if a different player is chosen in the web-ui, usually all that is done in the left side-panel further on applies to that player. Not so with the spotty plugin. If I change player, it still displays the account related to the player initially chosen. If I switch account, this applies to the player initially chosen.

Thanks for having a look at this.

Marcus

wbree
2018-04-01, 23:02
Thanks Michael for the changelog!

I have another question for you. If I want, for some reason, downgrade to an earlier version of Spotty, how can that be done?

Wilco

IvRak
2018-04-01, 23:50
Replay Gain seems to work.

For me, though, it wasn't enabled by default, even though I have replaygain set to dynamic.

Minor thing though, I got it enabled and it works fine.

Thank you for your efforts, and a really fast reaction to my first query about it :)

I'm of to enjoy some music....

IvRak
2018-04-02, 01:40
Now that I have been enjoying the music, I have one question.

For all of the time I have been using Spotty, once in a very seldom while, I experience that playback stops when one number ends and the next one should start.

The SB3 shows that the previous tune is playing with 0 seconds remaing, the webinterface shows the same, but playback doesn't carry on with the next tune.

I can allways fix it by pushing forward on the remote.

This is a very seldomly seen error, but I did experience it today after upgrading to Spotty 2.3.0. Music can play for hours, and then suddenly stop. It only resumes when I intervene.

Any ideas what could be the cause?

My setup is the latest LMS 7.9.1 inside a docker image on a Rockstor based NAS.

edwin2006
2018-04-02, 01:59
Now that I have been enjoying the music, I have one question.

For all of the time I have been using Spotty, once in a very seldom while, I experience that playback stops when one number ends and the next one should start.

The SB3 shows that the previous tune is playing with 0 seconds remaing, the webinterface shows the same, but playback doesn't carry on with the next tune.

I can allways fix it by pushing forward on the remote.

This is a very seldomly seen error, but I did experience it today after upgrading to Spotty 2.3.0. Music can play for hours, and then suddenly stop. It only resumes when I intervene.

Any ideas what could be the cause?

My setup is the latest LMS 7.9.1 inside a docker image on a Rockstor based NAS.
Same here when playing a internet stream but (as far as I can reproduce) only on squeezelite player. SB radio always continue to play.

mherger
2018-04-02, 02:05
> I have another question for you. If I want, for some reason, downgrade
> to an earlier version of Spotty, how can that be done?

Search the forums. I've described it before.

But if there's a reason to downgrade I'd prefer to know about the
reason. I won't be wasting my time again to describe the downgrade
procedure, just to be asked why an update didn't install automatically
afterwards...

--

Michael

mherger
2018-04-02, 02:07
> Any ideas what could be the cause?

I don't know how often I've asked for more information... Are you using
Connect mode or LMS mode? What does the server.log say?

--

Michael

IvRak
2018-04-02, 03:05
I don't know how often I've asked for more information... Are you using
Connect mode or LMS mode? What does the server.log say?
l

I'm running in LMS mode. I rarely use connect mode.

The server.log says nothing.

2018-04-02 08:26:54 squeezeboxserver_safe stopped.
2018-04-02 08:27:17 squeezeboxserver_safe started.
[18-04-02 08:27:18.2673] main::init (387) Starting Logitech Media Server (v7.9.1, 1522249619, Wed Mar 28 17:14:23 CEST 2018) perl 5.018002 - x86_64-linux-gnu-thread-multi

You see me manually stopping the server/docker at 08:26, and restarting it at 08:27. Since then nothing.

There is probably some kind of logging I must enable?

CappuD
2018-04-02, 06:55
Dear Michael,

I'm a big fan of Spotty.

I'm running it on an Odroid XU4 running Debian 7 and LMS 7.8.

Today I upgraded to Spotty 2.3 and unfortunately Spotty can no longer login into my Spotify account.
I can see 'Spotify Authorization' under 'Devices Available' in Spotify on my Win10 laptop but nothing happens when I click it and it does not help to manually put in my username and password.

If I install Triodes Spotify plugin for LMS I can playback from Spotify, but I much prefer your plugin.

Br.,

CappuD

mherger
2018-04-02, 07:43
> Today I upgraded to Spotty 2.3 and unfortunately Spotty can no longer
> login into my Spotify account.

Can you check Settings/Advanced/Spotty, what helper application you're
using? If you have the choice, could you please try other options for
the helper?

--

Michael

CappuD
2018-04-02, 08:00
> Today I upgraded to Spotty 2.3 and unfortunately Spotty can no longer
> login into my Spotify account.

Can you check Settings/Advanced/Spotty, what helper application you're
using? If you have the choice, could you please try other options for
the helper?

--

Michael

Hi again Michael,

I cannot get past the authorization screen to see advanced settings for Spotty.

Br.,

CappuD

quadronado
2018-04-02, 08:08
I hope this is the right thread for my question:

When I search Spotty through the LMS, I'm missing an option for playing a song or an album next to the playing song. I can only add the song or album to the end of the current playlist. Is it possible to add the option "play next" with the next update.

CappuD
2018-04-02, 08:34
Hi again Michael,

I cannot get past the authorization screen to see advanced settings for Spotty.

Br.,

CappuD

So I uninstalled LMS 7.8 and updated to 7.9.1 and now the authorization works flawlessly!

mherger
2018-04-02, 10:42
> When I search Spotty through the LMS, I'm missing an option for playing
> a song or an album next to the playing song. I can only add the song or
> album to the end of the current playlist. Is it possible to add the
> option "play next" with the next update.

But would you get those options for other music sources?

--

Michael

gwlevans
2018-04-02, 14:25
Hi,

When I change track (via iPeng) the track plays for a few seconds (10-20) then pauses for 1-2 seconds then starts again. Seems to coincide with purgeAudioCache messages in the logs (more of a guess?)

I am running Spotty 2.3.0 (Spotty-hf v0.11), LMS 7.9.1 latest nightly, PiCorePlayer 3.5.0, Raspberry Pi 2B+, USB HRT Streamer II.

Gareth

mherger
2018-04-03, 00:00
> You see me manually stopping the server/docker at 08:26, and restarting
> it at 08:27. Since then nothing.

plugin.spotty=info set in Settings/Advanced/Logging would tell us more.
Though I would have expected to see any kind of message if there had
been a networking issue or the like.

--

Michael

mherger
2018-04-03, 00:01
> I cannot get past the authorization screen to see advanced settings for
> Spotty.

Heh... good point! I probably need to add the helper selection there, too.

I think 7.8 did not work as it lacks some of the https support recently
added in 7.7 and 7.9.
--

Michael

mherger
2018-04-03, 00:06
> When I change track (via iPeng) the track plays for a few seconds
> (10-20) then pauses for 1-2 seconds then starts again. Seems to coincide
> with purgeAudioCache messages in the logs (more of a guess?)
>
> I am running LMS 7.9.1 latest nightly, PiCorePlayer 3.5.0, Raspberry Pi
> 2B+, USB HRT Streamer II.

I've had similar reports on systems where the cache was living on eg.
the mounted network or USB drive. Where is yours? Also make sure you are
using a good quality (fast) SD card.

I don't think there's a Pi 2B+. There's the B+, there's 2(B), and 3B+.
What exact model are you using? I don't have a 2 here right now. But
IMHO it should be good enough.

--

Michael

gwlevans
2018-04-03, 00:13
> When I change track (via iPeng) the track plays for a few seconds
> (10-20) then pauses for 1-2 seconds then starts again. Seems to coincide
> with purgeAudioCache messages in the logs (more of a guess?)
>
> I am running LMS 7.9.1 latest nightly, PiCorePlayer 3.5.0, Raspberry Pi
> 2B+, USB HRT Streamer II.

I've had similar reports on systems where the cache was living on eg.
the mounted network or USB drive. Where is yours? Also make sure you are
using a good quality (fast) SD card.

I don't think there's a Pi 2B+. There's the B+, there's 2(B), and 3B+.
What exact model are you using? I don't have a 2 here right now. But
IMHO it should be good enough.

--

Michael

I am using a good quality SD card, no USB drive only the USB DAC. I have a 2B PI.

Gareth

mherger
2018-04-03, 00:37
> I am using a good quality SD card, no USB drive only the USB DAC. I have
> a 2B PI.

But where is your LMS living?

--

Michael

gwlevans
2018-04-03, 04:59
> I am using a good quality SD card, no USB drive only the USB DAC. I have
> a 2B PI.

But where is your LMS living?

--

MichaelEverything is local on the PI

Gareth

Sent from my Pixel 2 XL using Tapatalk

quadronado
2018-04-03, 05:25
> a song or an album next to the playing song. I can only add the song or
> album to the end of the current playlist. Is it possible to add the
> option "play next" with the next update.

But would you get those options for other music sources?

--

Michael

That's weird, today it's working. I don't know why it wasn't working Yesterday, I didn't do any updates. Thank You anyway.

Gesendet von meinem Nexus 7 mit Tapatalk

loopguru
2018-04-03, 12:02
After some time using Spotty daily I upgraded today to 2.3.0.

Now playing via Spotify Connect kills LMS, it is simply hanging for a minute or so.
Same happens if I use Spotty from within iPeng: The Spotty screen in iPeng shows empty and then LMS hangs for about a minute.

The content in the log I pasted below:

[18-04-03 20:37:58.7172] main::init (387) Starting Logitech Media Server (v7.9.1, 1504317335, Mon Sep 4 22:13:00 UTC 2017) perl 5.024000 - x86_64-linux
[18-04-03 20:37:58.7172] main::init (387) Starting Logitech Media Server (v7.9.1, 1504317335, Mon Sep 4 22:13:00 UTC 2017) perl 5.024000 - x86_64-linux
[18-04-03 20:38:01.4427] Slim::Web::JSONRPC::requestMethod (443) 00:04:20:2d:ee:c3: request not dispatchable!
[18-04-03 20:42:06.8145] Plugins::Spotty::Connect::_connectEvent (265) Got called from spotty helper: start
[18-04-03 20:42:06.8161] Plugins::Spotty::API::_call (1310) Trying to read from cache for me
[18-04-03 20:42:06.8166] Plugins::Spotty::API::_call (1319) API call: me
[18-04-03 20:42:06.8192] Plugins::Spotty::API::_call (1319) API call: me/player
[18-04-03 20:44:14.4521] Plugins::Spotty::API::__ANON__ (1364) Caching result for 60 using max-age (https://api.spotify.com/v1/me)
[18-04-03 20:44:14.4527] Plugins::Spotty::API::__ANON__ (1366) Data cached (https://api.spotify.com/v1/me)
[18-04-03 20:44:14.4887] Plugins::Spotty::Connect::__ANON__ (303) Got a new track to be played: spotify:track:3UKEbmVZ1K1jwo1DoXmANL
[18-04-03 20:44:14.4906] Plugins::Spotty::API::_call (1310) Trying to read from cache for me
[18-04-03 20:44:14.4913] Plugins::Spotty::API::_call (1313) Returning cached data for me
[18-04-03 20:44:14.5012] Plugins::Spotty::API::_call (1310) Trying to read from cache for me
[18-04-03 20:44:14.5019] Plugins::Spotty::API::_call (1313) Returning cached data for me
[18-04-03 20:44:14.5026] Plugins::Spotty::Connect::getNextTrack (121) Don't get next track as we got called by a play track event from spotty
[18-04-03 20:44:14.5038] Plugins::Spotty::API::_call (1319) API call: me/player
[18-04-03 20:44:55.2323] Plugins::Spotty::Plugin::renameCacheFolder (369) Trying to rename __AUTHENTICATE__ to
[18-04-03 20:44:55.2334] Plugins::Spotty::Connect::Daemon::stop (120) Quitting Spotty Connect daemon for 00:04:20:2b:e6:83
[18-04-03 20:44:55.2355] Plugins::Spotty::Connect::Daemon::stop (120) Quitting Spotty Connect daemon for 00:04:20:2e:53:5c
[18-04-03 20:44:55.2374] Plugins::Spotty::Connect::Daemon::stop (120) Quitting Spotty Connect daemon for 00:04:20:2b:f9:fc
[18-04-03 20:44:55.2393] Plugins::Spotty::Connect::Daemon::stop (120) Quitting Spotty Connect daemon for 00:04:20:2c:95:01
[18-04-03 20:44:55.2411] Plugins::Spotty::Connect::Daemon::stop (120) Quitting Spotty Connect daemon for 00:04:20:2d:ee:c3
[18-04-03 20:45:05.4088] main::init (387) Starting Logitech Media Server (v7.9.1, 1504317335, Mon Sep 4 22:13:00 UTC 2017) perl 5.024000 - x86_64-linux
[18-04-03 20:53:46.9112] Plugins::Spotty::API::__ANON__ (1388) error: Timed out waiting for data
[18-04-03 20:55:55.0133] Plugins::Spotty::API::__ANON__ (1388) error: Couldn't resolve IP address for: api.spotify.com
[18-04-03 20:55:55.0222] Plugins::Spotty::API::__ANON__ (1388) error: Connect timed out:
[18-04-03 20:55:55.0249] Plugins::Spotty::API::__ANON__ (1388) error: Timed out waiting for data

loopguru
2018-04-03, 12:17
I just logged on to my Synology NAS to see whether it really cannot resolve api.spotify.com

Two tests:

> curl https://api.spotify.com/v1/me
{
"error": {
"status": 401,
"message": "No token provided"
}

So this works quick like expected,

but


> curl https://api.spotify.com

returns after some minutes:

curl: (7) Failed to connect to api.spotify.com port 443: Connection timed out

loopguru
2018-04-03, 12:41
To resolve the issue I tried to delete and readd my Spotify account in the 'LMS Plugins' page. Deleting was possible, but when I wanted to add my account the web page was hanging for one minute and LMS became unusable. So I guess this might be caused by the same api.spotify.com connect issue.

IvRak
2018-04-03, 12:56
plugin.spotty=info set in Settings/Advanced/Logging would tell us more.
Though I would have expected to see any kind of message if there had
been a networking issue or the like.


I have changed the logging setting, and will try to notice next time this happens if theres anything in the log.

I had it playing many hours yesterday without problems, but I'll still keep an eye on it.

loopguru
2018-04-03, 13:08
I see that https://api.spotify.com is sometimes hanging on my NAS, regardless what URL path follows. Could it be Spotify blocks me?. Could I workaround by getting my own Client Id?

slartibartfast
2018-04-03, 13:27
After some time using Spotty daily I upgraded today to 2.3.0.

Now playing via Spotify Connect kills LMS, it is simply hanging for a minute or so.
Same happens if I use Spotty from within iPeng: The Spotty screen in iPeng shows empty and then LMS hangs for about a minute.

The content in the log I pasted below:

[18-04-03 20:37:58.7172] main::init (387) Starting Logitech Media Server (v7.9.1, 1504317335, Mon Sep 4 22:13:00 UTC 2017) perl 5.024000 - x86_64-linux
[18-04-03 20:37:58.7172] main::init (387) Starting Logitech Media Server (v7.9.1, 1504317335, Mon Sep 4 22:13:00 UTC 2017) perl 5.024000 - x86_64-linux
[18-04-03 20:38:01.4427] Slim::Web::JSONRPC::requestMethod (443) 00:04:20:2d:ee:c3: request not dispatchable!
[18-04-03 20:42:06.8145] Plugins::Spotty::Connect::_connectEvent (265) Got called from spotty helper: start
[18-04-03 20:42:06.8161] Plugins::Spotty::API::_call (1310) Trying to read from cache for me
[18-04-03 20:42:06.8166] Plugins::Spotty::API::_call (1319) API call: me
[18-04-03 20:42:06.8192] Plugins::Spotty::API::_call (1319) API call: me/player
[18-04-03 20:44:14.4521] Plugins::Spotty::API::__ANON__ (1364) Caching result for 60 using max-age (https://api.spotify.com/v1/me)
[18-04-03 20:44:14.4527] Plugins::Spotty::API::__ANON__ (1366) Data cached (https://api.spotify.com/v1/me)
[18-04-03 20:44:14.4887] Plugins::Spotty::Connect::__ANON__ (303) Got a new track to be played: spotify:track:3UKEbmVZ1K1jwo1DoXmANL
[18-04-03 20:44:14.4906] Plugins::Spotty::API::_call (1310) Trying to read from cache for me
[18-04-03 20:44:14.4913] Plugins::Spotty::API::_call (1313) Returning cached data for me
[18-04-03 20:44:14.5012] Plugins::Spotty::API::_call (1310) Trying to read from cache for me
[18-04-03 20:44:14.5019] Plugins::Spotty::API::_call (1313) Returning cached data for me
[18-04-03 20:44:14.5026] Plugins::Spotty::Connect::getNextTrack (121) Don't get next track as we got called by a play track event from spotty
[18-04-03 20:44:14.5038] Plugins::Spotty::API::_call (1319) API call: me/player
[18-04-03 20:44:55.2323] Plugins::Spotty::Plugin::renameCacheFolder (369) Trying to rename __AUTHENTICATE__ to
[18-04-03 20:44:55.2334] Plugins::Spotty::Connect::Daemon::stop (120) Quitting Spotty Connect daemon for 00:04:20:2b:e6:83
[18-04-03 20:44:55.2355] Plugins::Spotty::Connect::Daemon::stop (120) Quitting Spotty Connect daemon for 00:04:20:2e:53:5c
[18-04-03 20:44:55.2374] Plugins::Spotty::Connect::Daemon::stop (120) Quitting Spotty Connect daemon for 00:04:20:2b:f9:fc
[18-04-03 20:44:55.2393] Plugins::Spotty::Connect::Daemon::stop (120) Quitting Spotty Connect daemon for 00:04:20:2c:95:01
[18-04-03 20:44:55.2411] Plugins::Spotty::Connect::Daemon::stop (120) Quitting Spotty Connect daemon for 00:04:20:2d:ee:c3
[18-04-03 20:45:05.4088] main::init (387) Starting Logitech Media Server (v7.9.1, 1504317335, Mon Sep 4 22:13:00 UTC 2017) perl 5.024000 - x86_64-linux
[18-04-03 20:53:46.9112] Plugins::Spotty::API::__ANON__ (1388) error: Timed out waiting for data
[18-04-03 20:55:55.0133] Plugins::Spotty::API::__ANON__ (1388) error: Couldn't resolve IP address for: api.spotify.com
[18-04-03 20:55:55.0222] Plugins::Spotty::API::__ANON__ (1388) error: Connect timed out:
[18-04-03 20:55:55.0249] Plugins::Spotty::API::__ANON__ (1388) error: Timed out waiting for dataThis is happening for me as well. It seemed to coincide with me trying to play a shuffled Spotify playlist. But it may just be a general problem.

Sent from my SM-G900F using Tapatalk

mherger
2018-04-03, 21:12
> I see that https://api.spotify.com is sometimes hanging on my NAS,
> regardless what URL path follows. Could it be Spotify blocks me?. Could
> I workaround by getting my own Client Id?

Spotify seems to have had issues last night (and a few days before, too):

https://twitter.com/SpotifyStatus


--

Michael

slartibartfast
2018-04-03, 23:26
> I see that https://api.spotify.com is sometimes hanging on my NAS,
> regardless what URL path follows. Could it be Spotify blocks me?. Could
> I workaround by getting my own Client Id?

Spotify seems to have had issues last night (and a few days before, too):

https://twitter.com/SpotifyStatus


--

Michael

Would those issues cause LMS to crash completely? I had to reboot my server and restart my Touch.

Sent from my SM-G900F using Tapatalk

hestbank
2018-04-04, 01:22
Would those issues cause LMS to crash completely? I had to reboot my server and restart my Touch.



My LMS is crashing every time I try and use Spotty and the Squeezebox Touch reverts to the mysqueezebox.com server.

Max2Play 2.45 on a Raspberry Pi 2.
LMS Logitech Media Server (v7.9.1, 1521438894, Mon Mar 19 07:05:45 CET 2018) perl 5.020002

LMS Server log for today attached.

I have set plugin.spotty=info set in Settings/Advanced/Logging. Where do I find this log? It is not with the server log at /var/log/squeezeboxserver.

Thanks,

David

slartibartfast
2018-04-04, 01:35
My LMS is crashing every time I try and use Spotty and the Squeezebox Touch reverts to the mysqueezebox.com server.

Max2Play 2.45 on a Raspberry Pi 2.
LMS Logitech Media Server (v7.9.1, 1521438894, Mon Mar 19 07:05:45 CET 2018) perl 5.020002

LMS Server log for today attached.

I have set plugin.spotty=info set in Settings/Advanced/Logging. Where do I find this log? It is not with the server log at /var/log/squeezeboxserver.

Thanks,

DavidIs it still crashing today? Spotty loggings should be in the server log. If you have restarted the server check that the logging settings are still set. There is a box to check of you want the settings to survive a restart.

I asked if it is still crashing today because I have not tried Spotty again. I had more than enough of rebooting the server last night[emoji853]

Sent from my SM-G900F using Tapatalk

hestbank
2018-04-04, 02:05
Is it still crashing today? Spotty loggings should be in the server log. If you have restarted the server check that the logging settings are still set. There is a box to check of you want the settings to survive a restart.

I asked if it is still crashing today because I have not tried Spotty again. I had more than enough of rebooting the server last night[emoji853]



Thanks for the server info. All the info should be in the file I have just posted then.

Yes, I'm afraid it is still happening today.

slartibartfast
2018-04-04, 02:07
Thanks for the server info. All the info should be in the file I have just posted then.

Yes, I'm afraid it is still happening today.I just tried it myself and it is working normally for me today. Have you tried rebooting your Pi?

Sent from my SM-G900F using Tapatalk

loopguru
2018-04-04, 02:31
> I see that https://api.spotify.com is sometimes hanging on my NAS,
> regardless what URL path follows. Could it be Spotify blocks me?. Could
> I workaround by getting my own Client Id?
Spotify seems to have had issues last night (and a few days before, too):
https://twitter.com/SpotifyStatus

Can confirm this now. Today Spotty is working fine. Yesterday between 8pm and 11pm CEST Spotify had issues according to Downdetector (http://downdetector.com/status/spotify). This was by coincidence the time I decided to upgrade to Spotty 2.3

What's a bit unfortunate is that a hanging call to api.spotify.com in Spotty pulls the whole LMS into the grave. Would be good to implement a Circuit Breaker pattern encapsulating calls to Spotify.

Tom

--

mherger
2018-04-04, 04:12
> Would those issues cause LMS to crash completely? I had to reboot my
> server and restart my Touch.

No, that's definitely not supposed to happen. That said: it seems to
block LMS for up to a minute if things go wrong. I'll have to look into
this. It's already been on my todo list, but I lost track of it, as it
worked pretty well recently.

--

Michael

mherger
2018-04-04, 04:16
> My LMS is crashing every time I try and use Spotty and the Squeezebox
> Touch reverts to the mysqueezebox.com server.

That server.log file doesn't show any sign of Spotty failure. It shows
you browsed your album collection successfully.

There is another IO/networking related issue reported which has nothing
to do with Spotty, though. Make sure you run the very latest m2p.

--

Michael

mherger
2018-04-04, 04:17
> What's a bit unfortunate is that a hanging call to api.spotify.com in
> Spotty pulls the whole LMS into the grave. Would be good to implement a
> Circuit Breaker pattern encapsulating calls to Spotify.

Yes, I've pulled that back up pretty high on my todo list.

--

Michael

nunoabsilva
2018-04-04, 04:40
Hi, can you helpme?
-----------------
[18-04-04 12:29:15.4388] Plugins::Spotty::Connect::DaemonManager::__ANON__ (37) Spotify Account for player b8:27:eb:0d:28:7a has changed - re-initialize Connect helper
[18-04-04 12:29:15.4403] Plugins::Spotty::Connect::Daemon::stop (120) Quitting Spotty Connect daemon for b8:27:eb:0d:28:7a
[18-04-04 12:29:15.4466] Plugins::Spotty::Connect::DaemonManager::startHelp er (100) Need to (re-)start Connect daemon for b8:27:eb:0d:28:7a
[18-04-04 12:29:15.4513] Plugins::Spotty::Connect::Daemon::start (66) Starting Spotty Connect daemon:
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf -c /var/lib/squeezeboxserver/cache/spotty/b827eb0d287a -n max2play --disable-audio-cache --bitrate 96 --player-mac b8:27:eb:0d:28:7a --lms 172.16.27.69:9000
[18-04-04 12:29:15.4816] Plugins::Spotty::API::getToken (121) Trying to get access token: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf -n Squeezebox -c "/var/lib/squeezeboxserver/cache/spotty/bb80651f" -i max2play --get-token --scope "user-read-private,user-follow-modify,user-follow-read,user-library-read,user-library-modify,user-top-read,user-read-recently-played,user-read-playback-state,user-modify-playback-state,playlist-read-private,playlist-read-collaborative,playlist-modify-public,playlist-modify-private"
[18-04-04 12:29:16.1575] Plugins::Spotty::API::getToken (124) Got response: error getting token MercuryError
[18-04-04 12:29:16.1584] Plugins::Spotty::API::getToken (128) Failed to get Spotify access token: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "error getting token ...") at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/API.pm line 125.

error getting token MercuryError
[18-04-04 12:29:16.1590] Plugins::Spotty::API::getToken (145) Failed to get Spotify access token
[18-04-04 12:29:16.1604] Slim::Utils::Strings::string (517) Error: missing string PLUGIN_SPOTTY_ERROR_1
[18-04-04 12:29:16.1615] Slim::Utils::Strings::string (517) Backtrace:

frame 0: Slim::Utils::Log::logBacktrace (/usr/share/perl5/Slim/Utils/Strings.pm line 517)
frame 1: Slim::Utils::Strings::string (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/API.pm line 1272)
frame 2: Plugins::Spotty::API::_call (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/API.pm line 173)
frame 3: Plugins::Spotty::API::me (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/API.pm line 82)
frame 4: Plugins::Spotty::API::new (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Plugin.pm line 268)
frame 5: Plugins::Spotty::Plugin::getAPIHandler (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Plugin.pm line 625)
frame 6: Plugins::Spotty::Plugin::getName (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/SettingsAuth.pm line 79)
frame 7: Plugins::Spotty::SettingsAuth::handler (/usr/share/perl5/Slim/Web/HTTP.pm line 1087)
frame 8: Slim::Web::HTTP::generateHTTPResponse (/usr/share/perl5/Slim/Web/HTTP.pm line 879)
frame 9: Slim::Web::HTTP::processURL (/usr/share/perl5/Slim/Web/HTTP.pm line 683)
frame 10: Slim::Web::HTTP::processHTTP (/usr/share/perl5/Slim/Networking/IO/Select.pm line 123)
frame 11: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 119)
frame 12: Slim::Networking::IO::Select::__ANON__ (/usr/share/perl5/Slim/Networking/IO/Select.pm line 168)
frame 13: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 168)
frame 14: Slim::Networking::IO::Select::loop (/usr/sbin/squeezeboxserver line 728)
frame 15: main::idle (/usr/sbin/squeezeboxserver line 678)
frame 16: main::main (/usr/sbin/squeezeboxserver line 1214)

[18-04-04 12:29:16.1643] Slim::Utils::Strings::string (517) Error: missing string PLUGIN_SPOTTY_ERROR_1
[18-04-04 12:29:16.1654] Slim::Utils::Strings::string (517) Backtrace:

frame 0: Slim::Utils::Log::logBacktrace (/usr/share/perl5/Slim/Utils/Strings.pm line 517)
frame 1: Slim::Utils::Strings::string (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/API.pm line 1272)
frame 2: Plugins::Spotty::API::_call (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/API.pm line 230)
frame 3: Plugins::Spotty::API::user (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Plugin.pm line 625)
frame 4: Plugins::Spotty::Plugin::getName (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/SettingsAuth.pm line 79)
frame 5: Plugins::Spotty::SettingsAuth::handler (/usr/share/perl5/Slim/Web/HTTP.pm line 1087)
frame 6: Slim::Web::HTTP::generateHTTPResponse (/usr/share/perl5/Slim/Web/HTTP.pm line 879)
frame 7: Slim::Web::HTTP::processURL (/usr/share/perl5/Slim/Web/HTTP.pm line 683)
frame 8: Slim::Web::HTTP::processHTTP (/usr/share/perl5/Slim/Networking/IO/Select.pm line 123)
frame 9: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 119)
frame 10: Slim::Networking::IO::Select::__ANON__ (/usr/share/perl5/Slim/Networking/IO/Select.pm line 168)
frame 11: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 168)
frame 12: Slim::Networking::IO::Select::loop (/usr/sbin/squeezeboxserver line 728)
frame 13: main::idle (/usr/sbin/squeezeboxserver line 678)
frame 14: main::main (/usr/sbin/squeezeboxserver line 1214)

[18-04-04 12:29:16.2172] Plugins::Spotty::SettingsAuth::startHelper (134) Starting Spotty Connect deamon:
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf -c /var/lib/squeezeboxserver/cache/spotty/__AUTHENTICATE__ -n Spotify Authorization (max2play.home) -a
[18-04-04 12:29:16.2525] Plugins::Spotty::Plugin::renameCacheFolder (369) Trying to rename __AUTHENTICATE__ to
[18-04-04 12:29:16.2582] Plugins::Spotty::SettingsAuth::shutdownHelper (163) Quitting authentication daemon
[18-04-04 12:29:16.2614] Plugins::Spotty::Plugin::renameCacheFolder (369) Trying to rename __AUTHENTICATE__ to
[18-04-04 12:29:16.2687] Plugins::Spotty::Plugin::findBin (775) Trying helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SpottyAARCH64Bin/Bin/spotty-custom
[18-04-04 12:29:16.3378] Plugins::Spotty::Plugin::findBin (775) Trying helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty
[18-04-04 12:29:16.3672] Plugins::Spotty::Plugin::findBin (778) Found helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty
[18-04-04 12:29:16.3686] Plugins::Spotty::Plugin::findBin (775) Trying helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf
[18-04-04 12:29:16.3972] Plugins::Spotty::Plugin::findBin (778) Found helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf
[18-04-04 12:29:16.3985] Plugins::Spotty::Plugin::findBin (775) Trying helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-muslhf
[18-04-04 12:29:16.4257] Plugins::Spotty::Plugin::findBin (778) Found helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-muslhf
[18-04-04 12:29:16.4844] Plugins::Spotty::SettingsAuth::startHelper (134) Starting Spotty Connect deamon:
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf -c /var/lib/squeezeboxserver/cache/spotty/__AUTHENTICATE__ -n Spotify Authorization (max2play.home) -a

-------------------
2485724857

gwlevans
2018-04-04, 11:41
Hi,

I think I am seeing similar spotty connect problems here (it worked at the weekend):

Gareth


[70-01-01 00:16:43.4142] main::init (387) Starting Logitech Media Server (v7.9.1, 1522249619, Wed Mar 28 17:19:50 CEST 2018) perl 5.024000 - arm-linux-gnueabihf-thread-multi-64int
[70-01-01 00:16:44.6453] Slim::Utils::SQLiteHelper::postConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table
[70-01-01 00:16:44.6839] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
[70-01-01 00:16:45.1242] Slim::Utils::SQLiteHelper::postConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table
[70-01-01 00:16:45.1531] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
[70-01-01 00:16:47.4311] Plugins::Spotty::Plugin::purgeAudioCache (464) Starting audio cache cleanup...
[70-01-01 00:16:47.4337] Plugins::Spotty::Plugin::purgeAudioCache (487) Max. cache size is: 0MB, current cache size is 0MB
[70-01-01 00:16:47.4352] Plugins::Spotty::Plugin::purgeAudioCache (518) Starting temporary file cleanup... (/usr/local/slimserver/Cache/spotty)
[70-01-01 00:16:47.4367] Plugins::Spotty::Plugin::purgeAudioCache (538) Audio cache cleanup done!
[70-01-01 00:16:47.4626] Plugins::Spotty::Plugin::findBin (775) Trying helper applicaton: /usr/local/slimserver/Cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf
[70-01-01 00:16:47.5528] Plugins::Spotty::Plugin::findBin (778) Found helper applicaton: /usr/local/slimserver/Cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf
[70-01-01 00:16:47.9225] main::checkDataSource (1110) Warning: Schema updated or no media found in the database, initiating scan.
[70-01-01 00:16:54.7439] Slim::Utils::SQLiteHelper::postConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table
[70-01-01 00:16:54.7714] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
[70-01-01 00:31:49.8441] Plugins::Spotty::Plugin::renameCacheFolder (369) Trying to rename __AUTHENTICATE__ to
[70-01-01 00:31:49.8505] Plugins::Spotty::Plugin::renameCacheFolder (369) Trying to rename __AUTHENTICATE__ to
[70-01-01 00:31:49.8556] Plugins::Spotty::Plugin::findBin (775) Trying helper applicaton: /usr/local/slimserver/Cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty
[70-01-01 00:31:49.8883] Plugins::Spotty::Plugin::findBin (775) Trying helper applicaton: /usr/local/slimserver/Cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf
[70-01-01 00:31:49.9232] Plugins::Spotty::Plugin::findBin (778) Found helper applicaton: /usr/local/slimserver/Cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf
[70-01-01 00:31:49.9253] Plugins::Spotty::Plugin::findBin (775) Trying helper applicaton: /usr/local/slimserver/Cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-muslhf
[70-01-01 00:31:50.0259] Plugins::Spotty::Plugin::findBin (778) Found helper applicaton: /usr/local/slimserver/Cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-muslhf
[70-01-01 00:32:01.0369] Plugins::Spotty::Plugin::renameCacheFolder (369) Trying to rename __AUTHENTICATE__ to
[70-01-01 00:32:01.0404] Plugins::Spotty::Plugin::renameCacheFolder (369) Trying to rename __AUTHENTICATE__ to
[70-01-01 00:32:01.0437] Plugins::Spotty::Connect::DaemonManager::__ANON__ (48) Discovery mode for Connect has changed - re-initialize Connect helpers
[70-01-01 00:32:01.0482] Plugins::Spotty::Plugin::findBin (775) Trying helper applicaton: /usr/local/slimserver/Cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty
[70-01-01 00:32:01.0775] Plugins::Spotty::Plugin::findBin (775) Trying helper applicaton: /usr/local/slimserver/Cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf
[70-01-01 00:32:01.1124] Plugins::Spotty::Plugin::findBin (778) Found helper applicaton: /usr/local/slimserver/Cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf
[70-01-01 00:32:01.1146] Plugins::Spotty::Plugin::findBin (775) Trying helper applicaton: /usr/local/slimserver/Cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-muslhf
[70-01-01 00:32:01.1453] Plugins::Spotty::Plugin::findBin (778) Found helper applicaton: /usr/local/slimserver/Cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-muslhf
[70-01-01 00:33:00.5765] Plugins::Spotty::Plugin::renameCacheFolder (369) Trying to rename __AUTHENTICATE__ to
[70-01-01 00:33:00.5784] Plugins::Spotty::Plugin::renameCacheFolder (369) Trying to rename __AUTHENTICATE__ to
[70-01-01 00:33:00.5837] Plugins::Spotty::Plugin::findBin (775) Trying helper applicaton: /usr/local/slimserver/Cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty
[70-01-01 00:33:00.6127] Plugins::Spotty::Plugin::findBin (775) Trying helper applicaton: /usr/local/slimserver/Cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf
[70-01-01 00:33:00.6471] Plugins::Spotty::Plugin::findBin (778) Found helper applicaton: /usr/local/slimserver/Cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf
[70-01-01 00:33:00.6492] Plugins::Spotty::Plugin::findBin (775) Trying helper applicaton: /usr/local/slimserver/Cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-muslhf
[70-01-01 00:33:00.6797] Plugins::Spotty::Plugin::findBin (778) Found helper applicaton: /usr/local/slimserver/Cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-muslhf

gwlevans
2018-04-04, 12:29
I changed the helper to muslf-hf manually through the web gui interface and successfully broke spotty, how do I revert? I just get the authentication interface in spotty with no option to change helper? Auth fails with a seg fault.

Gareth

hestbank
2018-04-04, 13:22
> My LMS is crashing every time I try and use Spotty and the Squeezebox
> Touch reverts to the mysqueezebox.com server.

That server.log file doesn't show any sign of Spotty failure. It shows
you browsed your album collection successfully.

There is another IO/networking related issue reported which has nothing
to do with Spotty, though. Make sure you run the very latest m2p.

--

Michael

Thanks for checking, Michael.

I'm on the latest non beta m2p.

Things still not running as smoothly as they used to. I'll see if things settle down.

Thanks,
David

strim
2018-04-04, 14:46
Now that I have been enjoying the music, I have one question.

For all of the time I have been using Spotty, once in a very seldom while, I experience that playback stops when one number ends and the next one should start.

The SB3 shows that the previous tune is playing with 0 seconds remaing, the webinterface shows the same, but playback doesn't carry on with the next tune.

I can allways fix it by pushing forward on the remote.

This is a very seldomly seen error, but I did experience it today after upgrading to Spotty 2.3.0. Music can play for hours, and then suddenly stop. It only resumes when I intervene.

Any ideas what could be the cause?

My setup is the latest LMS 7.9.1 inside a docker image on a Rockstor based NAS.

I have the same problem here, sometimes the music stops at the end of the song in the middle of a playlist, pressing next button and the music goes on.
It happens at home on a Pi3 with max2play and wifi/ethernet players and at the office on win10 with only ethernet players. All real squeezeboxes.
And up to date LMS and Spotty versions.

Hopefully there is a solution.

Sander

nunoabsilva
2018-04-04, 15:57
18-04-04 23:50:38.5694] Slim::Utils::Cache::cleanup (207) Cache purge: cache - skipping, purged recently
[18-04-04 23:50:39.3785] Plugins::Spotty::SettingsAuth::startHelper (134) Starting Spotty Connect deamon:
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-muslhf -c /var/lib/squeezeboxserver/cache/spotty/__AUTHENTICATE__ -n Spotify Authorization (max2play.home) -a
[18-04-04 23:50:39.3930] Plugins::Spotty::Connect::DaemonManager::startHelp er (96) Need to create Connect daemon for b8:27:eb:0d:28:7a
[18-04-04 23:50:39.3956] Plugins::Spotty::Connect::Daemon::start (66) Starting Spotty Connect daemon:
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-muslhf -c /var/lib/squeezeboxserver/cache/spotty -n max2play --disable-audio-cache --bitrate 96 --player-mac b8:27:eb:0d:28:7a --lms 172.16.27.69:9000 --disable-discovery
[18-04-04 23:51:46.3973] Plugins::Spotty::Plugin::renameCacheFolder (369) Trying to rename __AUTHENTICATE__ to
[18-04-04 23:51:56.0877] Plugins::Spotty::SettingsAuth::handler (63) Trying to authenticate using: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-muslhf -c "/var/lib/squeezeboxserver/cache/spotty/__AUTHENTICATE__" -n "Spotify Authorization (max2play.home)" -u "nunoabsilva@gmail.com" -p "********" -a --disable-discovery
[18-04-04 23:51:56.1400] Plugins::Spotty::SettingsAuth::handler (70) Authorization failed: Segmentation fault
[18-04-04 23:52:00.6415] Plugins::Spotty::SettingsAuth::handler (63) Trying to authenticate using: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-muslhf -c "/var/lib/squeezeboxserver/cache/spotty/__AUTHENTICATE__" -n "Spotify Authorization (max2play.home)" -u "nunoabsilva@gmail.com" -p "********" -a --disable-discovery
[18-04-04 23:52:00.6841] Plugins::Spotty::SettingsAuth::handler (70) Authorization failed: Segmentation fault
[18-04-04 23:52:06.7605] Plugins::Spotty::SettingsAuth::handler (63) Trying to authenticate using: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-muslhf -c "/var/lib/squeezeboxserver/cache/spotty/__AUTHENTICATE__" -n "Spotify Authorization (max2play.home)" -u "nunoabsilva" -p "********" -a --disable-discovery
[18-04-04 23:52:06.8031] Plugins::Spotty::SettingsAuth::handler (70) Authorization failed: Segmentation fault
[18-04-04 23:52:47.1562] Plugins::Spotty::SettingsAuth::startHelper (134) Starting Spotty Connect deamon:
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-muslhf -c /var/lib/squeezeboxserver/cache/spotty/__AUTHENTICATE__ -n Spotify Authorization (max2play.home) -a
[18-04-04 23:53:02.5985] Plugins::Spotty::Plugin::renameCacheFolder (369) Trying to rename __AUTHENTICATE__ to

mherger
2018-04-04, 20:08
> I changed the helper to muslf-hf manually through the web gui interface
> and successfully broke spotty, how do I revert? I just get the
> authentication interface in spotty with no option to change helper? Auth
> fails with a seg fault.

I'm sorry for this. I'll try to get an improved version out today.

Until then you can shut down LMS, then edit spotty.prefs. Remove the
"helper" entry. Restart LMS.

--

Michael

mherger
2018-04-04, 20:13
> I have the same problem here, sometimes the music stops at the end of
> the song in the middle of a playlist, pressing next button and the music
> goes on.

Next time this happens, could you please go back one or two tracks
before you resume? Would it stop on the same track again?

--

Michael

mherger
2018-04-04, 20:14
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-muslhf
> [18-04-04 23:52:06.8031] Plugins::Spotty::SettingsAuth::handler (70)
> Authorization failed: Segmentation fault

Can you give spotty-hf another try? See Settings/Advanced/Spotty.


--

Michael

gwlevans
2018-04-04, 22:24
2.3.1 works thanks!

Gareth


> I changed the helper to muslf-hf manually through the web gui interface
> and successfully broke spotty, how do I revert? I just get the
> authentication interface in spotty with no option to change helper? Auth
> fails with a seg fault.

I'm sorry for this. I'll try to get an improved version out today.

Until then you can shut down LMS, then edit spotty.prefs. Remove the
"helper" entry. Restart LMS.

--

Michael

nunoabsilva
2018-04-05, 02:57
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-muslhf
> [18-04-04 23:52:06.8031] Plugins::Spotty::SettingsAuth::handler (70)
> Authorization failed: Segmentation fault

Can you give spotty-hf another try? See Settings/Advanced/Spotty.


--

Michael

We make this try without success




[18-04-05 10:33:01.1376] main::init (666) Server done init...
[18-04-05 10:33:01.3372] Plugins::Spotty::Connect::DaemonManager::startHelp er (96) Need to create Connect daemon for b8:27:eb:0d:28:7a
[18-04-05 10:33:01.3390] Plugins::Spotty::Connect::Daemon::start (66) Starting Spotty Connect daemon:
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-muslhf -c /var/lib/squeezeboxserver/cache/spotty -n max2play --disable-audio-cache --bitrate 96 --player-mac b8:27:eb:0d:28:7a --lms 172.16.27.69:9000 --disable-discovery
[18-04-05 10:33:01.6992] Plugins::Spotty::SettingsAuth::startHelper (145) Starting Spotty Connect deamon:
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-muslhf -c /var/lib/squeezeboxserver/cache/spotty/__AUTHENTICATE__ -n Spotify Authorization (max2play.home) -a
[18-04-05 10:33:03.0043] Slim::Utils::Cache::cleanup (207) Cache purge: cache - skipping, purged recently
[18-04-05 10:33:09.0669] Plugins::Spotty::Plugin::renameCacheFolder (369) Trying to rename __AUTHENTICATE__ to
[18-04-05 10:33:09.2155] Plugins::Spotty::Plugin::findBin (775) Trying helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty
[18-04-05 10:33:09.2484] Plugins::Spotty::Plugin::findBin (778) Found helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty
[18-04-05 10:33:09.2496] Plugins::Spotty::Plugin::findBin (775) Trying helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf
[18-04-05 10:33:09.2812] Plugins::Spotty::Plugin::findBin (778) Found helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf
[18-04-05 10:33:09.2825] Plugins::Spotty::Plugin::findBin (775) Trying helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-muslhf
[18-04-05 10:33:09.3130] Plugins::Spotty::Plugin::findBin (778) Found helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-muslhf
[18-04-05 10:33:42.8517] Plugins::Spotty::SettingsAuth::handler (63) Trying to authenticate using: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-muslhf -c "/var/lib/squeezeboxserver/cache/spotty/__AUTHENTICATE__" -n "Spotify Authorization (max2play.home)" -u "nunoabsilva@gmail.com" -p "********" -a --disable-discovery
[18-04-05 10:33:42.9062] Plugins::Spotty::SettingsAuth::handler (70) Authorization failed: Segmentation fault
[18-04-05 10:33:42.9098] Plugins::Spotty::Plugin::findBin (775) Trying helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty
[18-04-05 10:33:42.9518] Plugins::Spotty::Plugin::findBin (778) Found helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty
[18-04-05 10:33:42.9530] Plugins::Spotty::Plugin::findBin (775) Trying helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf
[18-04-05 10:33:42.9873] Plugins::Spotty::Plugin::findBin (778) Found helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf
[18-04-05 10:33:42.9891] Plugins::Spotty::Plugin::findBin (775) Trying helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-muslhf
[18-04-05 10:33:43.0185] Plugins::Spotty::Plugin::findBin (778) Found helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-muslhf
[18-04-05 10:33:43.0198] Plugins::Spotty::Connect::DaemonManager::__ANON__ (49) Helper binary was re-configured - re-initialize Connect helpers
[18-04-05 10:33:43.0206] Plugins::Spotty::Connect::Daemon::stop (120) Quitting Spotty Connect daemon for b8:27:eb:0d:28:7a
[18-04-05 10:33:44.0023] Plugins::Spotty::Connect::DaemonManager::startHelp er (100) Need to (re-)start Connect daemon for b8:27:eb:0d:28:7a
[18-04-05 10:33:44.0599] Plugins::Spotty::Plugin::getHelper (634) Using helper from prefs: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf
[18-04-05 10:33:44.0630] Plugins::Spotty::Connect::Daemon::start (66) Starting Spotty Connect daemon:
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf -c /var/lib/squeezeboxserver/cache/spotty -n max2play --disable-audio-cache --bitrate 96 --player-mac b8:27:eb:0d:28:7a --lms 172.16.27.69:9000 --disable-discovery
[18-04-05 10:48:01.7132] Plugins::Spotty::SettingsAuth::shutdownHelper (174) Quitting authentication daemon
[18-04-05 10:48:01.7164] Plugins::Spotty::Plugin::renameCacheFolder (369) Trying to rename __AUTHENTICATE__ to

nunoabsilva
2018-04-05, 03:08
addiconal logfile information

24875

mjh421
2018-04-05, 03:10
Hi Michael,

Thanks for all your hard work. Spotty is great (small donation sent).

I have a Pi3 running LMS 7.9.1 and the latest Spotty. Playing to Connect from my phone I had the following in the Info log. Spotify on my phone stopped streaming.

Not sure if it's interesting/helpful.

Thanks, Mike

mherger
2018-04-05, 04:01
>> Can you give spotty-hf another try? See Settings/Advanced/Spotty.

It seems that -muslhf is crashing, while -hf doesn't crash, but doesn't
work either. So please make sure Spotty is using -hf. And we'll go from
there.

I might have asked before, but what m2p version are you using? Anything
else you installed on that system in addition to LMS/Spotty?

--

Michael

mherger
2018-04-05, 04:07
> I have a Pi3 running LMS 7.9.1 and the latest Spotty. Playing to Connect
> from my phone I had the following in the Info log. Spotify on my phone
> stopped streaming.

That's odd: it's complaining about invalid data, when the data is
looking perfectly fine. Would you often get this?

--

Michael

mjh421
2018-04-05, 05:43
> I have a Pi3 running LMS 7.9.1 and the latest Spotty. Playing to Connect
> from my phone I had the following in the Info log. Spotify on my phone
> stopped streaming.

That's odd: it's complaining about invalid data, when the data is
looking perfectly fine. Would you often get this?

--

Michael

Hi Michael, No this is the first time I've seen this message. v2.3.1 appears to be a lot more stable :) Previous versions sometimes just stopped playing an I had 10s + delays between songs. All seems good now. Thanks.

gwlevans
2018-04-05, 10:50
This issues appears to be fixed with 2.3.1 too, thanks again Micheal you rock!


Hi,

When I change track (via iPeng) the track plays for a few seconds (10-20) then pauses for 1-2 seconds then starts again. Seems to coincide with purgeAudioCache messages in the logs (more of a guess?)

I am running Spotty 2.3.0 (Spotty-hf v0.11), LMS 7.9.1 latest nightly, PiCorePlayer 3.5.0, Raspberry Pi 2B+, USB HRT Streamer II.

Gareth

nunoabsilva
2018-04-05, 11:03
>> Can you give spotty-hf another try? See Settings/Advanced/Spotty.

It seems that -muslhf is crashing, while -hf doesn't crash, but doesn't
work either. So please make sure Spotty is using -hf. And we'll go from
there.

I might have asked before, but what m2p version are you using? Anything
else you installed on that system in addition to LMS/Spotty?

--

Michael

we give another try without success

M2P IQaudIO Version 2.45
Raspberry PI 3

LMS/Spotty only

new logfile

24878

mjh421
2018-04-06, 05:03
Hi Michael, is it possible for Spotty to support Playlist Folders? Thanks again, Mike

mherger
2018-04-06, 05:42
> Hi Michael, is it possible for Spotty to support Playlist Folders?

No. Feel free to add your vote:

https://github.com/spotify/web-api/issues/38

--

Michael

OverloadUT
2018-04-07, 15:05
Hi there!

I am in the process of switching over my Home Assistant automations from using Spotify's API directly to using Squeezebox's API for more flexibility with local files and whatnot.

One thing I cannot figure out is how to play a Spotify album via Spotty via the Squeezebox API.

For single tracks, it's simple: A Spotify URI like

spotify:track:5zhuWncJsBKrQ1HhmAKNAg
becomes

spotify://track:5zhuWncJsBKrQ1HhmAKNAg
when calling Squeezebox's API, and it works perfectly.

However, an album URI such as:

spotify:album:1TVpHhBK3pSTqizgLLh16s
which works fine via the Spotify API, does not work when converted to a Squeezebox URI such as

spotify://album:1TVpHhBK3pSTqizgLLh16s

Any idea how to go about playing and queueing up a Spotty album via Squeezebox's API? Is there any documentation on the URI format?

mherger
2018-04-07, 22:39
floridafisher - I see that you've deleted your posting. I'd be
interested to know why. Did you find a solution?

--

Michael

mherger
2018-04-07, 22:41
> --------------------
> spotify:album:1TVpHhBK3pSTqizgLLh16s
> --------------------
>
> which works fine via the Spotify API, does not work when converted to a
> Squeezebox URI such as

Please give this un-altered URI another try - and post results to your
own thread if needed. You're totally off-topic here.

--

Michael

BrynClarke
2018-04-08, 16:04
Please ignore below - restarted LMS with correct third party plugin folder and all OK


Hi Michael

I returned from a few weeks away to find Spotty no longer working - all Searches return blank. I went to Setting-Advanced-Spotty and saw: 'There has been a problem running the Spotty helper application. Most likely your operating system and/or platform is not supported. Please report the following details to me: (see below)

Are you ablr to please advise? Also what plugins from which source - I couldn't seem to find that info on the various "Announce" pages," Thanks!!

Operating system: piCore / armv7l-linux

Helper Applications Folder:
/usr/local/slimserver/Bin/armhf-linux
/usr/local/slimserver/Bin
/usr/local/sbin
/usr/local/bin
/sbin
/usr/sbin
/bin
/usr/bin
/usr/local/slimserver/Cache/InstalledPlugins/Plugins/Spotty/Bin
/usr/local/slimserver/Cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux

I am running LMS under piCorePlayer on a Raspberry pi. Not sure which version of Spotty, as I can't seem to locate it in the Plugins list....?
Logitech Media Server Version: 7.9.1 - 1504317335 @ Sat Sep 2 10:55:53 UTC 2017
Hostname: piCorePlayer
Server IP Address: 192.168.1.28
Server HTTP Port Number: 9000
Operating system: piCore - EN - utf8
Platform Architecture: armv7l-linux
Perl Version: 5.24.0 - arm-linux-gnueabihf-thread-multi-64int
Audio::Scan: 0.95
Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)
Total Players Recognized: 3

mherger
2018-04-08, 21:23
> Logitech Media Server Version: 7.9.1 - 1504317335 @ Sat Sep 2 10:55:53
> UTC 2017

I'd suggest you run a bunch of updates on LMS, Spotty, pCP, then try
again. It's my office setup. It certainly does work.


--

Michael

TomAmes
2018-04-11, 13:05
> I have the same problem here, sometimes the music stops at the end of
> the song in the middle of a playlist, pressing next button and the music
> goes on.

Next time this happens, could you please go back one or two tracks
before you resume? Would it stop on the same track again?

--

Michael

Jumping in to respond to this even though you were not replying to me. I have had this issue for quite some time now on Spotify. I had not noticed it for a week or two and was hoping the gremlins had run away.

A Spotify track just stopped again at its end, and I went back a track and it played right through the point where it had stopped just several minutes before. I think I had tried that previously with the same result, but it had been so long ago, I wanted to give it another shot before confirming it.

I have no idea how these things interact, but could it possibly be related to something in the LMS nightly builds. I can't be sure, but it may not have occurred at all on the previous nightly build--I know I had that nightly for quite a while and I did not observe the stoppage for quite a while. Probably coincidental, but it did make me wonder, as I noticed it again the day after moving to the new nightly.

Thanks so much (again) for all your hard work to keep this system alive and thriving!

mherger
2018-04-11, 15:22
> A Spotify track just stopped again at its end, and I went back a track
> and it played right through the point where it had stopped just several
> minutes before.

That's good to know. And the next track in the list would play again as
expected?

--

Michael

TomAmes
2018-04-11, 15:44
> A Spotify track just stopped again at its end, and I went back a track
> and it played right through the point where it had stopped just several
> minutes before.

That's good to know. And the next track in the list would play again as
expected?

--

Michael

Yes. Everything has been proceeding normally after that one glitch, drop back a track, and play.

d6jg
2018-04-12, 07:37
I just discovered that Spotty via LMS proper (not Connect - I don't use it) remains fully operational during a Full Clear & Rescan. Brilliant - as I hated the silence that I thought was necessitated by such a rescan.

mherger
2018-04-12, 08:11
> I just discovered that Spotty via LMS proper (not Connect - I don't use
> it) remains fully operational during a Full Clear & Rescan. Brilliant -
> as I hated the silence that I thought was necessitated by such a rescan.

FWIW: with LMS 7.9 you should be able to continue to listen to your
music during a scan anyway ;-).

--

Michael

d6jg
2018-04-12, 08:21
> I just discovered that Spotty via LMS proper (not Connect - I don't use
> it) remains fully operational during a Full Clear & Rescan. Brilliant -
> as I hated the silence that I thought was necessitated by such a rescan.

FWIW: with LMS 7.9 you should be able to continue to listen to your
music during a scan anyway ;-).

--

Michael

Well I didn't know that! Always discovering new things about LMS

quadronado
2018-04-12, 10:51
That's weird, today it's working. I don't know why it wasn't working Yesterday, I didn't do any updates. Thank You anyway.

I still don't know why it isn't working sometimes. Today I tried OrangeSqueeze (Android App):

When I play music on my Squeezebox Touch I can search a song in spotty and have the options "play", "play next" and "add to playlist".

When I play music on my Squeezebox Radio I can search a song in spotty but I only have the options "play" and "add to playlist". The second option is missing.

When I use the Webinterface instead of OrangeSqueeze I don't see "add to playlist", neither on the Touch nor on the radio.

Maybe this is an issue with OrangeSqueeze? Can anyone confirm this problem?

slartibartfast
2018-04-12, 11:10
I still don't know why it isn't working sometimes. Today I tried OrangeSqueeze (Android App):

When I play music on my Squeezebox Touch I can search a song in spotty and have the options "play", "play next" and "add to playlist".

When I play music on my Squeezebox Radio I can search a song in spotty but I only have the options "play" and "add to playlist". The second option is missing.

When I use the Webinterface instead of OrangeSqueeze I don't see "add to playlist", neither on the Touch nor on the radio.

Maybe this is an issue with OrangeSqueeze? Can anyone confirm this problem?What have you set the play options to in Orange Squeeze? Check the 'defeat destructive touch to play' setting in LMS as well. All of these things interact.

Sent from my SM-G900F using Tapatalk

quadronado
2018-04-12, 12:40
What have you set the play options to in Orange Squeeze? Check the 'defeat destructive touch to play' setting in LMS as well. All of these things interact.

Sent from my SM-G900F using TapatalkI use "prompt" in OrangeSqueeze.

I can't find a setting called "defeat destructive touch to play" in LMS. Where can I find it?

Gesendet von meinem Nexus 7 mit Tapatalk

kidstypike
2018-04-12, 12:53
I can't find a setting called "defeat destructive touch to play" in LMS. Where can I find it?

Gesendet von meinem Nexus 7 mit Tapatalk

LMS > Settings > Player Tab > Basic Settings.

slartibartfast
2018-04-12, 12:54
I use "prompt" in OrangeSqueeze.

I can't find a setting called "defeat destructive touch to play" in LMS. Where can I find it?

Gesendet von meinem Nexus 7 mit TapatalkIn player settings I think. It only applies to Touch and Radio. I have mine set to always ask and then use 'play' in Orange Squeeze. I'll check how it acts with Spotty later.

Sent from my SM-G900F using Tapatalk

quadronado
2018-04-12, 13:06
Why do these settings affect Spotify while my local musics acts as expected?

Gesendet von meinem Nexus 7 mit Tapatalk

slartibartfast
2018-04-12, 15:30
Why do these settings affect Spotify while my local musics acts as expected?

Gesendet von meinem Nexus 7 mit TapatalkI am not sure why but with my settings local music and Spotty give the same choices.
Add to end
Play next
Play this song
Play all songs

Sent from my SM-G900F using Tapatalk

TomAmes
2018-04-14, 08:53
> A Spotify track just stopped again at its end, and I went back a track
> and it played right through the point where it had stopped just several
> minutes before.

That's good to know. And the next track in the list would play again as
expected?

--

Michael


Yes. Everything has been proceeding normally after that one glitch, drop back a track, and play.

Michael,
It just happened again about 30 minutes ago, so I went back a couple of tracks. Played right through the previous "trouble spot" and is still playing. (not complaining, just adding another data point in case it might help). This behavior is still far less frequent than it was in recent months. Thanks.

quadronado
2018-04-14, 23:05
I am not sure why but with my settings local music and Spotty give the same choices.
...
Play all songs
...

You have the choice "Play all songs" if you search a single Song in spotty in OrangeSqueeze on a Squeezebox Radio? :confused:

I tried different settings, but I never got "play next" or "play all songs" with this combination! There is a button "play next" in OrangeSqueeze but nothing happens if I click on it.

slartibartfast
2018-04-14, 23:32
You have the choice "Play all songs" if you search a single Song in spotty in OrangeSqueeze on a Squeezebox Radio? :confused:

I tried different settings, but I never got "play next" or "play all songs" with this combination! There is a button "play next" in OrangeSqueeze but nothing happens if I click on it.I just tried selecting a single song from "top tracks" to make sure play next and play all songs work when playing to a Radio and they do. I seem to remember an issue with this in the past bit it seems to be fixed now. Which version of Orange Squeeze are you using? Does play next and play all songs work with local music?

Sent from my SM-G900F using Tapatalk

quadronado
2018-04-15, 00:17
I seem to remember an issue with this in the past bit it seems to be fixed now. Which version of Orange Squeeze are you using?
I'm using version 2.3.3 and I don't see any updates



Does play next and play all songs work with local music?

Yes, everything is fine with local music.

slartibartfast
2018-04-15, 00:44
I'm using version 2.3.3 and I don't see any updates


Yes, everything is fine with local music.Same version as me. I just noticed that in an earlier post you said this sometimes works for you. Strange.

Sent from my SM-G900F using Tapatalk

slartibartfast
2018-04-15, 03:39
I'm using version 2.3.3 and I don't see any updates


Yes, everything is fine with local music.Do you see play next and play all songs when playing from the menu on the Radio itself?

Sent from my SM-G900F using Tapatalk

banditbiker
2018-04-17, 15:38
Hello

Is this the proper place to ask questions about spotty? If not, please let me know.

I have a problem with a playlist. It has 541 songs in it, spotty only shows 485.
Is there a maximum of songs to be in a playlist? Or is there something wrong in my config?
Spotify playlisr URI: spotify:user:115693926:playlist:2NJAnE3nmL6OViPQAm Xt0E

I hope someone can help me.
Looking forward to hear from you.
With kind regards, Geert

NeverSimple
2018-04-17, 16:09
Is there a maximum of songs to be in a playlist?

Yes, there is, see for instance here:

https://forums.slimdevices.com/showthread.php?108561-Announce-Spotty-2-0-0-Spotify-Connect-for-your-Squeezebox&p=908403&viewfull=1#post908403

banditbiker
2018-04-17, 16:25
Hey Thanks,

That completely solves my issue.
No idea if spotify really checks if I develop anything, but I entered a client ID I got from the spotify developer site.
Curious how long this will work.

taupemoi
2018-04-18, 12:38
Hallo Michael,

first off: thanks for this great tool, it's the main reason my Squeezeboxes are still being (heavily) used!

I have a strange problem listing albums or artists (but listing playlists works), either directly on the LMS webinterface (locally on the same computer where the server runs) or on the Squeezebox Touch interface - it simply times out without giving any results.

This has been going on for a while already, but I never had the time to further investigate until now. I've updated everything recently, with no change: LMS 7.9.1 (nightly) r1523349116 running on macOS 10.12.6, Spotty 2.3.1.

Looking in the server log at ~/Library/Logs/Squeezebox/server.log, I can see errors in Slim::Networking::IO::Select::__ANON__ when I click on "Albums":


[18-04-18 15:28:15.6136] Plugins::Spotty::API::_call (1310) Trying to read from cache for browse/featured-playlists?country=CA&limit=50&locale=en_US&timestamp=2018-04-18T15%3A20%3A00
[18-04-18 15:28:15.6144] Plugins::Spotty::API::_call (1313) Returning cached data for browse/featured-playlists?country=CA&limit=50&locale=en_US&timestamp=2018-04-18T15%3A20%3A00
[18-04-18 15:28:15.6170] Plugins::Spotty::API::_call (1310) Trying to read from cache for me/albums?limit=50
[18-04-18 15:28:15.6460] Plugins::Spotty::API::_call (1313) Returning cached data for me/albums?limit=50
[18-04-18 15:28:16.1228] Plugins::Spotty::API::Pipeline::_followOffset (166) There's more data to grab, queue them up: {
50 => { limit => 50, offset => 50 },
100 => { limit => 50, offset => 100 },
150 => { limit => 50, offset => 150 },
}
[18-04-18 15:28:16.1234] Plugins::Spotty::API::_call (1310) Trying to read from cache for me/albums?limit=50&offset=100
[18-04-18 15:28:16.1246] Plugins::Spotty::API::_call (1319) API call: me/albums?limit=50&offset=100
[18-04-18 15:28:16.2488] Plugins::Spotty::API::_call (1310) Trying to read from cache for me/albums?limit=50&offset=150
[18-04-18 15:28:16.2500] Plugins::Spotty::API::_call (1319) API call: me/albums?limit=50&offset=150
[18-04-18 15:28:16.3708] Plugins::Spotty::API::_call (1310) Trying to read from cache for me/albums?limit=50&offset=50
[18-04-18 15:28:16.3722] Plugins::Spotty::API::_call (1319) API call: me/albums?limit=50&offset=50
[18-04-18 15:28:16.9070] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Networking::Async::_async_read: unexpected end of string while parsing JSON string, at character offset 195460 (before "(end of string)") at /Volumes/Data/Users/*****/Library/Caches/Squeezebox/InstalledPlugins/Plugins/Spotty/API.pm line 1335.
; fh=Slim::Networking::Async::Socket::HTTPS=GLOB(0x7 f807e3eb698)
[18-04-18 15:28:16.9320] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Networking::Async::_async_read: unexpected end of string while parsing JSON string, at character offset 219177 (before "(end of string)") at /Volumes/Data/Users/*****/Library/Caches/Squeezebox/InstalledPlugins/Plugins/Spotty/API.pm line 1335.
; fh=Slim::Networking::Async::Socket::HTTPS=GLOB(0x7 f807ec5acc0)
[18-04-18 15:28:17.2220] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Networking::Async::_async_read: unexpected end of string while parsing JSON string, at character offset 207890 (before "(end of string)") at /Volumes/Data/Users/*****/Library/Caches/Squeezebox/InstalledPlugins/Plugins/Spotty/API.pm line 1335.
; fh=Slim::Networking::Async::Socket::HTTPS=GLOB(0x7 f807c06ca58)

The same error messages also show up when trying to list artists. For comparison, these are the log messages when browsing for Playlists (which works as expected):


[18-04-18 15:31:04.6349] Plugins::Spotty::API::_call (1310) Trying to read from cache for browse/featured-playlists?country=CA&limit=50&locale=en_US&timestamp=2018-04-18T15%3A30%3A00
[18-04-18 15:31:04.6354] Plugins::Spotty::API::_call (1319) API call: browse/featured-playlists?country=CA&limit=50&locale=en_US&timestamp=2018-04-18T15%3A30%3A00
[18-04-18 15:31:04.9097] Plugins::Spotty::API::__ANON__ (1364) Caching result for 600 using max-age (https://api.spotify.com/v1/browse/featured-playlists?country=CA&limit=50&locale=en_US&timestamp=2018-04-18T15%3A30%3A00)
[18-04-18 15:31:04.9112] Plugins::Spotty::API::__ANON__ (1366) Data cached (https://api.spotify.com/v1/browse/featured-playlists?country=CA&limit=50&locale=en_US&timestamp=2018-04-18T15%3A30%3A00)
[18-04-18 15:31:04.9145] Plugins::Spotty::API::_call (1310) Trying to read from cache for users/*****/playlists?limit=50
[18-04-18 15:31:04.9148] Plugins::Spotty::API::_call (1319) API call: users/*****/playlists?limit=50
[18-04-18 15:31:05.1364] Plugins::Spotty::API::__ANON__ (1364) Caching result for 60 using max-age (https://api.spotify.com/v1/users/*****/playlists?limit=50)
[18-04-18 15:31:05.1377] Plugins::Spotty::API::__ANON__ (1366) Data cached (https://api.spotify.com/v1/users/*****/playlists?limit=50)

Any ideas of what might go wrong here, or how I could solve it?

Thanks in any case!!

mherger
2018-04-18, 14:04
I have a strange problem listing albums or artists (but listing playlists works), either directly on the LMS webinterface (locally on the same computer where the server runs) or on the Squeezebox Touch interface - it simply times out without giving any results.

Could you please


shut down LMS
delete ~/Library/Caches/Squeezebox/cache.db
restart LMS
set logging for plugin.spotty to DEBUG
try to browse your albums/artists again
upload the _full_ server.log.zip to https://www.dropbox.com/request/T3RctyzGgNg0oFDubq6a

taupemoi
2018-04-18, 14:42
Could you please


shut down LMS
delete ~/Library/Caches/Squeezebox/cache.db
restart LMS
set logging for plugin.spotty to DEBUG
try to browse your albums/artists again
upload the _full_ server.log.zip to https://www.dropbox.com/request/T3RctyzGgNg0oFDubq6a


done, and everything seems to work fine now, thanks! (I've uploaded the server.log anyways in case you want to have a look.)

Guess I had a lot of old stuff in the cache....

Thanks for the ultra-quick reply & help!

mherger
2018-04-18, 22:37
> done, and everything seems to work fine now, thanks! (I've uploaded the
> server.log anyways in case you want to have a look.)

Excellent! From the first log it looked as if some invalid data had been
cached - causing any subsequent call to fail due to that invalid data
being pulled from the cache again. I might have to review the caching
strategy.

--

Michael

IvRak
2018-04-19, 10:40
I have changed the logging setting, and will try to notice next time this happens if theres anything in the log.

I had it playing many hours yesterday without problems, but I'll still keep an eye on it.

Today I finally saw the error again.

There aint much in the log, but the data below is from the time where playback stopped. I'll leave it up to you to see if you can find a cause.

Its the only lines that are dated as being from today. Playback stopped at approx 19:32, and there doen't seem to be any data from that time.

[18-04-19 18:30:32.9157] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Networking::Async::_async_read: Can't use an undefined value as an ARRAY reference at /usr/share/perl5/Slim/Buttons/XMLBrowser.pm line 571.
; fh=Slim::Networking::Async::Socket::HTTPS=GLOB(0xb d18fd8)
[18-04-19 19:09:20.2777] Slim::Display::Lib::Fonts::__ANON__ (85) Warning: Unable to load TrueType font support: Can't locate loadable object for module Font::FreeType in @INC (@INC contains: /var/lib/squeezeboxserver/cache/InstalledPlugins /var/lib/squeezeboxserver/cache/InstalledPlugins /usr/share/squeezeboxserver/CPAN/arch/5.18/x86_64-linux-thread-multi /usr/share/squeezeboxserver/CPAN/arch/5.18/x86_64-linux-thread-multi/auto /usr/share/squeezeboxserver/CPAN/arch/5.18.2/x86_64-linux-gnu-thread-multi /usr/share/squeezeboxserver/CPAN/arch/5.18.2/x86_64-linux-gnu-thread-multi/auto /usr/share/squeezeboxserver/CPAN/arch/5.18/x86_64-linux-gnu-thread-multi /usr/share/squeezeboxserver/CPAN/arch/5.18/x86_64-linux-gnu-thread-multi/auto /usr/share/squeezeboxserver/CPAN/arch/x86_64-linux-gnu-thread-multi /usr/share/squeezeboxserver/CPAN/arch/5.18 /usr/share/squeezeboxserver/lib /usr/share/squeezeboxserver/CPAN /usr/share/squeezeboxserver /usr/share/squeezeboxserver/CPAN /usr/share/squeezeboxserver /usr/sbin /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at /usr/share/perl5/Slim/Display/Lib/Fonts.pm line 84.
Compilation failed in require at /usr/share/perl5/Slim/Display/Lib/Fonts.pm line 84.

mherger
2018-04-20, 01:33
> There aint much in the log, but the data below is from the time where
> playback stopped. I'll leave it up to you to see if you can find a
> cause.
>
> [18-04-19 18:30:32.9157] Slim::Networking::IO::Select::__ANON__ (131)
> Error: Select task failed calling Slim::Networking::Async::_async_read:
> Can't use an undefined value as an ARRAY reference at
> /usr/share/perl5/Slim/Buttons/XMLBrowser.pm line 571.

That's unlikely to be related to the streaming. It would be called when
browsing some content (Slim::Buttons::* is the menu system for
Boom/Classic/Transporter).

> [18-04-19 19:09:20.2777] Slim::Display::Lib::Fonts::__ANON__ (85)
> Warning: Unable to load TrueType font support: Can't locate loadable
> object for module Font::FreeType in @INC (@INC contains:

And this would happen if you tried to display some non-latin content on
one of those players, and your LMS did not find support to render
TrueType fonts for those displays. Totally unrelated to Spotty.


--

Michael

IvRak
2018-04-20, 21:20
I sort off figured that the logs wouldn't be of much help, but wasn't certain.

There is some sort of disfunctionality, as playback does stop, seemingly without reason.

The previous tune plays to the end, and then nothing happens. Have to jump to the next track via web interface / remote / other means, for it to continue playing.
The player shows playback is ongoing (doesn't go to sleep), as does the web interface.

But whatever is happening, its not being logged, and that makes it hard to troubleshoot.

Good thing that error shows itself as seldom as it does :)

juniper
2018-04-22, 13:33
Just installed today hit wall trying to enter credentials. Spotty Helper doesnt load because cant find Microsoft Runtime C++ 32 bit. I am using a 64 bit Windows 10 PC. I have alreday loads of runtime versions installed but just in case i loaded the latest 32 bit from Microsoft. I restarted the PC just in case. But continue to have same problem. I must be doing something wrong but what.

Advice and guidance gratefully accepted

slartibartfast
2018-04-22, 15:02
Just installed today hit wall trying to enter credentials. Spotty Helper doesnt load because cant find Microsoft Runtime C++ 32 bit. I am using a 64 bit Windows 10 PC. I have alreday loads of runtime versions installed but just in case i loaded the latest 32 bit from Microsoft. I restarted the PC just in case. But continue to have same problem. I must be doing something wrong but what.

Advice and guidance gratefully acceptedWhich version of the Microsoft Runtime have you installed? I think you need the 2015 32 bit version.

Sent from my SM-G900F using Tapatalk

juniper
2018-04-23, 03:54
Which version of the Microsoft Runtime have you installed? I think you need the 2015 32 bit version.

Sent from my SM-G900F using Tapatalk

Thanks for advice following which :-

I reinstalled Microsoft Visual C++ 2015 Redistributable x86 - 14.0.23026. It was a repair - thus I already had it installed. Setup successful I ran Troubleshoot Compatibilty . It gave me compatibilty with Win 7 (I have latest 10). I ran LMS as administrator .. same problem Helper wont run and repeat link to install MS Runtime C++.

Is there something else which could be causing this problem

Man in a van
2018-04-23, 04:14
Are you using LMS v7.9.1?


http://downloads.slimdevices.com/LogitechMediaServer_v7.9.1/

juniper
2018-04-23, 04:38
Are you using LMS v7.9.1?


http://downloads.slimdevices.com/LogitechMediaServer_v7.9.1/

Hi am using 7.9.2 -1524136933

mherger
2018-04-23, 05:29
> I reinstalled Microsoft Visual C++ 2015 Redistributable x86 -
> 14.0.23026. It was a repair - thus I already had it installed. Setup
> successful I ran Troubleshoot Compatibilty . It gave me compatibilty
> with Win 7 (I have latest 10). I ran LMS as administrator .. same
> problem Helper wont run and repeat link to install MS Runtime C++.

Can you run the "spotty.exe -n test -x" from the command line and see
what that gives?

--

Michael

Man in a van
2018-04-23, 05:37
Well I have just updated to the same version as yourself on a Windows 10 Pro laptop.

I have managed to authorise Spotty and it is working.

So I would suggest that you completely uninstall LMS using something like "Revo Uninstaller" and hunt down and remove all traces of anything Squeezebox Server related that remains.

It will mean loosing your config files and setting LMS up again, but you can start with "Spotty".

But first, why not try clearing the browser cache and resetting the dns, "just in case".

thats all I can think of at the moment (just thought, which anti-virus are you using? )


Ronnie

mherger
2018-04-23, 06:31
> So I would suggest that you completely uninstall LMS using something
> like "Revo Uninstaller" and hunt down and remove all traces of anything
> Squeezebox Server related that remains.

Uninstalling LMS almost never solves a problem. Mostly it would do so as
a side-effect. But wiping the caches (or prefs - keep a backup!) would
make the difference.

In this particular case I doubt any of this was related. If the helper
doesn't start on Windows, then it's either a broken runtime library
installation, or a firewall, or some Windows update. But that helper
really has nothing to do with LMS.

--

Michael

thierryb180381
2018-04-23, 10:08
Hello,

I'm using a SqueezeBox server with plugin Spotty installed.

To remote play a title from spotify, for the moment, I have to add it to my favorite list and call it with http with index=xxx, xxx represents the position of my track in favorite list.

Is it possible to call directly my track with http, using spotify://track:xxx information ?

Could you give me an example if it's possible?

Thanks.

juniper
2018-04-23, 10:51
> I reinstalled Microsoft Visual C++ 2015 Redistributable x86 -
> 14.0.23026. It was a repair - thus I already had it installed. Setup
> successful I ran Troubleshoot Compatibilty . It gave me compatibilty
> with Win 7 (I have latest 10). I ran LMS as administrator .. same
> problem Helper wont run and repeat link to install MS Runtime C++.

Can you run the "spotty.exe -n test -x" from the command line and see
what that gives?

--

Michael

Michael. Thanks I am now travelling on new ground. I have not used the Command Line before. What I have done (which may be complete rubbish) is activated Telnet on Windows, Telnet Localhost 9090. I entered your suggestion and received answer %08%1B%5BA%1B%5BA%1B%5BA%1B%5BA%7Fspotty.exe -n test-x. This made absolutely no sense so I ran it again and this time received spotty.exe -n test %08-%08x. Can you guide me through my ignorance please

NeverSimple
2018-04-23, 11:23
Michael. Thanks I am now travelling on new ground. I have not used the Command Line before.

Press the start button > type 'cmd' > enter. In the command window that opens, type the command that Michael gave you.
On Win 10, alternatively, right-click the startbutton and choose 'command prompt'

mherger
2018-04-23, 11:28
> Is it possible to call directly my track with http, using
> spotify://track:xxx information ?

Just use the URL shown when you click a track in the web UI. Or the one
stored in the favorites. You can find track IDs in Spotify's apps using
the "Share" feature, too.

--

Michael

juniper
2018-04-23, 14:13
Press the start button > type 'cmd' > enter. In the command window that opens, type the command that Michael gave you.
On Win 10, alternatively, right-click the startbutton and choose 'command prompt'

Yep thanks sorry yes of course am ok with windows 10 cmd I was confused got it into my head that Michael was referring to command line within LMS. Any way I followed the i9nstructions as suggested with 10 CMD as an adninistrator. LMS loaded up. System message was "spotty.exe not recognised as an internal or external command operable program or batch file. Have I missed something?

slartibartfast
2018-04-23, 14:27
Yep thanks sorry yes of course am ok with windows 10 cmd I was confused got it into my head that Michael was referring to command line within LMS. Any way I followed the i9nstructions as suggested with 10 CMD as an adninistrator. LMS loaded up. System message was "spotty.exe not recognised as an internal or external command operable program or batch file. Have I missed something?You need to run the command from the directory containing spotty.exe.

Sent from my SM-G900F using Tapatalk

juniper
2018-04-23, 15:43
You need to run the command from the directory containing spotty.exe.

Sent from my SM-G900F using Tapatalk

As I cant get Spotty to run I dont know where spotty.exe should be stored. THe plugins folder in /squeezebox/server is empty. if that means antthing. If I can be pointed at where it should be that will help a lot and save me having to search folder b folder

slartibartfast
2018-04-23, 15:59
As I cant get Spotty to run I dont know where spotty.exe should be stored. THe plugins folder in /squeezebox/server is empty. if that means antthing. If I can be pointed at where it should be that will help a lot and save me having to search folder b folderCould be

C:\ProgramData\Squeezebox\Cache\InstalledPlugins\P lugins\Spotty\Bin\MSWin32-x86-multi-thread\spotty.exe

Sent from my SM-G900F using Tapatalk

Man in a van
2018-04-24, 01:33
Could be

C:\ProgramData\Squeezebox\Cache\InstalledPlugins\P lugins\Spotty\Bin\MSWin32-x86-multi-thread\spotty.exe

Sent from my SM-G900F using Tapatalk


This is how I got to mine (it might not be the correct way but it seemed to work:rolleyes:)

Windows 10 laptop without a backslash key :mad:

24949

Hope this helps

ronnie

juniper
2018-04-24, 03:20
This is how I got to mine (it might not be the correct way but it seemed to work:rolleyes:)

Windows 10 laptop without a backslash key :mad:

24949

Hope this helps

ronnie

Many thanks for your help BTW I am determined to crack this. I followed your instru8ctiona but with no luck. Note that LMS up and running. I attach my CMD result

Man in a van
2018-04-24, 04:06
I'm afraid that mherger will have to advise on your next step, but can you navigate to the folder and verify if spotty.exe is actually installed?


24952

i have an appointment with a chicken and mushroom pie:p:)

ronnnie

juniper
2018-04-24, 04:41
I'm afraid that mherger will have to advise on your next step, but can you navigate to the folder and verify if spotty.exe is actually installed?


24952

i have an appointment with a chicken and mushroom pie:p:)

ronnnie

Hi Ronnie

Thanks again. I drilled down and the MSWin32 -x86-multi-thread folder is there within spotty within bin but not Spotty.exe!

So what is my bext best step?

Oh enjoy your Chicken and Ham Pi,.We will make do with remains of macaroni cheese I made yesterday - pretty good even though I say it myself.

Cheers

mherger
2018-04-24, 06:08
> Thanks again. I drilled down and the MSWin32 -x86-multi-thread folder is
> there within spotty within bin but not Spotty.exe!

Then most likely your antivirus or something caught it for whatever
reason. Please check it's quarantine folder or similar.

> Version: 7.3 - 24282 Windows XP - EN - cp1252
> Perl Version: 5.8.8 - MSWin32-x86-multi-thread
> MySQL Version: 5.0.22-community-nt

That's no longer valid, ist?...

--

Michael

juniper
2018-04-24, 08:38
> Thanks again. I drilled down and the MSWin32 -x86-multi-thread folder is
> there within spotty within bin but not Spotty.exe!

Then most likely your antivirus or something caught it for whatever
reason. Please check it's quarantine folder or similar.

> Version: 7.3 - 24282 Windows XP - EN - cp1252
> Perl Version: 5.8.8 - MSWin32-x86-multi-thread
> MySQL Version: 5.0.22-community-nt

That's no longer valid, ist?...

--

Michael

Thanks Michael you are right am using Sophos and it had blocked it. Will now sort that out. You are correct with my "credentials" Established these when I joined the forum 11 years ago. Will now update once I find out how. Shame its not automatic

tamanaco
2018-04-24, 09:59
Hi Michael, how are you? I had not used Spotify or updated my Windows LMS server to use with my Transporter for a while. I updated to LMS 7.9.2 and when I tried to use Spotify, I noticed that the icon was gone. I noticed that there was this "new" Spotify plugin and decided to give it a try. Before doing so, I removed an old version of a Spotify helper version 1.11.1 I believe, because I noticed that this new plugin had the authentication function built-in. I followed the instructions to add the Spotify device and made sure that the plugin was enabled under the player settings. Well, after a few iterations and reboots... I can't get it to work. The relevant error messages in the server log are below. Any suggestions?

error getting token MercuryError
[18-04-24 12:36:04.7147] Plugins::Spotty::API::getToken (145) Failed to get Spotify access token
[18-04-24 12:37:10.6500] Plugins::Spotty::API::getToken (128) Failed to get Spotify access token: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "error getting token ...") at C:\ProgramData\Squeezebox\Cache\InstalledPlugins/Plugins/Spotty/API.pm line 125.

error getting token MercuryError
[18-04-24 12:37:10.6506] Plugins::Spotty::API::getToken (145) Failed to get Spotify access token
[18-04-24 12:42:18.9572] Plugins::Spotty::API::getToken (128) Failed to get Spotify access token: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "error getting token ...") at C:\ProgramData\Squeezebox\Cache\InstalledPlugins/Plugins/Spotty/API.pm line 125.

mherger
2018-04-24, 12:27
> You are correct with my "credentials" Established
> these when I joined the forum 11 years ago. Will now update once I find
> out how. Shame its not automatic

You could write a plugin to automate this :-D

--

Michael

mherger
2018-04-24, 12:28
> error getting token MercuryError

What would be before that line? I think this is a communication problem
between your system and Spotify.

--

Michael

tamanaco
2018-04-24, 13:18
>
What would be before that line? I think this is a communication problem
between your system and Spotify.

--

Michael

Thanks for the quick response... OK, I stopped the LMS server, cleared the server log, deleted the cache.db then restarted the server. When I go to the Android and Windows Spotify clients I can see the "Transporter" under "Connect to this device" - Below is the full content of the server log after I clicked on the Playlists and Transfer Playback in the Spotty plugin page.

[18-04-24 16:04:59.1975] main::init (387) Starting Logitech Media Server (v7.9.2, 1524136933, Thu Apr 19 13:29:19 WEDT 2018) perl 5.014001 - MSWin32-x86-multi-thread
[18-04-24 16:05:07.7576] Plugins::CustomScan::Scanner::executeSQLFile (522) Couldn't open: C:\ProgramData\Squeezebox\Cache\InstalledPlugins\P lugins\CustomScan\SQL\SQLite\dbupgrade_valuesort.s ql : No such file or directory
[18-04-24 16:05:07.7587] Plugins::CustomScan::Scanner::executeSQLFile (522) Couldn't open: C:\ProgramData\Squeezebox\Cache\InstalledPlugins\P lugins\CustomScan\SQL\SQLite\dbupgrade_extravalue. sql : No such file or directory
[18-04-24 16:05:07.7598] Plugins::CustomScan::Scanner::executeSQLFile (522) Couldn't open: C:\ProgramData\Squeezebox\Cache\InstalledPlugins\P lugins\CustomScan\SQL\SQLite\dbupgrade_valuetype.s ql : No such file or directory
[18-04-24 16:05:08.0693] Plugins::NPRRadio::Metadata::init (21) Register NPR meta provider, default icon=
[18-04-24 16:05:16.2103] Slim::Plugin::MusicMagic::Common::__ANON__ (85) Failed fetching filters from MusicIP
[18-04-24 16:05:19.0380] Plugins::IckStreamPlugin::PlayerManager::_performP layerInitialization (336) Initializing Transporter (266CEEB5-E4CB-48B6-BC92-F27F467FA226)
[18-04-24 16:05:19.1469] Plugins::IckStreamPlugin::PlayerManager::_performP layerInitialization (336) Initializing LuisSqBv3 (0AF16804-1881-4636-80ED-681D4E730CC0)
[18-04-24 16:06:38.3395] Plugins::Spotty::API::getToken (128) Failed to get Spotify access token: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "error getting token ...") at C:\ProgramData\Squeezebox\Cache\InstalledPlugins/Plugins/Spotty/API.pm line 125.

error getting token MercuryError
[18-04-24 16:06:38.3401] Plugins::Spotty::API::getToken (145) Failed to get Spotify access token
[18-04-24 16:07:40.6206] Plugins::Spotty::API::getToken (128) Failed to get Spotify access token: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "error getting token ...") at C:\ProgramData\Squeezebox\Cache\InstalledPlugins/Plugins/Spotty/API.pm line 125.

error getting token MercuryError
[18-04-24 16:07:40.6212] Plugins::Spotty::API::getToken (145) Failed to get Spotify access token

mherger
2018-04-24, 22:05
> [18-04-24 16:06:38.3395] Plugins::Spotty::API::getToken (128) Failed to
> get Spotify access token: malformed JSON string, neither array, object,
> number, string or atom, at character offset 0 (before "error getting
> token ...") at
> C:\ProgramData\Squeezebox\Cache\InstalledPlugins/Plugins/Spotty/API.pm
> line 125.
>
> error getting token MercuryError

Would you have some firewall or other software blocking access to the
internet for spotty.exe?

--

Michael

tamanaco
2018-04-25, 08:19
Hi Michael... None that I can think about. Spotty used to work when I was using an earlier version of Spotty on 7.9.1 that worked in conjunction with a helper app that I believed was developed by Triode and you. The Windows Firewall is off on the LMS server and access to SN and other services like Pandora and Slacker are working fine. I don't believe it's being blocked as I can see the Transporter listed on my Spotify Windows and Android clients as a player. I can select the Transporter as a listening device from any of my Spotify players, but I get no sound from the Transporter or notice any changes in the Spotty interface. I'm currently using Spotty 2.3.1 is there a later version? What version of Spotty.exe should the server be running? The one on my Windows computer has a size of 3.413KB

mherger
2018-04-25, 11:53
If you enabled debug logging for plugin.spotty you'd see what exact
parameters it was using to run those auth calls etc. Please do so and
see where you'd get that Mercury error. Then we can try to run that
command from the command line.


--

Michael

tamanaco
2018-04-26, 09:15
If you enabled debug logging for plugin.spotty you'd see what exact
parameters it was using to run those auth calls etc. Please do so and
see where you'd get that Mercury error. Then we can try to run that
command from the command line.

Hello again... Below, I'm copying the resulting server log after I enabled debug logging for Spotty. I updated to the latest 7.9.2 build, cleared the log, rebooted the server and clicked on the "Playlist" and "Transfer Playback" links on the Spotty page. Let me know if you find anything that I can change/try later. I have to head out to work and couldn't see anything that I could act upon. I added XX to the last three octets of the Mac address as I believe this is also used as the S/N for Squeezeboxes

[18-04-26 11:57:35.7699] main::init (387) Starting Logitech Media Server (v7.9.2, 1524593278, Wed Apr 25 07:38:10 WEDT 2018) perl 5.014001 - MSWin32-x86-multi-thread
[18-04-26 11:57:43.0465] Plugins::CustomScan::Scanner::executeSQLFile (522) Couldn't open: C:\ProgramData\Squeezebox\Cache\InstalledPlugins\P lugins\CustomScan\SQL\SQLite\dbupgrade_valuesort.s ql : No such file or directory
[18-04-26 11:57:43.0476] Plugins::CustomScan::Scanner::executeSQLFile (522) Couldn't open: C:\ProgramData\Squeezebox\Cache\InstalledPlugins\P lugins\CustomScan\SQL\SQLite\dbupgrade_extravalue. sql : No such file or directory
[18-04-26 11:57:43.0490] Plugins::CustomScan::Scanner::executeSQLFile (522) Couldn't open: C:\ProgramData\Squeezebox\Cache\InstalledPlugins\P lugins\CustomScan\SQL\SQLite\dbupgrade_valuetype.s ql : No such file or directory
[18-04-26 11:57:43.2927] Plugins::NPRRadio::Metadata::init (21) Register NPR meta provider, default icon=
[18-04-26 11:57:43.3636] Plugins::Spotty::Plugin::purgeAudioCache (464) Starting audio cache cleanup...
[18-04-26 11:57:43.3666] Plugins::Spotty::Plugin::purgeAudioCache (487) Max. cache size is: 0MB, current cache size is 0MB
[18-04-26 11:57:43.3677] Plugins::Spotty::Plugin::purgeAudioCache (518) Starting temporary file cleanup... (C:\Users\Luis\AppData\Local\Temp)
[18-04-26 11:57:43.3728] Plugins::Spotty::Plugin::purgeAudioCache (538) Audio cache cleanup done!
[18-04-26 11:57:48.6384] Plugins::Spotty::Plugin::findBin (775) Trying helper applicaton: C:\PROGRA~3\SQUEEZ~1\Cache\INSTAL~1\Plugins\Spotty \Bin\MSWIN3~1\spotty.exe
[18-04-26 11:57:48.7341] Plugins::Spotty::Plugin::helperCheck (701) Found helper capabilities table: do {
my $a = {
debug => bless(do{\(my $o = 0)}, "JSON::XS::Boolean"),
"lms-auth" => bless(do{\(my $o = 1)}, "JSON::XS::Boolean"),
version => "0.11.0",
"volume-normalisation" => 'fix',
};
$a->{"volume-normalisation"} = \${$a->{"lms-auth"}};
$a;
}
[18-04-26 11:57:48.7345] Plugins::Spotty::Plugin::findBin (778) Found helper applicaton: C:\PROGRA~3\SQUEEZ~1\Cache\INSTAL~1\Plugins\Spotty \Bin\MSWIN3~1\spotty.exe
[18-04-26 11:57:50.2980] Slim::Plugin::MusicMagic::Common::__ANON__ (85) Failed fetching filters from MusicIP
[18-04-26 11:57:52.4007] Plugins::Spotty::Connect::DaemonManager::initHelpe rs (70) Initializing Spotty Connect helper daemons...
[18-04-26 11:57:52.4012] Plugins::Spotty::Connect::DaemonManager::startHelp er (96) Need to create Connect daemon for 00:04:20:XX:XX:XX
[18-04-26 11:57:52.4079] Plugins::Spotty::Connect::Daemon::start (66) Starting Spotty Connect daemon:
C:\PROGRA~3\SQUEEZ~1\Cache\INSTAL~1\Plugins\Spotty \Bin\MSWIN3~1\spotty.exe -c C:\ProgramData\Squeezebox\Cache\spotty\000420XXXXX X -n Transporter --disable-audio-cache --bitrate 96 --player-mac 00:04:20:XX:XX:XX --lms 192.168.1.100:9000
[18-04-26 11:58:52.0036] Plugins::Spotty::Connect::DaemonManager::initHelpe rs (70) Initializing Spotty Connect helper daemons...
[18-04-26 11:59:52.0019] Plugins::Spotty::Connect::DaemonManager::initHelpe rs (70) Initializing Spotty Connect helper daemons...
[18-04-26 12:00:51.9540] Plugins::Spotty::API::getToken (101) Didn't find cached token. Need to refresh.
[18-04-26 12:00:51.9553] Plugins::Spotty::API::getToken (121) Trying to get access token: C:\PROGRA~3\SQUEEZ~1\Cache\INSTAL~1\Plugins\Spotty \Bin\MSWIN3~1\spotty.exe -n Squeezebox -c "C:\ProgramData\Squeezebox\Cache\spotty\cd148266" -i Transporter --get-token --scope "user-read-private,user-follow-modify,user-follow-read,user-library-read,user-library-modify,user-top-read,user-read-recently-played,user-read-playback-state,user-modify-playback-state,playlist-read-private,playlist-read-collaborative,playlist-modify-public,playlist-modify-private"
[18-04-26 12:00:52.6891] Plugins::Spotty::API::getToken (124) Got response: error getting token MercuryError
[18-04-26 12:00:52.6895] Plugins::Spotty::API::getToken (128) Failed to get Spotify access token: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "error getting token ...") at C:\ProgramData\Squeezebox\Cache\InstalledPlugins/Plugins/Spotty/API.pm line 125.

error getting token MercuryError
[18-04-26 12:00:52.6900] Plugins::Spotty::API::getToken (145) Failed to get Spotify access token
[18-04-26 12:00:52.6916] Plugins::Spotty::API::getToken (96) Found cached token: -1
[18-04-26 12:00:52.7439] Plugins::Spotty::Connect::DaemonManager::initHelpe rs (70) Initializing Spotty Connect helper daemons...
[18-04-26 12:00:56.4027] Plugins::Spotty::API::getToken (96) Found cached token: -1
[18-04-26 12:00:56.4047] Plugins::Spotty::API::getToken (96) Found cached token: -1
[18-04-26 12:01:02.8171] Plugins::Spotty::API::getToken (96) Found cached token: -1
[18-04-26 12:01:02.8183] Plugins::Spotty::API::getToken (96) Found cached token: -1

mherger
2018-04-26, 14:06
tamanaco - you do have a Premium subscription, don't you?
--

Michael

tamanaco
2018-04-26, 17:01
tamanaco - you do have a Premium subscription, don't you?l

Yes, I have a Premium Subscription... Everything was working fine until I switched to LMS 7.9.2 and updated Spotty to 2.3.0.

mherger
2018-04-27, 04:25
Oh... did you manually enter a Spotify Client ID? Please don't. That's
wrong there. Remove it and try again.
--

Michael

tamanaco
2018-04-27, 05:38
Oh... did you manually enter a Spotify Client ID? Please don't. That's
wrong there. Remove it and try again.

Thanks Michael... that was it! I didn't hover over the "i" next to the option to read the message within. I figured that field was the name that was given to it as a "Spotify Device". Since the name listed under the Spotify clients matched that name... I figured I had it right. Live and learn... Thanks again.

Hydro
2018-04-28, 00:09
Hi

Sorry if there are already answers to these questions :

- with family account, is it possible to switch user ?

- I guess the music respond to cli command ? I use cli to change/launch music from a button on my bathroom. Can we launch special playlist through cli ?

Thank for your hard work ;)

Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk

tass
2018-04-28, 13:38
Thank you Michael for your work on this plugin!

I've been using it for a while and it's great.

Pauldune
2018-04-29, 05:44
Hi,

Are there known cases of someone using spotty on LMS on MS Windows Server 2016? I cant seem to make it run. First VS errors and after I fixed that, "api-ms-win-crt" (C universal runtime?) errors. It seems that Spotty needs a 32 bits version of the Universal C runtime for windows; which doesnt exist for server 2016 as this is 64bits only.

Any help would be welcome...

slartibartfast
2018-04-29, 06:52
Hi,

Are there known cases of someone using spotty on LMS on MS Windows Server 2016? I cant seem to make it run. First VS errors and after I fixed that, "api-ms-win-crt" (C universal runtime?) errors. It seems that Spotty needs a 32 bits version of the Universal C runtime for windows; which doesnt exist for server 2016 as this is 64bits only.

Any help would be welcome...Are you sure you can't install the 32 bit runtime on Windows Server 2016?

Sent from my SM-G900F using Tapatalk

Pauldune
2018-04-29, 14:23
Are you sure you can't install the 32 bit runtime on Windows Server 2016?

Sent from my SM-G900F using Tapatalk

I reinstalled the 64 bit version; it seems to work now. Thanks!

TheLastMan
2018-05-01, 10:52
Hi

Sorry if there are already answers to these questions :

- with family account, is it possible to switch user ?

- I guess the music respond to cli command ? I use cli to change/launch music from a button on my bathroom. Can we launch special playlist through cli ?

Thank for your hard work ;)

Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk

Re family account, in the Spotty settings you can add as many accounts as you want - you just add the user name and password for each one. When you open up Spotty it will show a list of the libraries, one for each account. Just choose the one you want.

I will let somebody else answer the cli question!

Hydro
2018-05-01, 10:58
Ok thank for the answer :)

Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk

mherger
2018-05-02, 03:49
> - with family account, is it possible to switch user ?

Yes

> - I guess the music respond to cli command ? I use cli to change/launch
> music from a button on my bathroom. Can we launch special playlist
> through cli ?

Yes, you should be able to play a Spotify album/playlist URI, like eg.
spotify:album:2Zffy24RJ8rvM23z3m4pIX

--

Michael

MSH1338
2018-05-02, 12:02
Hello Michael,

since this afternoon Spotty does not seem to proceed with the next song. Don't know what happened, but I guess something has changed with the way the next stream is advertised from spotify.

Hope you can create a fix? Would be great :)

Regards, Menno.

Hydro
2018-05-02, 12:06
> - with family account, is it possible to switch user ?

Yes

> - I guess the music respond to cli command ? I use cli to change/launch
> music from a button on my bathroom. Can we launch special playlist
> through cli ?

Yes, you should be able to play a Spotify album/playlist URI, like eg.
spotify:album:2Zffy24RJ8rvM23z3m4pIX

--

MichaelAnd for example launch a playlist for a specific account ?

Like if I press button 1 launch playlist "home" on account1 and if I press button 2 launch playlist "home" on account2 ?
Hello Michael,

since this afternoon Spotty does not seem to proceed with the next song. Don't know what happened, but I guess something has changed with the way the next stream is advertised from spotify.

Hope you can create a fix? Would be great :)

Regards, Menno.Same problem here.

Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk

slartibartfast
2018-05-02, 12:36
Same here.
Hello Michael,

since this afternoon Spotty does not seem to proceed with the next song. Don't know what happened, but I guess something has changed with the way the next stream is advertised from spotify.

Hope you can create a fix? Would be great :)

Regards, Menno.

Sent from my SM-G900F using Tapatalk

BillatLakeGeorge
2018-05-02, 13:08
Hello Michael,

since this afternoon Spotty does not seem to proceed with the next song. Don't know what happened, but I guess something has changed with the way the next stream is advertised from spotify.

Hope you can create a fix? Would be great :)

Regards, Menno.


same problem I have synology DS 414j with LMS 7.9.1-166 and spotty v2.3.1

usc95
2018-05-02, 15:55
So I also just had a problem with Spotty when trying to listen. I was listening to an internet radio stream and decided to switch over to Spotty to listen to the new Lord Huron album. Spotty gave me an error message advising my credentials were missing and I needed to go to settings in LMS to add them. This was very strange since I have been using Spotty a long time without issue. I use picoreplayer for my LMS so I tried to launch the LMS web control and LMS would not open no matter what I tried. I tried restarting LMS from picoreplayer but still could not get it to launch. I then rebooted the Rpi by unplugging the power supply and I went to the picoreplayer page to open LMS again and finally the web control opened. I went into Spotty settings and it showed I had to reauthorize my picoreplayer via the Spotify phone app again. I did this and finally Spotty opened and my credentials were still in place from before. I have not had any issue with playback ending after just one song like a number of users have but I did lose all access until I reauthorized via the phone app. Very strange behavior but I am glad I got it working again. Perhaps others need to check the Spotty settings to see if re-authorization is needed? For what it's worth, I do not use the Spotify Connect function just the Spotty app controls within LMS and Ipeng.

mherger
2018-05-02, 21:10
> since this afternoon Spotty does not seem to proceed with the next song.
> Don't know what happened, but I guess something has changed with the way
> the next stream is advertised from spotify.

We seem to be hitting an undocumented change in their (still beta)
player API. See https://github.com/spotify/web-api/issues/859. I'll try
to get that workaround out asap.


--

Michael

mherger
2018-05-02, 21:12
> Like if I press button 1 launch playlist "home" on account1 and if I
> press button 2 launch playlist "home" on account2 ?MSH1338 wrote:

No, you won't have that level of control. You can't switch account using
a preset button. But user 1 could share his playlist with user 2, then
both could use the same buttons.

--

Michael

mherger
2018-05-02, 21:37
> We seem to be hitting an undocumented change in their (still beta)
> player API. See https://github.com/spotify/web-api/issues/859. I'll try
> to get that workaround out asap.

v2.3.2 should address this issue.

--

Michael

MSH1338
2018-05-02, 22:43
v2.3.2 should address this issue.

--

Michael

Yes, it works again :D Thank you, Michael.

mherger
2018-05-02, 23:35
> Yes, it works again :D Thank you, Michael.

Cool. Thanks for the confirmation.

--

Michael

Hydro
2018-05-03, 01:11
> Like if I press button 1 launch playlist "home" on account1 and if I
> press button 2 launch playlist "home" on account2 ?MSH1338 wrote:

No, you won't have that level of control. You can't switch account using
a preset button. But user 1 could share his playlist with user 2, then
both could use the same buttons.

--

MichaelOk ok I understand but sorry for my question , I try to understand before paying.

We must use url to an artist / album... to launch it with cli. Is it possible to launch custom playlist too with url ?

In that way, if I add 2 account, I can use 2 url to launch playlists from these accounts no ?

And yes sharing playlist is an option but I don't want to listen some music from my wife and vice versa.

Edit : I guess I maybe just understand where you wanted to go with sharing playlist. If I share playlistA with account2, I can launch playlistA from this account ?

mherger
2018-05-03, 01:47
> We must use url to an artist / album... to launch it with cli. Is it
> possible to launch custom playlist too with url ?

What do you consider a "custom playlist"? Every playlist in Spotify
comes with its own URI, whether it's one of theirs, or one you created.
As long as User A has access to User B's playlists (he can share it with
him or the world), User A will be able to play that playlist using its
unique URI.

> In that way, if I add 2 account, I can use 2 url to launch playlists
> from these accounts no ?

Yes.

> And yes sharing playlist is an option but I don't want to listen some
> music from my wife and vice versa.

When you share a playlist, then you only share that playlist, not all of
your music profile. And if you don't like her playlist, then don't play
it :-).

--

Michael

Hydro
2018-05-03, 05:31
Ok so if I finally understand, I add these 2 accounts then I can play links from both of these accounts.

Currently, I'm on premium free trial. On my account I can see my squeezebox as Spotify connect.

With family account, all accounts see squeezebox on connect ?

I had rode that Spotify connect + family account don't work well on standard players.

Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk

mherger
2018-05-03, 05:43
> Currently, I'm on premium free trial. On my account I can see my
> squeezebox as Spotify connect.
>
> With family account, all accounts see squeezebox on connect ?

It's all a bit complicated, as it depends on your system. Best case
anyone in your LAN would see it, no matter what account. But sometimes
that local discovery fails. In that case only the user who used the
device actively last would see it.

In SB mode you can select which user should be active on the device.

> I had rode that Spotify connect + family account don't work well on
> standard players.

Whatever a standard player is...

What are you running your LMS on?

--

Michael

Hydro
2018-05-03, 07:10
By standard players I mean HiFi player with Spotify connect directly build in.

I use max2play on rpi3 to have LMS. I have suqeezelittle on the same rpi3 to connect my player with Jack and I've got another player connect through airplay.

Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk

castalla
2018-05-03, 08:20
Any possibility of adding Podcasts as a category on the Spotify LMS menu ?

mherger
2018-05-03, 08:54
> Any possibility of adding Podcasts as a category on the Spotify LMS menu

Unfortunately no, neither does the API support this, nor has the
librespot team figured out how to play them using Connect.

--

Michael

castalla
2018-05-03, 09:32
> Any possibility of adding Podcasts as a category on the Spotify LMS menu

Unfortunately no, neither does the API support this, nor has the
librespot team figured out how to play them using Connect.

--

Michael

Thanks for the info.

juniper
2018-05-03, 15:33
> You are correct with my "credentials" Established
> these when I joined the forum 11 years ago. Will now update once I find
> out how. Shame its not automatic

You could write a plugin to automate this :-D

--

Michael

I will trz to learn the skills. In the meantime I have been enjoying Spotty very much. Many thanks for your excellent work.

Hydro
2018-05-03, 20:55
Sorry to bother you but I don't find answer to my question.

What is the cli command to play playlist and where to find the uri for a playlist ?

Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk

mherger
2018-05-03, 21:47
> What is the cli command to play playlist

00:04:20:ab:cd:ef playlist play spotify:album:2Zffy24RJ8rvM23z3m4pIX

You'll obviously have to replace the MAC address with your player's. See http://htmlpreview.github.io/?https://raw.githubusercontent.com/Logitech/slimserver/public/7.9/HTML/EN/html/docs/cli-api.html#playlist%20play


> and where to find the uri for a playlist ?

In the Spotty application on the desktop there's a "..." menu for most playable items where you'll find a "Share" entry (at the bottom of the menu). Pick "Copy Spotify URI".

--

Michael

schmurtz
2018-05-05, 00:28
Hi, one more time I would like to thank you for Spotty. I use it everyday day in all the rooms of my house !
I have few questions about the transfer of playlist with transfer Playback functionality :


Is it possible to use it with command lines ?
Is it possible to extend it to other devices that are not squeezebox ?



I explain my idea : I want to put one push button at the entry of equiped rooms of my home. When I push a button it will transfer the playback to the squeezebox of that room. And I have one room with a Spotify amp which is not a squeezebox (yes to add some complexity... :p)
For now I'm able to transfer the playback with curl with a command line like that (just below) but I'm not able to create the token (yes because I'm zero...and also because the Spotify auth is a little complexe...). So I was thinking that may be Spotty could help to do that in an easier way ?


curl -X "PUT" "https://api.spotify.com/v1/me/player" --data "{"device_ids":["xxx-ID-of-the-target-device-xxx"]}" -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Bearer xxx-super-token-xxx

PS : I tried some Github sources to do that, in particular "spotify-connect-router" but it was difficult to make it work and it use too much memory...

Thanks !

cramcram
2018-05-05, 00:32
On 2.3.1 it happened to me from time to time that Spotty would stop playing songs after having played the first song of a playlist in Spotify Connect mode. On 2.3.2 now this happened even when starting an album via the LMS web-interface.

Setup: max2play, LMS, Spotify and iOS all latest versions.

mherger
2018-05-05, 01:21
For now I'm able to transfer the playback with curl with a command line like that (just below) but I'm not able to create the token

I'd still suggest you use curl and the Spotify web API directly. You can get the token from spotty:


path/to/spotty -n spotty -c path/to/LMS/cache/spotty/someID --get-token

"someID" is a 8 character string inside the spotty folder. As for cache and binary paths, see Settings/Information. This will return some JSON data, of which you'd have to extract the accessToken value.

If you're serious about scripting this, I'd suggest you install the "jq" tool to extract information for json. You could then extract the token using:


path/to/spotty -n spotty -c path/to/LMS/cache/spotty/someID --get-token | jq '.accessToken'

slartibartfast
2018-05-05, 01:59
Using 2.3.2 with Connect after a few songs the next song will appear to be playing in the Spotify now playing screen but with no sound. If I forward to the next song sound reappears. This is on a Pi with Debian Stretch. I have no idea how repeatable this is but It happened during the first album I played since the update.

Sent from my SM-G900F using Tapatalk

slartibartfast
2018-05-05, 02:56
Using 2.3.2 with Connect after a few songs the next song will appear to be playing in the Spotify now playing screen but with no sound. If I forward to the next song sound reappears. This is on a Pi with Debian Stretch. I have no idea how repeatable this is but It happened during the first album I played since the update.

Sent from my SM-G900F using TapatalkIt just stopped playing in the middle of a track. Playback resumed somehow on the next track but noe the now playing screen shows a different track and doesn't control what is playing.

Sent from my SM-G900F using Tapatalk

slartibartfast
2018-05-05, 03:00
Now Spotiify thinks it is playing to the touch but isn't. If I select the phone then reselect the touch it still does not play.
It just stopped playing in the middle of a track. Playback resumed somehow on the next track but noe the now playing screen shows a different track and doesn't control what is playing.

Sent from my SM-G900F using Tapatalk

Sent from my SM-G900F using Tapatalk

cramcram
2018-05-05, 04:32
On 2.3.1 it happened to me from time to time that Spotty would stop playing songs after having played the first song of a playlist in Spotify Connect mode. On 2.3.2 now this happened even when starting an album via the LMS web-interface.

Setup: max2play, LMS, Spotify and iOS all latest versions.

My Raspberry Pi is on Stretch too. Seems to be the same problem as slartibartfast just reported.

ButC
2018-05-05, 04:40
Using 2.3.2 with Connect after a few songs the next song will appear to be playing in the Spotify now playing screen but with no sound. If I forward to the next song sound reappears. This is on a Pi with Debian Stretch. I have no idea how repeatable this is but It happened during the first album I played since the update.

Sent from my SM-G900F using Tapatalk

I've found that on a Windows machine as well. Skipping solves it for me too. I unfortunately am not in place to deliver a log file.

piert
2018-05-05, 05:03
> What is the cli command to play playlist
In the Spotty application on the desktop there's a "..." menu for most playable items where you'll find a "Share" entry (at the bottom of the menu). Pick "Copy Spotify URI".

--

Michael

But not for playlists that periodically/dynamically change (like the Daily Mix), am I right?

mherger
2018-05-05, 05:17
>> Setup: max2play, LMS, Spotify and iOS all latest versions.
>
> My Raspberry Pi is on Stretch too.

And it's max2play, too?

--

Michael

mherger
2018-05-05, 05:19
> But not for playlists that periodically/dynamically change (like the
> Daily Mix), am I right?

Unfortunately no, those can't be played at all at this point (unless you
save them as a static playlist - but that's not what you want).

--

Michael

slartibartfast
2018-05-05, 05:45
>> Setup: max2play, LMS, Spotify and iOS all latest versions.
>
> My Raspberry Pi is on Stretch too.

And it's max2play, too?

--

Michael

For what it's worth mine is not max2play. It is Debian via OSMC.

Sent from my SM-G900F using Tapatalk

Hydro
2018-05-05, 05:58
Spotify link is like this :

https://open.spotify.com/user/******/playlist/1Yk0LRV1KACpN9pFyFDiuh?si=zeIBUMcsQWGr0Lxxxxxxx

It must be transform to :

spotify:playlist:1Yk0LRV1KACpN9pFyFDiuh?si=zeIBUMc sQWGr0Lxxxxxx ?

Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk

mherger
2018-05-05, 06:57
> Spotify link is like this :

Correct. But you don't need that Spotify link, but the URI ("Copier
l'URI Spotify")


--

Michael

Tosh.SE1
2018-05-05, 11:00
Now Spotiify thinks it is playing to the touch but isn't. If I select the phone then reselect the touch it still does not play.

Sent from my SM-G900F using Tapatalk

----------------------------
Never posted here before, but want to say a huge thank you for Spotty and all the work that goes into making it work.

However since the new version (2.3.2) I have a similar problem. I am running Spotty 2.3.2 on a Mac High Sierra, LMS 7.9.2. I log in via my Spotify account on my phone (Galaxy S7) and authorise my Squeezebox device OK. The login details are all fine and on the setting screen in the LMS it automatically fills it in. But when I got to the Spotty app in the LMS server web page on the Mac, and navigate to any of the Spotty features, no Spotty information is showing. Just a blank screen. Normally I see all the Spotify albums, playlists, new music etc listed nicely to select from. So unable to play from Spotify.

I've done the basics - a reboot, restarted the LMS server, checked my Spotify login details etc. Any ideas on what to try next?

Thank you.

Tosh

mherger
2018-05-05, 14:21
I've done the basics - a reboot, restarted the LMS server, checked my Spotify login details etc. Any ideas on what to try next?

Did you check the server.log? Feel free to upload the server.log.zip to my dropbox:

https://www.dropbox.com/request/T3RctyzGgNg0oFDubq6a

Hydro
2018-05-05, 14:25
> Spotify link is like this :

Correct. But you don't need that Spotify link, but the URI ("Copier
l'URI Spotify")


--

MichaelHumhum when I do "copy the link" from Spotify playlist shared menu, I got this.

Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk

slartibartfast
2018-05-05, 15:01
After trying to play a track hours later the sound was still absent. I restarted LMS and sound was restored. Managed to play four tracks successfully and the following track was silent. Skipping to the next track restored sound again. Very odd.
Now Spotiify thinks it is playing to the touch but isn't. If I select the phone then reselect the touch it still does not play.

Sent from my SM-G900F using Tapatalk

Sent from my SM-G900F using Tapatalk

slartibartfast
2018-05-05, 15:30
After trying to play a track hours later the sound was still absent. I restarted LMS and sound was restored. Managed to play four tracks successfully and the following track was silent. Skipping to the next track restored sound again. Very odd.

Sent from my SM-G900F using TapatalkAnother strange thing is that my now playing screen on the Touch is a VU meter and when Spotify Connect falls silent the VU meter is still active. I checked the volume and it is set to 100%.

Sent from my SM-G900F using Tapatalk

larscph
2018-05-06, 05:42
Sorry to ask - but anyone who can give me a tip on how to get Spotty working on LMS on my DS418Play. DSM 6.1.6.

I've installed the latest LMS version 7.9.2 from here https://sourceforge.net/projects/lmsupdate/?source=typ_redirect and then added Spotty 2.3.2. I am able to authenticate and get my Spotify username in using the feature in Spotify on my iPhone. But now, if I try to do any action (play, search, etc) from Spotty nothing happens and it throws this error in the LMS log:

[18-05-06 14:30:26.2516] Plugins::Spotty::API::__ANON__ (1457) error: 400 Bad Request


That's all. Any clue on what I might be missing out here? Thanks for any advise... :)

Tosh.SE1
2018-05-06, 09:11
Did you check the server.log? Feel free to upload the server.log.zip to my dropbox:

https://www.dropbox.com/request/T3RctyzGgNg0oFDubq6a

Thanks for the reply.

Another disabling of the plugin, re-enabling and a reboot and it's all working now.

Tosh

mherger
2018-05-06, 11:49
> [18-05-06 14:30:26.2516] Plugins::Spotty::API::__ANON__ (1457) error:
> 400 Bad Request

Please set logging for plugin.spotty=INFO (Settings/Advanced/Logging),
try a few things, then upload your server.log to

https://www.dropbox.com/request/T3RctyzGgNg0oFDubq6a


--

Michael

bakker_be
2018-05-06, 14:37
After trying to play a track hours later the sound was still absent. I restarted LMS and sound was restored. Managed to play four tracks successfully and the following track was silent. Skipping to the next track restored sound again. Very odd.

Sent from my SM-G900F using Tapatalk

I've been having a similar behaviour for quite some time already, so to me it's not linked to the 2.3.2 version. I don't use the "Connect" feature, but directly through the LMS interface (web, SqueezeCtrl, SBT). I always thought it was something at my end but couldn't really be bothered to go looking for it :p Your symptoms however match mine too well for me NOT to chime in. I just set debugging to info and I'll add the server log tomorrow (CEST) during the day.
My LMS is currently running on a vortexbox 2.5 (obtained through upgrading a 2.4 according to https://www.vortexbox.org/forum/main-forum/1415-fedora-security-updates-only-on-newer-releases?p=1433#post1433)

bakker_be
2018-05-07, 00:41
I've been having a similar behaviour for quite some time already, so to me it's not linked to the 2.3.2 version. I don't use the "Connect" feature, but directly through the LMS interface (web, SqueezeCtrl, SBT). I always thought it was something at my end but couldn't really be bothered to go looking for it :p Your symptoms however match mine too well for me NOT to chime in. I just set debugging to info and I'll add the server log tomorrow (CEST) during the day.
My LMS is currently running on a vortexbox 2.5 (obtained through upgrading a 2.4 according to https://www.vortexbox.org/forum/main-forum/1415-fedora-security-updates-only-on-newer-releases?p=1433#post1433)

As promised, attached the server log.
Scenario + observations:

I picked a Spotify-created playlist (89 songs) yesterday evening and paused it immediately as it was my bedtime :p
This morning around 6:35 I started playback
After 2 songs it stopped
Clicking "Next" on one of the members of the sync group started playback again
2 songs later playback stopped again
Clicking "Next" on Squeeze Ctrl on my phone (which isn't a player in this sync group, just a controller) skipped to the last song of the playlist but didn't start playback again
Manually selecting the song after where playback had stopped resulted in unbroken playback until around 9:26
Clicking "Next" on one of the members of the sync group skipped to the last song of the playlist but didn't start playback again
Manually selecting the song after where playback had stopped resulted in resumed playback

mherger
2018-05-07, 09:10
> As promised, attached the server log.
> Scenario + observations:

A few findings:

- something seems to be doing an action on your playlist(s) every 20s.
There are warnings every 20s, even during the night, when you weren't
listening:

[18-05-07 09:31:20.8932] Slim::Utils::Misc::pathFromFileURL (225)
Warning: Path isn't a file URL: spotify://track:4aOYzIRv0jl8VShCWZr1hA

What other plugins are you using?

- your Group Player setup might be causing problems. It's complaining a lot:

[18-05-07 09:30:56.0153] Plugins::Groups::Player::play (170) Group
player has no member

Playing to an inexistent player might cause problems :-). Are these
software players which might have crashed?

--

Michael

larscph
2018-05-07, 11:57
> [18-05-06 14:30:26.2516] Plugins::Spotty::API::__ANON__ (1457) error:
> 400 Bad Request

Please set logging for plugin.spotty=INFO (Settings/Advanced/Logging),
try a few things, then upload your server.log to



Thanks Michael - I've done that now the file should be on your dropbox.

bakker_be
2018-05-07, 11:57
> As promised, attached the server log.
> Scenario + observations:

A few findings:

- something seems to be doing an action on your playlist(s) every 20s.
There are warnings every 20s, even during the night, when you weren't
listening:

[18-05-07 09:31:20.8932] Slim::Utils::Misc::pathFromFileURL (225)
Warning: Path isn't a file URL: spotify://track:4aOYzIRv0jl8VShCWZr1hA

What other plugins are you using?

- your Group Player setup might be causing problems. It's complaining a lot:

[18-05-07 09:30:56.0153] Plugins::Groups::Player::play (170) Group
player has no member

Playing to an inexistent player might cause problems :-). Are these
software players which might have crashed?

--

Michael

Hi Michael,
Thanks for your insights. I'll test again without Group Player. The players included in the group are my SBT and SB Player on an Acer A700 Android tablet (still) running CyanogenMod 11. I have no idea at all what could be causing the actions on the playlist at 20-second intervals. I'll do some investigating ...

mherger
2018-05-07, 12:49
> mherger wrote:
>>> [18-05-06 14:30:26.2516] Plugins::Spotty::API::__ANON__ (1457) error:
>>> 400 Bad Request
>>
>> Please set logging for plugin.spotty=INFO (Settings/Advanced/Logging),
>> try a few things, then upload your server.log to
>
> Thanks Michael - I've done that now the file should be on your dropbox.

I haven't received any log file today.

--

Michael

thierryb180381
2018-05-07, 14:53
Hello,

Is it possible to find the url spotify to play directly a song from my spotify account, using spotty?

The goal is to automate playing of an song that I've choosen from a squeezebox client in my jeedom. So I could integrate it in a scenario playing this song, when I come back to home for example.

For the moment, I can play a song from spotify account only if I put it in my favorite.

Thanks.

mherger
2018-05-07, 21:07
> Is it possible to find the url spotify to play directly a song from my
> spotify account, using spotty?

Fire up your Spotify application. Find a track/album/playlist you want
to play. There's a "..." menu, in there "Share...". Select "Copy Spotify
URI".


--

Michael

mjh421
2018-05-08, 00:13
As promised, attached the server log.
Scenario + observations:

I picked a Spotify-created playlist (89 songs) yesterday evening and paused it immediately as it was my bedtime :p
This morning around 6:35 I started playback
After 2 songs it stopped
Clicking "Next" on one of the members of the sync group started playback again
2 songs later playback stopped again
Clicking "Next" on Squeeze Ctrl on my phone (which isn't a player in this sync group, just a controller) skipped to the last song of the playlist but didn't start playback again
Manually selecting the song after where playback had stopped resulted in unbroken playback until around 9:26
Clicking "Next" on one of the members of the sync group skipped to the last song of the playlist but didn't start playback again
Manually selecting the song after where playback had stopped resulted in resumed playback


Hi Michael.

I've had a similar issue. Android/Spotify playing to a Pi3/LMS/Spotty. After a few songs the device disappeared from Spotify. I re-connected and pressed play, but although the song indicated it was playing, I got no sound. Pressed next and it started playing. Log file added to your drop box, not sure if it helps.

Thanks for all your work. Mike

larscph
2018-05-08, 01:21
> mherger wrote:
>>> [18-05-06 14:30:26.2516] Plugins::Spotty::API::__ANON__ (1457) error:
>>> 400 Bad Request
>>
>> Please set logging for plugin.spotty=INFO (Settings/Advanced/Logging),
>> try a few things, then upload your server.log to
>
> Thanks Michael - I've done that now the file should be on your dropbox.

I haven't received any log file today.


Hmm - something must have gone wrong yesterday. Just tried to send it again :)

schmurtz
2018-05-08, 02:26
I'd still suggest you use curl and the Spotify web API directly. You can get the token from spotty:


path/to/spotty -n spotty -c path/to/LMS/cache/spotty/someID --get-token

"someID" is a 8 character string inside the spotty folder. As for cache and binary paths, see Settings/Information. This will return some JSON data, of which you'd have to extract the accessToken value.

If you're serious about scripting this, I'd suggest you install the "jq" tool to extract information for json. You could then extract the token using:


path/to/spotty -n spotty -c path/to/LMS/cache/spotty/someID --get-token | jq '.accessToken'


Thanks ! It works perfectly ! :)


My commands line :


user_id=$(sudo /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64 -n spotty -c /var/lib/squeezeboxserver/cache/spotty/xxxxxxxx --get-token | jq -r '.accessToken')

curl -X "PUT" "https://api.spotify.com/v1/me/player" --data "{"device_ids":["xxx-ID-of-the-target-device-xxx"]}" -H "Accept: application/json" -H "Content-Type: application/json" -HH "Authorization: Bearer $user_id"

To find your xxx-ID-of-the-target-device-xxx you can use this :
https://beta.developer.spotify.com/console/get-users-available-devices/

Is it possible to use spotty command lines for other things ? For example is it possible to transfert current playlist without using curl and spotify api ?


By the way two problems that I have often :

I have seeking problems : when I transfer playback the song start at begining. Seeking from LMS web interface ,ipeng or directly on squeezebox touch is OK but when I use spotify app to seek or the api with seek (https://beta.developer.spotify.com/console/put-seek/?position_ms=&device_id=) it always return to the beginning
Sometimes, I don't know why the volume is set to minimum just after transfer or during playing.

thierryb180381
2018-05-08, 05:02
> Is it possible to find the url spotify to play directly a song from my
> spotify account, using spotty?

Fire up your Spotify application. Find a track/album/playlist you want
to play. There's a "..." menu, in there "Share...". Select "Copy Spotify
URI".


--

Michael

Thanks, it works perfect :)

David R.
2018-05-08, 11:48
Hi,

Tried to configure the Spotty plugin today (first time) on my ReadyNAS 102.
But when trying to authenticate it fails.

Log file:


[18-05-08 20:19:08.0925] Plugins::Spotty::SettingsAuth::handler (63) Trying to authenticate using: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-muslhf -c "/var/lib/squeezeboxserver/cache/spotty/__AUTHENTICATE__" -n "Spotify Authorization (brainz)" -u "userxxxx" -p "********" -a --disable-discovery
[18-05-08 20:19:08.1291] Plugins::Spotty::SettingsAuth::handler (70) Authorization failed: Segmentation fault

If I invoke spotty manually, authentication is succesful:


cd /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux
./spotty-muslhf -c "/var/lib/squeezeboxserver/cache/spotty/__AUTHENTICATE__" -n "Spotify Authorization (brainz)" -u "userxxxx" -p "secret" -a --disable-discovery

I'm not a perl expert and I don't know what causes this error (permissions, CPU arch, TLS??)

Version info:

ReadyNAS 102 (ARMv7 Processor rev 1 (v7l))
Firmware 6.9.3
Logitech Media Server Version: 7.9.1 - 1522157629 @ Fri Mar 30 12:28:01 CEST 2018
Perl Version: 5.20.2 - arm-linux-gnueabi-thread-multi-64int
Spotty v2.3.2

Installation of libio-socket-ssl-perl was not necessary (already latest version installed)

Thanks for any help.

David

mherger
2018-05-08, 21:16
Am 08.05.18 um 10:21 schrieb larscph:
> Hmm - something must have gone wrong yesterday. Just tried to send it
> again :)

There's only one thing odd I find in your log files: a week or two ago I
had to fix an issue exposed by Spotify's switching to a different
distribution network (Google's). They did use something else before.

From your log file it looked as you had the same problem still. BUT the
the error messages refer to a different provider (Akamai). As if you
were still hitting their old servers or something.

Can you restart the whole chain starting from your router up to your
NAS? And make sure your DNS settings on the NAS and router are correct?


--

Michael

mherger
2018-05-08, 21:31
> - I have seeking problems : when I transfer playback the song start at
> begining. Seeking from LMS web interface ,ipeng or directly on
> squeezebox touch is OK but when I use spotify app to seek or the api
> with 'seek '
> (https://beta.developer.spotify.com/console/put-seek/?position_ms=&device_id=)
> it always return to the beginning

I think this is a Spotify API problem: they no longer return the current
position within the track, but always report progress_ms=0. I've filed a
bug report.

> - Sometimes, I don't know why the volume is set to minimum just after
> transfer or during playing.

I don't have prove for this, but it feels as if Spotify was still
struggling with some issues they are facing after changing their
distribution network provider.


--

Michael

mherger
2018-05-08, 21:41
If I invoke spotty manually, authentication is succesful:


cd /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux
./spotty-muslhf -c "/var/lib/squeezeboxserver/cache/spotty/__AUTHENTICATE__" -n "Spotify Authorization (brainz)" -u "userxxxx" -p "secret" -a --disable-discovery


Hmm... that's odd. Are you running low on memory? After you've authenticated manually, would spotty work?

Did you try to use one of the alternative spotty helper builds (see Settings/Advanced/Spotty)?

larscph
2018-05-08, 23:51
Am 08.05.18 um 10:21 schrieb larscph:
> Hmm - something must have gone wrong yesterday. Just tried to send it
> again :)

There's only one thing odd I find in your log files: a week or two ago I
had to fix an issue exposed by Spotify's switching to a different
distribution network (Google's). They did use something else before.

From your log file it looked as you had the same problem still. BUT the
the error messages refer to a different provider (Akamai). As if you
were still hitting their old servers or something.

Can you restart the whole chain starting from your router up to your
NAS? And make sure your DNS settings on the NAS and router are correct?



That was it - thanks so much. I use Overplay DNS - and have their DNS IP adresses put into the DHCP server configuration on my router for it to work well with stuff like Chromecast. Somehow it seems like Overplay does not work well as the DNS for Spotty since changing the configuration on my NAS to use the default DNS from my internet provider solved the issue. After that, and a quick reboot of the NAS, music now flows from Spotty to my squeezebox devices!

Thanks again!

larscph
2018-05-08, 23:55
Am 08.05.18 um 10:21 schrieb larscph:
> Hmm - something must have gone wrong yesterday. Just tried to send it
> again :)

There's only one thing odd I find in your log files: a week or two ago I
had to fix an issue exposed by Spotify's switching to a different
distribution network (Google's). They did use something else before.

From your log file it looked as you had the same problem still. BUT the
the error messages refer to a different provider (Akamai). As if you
were still hitting their old servers or something.

Can you restart the whole chain starting from your router up to your
NAS? And make sure your DNS settings on the NAS and router are correct?



Yes! That was exactly spot on. I use Overplay DNS and have that configured as the default DNS in my DHCP server, so that was the DNS that the NAS used too. I changed the DNS on the NAS to use my internet providers default DNS, reboot - and voila - then it worked! Spotify music now flows via Spotty to my Squeezebox devices. Very cool.

Thanks so much for quick a very good help.

David R.
2018-05-09, 00:45
Hmm... that's odd. Are you running low on memory? After you've authenticated manually, would spotty work?

Did you try to use one of the alternative spotty helper builds (see Settings/Advanced/Spotty)?

Hi Michael,

Thanks for the tips.
Memory usage is 41% (kernel + applications) of 500 MB

I authenticated manuallly again and change ownership to squeezeboxserver user for the ../cache/spotty directory and dirs below.
After that, the spotty plugin settings showed up in the LMS web GUI:

24999

I changed the helper to spotty (instead of 'select automatically').
Finally, after some fiddling around in the spotify client (stop and start a few times) squeezebox pops up as available device.
I can select the device and stream to it. However, the connection is not stable and drops often. I suppose that's caused by my hardware. Maybe the ReadyNAS 102 can't handle it well.

One question: Are the credentials persisted or do I need to do this workaround (manual authentication) again after restarting LMS?

Regards,

David

mherger
2018-05-09, 01:08
> One question: Are the credentials persisted or do I need to do this
> workaround (manual authentication) again after restarting LMS?

Credentials should be persisted in sub-folders to
/var/lib/squeezeboxserver/cache/spotty/ (in your case). See the
credentials.json in there.

--

Michael

mherger
2018-05-09, 03:23
A quick note about Spotty's Connect mode failing:

I think Spotify's API servers currently are broken. While I am using
features clearly labelled as beta, their move to a different
distribution network (or other background work) seems to have a major
impact on many endpoints. I reported an issue with the playtime no
longer being reported. But right now it seems as if the player state
didn't update at all. Eg. when an album was playing in connect mode,
when querying player state I would always (or often) get the same track
back as currently playing. Therefore the playback stops, assuming it had
played all tracks of the album or playlist.

Unfortunately I don't see any remedy right now, other than being
patient, reporting issues to the Spotify team, and hoping they will fix
things. Until then, playback in SB mode should work as expected.

--

Michael

David R.
2018-05-09, 04:22
> One question: Are the credentials persisted or do I need to do this
> workaround (manual authentication) again after restarting LMS?

Credentials should be persisted in sub-folders to
/var/lib/squeezeboxserver/cache/spotty/ (in your case). See the
credentials.json in there.

--

Michael

Thanks!

David

bakker_be
2018-05-09, 12:38
OK, progress report ...
I've deleted the "group player" plugin group and stopped a secondary LMS I still had running on an up-board which acts as my fileserver. Playing to the Android tablet alone as in the previous scenario results in permanent playback.
The line written every 20 seconds persists though. It's not Spicefly Sugarcube or DSTM either, as I've disabled both ...
Next step will be recreating the player group.

schmurtz
2018-05-12, 15:23
> - I have seeking problems : when I transfer playback the song start at
> begining. Seeking from LMS web interface ,ipeng or directly on
> squeezebox touch is OK but when I use spotify app to seek or the api
> with 'seek '
> (https://beta.developer.spotify.com/console/put-seek/?position_ms=&device_id=)
> it always return to the beginning

I think this is a Spotify API problem: they no longer return the current
position within the track, but always report progress_ms=0. I've filed a
bug report.

> - Sometimes, I don't know why the volume is set to minimum just after
> transfer or during playing.

I don't have prove for this, but it feels as if Spotify was still
struggling with some issues they are facing after changing their
distribution network provider.


--

Michael

Thanks Michael for the issue on Spotify ! Now that it is resolved on the spotify side, seeking is OK from spotify but I still have the problem when I transfer playback with spotify connect : the song start at beginning. May be "put-seek" function could be called just after the transfer on a player ?

mherger
2018-05-12, 22:59
> Thanks Michael for the issue on Spotify ! Now that it is resolved on the
> spotify side, seeking is OK from spotify but I still have the problem
> when I transfer playback with spotify connect : the song start at
> beginning. May be "put-seek" function could be called just after the
> transfer on a player ?

I must admit that the "transfer playback" feature hasn't seen a lot of
love recently. I'll have to look into this.

--

Michael

schoeppi
2018-05-13, 03:27
Hi,

I can not longer follow artists via Spotify when using Spotty in SB mode. This was possible in the past, do not know when it worked the last time...

Is this a known issue?

Ciao and thanks,

Schoepp

Jackisidore
2018-05-13, 04:52
Hi,

I can not longer follow artists via Spotify when using Spotty in SB mode. This was possible in the past, do not know when it worked the last time...

Is this a known issue?

Ciao and thanks,

Schoepp

I get "Unknown error: 411 Length Required" if I try to follow artists in the Web interface. From a Jive client it doesn't drop any errors, it simply refuses to do so.

bakker_be
2018-05-13, 05:24
I get "Unknown error: 411 Length Required" if I try to follow artists in the Web interface. From a Jive client it doesn't drop any errors, it simply refuses to do so.

This is the pertinent snippet from the log when trying it from the web client:


[18-05-13 14:22:36.5186] Plugins::Spotty::API::__ANON__ (1388) API call: me/following?ids=0PFtn5NtBbbUNbU9EAmIWF&type=artist
[18-05-13 14:22:36.6677] Plugins::Spotty::API::__ANON__ (1457) error: 411 Length Required
[18-05-13 14:22:36.6688] Plugins::Spotty::API::__ANON__ (1468) bless({
_content => "",
_headers => bless({
"content-length" => 1564,
"content-type" => "text/html; charset=UTF-8",
date => "Sun, 13 May 2018 12:22:36 GMT",
"referrer-policy" => "no-referrer",
}, "HTTP::Headers"),
_msg => "Length Required",
_previous => [],
_rc => 411,
_request => bless({
_content => undef,
_headers => bless({
"accept" => "application/json",
"accept-encoding" => ["deflate, gzip", "gzip"],
"accept-language" => "en",
authorization => "Bearer BQBLbfpJ3EP99FTo5xWFthlkU_ZtDHgYRb6u1fZORCUuHis_zd xEBQgO6-BRE02JzYoKt7UC7KeoHOOEyU9JaBWeKQGBAAuphKcZM9GqaSwq 0nz9ZoyvjnDsJC5U-acAddyO-LS10avXmLB7Pp7tfP54V8iWcU97DkFVK2yRbCHcaXtbLhaOoDJ 8SHxDmzfxeIokM8N7-VScx3WHRLZCQ-eu_iR6wNJJQnOo3668JXOeOvXo5dPSe4bw6w6_d2abmWzE5Q",
"cache-control" => "no-cache",
connection => "close",
host => "api.spotify.com",
"icy-metadata" => 1,
"user-agent" => "iTunes/4.7.1 (Linux; N; Red Hat; x86_64-linux; EN; utf8) SqueezeCenter, Squeezebox Server, Logitech Media Server/7.9.1/0.6.20170928git1508251793",
}, "HTTP::Headers"),
_method => "PUT",
_protocol => "HTTP/1.0",
_uri => bless(do{\(my $o = "https://api.spotify.com/v1/me/following?ids=0PFtn5NtBbbUNbU9EAmIWF&type=artist")}, "URI::https"),
}, "HTTP::Request"),
}, "HTTP::Response")

bakker_be
2018-05-13, 05:36
Is DSTM supposed to work when selecting a Spotify playlist through the LMS web interface? If so, I have an issue, otherwise, it works as designed :)

Jefffrye
2018-05-13, 06:40
I recently installed the Spotty plugin and am running into the following issues.

When I go to Active plugins/Spotty/Settings I get this message.

---------------------------
spotty.exe - System Error
---------------------------
The code execution cannot proceed because VCRUNTIME140.dll was not found. Reinstalling the program may fix this problem.
---------------------------
OK
---------------------------

I have to then click OK three times to get passed it. I then see this message on the settings screen.

"There has been a problem running the Spotty helper application. Please make sure you have the Microsoft Visual C++ Runtime (32-bit!) installed on your system."

I click on the link and install the 64-bit version. There isn't a 32-bit version option.

I continue to get the above errors. What am I missing?

Thanks in advance.

mherger
2018-05-13, 07:38
>> I get "Unknown error: 411 Length Required" if I try to follow artists in
>> the Web interface. From a Jive client it doesn't drop any errors, it
>> simply refuses to do so.
>
> This is the pertinent snippet from the log when trying it from the web
> client:

Thanks both of you. This is related to another issue I fixed a few days
ago. I thought I had them all covered... Are you running the latest
plugin version?


--

Michael

mherger
2018-05-13, 07:41
> Is DSTM supposed to work when selecting a Spotify playlist through the
> LMS web interface?

Yes. How does it fail? Anything server.log?

--

Michael

mherger
2018-05-13, 07:54
> [18-05-13 14:22:36.6677] Plugins::Spotty::API::__ANON__ (1457) error: 411 Length Required

Please give v2.3.3 another try. Thanks!


--

Michael

mherger
2018-05-13, 08:42
I click on the link and install the 64-bit version. There isn't a 32-bit version option.

There should be a link on that page to get alternative versions, among which the 32-bit.

schoeppi
2018-05-13, 08:57
On Sun, 13 May 2018 16:54:52 +0200, Michael Herger wrote:
>> [18-05-13 14:22:36.6677] Plugins::Spotty::API::__ANON__ (1457)
>> error: 411 Length Required
>
> Please give v2.3.3 another try.

Following artists is working again :-). Thanks for the quick fix!

Ciao,

Schoepp

Jefffrye
2018-05-13, 09:10
There should be a link on that page to get alternative versions, among which the 32-bit.

Working perfectly! Thanks again!

Jackisidore
2018-05-13, 10:05
> [18-05-13 14:22:36.6677] Plugins::Spotty::API::__ANON__ (1457) error: 411 Length Required

Please give v2.3.3 another try. Thanks!


--

Michael

Yes solved. Thanks!

bakker_be
2018-05-14, 14:22
OK, progress report ...
I've deleted the "group player" plugin group and stopped a secondary LMS I still had running on an up-board which acts as my fileserver. Playing to the Android tablet alone as in the previous scenario results in permanent playback.
The line written every 20 seconds persists though. It's not Spicefly Sugarcube or DSTM either, as I've disabled both ...
Next step will be recreating the player group.
Completely uninstalling the group player plugin solved my issues with Spotty hanging randomly and also removed the 20-second intervalled activity.


> Is DSTM supposed to work when selecting a Spotify playlist through the
> LMS web interface?

Yes. How does it fail? Anything server.log?

--

Michael
Solved by carefully reading the log and disabling Spicefly Sugarcube ...

edwardthern
2018-05-14, 18:47
[18-05-15 02:42:05.2752] Slim::Utils::PluginDownloader::_downloadError (217) unable to download Spotty from http://downloads.nixda.ch/Spotty-2.3.3.zip - 530 Unknown code

mherger
2018-05-14, 21:37
> [18-05-15 02:42:05.2752] Slim::Utils::PluginDownloader::_downloadError
> (217) unable to download Spotty from
> http://downloads.nixda.ch/Spotty-2.3.3.zip - 530 Unknown code

Odd. Means Cloudflare didn't find my host. But I see thousands of
downloads. Can you load that URL from a browser?

--

Michael

edwardthern
2018-05-15, 05:44
> [18-05-15 02:42:05.2752] Slim::Utils::PluginDownloader::_downloadError
> (217) unable to download Spotty from
> http://downloads.nixda.ch/Spotty-2.3.3.zip - 530 Unknown code

Odd. Means Cloudflare didn't find my host. But I see thousands of
downloads. Can you load that URL from a browser?

--

Michael

Nope I get

25023

edwardthern
2018-05-15, 06:10
> [18-05-15 02:42:05.2752] Slim::Utils::PluginDownloader::_downloadError
> (217) unable to download Spotty from
> http://downloads.nixda.ch/Spotty-2.3.3.zip - 530 Unknown code

Odd. Means Cloudflare didn't find my host. But I see thousands of
downloads. Can you load that URL from a browser?

--

Michael

When I test the domain I get....."No delegation could be found at the parent, making your zone unreachable from the Internet."

25024

mherger
2018-05-15, 06:15
Nope I get

25023

Odd: now I got the same from the office. Whatever. I think it's fixed now. Thanks for the heads-up!

edwardthern
2018-05-15, 06:22
Odd: now I got the same from the office. Whatever. I think it's fixed now. Thanks for the heads-up!

Yep fixed...thanks!

cajus
2018-05-15, 09:20
Hi Michael,

I am using Spotty 2.3.3 (same for Spotty 2.3.2) in German.
On the Web Player of Spotify.com there is a Genre "TV und Filme", which is missing in Spotty.
It looks like this is the only Genre missing. Too bad, soundtracks are my favorite genre :(
Could you please have a look, why this is missing?

Best Regards
Cajus

P.S. setting LMS to English does not solve the problem - the genre is missing as well

mherger
2018-05-15, 13:39
> I am using Spotty 2.3.3 (same for Spotty 2.3.2) in German.

Heh... indeed, I can confirm this. And it seems to be the only category
missing! Will have to look into this.

As a workaround you can still follow the playlists you like, then access
them from your playlists menu.

--

Michael

mherger
2018-05-15, 13:49
> On the Web Player of Spotify.com there is a Genre "TV und Filme", which
> is missing in Spotty.
> It looks like this is the only Genre missing. Too bad, soundtracks are
> my favorite genre :(

This seems to be an issue with their API. I submitted a bug report
(https://github.com/spotify/web-api/issues/880). But the fact that
there's a very similar issue reported almost a year ago, and no feedback
at all, I'm not positive they're gonna fix this this week...


--

Michael

sarakha63
2018-05-17, 09:49
Hi Michael

I keep having an issue with the spotify connect functionnality.

here is what i have

[18-05-17 18:39:51.6082] Plugins::Spotty::SettingsAuth::startHelper (145) Starting Spotty Connect deamon:
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty -c /var/lib/squeezeboxserver/cache/spotty/__AUTHENTICATE__ -n Spotify Authorization (lms-server) -a
[18-05-17 18:39:51.6612] Plugins::Spotty::Plugin::renameCacheFolder (369) Trying to rename __AUTHENTICATE__ to 81bf6d58
[18-05-17 18:39:51.6618] Plugins::Spotty::SettingsAuth::shutdownHelper (174) Quitting authentication daemon
[18-05-17 18:39:51.6623] Plugins::Spotty::Plugin::renameCacheFolder (369) Trying to rename __AUTHENTICATE__ to
[18-05-17 18:39:51.6624] Plugins::Spotty::Plugin::renameCacheFolder (371) Error: No newId found in '__AUTHENTICATE__'
[18-05-17 18:39:51.6626] Plugins::Spotty::Plugin::renameCacheFolder (371) Backtrace:

frame 0: Slim::Utils::Log::logBacktrace (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Plugin.pm line 371)
frame 1: Plugins::Spotty::Plugin::renameCacheFolder (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/SettingsAuth.pm line 168)
frame 2: Plugins::Spotty::SettingsAuth::cleanup (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/SettingsAuth.pm line 178)
frame 3: Plugins::Spotty::SettingsAuth::shutdownHelper (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Settings.pm line 100)
frame 4: Plugins::Spotty::Settings::handler (/usr/share/perl5/Slim/Web/HTTP.pm line 1114)
frame 5: Slim::Web::HTTP::generateHTTPResponse (/usr/share/perl5/Slim/Web/HTTP.pm line 884)
frame 6: Slim::Web::HTTP::processURL (/usr/share/perl5/Slim/Web/HTTP.pm line 688)
frame 7: Slim::Web::HTTP::processHTTP (/usr/share/perl5/Slim/Networking/IO/Select.pm line 123)
frame 8: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 119)
frame 9: Slim::Networking::IO::Select::__ANON__ (/usr/share/perl5/Slim/Networking/IO/Select.pm line 168)
frame 10: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 168)
frame 11: Slim::Networking::IO::Select::loop (/usr/sbin/squeezeboxserver line 727)
frame 12: main::idle (/usr/sbin/squeezeboxserver line 677)
frame 13: main::main (/usr/sbin/squeezeboxserver line 1213)

[18-05-17 18:39:51.6639] Plugins::Spotty::Plugin::findBin (775) Trying helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty
[18-05-17 18:39:51.6693] Plugins::Spotty::Plugin::findBin (778) Found helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty
[18-05-17 18:39:51.6697] Plugins::Spotty::Plugin::findBin (775) Trying helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64
[18-05-17 18:39:51.6748] Plugins::Spotty::Plugin::findBin (778) Found helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64

And then i have the "Daemon failed 3 times in less than 5 minutes balbalab"

Do you have any clue

mherger
2018-05-17, 13:00
Hi Michael

I keep having an issue with the spotify connect functionnality.

here is what i have

[18-05-17 18:39:51.6082] Plugins::Spotty::SettingsAuth::startHelper (145) Starting Spotty Connect deamon:
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty -c /var/lib/squeezeboxserver/cache/spotty/__AUTHENTICATE__ -n Spotify Authorization (lms-server) -a


Are you saying that normal Spotty playback would work, only Connect mode was failing?

Can you double-check whether you find any credentials.json file in /var/lib/squeezeboxserver/cache/spotty or one of its sub-folders?

sarakha63
2018-05-17, 13:13
Are you saying that normal Spotty playback would work, only Connect mode was failing?

Can you double-check whether you find any credentials.json file in /var/lib/squeezeboxserver/cache/spotty or one of its sub-folders?

exactly, normal spotify works like a charm on my 14 zones multiroom

But spotify connect keeps failing with the log above and making daemon fail even with only one squeezebox activated for squeezebox connect

Also Transfer playback is not working "it used to" and the device playing when in transfer playback menu always shows twice (this is not a big problem)

There is a json file with my username auth_type to 1 and auth_data a Md5 hash i suppose

Gobuleberbu
2018-05-17, 14:57
Hi! I've been running debug on my system and it seems like it is running in 96kbps instead of 320 as selected in the prefs. The info window in LMS tells me 705Kbps CBR, Ogg Vorbis (Spotify) (Converted to FLAC), which doesn't really tell me what is the encoding...

Also, it seems like it is restarting the deamon every minute, I don't know if it's intended or a bug :)

Thanks for your amazing work! :) :)


[18-05-17 17:45:34.9023] Plugins::Spotty::Plugin::findBin (775) Trying helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty
[18-05-17 17:45:34.9742] Plugins::Spotty::Plugin::findBin (778) Found helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty
[18-05-17 17:45:34.9791] Plugins::Spotty::Plugin::findBin (775) Trying helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf
[18-05-17 17:45:35.0520] Plugins::Spotty::Plugin::findBin (778) Found helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf
[18-05-17 17:45:35.0572] Plugins::Spotty::Plugin::findBin (775) Trying helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-muslhf
[18-05-17 17:45:35.1235] Plugins::Spotty::Plugin::findBin (778) Found helper applicaton: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-muslhf
[18-05-17 17:45:55.0055] Plugins::Spotty::Connect::DaemonManager::initHelpe rs (70) Initializing Spotty Connect helper daemons...
[18-05-17 17:45:55.0084] Plugins::Spotty::Connect::DaemonManager::startHelp er (100) Need to (re-)start Connect daemon for b8:27:eb:50:54:85
[18-05-17 17:45:55.0117] Plugins::Spotty::Connect::Daemon::start (66) Starting Spotty Connect daemon:
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf -c /var/lib/squeezeboxserver/cache/spotty/63bb2a38 -n Salon --disable-audio-cache --bitrate 96 --player-mac b8:27:eb:50:54:85 --lms 192.168.1.154:9000 --disable-discovery
[18-05-17 17:45:55.0448] Plugins::Spotty::Connect::DaemonManager::startHelp er (100) Need to (re-)start Connect daemon for 02:00:73:f2:8e:b1
[18-05-17 17:45:55.0517] Plugins::Spotty::Connect::Daemon::start (66) Starting Spotty Connect daemon:
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf -c /var/lib/squeezeboxserver/cache/spotty/63bb2a38 -n Maison --disable-audio-cache --bitrate 96 --player-mac 02:00:73:f2:8e:b1 --lms 192.168.1.154:9000 --disable-discovery
[18-05-17 17:45:55.0884] Plugins::Spotty::Connect::DaemonManager::startHelp er (100) Need to (re-)start Connect daemon for aa:aa:6d:5d:ca:df
[18-05-17 17:45:55.0967] Plugins::Spotty::Connect::Daemon::start (66) Starting Spotty Connect daemon:
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf -c /var/lib/squeezeboxserver/cache/spotty/63bb2a38 -n Bureau --disable-audio-cache --bitrate 96 --player-mac aa:aa:6d:5d:ca:df --lms 192.168.1.154:9000 --disable-discovery
[18-05-17 17:46:55.0061] Plugins::Spotty::Connect::DaemonManager::initHelpe rs (70) Initializing Spotty Connect helper daemons...
[18-05-17 17:46:55.0093] Plugins::Spotty::Connect::DaemonManager::startHelp er (100) Need to (re-)start Connect daemon for b8:27:eb:50:54:85
[18-05-17 17:46:55.0126] Plugins::Spotty::Connect::Daemon::start (66) Starting Spotty Connect daemon:
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf -c /var/lib/squeezeboxserver/cache/spotty/63bb2a38 -n Salon --disable-audio-cache --bitrate 96 --player-mac b8:27:eb:50:54:85 --lms 192.168.1.154:9000 --disable-discovery
[18-05-17 17:46:55.0491] Plugins::Spotty::Connect::DaemonManager::startHelp er (100) Need to (re-)start Connect daemon for 02:00:73:f2:8e:b1
[18-05-17 17:46:55.0570] Plugins::Spotty::Connect::Daemon::start (66) Starting Spotty Connect daemon:
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf -c /var/lib/squeezeboxserver/cache/spotty/63bb2a38 -n Maison --disable-audio-cache --bitrate 96 --player-mac 02:00:73:f2:8e:b1 --lms 192.168.1.154:9000 --disable-discovery
[18-05-17 17:46:55.0948] Plugins::Spotty::Connect::DaemonManager::startHelp er (100) Need to (re-)start Connect daemon for aa:aa:6d:5d:ca:df
[18-05-17 17:46:55.1027] Plugins::Spotty::Connect::Daemon::start (66) Starting Spotty Connect daemon:
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf -c /var/lib/squeezeboxserver/cache/spotty/63bb2a38 -n Bureau --disable-audio-cache --bitrate 96 --player-mac aa:aa:6d:5d:ca:df --lms 192.168.1.154:9000 --disable-discovery
[18-05-17 17:47:24.8557] Plugins::Spotty::Plugin::purgeAudioCacheAfterXTrac ks (450) Played 3 song(s) since last audio cache purge.
[18-05-17 17:47:55.0048] Plugins::Spotty::Connect::DaemonManager::initHelpe rs (70) Initializing Spotty Connect helper daemons...
[18-05-17 17:47:55.0078] Plugins::Spotty::Connect::DaemonManager::startHelp er (100) Need to (re-)start Connect daemon for b8:27:eb:50:54:85
[18-05-17 17:47:55.0114] Plugins::Spotty::Connect::Daemon::start (66) Starting Spotty Connect daemon:
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf -c /var/lib/squeezeboxserver/cache/spotty/63bb2a38 -n Salon --disable-audio-cache --bitrate 96 --player-mac b8:27:eb:50:54:85 --lms 192.168.1.154:9000 --disable-discovery
[18-05-17 17:47:55.0448] Plugins::Spotty::Connect::DaemonManager::startHelp er (100) Need to (re-)start Connect daemon for 02:00:73:f2:8e:b1
[18-05-17 17:47:55.0520] Plugins::Spotty::Connect::Daemon::start (66) Starting Spotty Connect daemon:
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf -c /var/lib/squeezeboxserver/cache/spotty/63bb2a38 -n Maison --disable-audio-cache --bitrate 96 --player-mac 02:00:73:f2:8e:b1 --lms 192.168.1.154:9000 --disable-discovery
[18-05-17 17:47:55.0886] Plugins::Spotty::Connect::DaemonManager::startHelp er (100) Need to (re-)start Connect daemon for aa:aa:6d:5d:ca:df
[18-05-17 17:47:55.0956] Plugins::Spotty::Connect::Daemon::start (66) Starting Spotty Connect daemon:
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf -c /var/lib/squeezeboxserver/cache/spotty/63bb2a38 -n Bureau --disable-audio-cache --bitrate 96 --player-mac aa:aa:6d:5d:ca:df --lms 192.168.1.154:9000 --disable-discovery
[18-05-17 17:48:55.0027] Plugins::Spotty::Connect::DaemonManager::initHelpe rs (70) Initializing Spotty Connect helper daemons...

mherger
2018-05-17, 21:33
Important note: Spotty in Connect mode currently is broken. There seem to be changes on Spotify's end which break librespot/spotty. The librespot team is working on it, there have been changes last night to deal with the issue. Alas, I'm currently facing issues with the LMS integration. They're not caused by that change, but likely by a change in some other library used by the code. Hopefully I'll have a fix, soon...

schmurtz
2018-05-18, 02:02
Important note: Spotty in Connect mode currently is broken. There seem to be changes on Spotify's end which break librespot/spotty. The librespot team is working on it, there have been changes last night to deal with the issue. Alas, I'm currently facing issues with the LMS integration. They're not caused by that change, but likely by a change in some other library used by the code. Hopefully I'll have a fix, soon...

Thanks for this information and your implication Michael.
The breaking changes comes from the beta part of the API ?
I really think that spotify should support librespot or an equivalent with the same possibilities ! it is in their interest and that of their users....

bakker_be
2018-05-18, 02:08
...
I really think that spotify should support librespot or an equivalent with the same possibilities ! it is in their interest and that of their users....

Actually, I don't think it is. Spotify probably gets some kind of revenue from "official" Connect clients, through licensing, on top of end-users' subscription fees.

mherger
2018-05-18, 03:08
> Thanks for this information and your implication Michael.
> The breaking changes comes from the beta part of the API ?

No, from a non-documented part... It's based on reverse-engineering -
which is always prone to failure in case of protocol changes.

> I really think that spotify should support librespot or an equivalent
> with the same possibilities ! it is in their interest and that of their
> users....

You'd think so, yes.

--

Michael

cramcram
2018-05-18, 05:12
Wouldn‘t it be possible to create an LMS Spotify plugin based on an official Spotify library?


Gesendet von iPhone mit Tapatalk

mherger
2018-05-18, 05:55
> Wouldn‘t it be possible to create an LMS Spotify plugin based on an
> official Spotify library?

Which official library? There are libraries for commercial customers,
but you don't get them without a company with a lawyer :-).

--

Michael

cramcram
2018-05-18, 06:08
> Wouldn‘t it be possible to create an LMS Spotify plugin based on an
> official Spotify library?

Which official library? There are libraries for commercial customers,
but you don't get them without a company with a lawyer :-).

--

Michael

I expected something like that. Strange that Spotify doesn’t provide these libraries to anybody. They would reach more paying customers and would have less reverse-engineered libraries accessing their systems.


Gesendet von iPhone mit Tapatalk

pavowren
2018-05-18, 06:43
Important note: Spotty in Connect mode currently is broken. There seem to be changes on Spotify's end which break librespot/spotty. The librespot team is working on it, there have been changes last night to deal with the issue. Alas, I'm currently facing issues with the LMS integration. They're not caused by that change, but likely by a change in some other library used by the code. Hopefully I'll have a fix, soon...

hello from an old SBox user now on RPi running max2play with LMS/Spotty...
i have a bit more info for you to chew on:

1) i tried to un-check the option "Don't announce Squeezebox players" but it will not stick. why wouldn't i want to announce all connect players?
once when it seemed to stick, the device showed up.
2) "max2play" device is fleeting in appearance. my own android and windows apps (which uses spotify web api) see it the most. Spotify's own apps do not; did yesterday.
3) android app, OrangeSqueeze, can always see "max2play" since it is not using spotify api as far as i know. it's just a controller for the SqzLite player inside RPi.
4) at one point, i had two spotify sessions streaming (i only one premium account, not a family). one on max2play and another on the desktop. how is that possible?

my best guess at this point is Spotify is messing with servers and updates...
just a week or so ago, suddenly the ProgressTime was being reported as 0. then after 2 days, it works again.
of course, this wasn't the first time something wacky happens at their end.

mherger
2018-05-18, 23:13
> *Important note: Spotty in Connect mode currently is broken.* There seem
> to be changes on Spotify's end which break librespot/spotty.

v2.3.4 is on its way to you. It should fix the Connect failure
introduced by Spotify server changes a few days ago.

This is a rather "hot" fix: it has seen little testing, and I haven't
been able to build for all platforms (yet). In particular the binary for
armv5 is still missing. While Connect wouldn't work with this one, use
of Spotty through LMS should still be possible.

Please check what binary is being used in Settings/Advanced/Spotty
should you encounter Connect issues. Thanks!


--

Michael

gegen
2018-05-19, 01:38
> *Important note: Spotty in Connect mode currently is broken.* There seem
> to be changes on Spotify's end which break librespot/spotty.

v2.3.4 is on its way to you. It should fix the Connect failure
introduced by Spotify server changes a few days ago.

This is a rather "hot" fix: it has seen little testing, and I haven't
been able to build for all platforms (yet). In particular the binary for
armv5 is still missing. While Connect wouldn't work with this one, use
of Spotty through LMS should still be possible.

Please check what binary is being used in Settings/Advanced/Spotty
should you encounter Connect issues. Thanks!


--

Michael

All working on Odroid HC1, max2play 2.46, Ubuntu 16.04.4 LTS, LMS 7.9.2, Spotty 2.3.4, helper spotty-hf (v0.12.0), various players; Radio, Touch, RPi/SqueezeLite max2play 2.46 ........thanks very much :)!

pavowren
2018-05-19, 04:49
> *Important note: Spotty in Connect mode currently is broken.* There seem
> to be changes on Spotify's end which break librespot/spotty.

v2.3.4 is on its way to you. It should fix the Connect failure
introduced by Spotify server changes a few days ago.

This is a rather "hot" fix: it has seen little testing, and I haven't
been able to build for all platforms (yet). In particular the binary for
armv5 is still missing. While Connect wouldn't work with this one, use
of Spotty through LMS should still be possible.

Please check what binary is being used in Settings/Advanced/Spotty
should you encounter Connect issues. Thanks!


--

Michael

all's well, Michael, on:

Hostname: max2play
Server IP Address: 192.168.1.23
Server HTTP Port Number: 9000
Operating system: Debian - EN - utf8
Platform Architecture: armv7l-linux

i now see "max2play" reliably both on android and windows... thanks a lot!

mherger
2018-05-19, 07:45
> All working

Great! Good to know :-)

--

Michael

ButC
2018-05-19, 07:54
Seems to work better than before for me on Windows 10. Local Player plugin. A little early to tell, but the device was discovered and for me that's a good sign :)

schmurtz
2018-05-19, 10:07
Working fine on ubuntu x86 with this new version.
Still the problem with the seek position but it's a detail, very happy to get back this functionality so quickly ! Thank you Michael !

loopguru
2018-05-19, 11:44
Connect works again :)

Synology Intel Pentium N3710
LMS v7.9.1, perl 5.024000 - x86_64-linux
Spotty Helper spotty-x86_64 (v0.12.0)

Spotify share price dropped nearly 5% May 18. Maybe share holders with Squeezeboxes dropped their investment in anger ;)

mherger
2018-05-19, 21:57
> Still the problem with the seek position but it's a detail, very happy
> to get back this functionality so quickly ! Thank you Michael !

Seek as in "transfer to player" doesn't keep the position?

--

Michael

schmurtz
2018-05-20, 03:03
When you transfer playback (with Spotify app or with the the "transfer playback" functionality from spotty) the song always start at begining instead at the current time position. Once the song has started to play on the squeezebox there's no problem with seeking functionality with the seek bar of spotify or the seek bar from the squeezebox

saegis
2018-05-20, 05:31
Hi,
I am using Win 10 and LMS 7.9.1 with spotty 2.3.5
I just nioticed that spotty does not work any more.
Once i start the computer or try to access Spotty on my Squeezebox a command window opens and then I get the message that spotty.exe does not work anymore.

Any idea what that could be? Worked flawless until recently.

Thanks Marcus

Edit: Solved, stupid me. I just noticed that my premium account had expired the other day after one year. Missed that point. Everything works again.

johndoe_2009
2018-05-20, 09:55
Hi, when adding tracks/albums from spotty to the playlist, covers are quite "unstable". Following steps to reproduce the issue:

1. add a track/album to the playlist through spotty:

25055

list of songs are all shown with cover.

2. add an addional track or album to the same playlist:

25056

playlist now has problems with the covers...

mherger: although this is a minor issue, would be great if you could look into this and fix it.

Other then that, Spotty is just great!

slartibartfast
2018-05-20, 11:12
Hi, when adding tracks/albums from spotty to the playlist, covers are quite "unstable". Following steps to reproduce the issue:

1. add a track/album to the playlist through spotty:

25055

list of songs are all shown with cover.

2. add an addional track or album to the same playlist:

25056

playlist now has problems with the covers...

mherger: although this is a minor issue, would be great if you could look into this and fix it.

Other then that, Spotty is just great!Just to confirm I see the same thing. Only the cover art of the most recently added album is displayed. The others disappear.

Sent from my SM-G900F using Tapatalk

mherger
2018-05-20, 12:32
> Once i start the computer or try to access Spotty on my Squeezebox a
> command window opes and then I get the message that spotty.exe does not
> work anymore.

Please check server.log for more information about the failure.

--

Michael