PDA

View Full Version : [Announce] Spotty 2.5.x - Spotify Connect for your Squeezebox



mherger
2018-10-13, 03:51
Here's a small update. Not really new features, but mostly reliability improvements (hopefully :-)), and a lot of work in the background. In particular in environments where local discovery does not work, the daemon should now behave more reliably. I've seen situations where the daemon would continue to work but no longer be seen by Spotify. This situation should be handled better in this release. Please let me know about your experience.

Enjoy the music!

Michael

slartibartfast
2018-10-13, 10:03
Here's a small update. Not really new features, but mostly reliability improvements (hopefully :-)), and a lot of work in the background. In particular in environments where local discovery does not work, the daemon should now behave more reliably. I've seen situations where the daemon would continue to work but no longer be seen by Spotify. This situation should be handled better in this release. Please let me know about your experience.

Enjoy the music!

MichaelI checked for this update an hour or so ago and no sign of it. I guess it will appear tomorrow morning.

Sent from my SM-G900F using Tapatalk

rgro
2018-10-13, 11:52
I checked for this update an hour or so ago and no sign of it. I guess it will appear tomorrow morning.

Sent from my SM-G900F using Tapatalk

Slartibartfast......have you done the following?

Add http://www.herger.net/slim-plugins/test.xml to the plugins repository list

slartibartfast
2018-10-13, 12:15
Slartibartfast......have you done the following?

Add http://www.herger.net/slim-plugins/test.xml to the plugins repository listDo I need to? I didn't bother to add that repository when I changed to a max2play server.

Sent from my SM-G900F using Tapatalk

eater
2018-10-13, 13:12
Spotty playback on my SB3 keeps going silent for a few seconds, then resuming for a few minutes, then another moment of silence. There's no Rebuffering message or anything. Is there a good way to troubleshoot?

Playing Spotify on my laptop on the same network is flawless, and so is playing MP3s over the SB3.

(This isn't a brand new problem with 2.5.0, just to be clear: it's been going on for a while.)

rgro
2018-10-13, 14:40
Do I need to? I didn't bother to add that repository when I changed to a max2play server.

Sent from my SM-G900F using Tapatalk

I had the same situation and that's what worked for me. The 2.5 update didn't appear until I input the repository and, once done, the update appeared immediately.

slartibartfast
2018-10-13, 16:11
I had the same situation and that's what worked for me. The 2.5 update didn't appear until I input the repository and, once done, the update appeared immediately.It has appeared in the standard repository now. [emoji3]

Sent from my SM-G900F using Tapatalk

mherger
2018-10-13, 21:44
> Add http://www.herger.net/slim-plugins/test.xml to the plugins
> repository list

Spotty is NOT in that list.

I simply forgot the update the repository file... I'm sorry for the delay.

--

Michael

mherger
2018-10-13, 21:46
> Spotty playback on my SB3 keeps going silent for a few seconds, then
> resuming for a few minutes, then another moment of silence. There's no
> Rebuffering message or anything. Is there a good way to troubleshoot?

Give a little more information about your setup: server hardware, OS,
CPU. Then check the server.log file for any hint (or better: upload to
dropit@https://www.dropbox.com/request/T3RctyzGgNg0oFDubq6a


--

Michael

eater
2018-10-14, 09:54
Thanks. It's a Synology DS216+II, which has a Celeron N3060 and a Linux-based OS. It's pretty capable.

I turned on debug logging, and watching the log, I see that every time there's a silence, it gives a cache purge message:

Plugins::Spotty::Plugin::purgeAudioCacheAfterXTrac ks (442) Played 4 song(s) since last audio cache purge.

There's no silence when it actually does the cache cleanup, only when it does that check in the middle of a song.

Just sent the log.

mherger
2018-10-14, 22:28
> Thanks. It's a Synology DS216+II, which has a Celeron N3060 and a
> Linux-based OS. It's pretty capable.

Should definitely be good enough. How much memory? Are you running lots
of other services on it?

> I turned on debug logging, and watching the log, I see that every time
> there's a silence, it gives a cache purge message:
>
> Code:
> --------------------
> Plugins::Spotty::Plugin::purgeAudioCacheAfterXTrac ks (442) Played 4 song(s) since last audio cache purge.

That's odd, as this usually should be a quick check with nothing to do.
In particular as long as that number is lower than 5...

Would you know how to ssh in to your box? If so, could you please "ls
-al" the content of the spotty subfolder inside LMS' cache folder (see
Settings/Information)?

--

Michael

ElFishi
2018-10-15, 09:59
Thanks for the new version!
I can now use it for my three synced players, but I still have a few dropouts when I use Spotify Connect with synced players. You have more logs in your dropbox.
This is what happened this morning:

8:20 music stops, two processes -n & -c, progress bar running in Spotify, stops at end of song.
progress bar stopped in LMS web gui
press >|, music back
8:36 unchecked "nicht im lokalen Netzwerk bekannt geben": can't play music
other box (Überwache die Verbindung) vanished
music has dropouts
checked nicht bekannt geben und Überwache Verbindung
8:40 no player to connect to, spotty-hf -n gone
8:43 players there again, connected
8:57 music stops -c & -n still there, spotify still connected and progressing, LMS progress stopped
8:59 end of song, spotify stopped, pressed >|, music plays again
9:06 music stops, -c & -n still there, spotify still connected and progressing, LMS progress stopped,
pressed >|, music plays again
9:08 music stops, -n has a new PID, same as above, pressed >|, music plays
9:10 -n has new PID

Thanks again for all the good work!

eater
2018-10-15, 11:10
4GB RAM, and it doesn't seem to make a difference whether I run other services at the same time or shut them all down.


>
Would you know how to ssh in to your box? If so, could you please "ls
-al" the content of the spotty subfolder inside LMS' cache folder (see
Settings/Information)?



$ ls -alR Cache/spotty
Cache/spotty:
total 0
drwxr-xr-x 1 admin users 40 Oct 15 14:07 .
drwxr-xr-x 1 admin users 1214 Oct 14 12:45 ..
drwxr-xr-x 1 admin users 54 Oct 14 14:56 0004201216b6
drwxr-xr-x 1 admin users 42 Oct 14 12:43 170e2e7e

Cache/spotty/0004201216b6:
total 8
drwxr-xr-x 1 admin users 54 Oct 14 14:56 .
drwxr-xr-x 1 admin users 40 Oct 15 14:07 ..
-rw-r--r-- 1 admin users 190 Oct 14 14:56 credentials.json
drwxr-xr-x 1 admin users 0 Oct 14 14:56 files
-rw-r--r-- 1 admin users 5 Oct 14 14:56 volume

Cache/spotty/0004201216b6/files:
total 0
drwxr-xr-x 1 admin users 0 Oct 14 14:56 .
drwxr-xr-x 1 admin users 54 Oct 14 14:56 ..

Cache/spotty/170e2e7e:
total 4
drwxr-xr-x 1 admin users 42 Oct 14 12:43 .
drwxr-xr-x 1 admin users 40 Oct 15 14:07 ..
-rw-r--r-- 1 admin users 190 Oct 15 14:07 credentials.json
drwxr-xr-x 1 admin users 0 Oct 14 12:42 files

Cache/spotty/170e2e7e/files:
total 0
drwxr-xr-x 1 admin users 0 Oct 14 12:42 .
drwxr-xr-x 1 admin users 42 Oct 14 12:43 ..

mherger
2018-10-15, 21:46
Hi eater,

the log you uploaded shows that you still got the old
SpotifyProtocolHandler plugin installed. Please get rid of all Spotify
related plugins other than Spotty.

