Re: [SlimDevices: Plugins] [Announce] Spotty 2.8.x - Spotify Connect for your Squeezebox

2019-06-08 Thread djoole


New issue (story of my life :) )
When I try to skip during a track, the track restarts from the
beginning. Also, when i "send" an already started song to a SB, it plays
form the beginning.
I only have this issue in OGG. If I set LMS to convert to PCM, skipping
is OK and songs are started on SBs at the position there were on the
previous playing device.



djoole's Profile: http://forums.slimdevices.com/member.php?userid=40758
View this thread: http://forums.slimdevices.com/showthread.php?t=110455

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] Spotty 2.8.x - Spotify Connect for your Squeezebox

2019-06-08 Thread djoole


Looking in the web for how Spotify Connect works, i've found out it uses
MDNS protocol for discovering clients. And searching further i've found
out my jail wasn't accepting MDNS request.
I've activated VNET on the jail and now it works smoothly, every Spotify
client at home is seeing every SBs at the same time. :D



djoole's Profile: http://forums.slimdevices.com/member.php?userid=40758
View this thread: http://forums.slimdevices.com/showthread.php?t=110455

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] Spotty 2.8.x - Spotify Connect for your Squeezebox

2019-06-08 Thread djoole

mherger wrote: 
> > It’s running in a FreeBSD jail
> 
> I'm not familiar with jails. Is there anything special about them wrt. 
> networking? Eg. would you need to configure ports being used etc.?
> 
> -- 
> 
> Michael

No, nothing special, it's totally transparent network side. It's like a
VM.

What could I check? I don't know how it works (spotify-connect) so it's
difficult for me to investigate.

I can tcpdump on the server side but I wouldn't know what to check.



djoole's Profile: http://forums.slimdevices.com/member.php?userid=40758
View this thread: http://forums.slimdevices.com/showthread.php?t=110455

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] Spotty 2.8.x - Spotify Connect for your Squeezebox

2019-06-06 Thread djoole

It’s running in a FreeBSD jail



djoole's Profile: http://forums.slimdevices.com/member.php?userid=40758
View this thread: http://forums.slimdevices.com/showthread.php?t=110455

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] Spotty 2.8.x - Spotify Connect for your Squeezebox

2019-06-06 Thread djoole


mherger wrote: 
> the daemon could well be running, but not 
> reachable from any other machine

How does it work exactly? Knowing the process could help me
investigate.
Are SBs broadcasting the service to the mobile devices hosting a spotify
client? Is LMS broadcasting the service via the helper?

Daemons look like this :

Code:

slimserv 35595  0.0  0.0  24492   3288  -  IJ   Wed04  0:00.08 
/usr/local/bin/spotty -c 
/usr/local/share/logitechmediaserver/Cache/spotty/000420287847 -n salle de bain 
& Chambre --disable-audio-cache --bitrate 96 -player-mac 00:04:20:28:78:47 
--lms 192.168.1.2:9000
  slimserv 45344  0.0  0.0  24492   3296  -  IJ   26May190:00.25 
/usr/local/bin/spotty -c 
/usr/local/share/logitechmediaserver/Cache/spotty/0004201e6fd0 -n Boom 
--disable-audio-cache --bitrate 96 --player-mac 00:04:20:1e:6f:d0 --lms 
192.168.1.2:9000
  slimserv 45346  0.0  0.0  24492   3296  -  IJ   26May190:00.25 
/usr/local/bin/spotty -c 
/usr/local/share/logitechmediaserver/Cache/spotty/0004201742c9 -n Salon 
--disable-audio-cache --bitrate 96 --player-mac 00:04:20:17:42:c9 --lms 
192.168.1.2:9000
  slimserv 65454  0.0  0.0  24492   3336  -  IJ   29May190:00.60 
/usr/local/bin/spotty -c 
/usr/local/share/logitechmediaserver/Cache/spotty/0004202a0787 -n Cuisine 
--disable-audio-cache --bitrate 96 --player-mac 00:04:20:2a:07:87 --lms 
192.168.1.2:9000




djoole's Profile: http://forums.slimdevices.com/member.php?userid=40758
View this thread: http://forums.slimdevices.com/showthread.php?t=110455

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] Spotty 2.8.x - Spotify Connect for your Squeezebox

2019-06-06 Thread djoole


Mobile phones and tablets are on the same SSID, but not necessarily the
same band (2,4GHz or 5GHz) I don't know if it's important.
No firewall enabled on the LMS host (FreeNAS).
Is there something I can check (networks ports status maybe?), logs?



djoole's Profile: http://forums.slimdevices.com/member.php?userid=40758
View this thread: http://forums.slimdevices.com/showthread.php?t=110455

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] Spotty 2.8.x - Spotify Connect for your Squeezebox

2019-06-05 Thread djoole