> $ ls -alR Cache/spotty

I don't see anything in your cache folder which should cause a hiccup.

--

Michael

mherger
2018-10-15, 22:02
> 8:20 music stops, two processes -n & -c, progress bar running in
> Spotify, stops at end of song.
> progress bar stopped in LMS web gui
> press >|, music back

Hmm... I don't see anything about a playback stop, nor restart playback.
Did you press play in Spotify or LMS?

> 8:36 unchecked "nicht im lokalen Netzwerk bekannt geben": can't play
> music
> other box (Ăśberwache die Verbindung) vanished

Well... the message clearly says don't touch these options unless you
know what you're doing - or are told to touch them. As explained earlier
local discovery doesn't work for your because there are conflicting
services running. That box is checked for a reason.

> music has dropouts
> checked nicht bekannt geben und Ăśberwache Verbindung

This option is only available if local discovery is disabled, because in
that case you depend on a reliable connection. Otherwise you don't.

> 8:40 no player to connect to, spotty-hf -n gone

Please note that -n is part of every call. You'd have to check the full
command line to be sure what you're looking at. "--single-track" would
indicate a helper streaming data. "--lms" would be the controlling
daemon. That's the two most important cases.

> 8:59 end of song, spotify stopped, pressed >|, music plays again
> 9:06 music stops, -c & -n still there, spotify still connected and
> progressing, LMS progress stopped,
> pressed >|, music plays again

Again no sign of a reported failure :-(. I'm a bit at a loss here.
Something about your system must be non average... maybe server load?
You mentioned a lot of services running. How is memory usage and CPU
load? Is this plain Raspbian, or max2play or something?

--

Michael

ElFishi
2018-10-15, 23:50
> 8:20 music stops, two processes -n & -c, progress bar running in
> Spotify, stops at end of song.
> progress bar stopped in LMS web gui
> press >|, music back

Hmm... I don't see anything about a playback stop, nor restart playback.
Did you press play in Spotify or LMS?

Spotify




> 8:36 unchecked "nicht im lokalen Netzwerk bekannt geben": can't play
> music
> other box (Ăśberwache die Verbindung) vanished

Well... the message clearly says don't touch these options unless you
know what you're doing - or are told to touch them. As explained earlier
local discovery doesn't work for your because there are conflicting
services running. That box is checked for a reason.


Yes, Sir. Thanks for explaining.



> music has dropouts
> checked nicht bekannt geben und Ăśberwache Verbindung[/color]

This option is only available if local discovery is disabled, because in
that case you depend on a reliable connection. Otherwise you don't.
> 8:40 no player to connect to, spotty-hf -n gone

Please note that -n is part of every call. You'd have to check the full
command line to be sure what you're looking at. "--single-track" would
indicate a helper streaming data. "--lms" would be the controlling
daemon. That's the two most important cases.
Sorry,
-c is --lms, and
-n is --single-track, these attributes don't show I simply do ps


pi@Zorin:~ $ ps -fu squeezeboxserver | sed G | fold -w 140 -s
UID PID PPID C STIME TTY TIME CMD

squeeze+ 467 1 0 Okt15 ? 00:00:00 /bin/bash /usr/sbin/squeezeboxserver_safe /usr/sbin/squeezeboxserver --prefsdir
/var/lib/squeezeboxserver/prefs --logdir /var/log/squeezeboxserver/ --cachedir /var/lib/squeezeboxserver/cache --charset=utf8

squeeze+ 492 467 4 Okt15 ? 00:31:43 /usr/bin/perl /usr/sbin/squeezeboxserver --prefsdir /var/lib/squeezeboxserver/prefs
--logdir /var/log/squeezeboxserver/ --cachedir /var/lib/squeezeboxserver/cache --charset=utf8

squeeze+ 14806 492 3 08:18 ? 00:00:43 /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf -c
/var/lib/squeezeboxserver/cache/spotty/a7912f50 -n Goldfinger, Cabinetbox & Salonbox --disable-audio-cache --bitrate 96 --player-mac
b8:27:eb:d5:60:af --lms 192.168.0.105:9000 --disable-discovery

squeeze+ 16030 1 10 08:37 ? 00:00:13 /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf -n
Squeezebox -c /var/lib/squeezeboxserver/cache/spotty/a7912f50 --single-track spotify://track:0HZWWaKieQ9ZETkTEUVTH2 --bitrate 320
--disable-discovery --disable-audio-cache



> 8:59 end of song, spotify stopped, pressed >|, music plays again
> 9:06 music stops, -c & -n still there, spotify still connected and
> progressing, LMS progress stopped,
> pressed >|, music plays again[/color]

Again no sign of a reported failure :-(. I'm a bit at a loss here.
Something about your system must be non average... maybe server load?
You mentioned a lot of services running. How is memory usage and CPU
load? Is this plain Raspbian, or max2play or something?

I monitor CPU and memory every minute. Loads are under 0.5 and available memory around 680MB.
Plain Raspbian Stretch Lite.

I consider moving LMS, spotty and maybe smb/HDD to a separate RPi.
What is an advisable (minimum) configuration? I have a RPi 1 and a Zero floating around I could put to use.
Or I get a 3+ right away to spare myself the hassle.

mherger
2018-10-16, 00:20
> I consider moving LMS, spotty and maybe smb/HDD to a separate RPi.
> What is an advisable (minimum) configuration? I have a RPi 1 and a Zero
> floating around I could put to use.
> Or I get a 3+ right away to spare myself the hassle.

Pi 1 or Zero won't do it. A Pi2 is the minimum imho. And piCorePlayer.

--

Michael

ElFishi
2018-10-16, 02:01
why picoreplayer? I wouldn't use the box to play music, just serve it.
i have pCP on a zeroW for my kitchen player and am quite happy with it. but no LMS on that box.

mherger
2018-10-16, 02:54
> why picoreplayer? I wouldn't use the box to play music, just serve it.

pCP is the simplest and quickest way to get not only a player up and
running, but a server, too. I do this myself at the office, where pCP is
a pure server installation, serving a Transporter.

I know, the name is misleading. I already had suggested to do a
piCoreServer version, too :-)...

--

Michael

ElFishi
2018-10-16, 07:40
fork it :)

mherger
2018-10-16, 07:47
> fork it :)

If you can add me another day per week...

--

Michael

ElFishi
2018-10-16, 10:07
I'd rather have you work on this here ;)

eurif
2018-10-20, 05:10
Hi,

Thx for this great plugin that makes my Squeezebox player reviving in this particular Spotify world. :cool: (... and moreover Spotify Connected)

I was facing the main issue mentionned in the release information. Hope this version will fix it. I'll keep you informed.


I also noticed the following :

At home, we're using 2 Spotify premium accounts. In LMS, we must select an account (or browse in it) in order to enable the player as Spotify Connected for this account.

Is it a normal behaviour ?


Thx for your answer.

eurif
2018-10-20, 05:12
Hi,

Thx for this great plugin that makes my Squeezebox player reviving in this particular Spotify world. :cool: (... and moreover Spotify Connected)

I was facing the main issue mentionned in the release information. Hope this version will fix it. I'll keep you informed.


I also noticed the following :

At home, we're using 2 Spotify premium accounts. In LMS, we must select an account (or browse in it) in order to enable the player as Spotify Connected for this account.

Is it a normal behaviour ?


Thx for your answer.

mherger
2018-10-20, 07:14
At home, we're using 2 Spotify premium accounts. In LMS, we must select an account (or browse in it) in order to enable the player as Spotify Connected for this account.
Is it a normal behaviour ?

Unfortunately yes. If local announcements don't work, then the players are only visible to the account with which it is logged in. That's one of the limitations of disabled discovery mode.

pteittinen
2018-10-20, 15:39
Hello Michael,

and greetings from Finland. Thank you very much for developing Spotty; I was just about to junk all my Squeezebox hardware for lack of support from Logitech & Spotify but your plug-in saved the day -- at least partly.

I say partly as I'm having some problems with the playback. I'm running LMS on a Qnap 869 Pro NAS (x86_64-linux), Squeezebox Receiver is connected to the same switch as the NAS, and all WAN traffic is handled via a TP-Link Load Balancing Router (altho load balancing has been disabled) hooked up to a Huawei 4G LTE modem/router. Spotify Connect is disabled in player settings. In your plug-in's Advanced settings "Optimize Pre-Buffering" is disabled, as is the "Monitor the connection". "Don't announce Sb players running in Spotity Connect mode" is enabled, i.e. the player is not announced as a Spotify Connect endpoint in my network. Spotty is version 2.5.1 and LMS is v7.9.2.

The issue is that more often than not there's a very long gap of silence between songs. Sometimes we're talking minutes, and I can't remember experiencing of gap shorter than 5 seconds. Also it's not that uncommon for playback getting stuck at the end of a song, and I need to click Next track manually to resume playback.

What can I do to improve the playback?

Thanks!

mherger
2018-10-20, 23:14
I say partly as I'm having some problems with the playback. I'm running LMS on a Qnap 869 Pro NAS (x86_64-linux), Squeezebox Receiver is connected to the same switch as the NAS, and all WAN traffic is handled via a TP-Link Load Balancing Router (altho load balancing has been disabled) hooked up to a Huawei 4G LTE modem/router. Spotify Connect is disabled in player settings. In your plug-in's Advanced settings "Optimize Pre-Buffering" is disabled, as is the "Monitor the connection". "Don't announce Sb players running in Spotity Connect mode" is enabled, i.e. the player is not announced as a Spotify Connect endpoint in my network. Spotty is version 2.5.1 and LMS is v7.9.2.

The issue is that more often than not there's a very long gap of silence between songs. Sometimes we're talking minutes, and I can't remember experiencing of gap shorter than 5 seconds. Also it's not that uncommon for playback getting stuck at the end of a song, and I need to click Next track manually to resume playback.

I understand you're controlling Spotty playback all from LMS/SB, not Spotify app involved?

Could you please set logging for plugin.spotty to INFO (Settings/Advanced/Logging), play with Spotty, then provide your server.log.zip file?

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

pteittinen
2018-10-21, 04:05
I understand you're controlling Spotty playback all from LMS/SB, not Spotify app involved?
You are correct.


Could you please set logging for plugin.spotty to INFO (Settings/Advanced/Logging), play with Spotty, then provide your server.log.zip file?
I set logging, started play with Spotty.... and it's performing flawlessly. Practically zero gap between songs, and hasn't gotten stuck at the end of a song once. Dogdammit... I'll send you a log once (if) playback begins choking again.

(edit) Aaand while I was typing that, playback froze at the end of a song. Log incoming shortly... done.

(edit) Uploaded another zip (the "02"), after manually un-freezing 3 consecutive stuck songs, and with the latest song now "playing", i.e. time advances in LMS but there's no audio coming out of the Squeezebox Receiver.

slartibartfast
2018-10-21, 10:43
I have noticed my Touch volume is being set to 50% since the update to 2.5.x. It seems to happen when I choose the Touch as the Connect device. Log follows. the volume change to 51 was me checking the volume.
25814

slartibartfast
2018-10-21, 10:53
I have noticed my Touch volume is being set to 50% since the update to 2.5.x. It seems to happen when I choose the Touch as the Connect device. Log follows. the volume change to 51 was me checking the volume.
25814

The volume seems to change to 51 when I try adjusting the volume in Orange Squeeze. Before that the volume is 100.

slartibartfast
2018-10-21, 11:25
The volume seems to change to 51 when I try adjusting the volume in Orange Squeeze. Before that the volume is 100.

Actually I am not adjusting volume in Orange Squeeze I am changing it in the Spotify app. So the volume stays at 100 until I change the volume in the Spotify app and it then changes to 50 ish. This did not happen with 2.4.x.

mherger
2018-10-21, 22:08
> I set logging, started play with Spotty.... and it's performing
> flawlessly. Practically zero gap between songs, and hasn't gotten stuck
> at the end of a song once. Dogdammit... I'll send you a log once (if)
> playback begins choking again. Apologies for the bother :(

There are some signs of temporary internet hiccups - not only by Spotty
related code, but LMS in general. Sometimes it seems to fail to lookup
information from mysb.com (eg. the Sounds & Effects menu data)

--

Michael

mherger
2018-10-21, 22:12
> Actually I am not adjusting volume in Orange Squeeze I am changing it in
> the Spotify app. So the volume stays at 100 until I change the volume in
> the Spotify app and it then changes to 50 ish. This did not happen with
> 2.4.x.

I'm pretty certain that's not new in 2.5.x, as this is nothing I touched
in that update. IMHO it's just Spotify's behaviour to always default
volume back to 50% after a de-connect. I know that this has been topic
of discussions in the librespot community (the library Spotty is using).
But I can double-check.

--

Michael

slartibartfast
2018-10-21, 23:16
> Actually I am not adjusting volume in Orange Squeeze I am changing it in
> the Spotify app. So the volume stays at 100 until I change the volume in
> the Spotify app and it then changes to 50 ish. This did not happen with
> 2.4.x.

I'm pretty certain that's not new in 2.5.x, as this is nothing I touched
in that update. IMHO it's just Spotify's behaviour to always default
volume back to 50% after a de-connect. I know that this has been topic
of discussions in the librespot community (the library Spotty is using).
But I can double-check.

--

MichaelMaybe I didn't try adjusting volume before [emoji3]

Sent from my SM-G900F using Tapatalk

efickel
2018-10-22, 08:58
I have an issue using Spotty with Spotify podcasts. When I listen to podcasts, none of the Spotty devices appear in the device list on the Spotify application. However, my Denon receiver and my son's Chromecast do appear in the device list, and I can transfer to those devices for playback.

Thanks for any help.

-ERF

mherger
2018-10-22, 09:07
> I have an issue using Spotty with Spotify podcasts. When I listen to
> podcasts, none of the Spotty devices appear in the device list on the
> Spotify application. However, my Denon receiver and my son's Chromecast
> do appear in the device list, and I can transfer to those devices for
> playback.

Yes, unfortunately this is a known limitation.

--

Michael

Antoine
2018-10-23, 02:19
Hi Michael,

Great work on Spotty ! Thank you for putting this much effort in it.
I've just installed it, and everything worked nicely during installation : My squeezebox is properly detected everywhere, even on my laptop's Spotify application.
However, when i try to play music, I'm only getting "clicking" sounds, but no music. On other music sources, my SB works fine.

Would you happen to know why this is happening ? Am i maybe missing dependencies, hardware, or anything else ?

Here is my setup :
- Squeezebox
- A raspberry pi with LMS installed
- Spotty 2.5.1 plugin (no checkbox checked, appart the one which allows to see the SB radio on spotify connect)

Thanks !!

mherger
2018-10-23, 02:29
> Here is my setup :
> - Squeezebox
> - A raspberry pi with LMS installed

What operating system and version are you using?

--

Michael

Antoine
2018-10-23, 02:56
It's a raspbian (Wheezy)
The firmware version of the squeezebox is 7.7.3 (probably an old one)

slartibartfast
2018-10-23, 03:08
It's a raspbian (Wheezy)
The firmware version of the squeezebox is 7.7.3 (probably an old one)Unfortunately Jessie is the earliest Raspbian that works with Spotty. If you search in the earlier Spotty threads quite a few had the same issue.

Sent from my SM-G900F using Tapatalk

mherger
2018-10-23, 04:30
> It's a raspbian (Wheezy)

Wheezy unfortunately isn't compatible with Spotty, as slartibartfast
mentioned.

--

Michael

Antoine
2018-10-23, 08:21
Ok i'll try to upgrade and keep you informed ! Thanks

McLibboc
2018-10-23, 08:52
I try to get Spotty 2.5.1 to work with my Synology NAS (DS213+) with Synology 7.9.2 packages:


Logitech Media Server Version: 7.9.2 - 0010.1524841547 @ Fri Apr 27 17:20:52 CEST 2018
Betriebssystem: Synology DiskStation - DE - utf8
Plattformarchitektur: powerpc-linux
Perl-Version: 5.24.0 - powerpc-linux

When I try to setup the plugin, I get the following error message:


Tut mir Leid, aber sehr wahrscheinlich ist ihre Prozessorarchitektur oder das Betriebssystem nicht mit Spotty kompatibel. Sie können noch immer einen Versuch wagen. Aber vermutlich wird er fehl schlagen.

Betriebssystem: Synology DiskStation / powerpc-linux

Ordner für Hilfsprogramme:
/volume1/@appstore/SqueezeCenter/Bin
/sbin
/bin
/usr/sbin
/usr/bin
/usr/syno/sbin
/usr/syno/bin
/usr/local/sbin
/usr/local/bin
/usr/libexec
/volume1/@appstore/SqueezeCenter/Cache/InstalledPlugins/Plugins/Spotty/Bin
sh: ldd: command not found

Any ideas?

mherger
2018-10-23, 10:46
I try to get Spotty 2.5.1 to work with my Synology NAS (DS213+) with Synology 7.9.2 packages:


Logitech Media Server Version: 7.9.2 - 0010.1524841547 @ Fri Apr 27 17:20:52 CEST 2018
Betriebssystem: Synology DiskStation - DE - utf8
Plattformarchitektur: powerpc-linux
Perl-Version: 5.24.0 - powerpc-linux

Unfortunately Spotty is not compatible with the PowerPC architecture.

McLibboc
2018-10-23, 15:10
Unfortunately Spotty is not compatible with the PowerPC architecture.

Ah, I feared as much. Thanks for the reply. I will try to install the LMS on another platform then.

mherger
2018-10-23, 21:39
>> Unfortunately Spotty is not compatible with the PowerPC architecture.
>
> Ah, I feared as much. Thanks for the reply. I will try to install the
> LMS on another platform then.

If you were adventurous you could try to build it yourself...
interested? It would involve installing Rust compiler on your device,
and run some commands on the NAS. And patience.

--

Michael

McLibboc
2018-10-24, 01:20
If you were adventurous you could try to build it yourself...
interested? It would involve installing Rust compiler on your device,
and run some commands on the NAS. And patience.

If there is an instruction for dummies on how to to it, I'd be willing to give it a try.
I have absolutely no experience with compiling stuff, though.

mherger
2018-10-24, 01:34
> I have absolutely no experience with compiling stuff, though.

Then I suggest you better spend some money for a Raspberry Pi and set
LMS up using piCorePlayer :-). As I've never compiled on a Synology NAS
myself I'm not even sure it's technically possible.

--

Michael

McLibboc
2018-10-24, 01:42
> I have absolutely no experience with compiling stuff, though.

Then I suggest you better spend some money for a Raspberry Pi and set
LMS up using piCorePlayer :-). As I've never compiled on a Synology NAS
myself I'm not even sure it's technically possible.


Ok, thanks. I already have a Pi, but so far this has not been my first choice for the LMS since my local music is stored on the NAS.
I will give this a try now.

McLibboc
2018-10-24, 04:39
Ok, thanks. I already have a Pi, but so far this has not been my first choice for the LMS since my local music is stored on the NAS.
I will give this a try now.

That worked like a charm.
One question remains: When are changes in the sound quality of the spotify stream supposed to take effect? Immediately after saving or does something (the LMS) have to be restarted for that?

Cheers!

mherger
2018-10-24, 05:16
> One question remains: When are changes in the sound quality of the
> spotify stream supposed to take effect? Immediately after saving or does
> something (the LMS) have to be restarted for that?

The bitrate setting? Only on track change.

--

Michael

Antoine
2018-10-24, 09:36
Hi again !
I've updated my RPi to Jessie, and everything works like a charm.

Thanks a lot Slartibartfast & Michael :) !

pteittinen
2018-10-25, 12:07
Hi Michael,

I enabled Spotify Connect in player settings, unticked the "Don't announce players" box in plug-in settings, and enabled the "Optimized Pre-buffering" feature. As a result the playback performance improved remarkably; gaps between tracks disappeared almost completely, and during approx. 5 hours of play a song has become 'stuck' at the end only twice.

Oddly enough, now that I took another look at plug-in settings, I noticed the "Don't announce players" box has its tick back, and I'm 100% sure I didn't put it there. Huh.