mherger wrote: 
> > A last question for now, when you say you see all your SBs from all
> your
> > devices, are your devices used and connected with different Spotify
> > accounts (is devices belonging to different users)?
> 
> Ok, here's a summary of what I've described before:
> 
> - when local announcements are working, all Spotify clients in the same
> 
> network should see any Connect endpoint (eg. any exposed SB).
> 
> - when local announcments don't work, the Spotify clients will get the 
> state from Spotify's servers. In this case only the "owner" of a device
> 
> will see it, as it will only be registered to this account on Spotify's
> 
> server.
> 
> - when you're outside your network, you should still see all players 
> registered to your account, as the Spotify application is talking to the
> 
> Spotify servers.
> 
> 
> 
> -- 
> 
> Michael
Hi Mickael,
I've just checked the settings and both are disabled (optimize
pre-buffering and don't announce).
Spotify client ID empty.
As I said, I've never messed with those :)

Any idea? Can I provide some more logs maybe?



djoole's Profile: http://forums.slimdevices.com/member.php?userid=40758
View this thread: http://forums.slimdevices.com/showthread.php?t=110455

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] Spotty 2.8.x - Spotify Connect for your Squeezebox

2019-06-01 Thread djoole

mherger wrote: 
> > A last question for now, when you say you see all your SBs from all
> your
> > devices, are your devices used and connected with different Spotify
> > accounts (is devices belonging to different users)?
> 
> Ok, here's a summary of what I've described before:
> 
> - when local announcements are working, all Spotify clients in the same
> 
> network should see any Connect endpoint (eg. any exposed SB).
> 
> - when local announcments don't work, the Spotify clients will get the 
> state from Spotify's servers. In this case only the "owner" of a device
> 
> will see it, as it will only be registered to this account on Spotify's
> 
> server.
> 
> - when you're outside your network, you should still see all players 
> registered to your account, as the Spotify application is talking to the
> 
> Spotify servers.
> 
> 
> 
> -- 
> 
> Michael

Thanks Mickael for this clear explanation. 
It seems indeed it’s a local announcement issue. 
I’ll check the settings ASAP and will report back.



djoole's Profile: http://forums.slimdevices.com/member.php?userid=40758
View this thread: http://forums.slimdevices.com/showthread.php?t=110455

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] Spotty 2.8.x - Spotify Connect for your Squeezebox

2019-06-01 Thread djoole

mherger wrote: 
> > If the phone wasn’t on the same network it wouldn’t work at all,
> that’s
> > not the case. All 5 squeezebox can be seen on each phone, just not at
> > the same time.
> 
> Why don't you just double-check? I'm pretty sure I know better what I'm
> 
> talking about than you do... Spotify does list all of my devices, no 
> matter where I am. I can control my home SB from the road or the office.
> 
> I've tried to describe how things work several times before. But you'd 
> have to read stuff.
> 
> -- 
> 
> Michael

As I said I’m not able to check at the moment (away from home) but will
surely do so ASAP :)

And I’m also sure you know much better than me, no doubt on this!

Will report back the state of the “don’t announce” checkbox (even if I’m
99% sure it’s not checked because I’m on a vanilla setup and did only
than reading the settings without messing with them). 
And if the “don’t announce” was checked, would the SB still be
discovered on my Spotify clients?

A last question for now, when you say you see all your SBs from all your
devices, are your devices used and connected with different Spotify
accounts (is devices belonging to different users)?



djoole's Profile: http://forums.slimdevices.com/member.php?userid=40758
View this thread: http://forums.slimdevices.com/showthread.php?t=110455

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] Spotty 2.8.x - Spotify Connect for your Squeezebox

2019-05-31 Thread djoole

If the phone wasn’t on the same network it wouldn’t work at all, that’s
not the case. All 5 squeezebox can be seen on each phone, just not at
the same time. 

Any other idea of what could go wrong?
If I switch one SB to the second account, the Sb instantly appear on the
Spotify client logged to this account



djoole's Profile: http://forums.slimdevices.com/member.php?userid=40758
View this thread: http://forums.slimdevices.com/showthread.php?t=110455

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] Spotty 2.8.x - Spotify Connect for your Squeezebox

2019-05-31 Thread djoole

mherger wrote: 
> Even if you didn't change any of those advanced settings: what are they
> set to? Your symptoms sound like either "local announcements" are turned
> off (this can happen if the helper crashes too often with the
> announcements enabled), or your phones aren't on the same network as LMS
> (eg. they're on the cell only, but not wlan).

I’m afk at the moment. I’ve left default settings. Not sure how they are
set but sure that announcement is not disabled. 
Squeezebox are successfully displayed in available devices in each
iPhones which are obviously on the same WiFi network than LMS. 

The issue is not that it’s impossible to find the SB on the wife’s
phone. 
It’s that one phone can only find the squeezebox that have the Spotify
account activated. 

If I’ve set my account activated on the living-room Receiver, then the
squeezebox is available on my Spotify but not hers. 
If I switch the activated account on the SB, it disappear in my Spotify
and appears in hers. 

Bottom line, we can’t throw Spotify music on the squeezebox without
having to set the right account first...

Is this a normal behavior/limitation or a bug?



djoole's Profile: http://forums.slimdevices.com/member.php?userid=40758
View this thread: http://forums.slimdevices.com/showthread.php?t=110455

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] Spotty 2.8.x - Spotify Connect for your Squeezebox