> I set logging, started play with Spotty.... and it's performing
> flawlessly. Practically zero gap between songs, and hasn't gotten stuck
> at the end of a song once. Dogdammit... I'll send you a log once (if)
> playback begins choking again. Apologies for the bother :(

There are some signs of temporary internet hiccups - not only by Spotty
related code, but LMS in general. Sometimes it seems to fail to lookup
information from mysb.com (eg. the Sounds & Effects menu data)

--

Michael

mherger
2018-10-25, 14:25
> I enabled Spotify Connect in player settings, unticked the "Don't

That certainly doesn't make any positive difference for playback issues
when controlling though LMS anyway...

> announce players" box in plug-in settings, and enabled the "Optimized
> Pre-buffering" feature. As a result the playback performance improved
> remarkably; gaps between tracks disappeared almost completely, and
> during approx. 5 hours of play a song has become 'stuck' at the end only
> twice.

What kind of player are you using?

> Oddly enough, now that I took another look at plug-in settings, I
> noticed the "Don't announce players" box has its tick back, and I'm 100%
> sure I didn't put it there. Huh.

Did you read the info for this option? It will automatically be set if
the daemon crashes repeatedly.

--

Michael

pteittinen
2018-10-25, 18:04
That certainly doesn't make any positive difference for playback issues
when controlling though LMS anyway...
Okay, just reporting what changes I made.


What kind of player are you using?
You mean the Squeezebox? It's the Receiver one, a small-ish black plastic brick, connected to a gbit switch via ethernet.


Did you read the info for this option? It will automatically be set if
the daemon crashes repeatedly.
Ah, okay, that explains that then.

mherger
2018-10-25, 20:52
>> What kind of player are you using?
> You mean the Squeezebox? It's the Receiver one, a small-ish black
> plastic brick, connected to a gbit switch via ethernet.

Then I'm very much surprised the "optimize buffer" option has a positive
effect... Good to hear anyway.

--

Michael

carlitos_k
2018-10-27, 10:17
Hi Michael

I'm trying to install Spotty 2.5.1 plugin in Daphile 18.07, I choose it from the 3rd party plugins, I click Apply and it doesn't get installed.

Can you help me with this problem? It was running ok for months but I think it got upgraded and started to fail.

Thanks in advance

mherger
2018-10-27, 12:45
> I'm trying to install Spotty 2.5.1 plugin in Daphile 18.07, I choose it
> from the 3rd party plugins, I click Apply and it doesn't get installed.

Is there anything in your server.log file? Feel free to upload it to
https://www.dropbox.com/request/T3RctyzGgNg0oFDubq6a

--

Michael

kiekerjan
2018-10-28, 02:36
First of all thanks for the work on the Spotify Connect plugin. It greatly extends the lifetime of my squeezebox devices :cool:

I have an issue with the Spotty executable. When it is running it highjacks the mdns/dns-sd service discovery such that my server is no longer discoverable on my netwerk. e.g. normally I can use "ping paranoidandroid.local", which does not work when the spotty binary is running. I'm using Debian on my server to run the squeezebox server. Debian uses Avahi for service discovery.

I found the following workaround:

Change avahi configuration. I use the option: disallow-other-stacks=yes. However, this causes the spotty binary to be disabled (or crash?) It is not running when I look at the processes: "ps -elf | grep -i spotty".
Disable discovery by checking "Don't announce Squeezebox players running in Spotify Connect mode in your network" in the Spotty preferences.

However, without Discovery enabled I often do not see the squeezebox in the Spotify app.
I saw some references that seem related to this issue on the librespot github (https://github.com/librespot-org/librespot/pull/13 and https://github.com/librespot-org/librespot/pull/112). Is it possible to use this option with the spotty binary? If so, how can I do that?

mherger
2018-10-28, 04:31
Change avahi configuration. I use the option: disallow-other-stacks=yes. However, this causes the spotty binary to be disabled (or crash?) It is not running when I look at the processes: "ps -elf | grep -i spotty".
Disable discovery by checking "Don't announce Squeezebox players running in Spotify Connect mode in your network" in the Spotty preferences.


That's correct. Spotty currently would crash if avahi was running already. Which in turn would lead to that "Don't announce..." option to be enabled.


However, without Discovery enabled I often do not see the squeezebox in the Spotify app.
I saw some references that seem related to this issue on the librespot github (https://github.com/librespot-org/librespot/pull/13 and https://github.com/librespot-org/librespot/pull/112). Is it possible to use this option with the spotty binary? If so, how can I do that?

TBH I'm still not 100% sure how these interact. You could try to compile spotty with the feature selected as described in above pull request #112. Would be interesting to understand how that behaves.

kiekerjan
2018-10-28, 12:10
TBH I'm still not 100% sure how these interact. You could try to compile spotty with the feature selected as described in above pull request #112. Would be interesting to understand how that behaves.

Ok, I tried that. I did the following:

git clone https://github.com/michaelherger/spotty.git
Add line "features = ["with-dns-sd"]" to Cargo.toml under the [dependencies.librespot] header
Build it with cargo build --release (had to install some avahi development library)
Replaced spotty-x86_64 with the newly built binary (it is quite a lot bigger than the original, but it seems to have debug symbols)
Removed the checkmark before "Don't announce Squeezebox..." in server settings
(Any incompetence in this list is my own :eek:)
It seems to work. No crash, detection of the squeezebox in spotify seems more dependable and music is playing as expected. I'll try it out for a while and report back here.

mherger
2018-10-28, 14:01
It seems to work. No crash, detection of the squeezebox in spotify seems more dependable and music is playing as expected. I'll try it out for a while and report back here.

Nice! I guess you got a bigger file because you didn't strip your build? The dev build would be about 10x as large as the release build...

You can rename your build to spotty-custom and put somewhere inside your search path. This way you won't have to replace it every time you update Spotty.

aeppsi
2018-10-30, 09:31
Hi Michael,

I had a question on the Spotty 2.3 thread any you asked me what I did concerning the developer ID. I cannot reply there and dont know why. I just saw this thread and thought I can reach you here.

I have a playlist on Spotify that contains about 1000 songs. When I choose this playlist it loads just 500 songs into LMS. Do you have any idea what mistake I did?

I did the following:

------------------------------
Step 1
Go to https://developer.spotify.com/dashboard
Login with the user name and password of the regular Spotify account

Step 2
Go to “create a client ID”
Fill the form with some text. Check “I don’t know” at the question “What are you building?”. Agree on all terms. Press “submit”.

Step 3
Copy the client ID and put it into the settings at the Spotty Plugin

Step 4
Restart LMS
-------------------------------

Many thanks
aeppsi

mherger
2018-10-30, 09:36
> Step 1
> Go to https://developer.spotify.com/dashboard
> Login with the user name and password of the regular Spotify account
>
> Step 2
> Go to “create a client ID”
> Fill the form with some text. Check “I don’t know” at the question “What
> are you building?”. Agree on all terms. Press “submit”.
>
> Step 3
> Copy the client ID and put it into the settings at the Spotty Plugin
>
> Step 4
> Restart LMS

That's looking good ot me. How did that not work?

--

Michael

aeppsi
2018-10-30, 09:45
> Step 1
> Go to https://developer.spotify.com/dashboard
> Login with the user name and password of the regular Spotify account
>
> Step 2
> Go to “create a client ID”
> Fill the form with some text. Check “I don’t know” at the question “What
> are you building?”. Agree on all terms. Press “submit”.
>
> Step 3
> Copy the client ID and put it into the settings at the Spotty Plugin
>
> Step 4
> Restart LMS

That's looking good ot me. How did that not work?

--

Michael

As I said, I have no idea.

This is the playlist: https://open.spotify.com/user/fr%C3%A4uleinphinchen/playlist/7ab4z0Hp5Fwzb2IBRHeFNl?si=6GIaI4EfScm3FrMJUhkmmQ

And the sceenshot shows what it does in LMS. It just loads 500 songs. :confused:

aeppsi

25869

aeppsi
2018-10-30, 09:48
25870

the screenshot shows what it loads into LMS (just 500 songs).

and this is the playlist on Spotify: https://open.spotify.com/user/fr%C3%A4uleinphinchen/playlist/7ab4z0Hp5Fwzb2IBRHeFNl?si=kp22nOs5T6eXt3pSXJ0OKw

Hmm. no idea. :confused:

aeppsi

slartibartfast
2018-10-30, 09:56
25870

the screenshot shows what it loads into LMS (just 500 songs).

and this is the playlist on Spotify: https://open.spotify.com/user/fr%C3%A4uleinphinchen/playlist/7ab4z0Hp5Fwzb2IBRHeFNl?si=kp22nOs5T6eXt3pSXJ0OKw

Hmm. no idea. :confused:

aeppsiRemember there is a setting in LMS for maximum playlist length. Look under Settings/ Advanced/ performance. The default is 500.

Sent from my SM-G900F using Tapatalk

aeppsi
2018-10-30, 10:06
Ohh. You are right. The max. playlist length was the limited. I am sorry that I did realized this before. Many many thanks for helping.

aeppsi

jared94
2018-10-31, 02:04
hi,

I get evry time the following error message, and the players appear randomly in the spotify android apps...



[18-10-31 09:51:32.5150] Plugins::Spotty::Plugin::renameCacheFolder (369) Trying to rename __AUTHENTICATE__ to
[18-10-31 09:51:32.5152] Plugins::Spotty::Plugin::renameCacheFolder (371) Error: No newId found in '__AUTHENTICATE__'
[18-10-31 09:51:32.5155] 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/Settings/Auth.pm line 173)
frame 2: Plugins::Spotty::Settings::Auth::cleanup (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Settings/Auth.pm line 183)
frame 3: Plugins::Spotty::Settings::Auth::shutdownHelper (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Settings.pm line 99)
frame 4: Plugins::Spotty::Settings::handler (/usr/share/perl5/Slim/Web/HTTP.pm line 1124)
frame 5: Slim::Web::HTTP::generateHTTPResponse (/usr/share/perl5/Slim/Web/HTTP.pm line 894)
frame 6: Slim::Web::HTTP::processURL (/usr/share/perl5/Slim/Web/HTTP.pm line 691)
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)


Do you have an idea?

mherger
2018-10-31, 10:10
I get evry time the following error message, and the players appear randomly in the spotify android apps...

Every time when you do what?

chn68b
2018-10-31, 13:58
I'm trying to get this working on my server running WHS 2011.

When I go into the Spotty settings I'm unable to add my account, "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've clicked on the link and installed Visual C++ Redistributable for Visual Studio 2015? but there's no difference.

Logitech Media Server Version: 7.7.6 - 1521467459 @ Thu Mar 29 16:46:01 WEDT 2018
Hostname:
Server IP Address:
Server HTTP Port Number:
Operating system: Windows 2008 Server R2 - EN - cp1252
Platform Architecture: 8664
Perl Version: 5.14.1 - MSWin32-x86-multi-thread
Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)


Hoping someone can help

Thanks

mherger
2018-10-31, 21:46
> When I go into the Spotty settings I'm unable to add my account, "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."

Could you please double-check you have installed the 32-bit version (NOT
64!)?


--

Michael

chn68b
2018-11-01, 14:58
Sorry, looks like I downloaded the 64bit version.

Will install the 32bit version now.

Thanks

carlitos_k
2018-11-01, 17:16
> I'm trying to install Spotty 2.5.1 plugin in Daphile 18.07, I choose it
> from the 3rd party plugins, I click Apply and it doesn't get installed.

Is there anything in your server.log file? Feel free to upload it to
https://www.dropbox.com/request/T3RctyzGgNg0oFDubq6a

--

Michael

Sorry Michael for the late response...

server.log shows 2 lines:

[18-11-01 21:06:34.3092] main::init (387) Starting Logitech Media Server (v7.9.2, gitcb40858, Daphile 18.07-x86_64) perl 5.024003 - x86_64-linux-thread-multi
[18-11-01 21:06:56.6194] Slim::Plugin::Extensions::Settings::handler (35) attempt to set params with band random number - ignoring

I select the plugin in 3rd. party plugins, Apply, restart, then the plugins shows in Updated plugins available, then I select it and Apply again and it goes back to 3rd party, it's a loop...

I hope the text in the log gives you a clue. I'm running the beta version of Daphile, so I have ssh access.

Thanks a lot!

mherger
2018-11-01, 21:48
> [18-11-01 21:06:34.3092] main::init (387) Starting Logitech Media Server
> (v7.9.2, gitcb40858, Daphile 18.07-x86_64) perl 5.024003 -
> x86_64-linux-thread-multi
> [18-11-01 21:06:56.6194] Slim::Plugin::Extensions::Settings::handler
> (35) attempt to set params with band random number - ignoring

Make sure you fully reload the settings pages before you try to install
a plugin. You seem to be doing so from a stale or outdated cached copy.

--

Michael

carlitos_k
2018-11-02, 07:52
Make sure you fully reload the settings pages before you try to install
a plugin. You seem to be doing so from a stale or outdated cached copy.

--

Michael

Thanks Michael

I retried from another browser with no history in Daphile Settings and it doesn't work.

I installed the last beta version with ssh access and I cd to the plugins cache directory and there is nothing there (/var/daphile/mediaserver/cache/DownloadedPlugins)

The extension is there, available for downloading but I think it isn't downloaded and installed...

mherger
2018-11-02, 08:01
> I installed the last beta version with ssh access and I cd to the
> plugins cache directory and there is nothing there
> (/var/daphile/mediaserver/cache/DownloadedPlugins)

The problem is that the plugin page is expecting a token when it's being
submitted. That token would change after a while. And according to the
log snippet you posted that token is expired when you tried to install
the plugin. Can you use the "Classic" skin in LMS and try again? Would
other plugins fail the same way?

--

Michael

carlitos_k
2018-11-02, 08:17
I enabled plugins logging setting and see this:

[18-11-02 12:15:08.4523] Slim::Utils::PluginDownloader::_downloadDone (199) digest does not match /var/daphile/mediaserver/cache/DownloadedPlugins/Spotty.zip - Spotty will not be installed

Using ssh I also see Spotty.zip in the DownloadedPlugins directory and then dissappears.

carlitos_k
2018-11-02, 08:28
If I try to download Spotty manually from the Daphile server, then I interrupt the command as it shows "stalled", I ls and the file is there, I check the sha, and it gets the wrong sha digest.. It seems as it doesn't complete the download correctly..

wget http://downloads.nixda.ch/Spotty-2.5.2.zip
Connecting to downloads.nixda.ch (104.31.66.244:80)
Spotty-2.5.2.zip 100% |************************************************* | 10909k - stalled --^C
daphile DownloadedPlugins # ls
Spotty-2.5.2.zip
daphile DownloadedPlugins # sha1sum Spotty-2.5.2.zip
c78040a46d27921f0ea788b24da007c09b5d9fe2 Spotty-2.5.2.zip

mherger
2018-11-02, 08:33
> I enabled plugins logging setting and see this:
>
> [18-11-02 12:15:08.4523] Slim::Utils::PluginDownloader::_downloadDone
> (199) digest does not match
> /var/daphile/mediaserver/cache/DownloadedPlugins/Spotty.zip - Spotty
> will not be installed

Could you please, from the LMS machine (daphile) download the file:

curl -O http://downloads.nixda.ch/Spotty-2.5.2.zip

Then calculate it's checksum:

shasum Spotty-2.5.2.zip

What would that give you?

--

Michael

mherger
2018-11-02, 08:35
Oh, you beat me to it :-)


If I try to download Spotty manually from the Daphile server, then I interrupt the command as it shows "stalled", I ls and the file is there, I check the sha, and it gets the wrong sha digest.. It seems as it doesn't complete the download correctly..

wget http://downloads.nixda.ch/Spotty-2.5.2.zip
Connecting to downloads.nixda.ch (104.31.66.244:80)
Spotty-2.5.2.zip 100% |************************************************* | 10909k - stalled --^C
daphile DownloadedPlugins # ls
Spotty-2.5.2.zip
daphile DownloadedPlugins # sha1sum Spotty-2.5.2.zip
c78040a46d27921f0ea788b24da007c09b5d9fe2 Spotty-2.5.2.zip

Well, hitting ctrl-c certainly will result in an invalid file. Please try again. Also, could you please post the results of


curl -I http://downloads.nixda.ch/Spotty-2.5.2.zip
?

carlitos_k
2018-11-02, 08:41
> I enabled plugins logging setting and see this:
>
> [18-11-02 12:15:08.4523] Slim::Utils::PluginDownloader::_downloadDone
> (199) digest does not match
> /var/daphile/mediaserver/cache/DownloadedPlugins/Spotty.zip - Spotty
> will not be installed

Could you please, from the LMS machine (daphile) download the file:

curl -O http://downloads.nixda.ch/Spotty-2.5.2.zip

Then calculate it's checksum:

shasum Spotty-2.5.2.zip

What would that give you?

--

Michael

I sent you the shasum in another message, that gave me the clue that it could be a network problem. I changed the location of the Daphile PC to directly attach it to my router and the plugin was installed correctly...

I am sorry for making you loose time, thank you for your software...

Best regards
Carlos.

matek994
2018-11-02, 10:21
Hi!

Question: Does Spotty allow to disabling/hiding music marked "Explicit"?

Bests

mherger
2018-11-02, 23:35
> Question: Does Spotty allow to disabling/hiding music marked
> "Explicit"?

No, it hasn't.

I was wondering how you'd expect this to work: from what I can tell that
information is available for every track Spotify returns in a query. But
I cannot tell Spotify not to return them. This could lead to the
situation where I request 50 tracks, but end up with none, because all
are explicit. Eg. I would offer playlists for playback which then
wouldn't play. Is this a situation you could live with? How does
Spotify's application handle this?

--

Michael

matek994
2018-11-04, 12:36
> Question: Does Spotty allow to disabling/hiding music marked
> "Explicit"?

No, it hasn't.

I was wondering how you'd expect this to work: from what I can tell that
information is available for every track Spotify returns in a query. But
I cannot tell Spotify not to return them. This could lead to the
situation where I request 50 tracks, but end up with none, because all
are explicit. Eg. I would offer playlists for playback which then
wouldn't play. Is this a situation you could live with? How does
Spotify's application handle this?

--

Michael

In the iOS app, I believe the tracks are shown dimmed and cannot be played back. Interestingly though, the parental control setting is changed from within the app, so not very hard for the kids to find out how to disable it. Probably with a proper Spotify family account there is a better solution, I dont know?

Anyhow, it would be nice to have a similar feature in Spotty. The parental control could preferably be enabled/disabled in the LMS web UI, and then tracks would be listed but play back disabled (automatically skipped). It would also be nice if cover images of albums containing a lot of explicit content could also be replaced with a generic image. I remember when my 5-year old son searched for something completely innocent in the former Spotify app when suddenly the not very child-friendly cover image of the Rammstein album Sehnsucht appears in his face (Thank you Rammstein!). Would of course be nice if such situations could be prevented!! ;|

mherger
2018-11-04, 23:14
> In the iOS app, I believe the tracks are shown dimmed and cannot be
> played back.

LMS in my experience doesn't like tracks which eventually wouldn't play.
But I put it on my list of things to look into. I might just skip them.

> skipped). It would also be nice if cover images of albums containing a
> lot of explicit content could also be replaced with a generic image. I

Now that could become a bit more difficult. Because there's not always a
good relation between textual content and cover art, is there? Eg. Pink
Floyd's "Wish You Were Here" cover might be really disturbing to some.
And then some very explicit albums aren't any sexier than ads you'd see
on TV or hanging from walls...

> remember when my 5-year old son searched for something completely
> innocent in the former Spotify app when suddenly the not very
> child-friendly cover image of the Rammstein album Sehnsucht appears in
> his face (Thank you Rammstein!). Would of course be nice if such
> situations could be prevented!! ;|

In that case that filter might have worked. Alas: the explicit flag is a
track property you wouldn't get with the album list. I'd have to
download all track information in order to take the decision what
artwork to show. Which simply is not practical.

--

Michael

shade73a
2018-11-05, 13:35
Hello.

I was a little bit stumbled today as I started to playing music at home by mistake from work on my iphones Spotify client via 3G.
I can even switch between my players.
This i cannot do with wifes phone (android) with wifi turned off. As i expect not to be possible.
I thought the Spotify client was using wifi/bluetooth to connect.
We have a family account and have two separate accounts registered with spotty.
*edit below*
I see here my players are proxied/releyed here, but who is here? name = 158.65.199.104.bc.googleusercontent.com, spotify service?

tcp 0 0 192.168.1.120:37472 104.199.65.158:4070 ESTABLISHED 21799/spotty-x86_64
tcp 0 0 192.168.1.120:60100 104.199.65.41:4070 ESTABLISHED 14208/spotty-x86_64
tcp 0 0 192.168.1.120:51740 104.199.64.172:4070 ESTABLISHED 14379/spotty-x86_64

Still, how come my wifes android does not connect to external network.
And i rather not expose anything to the outside, can this be turned off?

Br Fredrik

mherger
2018-11-05, 22:49
> I was a little bit stumbled today as I started to playing music at home
> by mistake from work on my iphones Spotify client via 3G.
> I can even switch between my players.
> This i cannot do with wifes phone (android) with wifi turned off. As i
> expect not to be possible.
> I thought the Spotify client was using wifi/bluetooth to connect.
> We have a family account and have two separate accounts registered with
> spotty.

Spotty does connect to the Spotify servers - which would see your
players, too. But if your wife is using a different account (family
member), then she would only see "her" players outside your home, not
those connected to your account. Those are only visible in your LAN.

--

Michael

Paul Webster
2018-11-07, 00:42
Interesting development ... Spotify making it possible for manufacturers to provide Spotify access to people without Premium account.

mherger
2018-11-07, 00:54
> Interesting development ... Spotify making it possible for manufacturers
> to provide Spotify access to people without Premium account.

? Can you elaborate?

--

Michael

Raymond Woodward
2018-11-07, 01:38
I notice that here in the UK Sky are offering three months 'free' Spotify to Sky Q subscribers, dunno if that is what he's refering to ..?

https://www.sky.com/shop/tv/spotify?DCMP=tva-skycom:na_spotify

slartibartfast
2018-11-07, 01:39
> Interesting development ... Spotify making it possible for manufacturers
> to provide Spotify access to people without Premium account.

? Can you elaborate?

--

Michael https://www.pocket-lint.com/apps/news/spotify/146229-spotify-free-support-coming-to-spotify-connect-speakers

Sent from my SM-G900F using Tapatalk

kiekerjan
2018-12-04, 14:26
It seems to work. No crash, detection of the squeezebox in spotify seems more dependable and music is playing as expected. I'll try it out for a while and report back here.

Until now the detection of the squeezebox by the Spotify app worked great. However, I have another issue. When I listen to a Spotify playlist and want to skip ahead, it does not, and just restarts the current track. The Spotify app shows the next track, but the Squeezebox keeps playing the current track. Could this be related to the custom build I made?

mherger
2018-12-04, 14:30
> Until now the detection of the squeezebox by the Spotify app worked
> great. However, I have another issue. When I listen to a Spotify
> playlist and want to skip ahead, it does not, and just restarts the
> current track. The Spotify app shows the next track, but the Squeezebox
> keeps playing the current track. Could this be related to the custom
> build I made?

Are you running the latest v2.6.3 of the plugin?

--

Michael

slartibartfast
2018-12-04, 14:32
Until now the detection of the squeezebox by the Spotify app worked great. However, I have another issue. When I listen to a Spotify playlist and want to skip ahead, it does not, and just restarts the current track. The Spotify app shows the next track, but the Squeezebox keeps playing the current track. Could this be related to the custom build I made?Which version of the plugin are you using? 2.6.3 fixed this for me.

Sent from my SM-G900F using Tapatalk

kiekerjan
2018-12-04, 14:39
Are you running the latest v2.6.3 of the plugin?


Which version of the plugin are you using? 2.6.3 fixed this for me.

You guys are fast :cool:
I just noticed the update and restarted the server. I'll see how it goes. Thanks!

didjean
2018-12-27, 16:16
I am on Qobuz, but was curious and took a 3 months subscription to Spotify just to test Spotty :-).

I must say I definitely prefer the sound quality of Qobuz (when is Spotify going to launch their Hifi service?) but I do LOVE Spotty and Spotify music selections/playlists. Great work :-)

Is there any Qobuz Connect on which a similiar plugin could be created. It's very convenient to use the native interface from a streaming service.

Cheers!

mherger
2018-12-27, 23:11
> Is there any Qobuz Connect on which a similiar plugin could be created.
> It's very convenient to use the native interface from a streaming
> service.

Not that I'm aware of. AFAIK only Spotify has been powerful enough so
far to be able to impose such a thing on the market.

--

Michael

JensD
2018-12-28, 05:32
Hi there,

does Spotty support the CLI?

Cheers
Jens

mherger
2018-12-28, 05:48
> does Spotty support the CLI?

In what way?

As all modern players and UIs are based on the CLI commands, there
obviously must be some level of support. But whether this can do what
you want to do is another question.

--

Michael

JensD
2018-12-28, 06:43
> does Spotty support the CLI?

In what way?

As all modern players and UIs are based on the CLI commands, there
obviously must be some level of support. But whether this can do what
you want to do is another question.



The idea is still very ... immature. I run Squeezebox voice control with the alexa-squeezebox integration (https://forums.slimdevices.com/showthread.php?107009-Announce-squeeze-alexa-DIY-secure-Alexa-integration&highlight=alexa), but currently there's no support for controlling Spotty. I was asking myself if it would be possible to extend it, so I can ask for songs, playlists, moods etc. from Spotify. That would require to send the appropriate commands via CLI. I was playing with it, but couldn't find a way to use the CLI to send commands to Spotty, e.g. to search or play a song. Any example or pointing me to the right direction would help. But perhaps I'm completely wrong ;-)

mherger
2018-12-28, 07:10
> The idea is still very ... immature. I run Squeezebox voice control with
> the 'alexa-squeezebox integration'
> (https://forums.slimdevices.com/showthread.php?107009-Announce-squeeze-alexa-DIY-secure-Alexa-integration&highlight=alexa),
> but currently there's no support for controlling Spotty. I was asking
> myself if it would be possible to extend it, so I can ask for songs,
> playlists, moods etc. from Spotify. That would require to send the
> appropriate commands via CLI. I was playing with it, but couldn't find a
> way to use the CLI to send commands to Spotty, e.g. to search or play a
> song. Any example or pointing me to the right direction would help. But
> perhaps I'm completely wrong ;-)

Somebody just brought to my attention that there was a "Spotty" skill
for Alexa, which allowed to control the SB using the plugin of the same
name. Maybe you can give this a try?

--

Michael

didjean
2019-01-03, 16:14
> Is there any Qobuz Connect on which a similiar plugin could be created.
> It's very convenient to use the native interface from a streaming
> service.

Not that I'm aware of. AFAIK only Spotify has been powerful enough so
far to be able to impose such a thing on the market.

--

Michael

Hi Michael,

It seems qobuz has the same kind of service as Spotify, it's called Qobuz Connect:

https://www.qobuz.com/be-fr/applications#app-audio
https://community.auralic.com/t/why-not-have-a-go-at-qobuz-connect/1229
https://en.community.sonos.com/music-services-and-sources-228994/support-for-qobuz-connect-6790263/index1.html

Let's start dreaming this would be possible on LMS/Squeezebox :-)

mherger
2019-01-04, 05:36
> It seems qobuz has the same kind of service as Spotify, it's called
> Qobuz Connect:
>
> https://www.qobuz.com/be-fr/applications#app-audio
> https://community.auralic.com/t/why-not-have-a-go-at-qobuz-connect/1229
> https://en.community.sonos.com/music-services-and-sources-228994/support-for-qobuz-connect-6790263/index1.html

Did you read those sources? Eg. "Qobuz Connect unlike Spotify, relies on
3rd party technologies such as GoogleCast or Sonos Direct Control."

https://community.auralic.com/t/why-not-have-a-go-at-qobuz-connect/1229/5

--

Michael

didjean
2019-01-06, 14:00
> It seems qobuz has the same kind of service as Spotify, it's called
> Qobuz Connect:
>
> https://www.qobuz.com/be-fr/applications#app-audio
> https://community.auralic.com/t/why-not-have-a-go-at-qobuz-connect/1229
> https://en.community.sonos.com/music-services-and-sources-228994/support-for-qobuz-connect-6790263/index1.html

Did you read those sources? Eg. "Qobuz Connect unlike Spotify, relies on
3rd party technologies such as GoogleCast or Sonos Direct Control."

https://community.auralic.com/t/why-not-have-a-go-at-qobuz-connect/1229/5

--

Michael


Oooops, it seems I didn't read them properly indeed! I didn't get it was that bad :-)
I got excited too quickly when I saw Qobuz Connect... That's indeed a very nice name for more or less nothing.

mikyy
2019-02-04, 14:35
Hi,
Sorry if that is wrong place to ask the question, but I couldn't find an answer anywhere.
Is there a way to listen to "my songs" on squeezebox saved in the mobile app?

Br,
Mikolaj

mherger
2019-02-04, 14:47
> Hi,
> Sorry if that is wrong place to ask the question, but I couldn't find an
> answer anywhere.

Don't be sorry, but start a new thread.

> Is there a way to listen to "my songs" on squeezebox saved in the mobile
> app?

No.

--

Michael

bakker_be
2019-02-05, 02:23
Hi,
Is there a way to listen to "my songs" on squeezebox saved in the mobile app?

Br,
Mikolaj

Depends on what you're asking. If you're talking about songs you "downloaded", as in enabled for offline use, on your smartphone: no, as they're not accessible to your LMS infrastructure. All songs, albums, playlists etc you "added to your collection" are however accessible through the Spotty menu.

mikyy
2019-02-05, 04:00
> Hi,
> Sorry if that is wrong place to ask the question, but I couldn't find an
> answer anywhere.

Don't be sorry, but start a new thread.

> Is there a way to listen to "my songs" on squeezebox saved in the mobile
> app?

No.

--

Michael

Is there any way of getting that implemented? As saving songs (hears icon) is the most common way of getting song as favorites, would be great to get that functionality in in the app.

mikyy
2019-02-05, 04:02
Depends on what you're asking. If you're talking about songs you "downloaded", as in enabled for offline use, on your smartphone: no, as they're not accessible to your LMS infrastructure. All songs, albums, playlists etc you "added to your collection" are however accessible through the Spotty menu.

It's the latter... I am talking about a "Songs" under My Library in Spotify. This is the place where are your "favorites" songs end up when pressing heart icon while listening the song. I can see albums, playlists, but not "songs".

mherger
2019-02-05, 06:11
> It's the latter... I am talking about a "Songs" under My Library in
> Spotify. This is the place where are your "favorites" songs end up when
> pressing heart icon while listening the song. I can see albums,
> playlists, but not "songs".

Ah, this actually has something to do with Spotify, after all :-). IIRC
I decided against this menu, as it would hardly be useful for most
users: as all tracks from all albums you ever added to your collection
would be in that list, it would quickly outgrow what you would be
willing to browse in a single list. Not to mention that it would take
forever to download that list (I can only grab 50 tracks in one request).

--

Michael

mikyy
2019-02-05, 07:21
> It's the latter... I am talking about a "Songs" under My Library in
> Spotify. This is the place where are your "favorites" songs end up when
> pressing heart icon while listening the song. I can see albums,
> playlists, but not "songs".

Ah, this actually has something to do with Spotify, after all :-). IIRC
I decided against this menu, as it would hardly be useful for most
users: as all tracks from all albums you ever added to your collection
would be in that list, it would quickly outgrow what you would be
willing to browse in a single list. Not to mention that it would take
forever to download that list (I can only grab 50 tracks in one request).

--

Michael

All right, understood. Thanks for the explanation!

//M