2019-05-28 Thread djoole


mherger wrote: 
> > I've added the second account in spotty settings, but on her iPhone
> the
> > squeezebox are not showned.. :(
> 
> Please check your Spotty settings. Did you change some of the advanced 
> section below the "don't touch this" warning? I guess the "don't 
> announce players" or similar option is checked. Re-enable it and give it
> 
> a try. Make sure phone and LMS are on the same network.
> 
> -- 
> 
> Michael
I wouldn't have dared :)
No, I didn't touch any of these "don't touch" features.
Actually as I was saying, the squeezebox are selectable on here iphone
if her account is toggled in the squeezebox.
So the actual problem is : only one of us can send spotify music to a
Squeezebox, without having to go to the SB UI (using iPeng on iPhone),
toggle account (no WAF at all).



djoole's Profile: http://forums.slimdevices.com/member.php?userid=40758
View this thread: http://forums.slimdevices.com/showthread.php?t=110455

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] Spotty 2.8.x - Spotify Connect for your Squeezebox

2019-05-26 Thread djoole


mherger wrote: 
> Grab a copy of https://github.com/michaelherger/spotty, install Rust, 
> build with "cargo build --release". Rename the resulting "spotty" to
> "spotty-custom"
> and put it somewhere in your search path. And disable Richard's plugin,
> as
> otherwise the two would compete over which helper to use.
This worked like a charm, thanks for clean instructions :)



djoole's Profile: http://forums.slimdevices.com/member.php?userid=40758
View this thread: http://forums.slimdevices.com/showthread.php?t=110455

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] Spotty 2.8.x - Spotify Connect for your Squeezebox

2019-05-26 Thread djoole


Hi, 
Me again :)

I've got a Spotify "family" account, we are 2 on the account.

I've added the second account in spotty settings, but on her iPhone the
squeezebox are not showned.. :(

Here are the logs in debug when I add the account (I've substituted the
real username by my -username-) : https://pastebin.com/9Ps5s22n



djoole's Profile: http://forums.slimdevices.com/member.php?userid=40758
View this thread: http://forums.slimdevices.com/showthread.php?t=110455

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] Spotty 2.8.x - Spotify Connect for your Squeezebox

2019-05-26 Thread djoole


Hi Michael,

I'll try to build the helper, thanks.


No I'm using Apple devices. I've spot the issue on an iPhone XR (latest
iOS version). I haven't tested yet on other devices.



djoole's Profile: http://forums.slimdevices.com/member.php?userid=40758
View this thread: http://forums.slimdevices.com/showthread.php?t=110455

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] Spotty 2.8.x - Spotify Connect for your Squeezebox

2019-05-25 Thread djoole


I've spot something else : when in Spotify (iPhone client) I switch from
a SB to another target, the SB I was on disappear for a few secs from
the available devices list.
In the logs :

Code:

[19-05-25 17:18:17.3228] 
Plugins::Spotty::Connect::DaemonManager::checkAPIConnectPlayers (209) Connect 
daemon is running, but not connected - shutting down to force restart: 
00:04:20:1e:6f:d0

 
The mac address is from the SB i was on.



djoole's Profile: http://forums.slimdevices.com/member.php?userid=40758
View this thread: http://forums.slimdevices.com/showthread.php?t=110455

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] Spotty 2.8.x - Spotify Connect for your Squeezebox

2019-05-25 Thread djoole


Thanks for this quick answer!

I use SpottyBinFreeBSD/Bin/spotty-custom (v0.13.0).
I've installed it via Settings/Plugins, in the third party section
(Spotty Helper Application for FreeBSD 11 by Richard Herman)

Is there a more recent helper for FreeBSD? If not, can I build one from
sources?



djoole's Profile: http://forums.slimdevices.com/member.php?userid=40758
View this thread: http://forums.slimdevices.com/showthread.php?t=110455

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] Spotty 2.8.x - Spotify Connect for your Squeezebox

2019-05-25 Thread djoole


Hi Mickael,
I'm really happy, i've just switched from Apple Music to Spotify to use
my Squeezebox, and it works like a charm.
I still have an issue though (but I can't say if it's important fidelity
wise), I can't play Soptify music in direct OGG. It's converting to
PCM.
I've tried to deactivate conversion in the file format settings :

Code:

Spotty  FLACDisabled (changeable)   
MP3 Disabled (changeable)
Ogg Vorbis  Disabled (greyed out)
PCM Disabled (changeable)


But No sound anymore and following error in the logs :

Code:

[19-05-25 16:23:37.9726] Slim::Player::Song::open (410) Error: Couldn't 
create command line for spt playback for [spotify://connect-1558794175129]



I guess "Ogg Vorbis" shouldn't be disabled in the settings. Am I missing
a specific Perl module?

I'm on FreeNAS-11.2-U4.1, LMS 7.9.2, the SB is a Receiver. I haven't
tried with others yet (Radios and Booms).



djoole's Profile: http://forums.slimdevices.com/member.php?userid=40758
View this thread: http://forums.slimdevices.com/showthread.php?t=110455

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins