Discussion:
[SlimDevices: Plugins] Spotify-connect-web
PythonF
2016-08-10 07:17:01 UTC
Permalink
I found this very nice Projekt on Github 'spotify-connect-web'
(https://github.com/Fornoth/spotify-connect-web) and 'librespot Library'
(https://github.com/plietar/librespot) which allows you to use any
Device as a Spotify Connect Player.
Would it be possible to add this Feature to LMS? That would allow any
Device compatible with LMS to be a Spotify Connect Player and I am
pretty sure I am not the only one who would be very intrested in such a
Solution.

Greatings
Fabian


------------------------------------------------------------------------
PythonF's Profile: http://forums.slimdevices.com/member.php?userid=65346
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Dadid
2016-08-13 15:29:20 UTC
Permalink
Thumbs up!

Skickat från min SM-G930F via Tapatalk




------------------------------------------------------------------------
Dadid's Profile: http://forums.slimdevices.com/member.php?userid=62341
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Grumpy Bob
2016-08-14 14:52:01 UTC
Permalink
Maybe I'm missing something, but I can play Spotify through all my LMS
connected devices (SBT, SB3, SBR, various Raspberry Pi versions)
already. What does Spotify Connect add that I am missing?

Robert



*Home: *Raspberry Pi 3/piCoreplayer/LMS7.9 with files on QNAP TS-239
Touch > DacMagic 100 > Naim Audio Nait 3 > Mission 752 (plus Rega
Planar 3 and Naim CD3)
PiCorePlayer(Pi2) with touchscreen and IQAudIO DAC+>Sennheisers
2 x Squeezebox Radios, 1 X Squeezebox 3 (retired)
*Office:* LMS7.9 running on WiFi MyPassport drive >
piCorePlayer(PiB)/HiFiBerryDAC > Amptastic Amplifier
SqueezePad, iPeng as controllers

last.fm/user/GrumpyBob
------------------------------------------------------------------------
Grumpy Bob's Profile: http://forums.slimdevices.com/member.php?userid=41857
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
mbg
2016-08-14 15:56:05 UTC
Permalink
Grumpy Bob wrote:
> Maybe I'm missing something, but I can play Spotify through all my LMS
> connected devices (SBT, SB3, SBR, various Raspberry Pi versions)
> already. What does Spotify Connect add that I am missing?
>
> Robert

I think the difference is that you can control the Spotify playback
using the Spotify app, rather than having to use the Squeezebox
interface...


------------------------------------------------------------------------
mbg's Profile: http://forums.slimdevices.com/member.php?userid=3200
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Dadid
2016-08-14 20:26:46 UTC
Permalink
I'm really missing the Spotify interface when using LMS. For instance,
I'm not able to use "Explore" - "Genre and Themes".


Skickat från min SM-G930F via Tapatalk




------------------------------------------------------------------------
Dadid's Profile: http://forums.slimdevices.com/member.php?userid=62341
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Michael Herger
2016-08-15 04:58:05 UTC
Permalink
> I'm really missing the Spotify interface when using LMS. For instance,
> I'm not able to use "Explore" - "Genre and Themes".

How does it fail? It's third or fourth in my SB's Spotify menu.

--

Michael
Blu3IcE
2016-08-15 09:48:20 UTC
Permalink
I would also be interested in that.
Simply switching between devices from the Android app to my Squeezeboxes
would be wonderful.
I just finished to setup ShairPort... only to find out that it is not
supported on Android devices.



System: Debian, Logitech Media Server Version: 7.9.0
Player: Squeezebox v3 @ Bose LifeStyle Series III, Squeezebox Radio,
Squeezebox Boom
------------------------------------------------------------------------
Blu3IcE's Profile: http://forums.slimdevices.com/member.php?userid=13792
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Dadid
2016-08-20 18:05:57 UTC
Permalink
mherger wrote:
> > I'm really missing the Spotify interface when using LMS. For instance,
> > I'm not able to use "Explore" - "Genre and Themes".
>
> How does it fail? It's third or fourth in my SB's Spotify menu.
>
> --
>
> Michael

I use Ipeng and Triodes Spotify clone. The original Spotify plugin have
some issues as I remember. Maybe multi room use?



Skickat från min iPad med Tapatalk




------------------------------------------------------------------------
Dadid's Profile: http://forums.slimdevices.com/member.php?userid=62341
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
PythonF
2016-08-20 19:09:20 UTC
Permalink
wouldn't it be possible to add the Multiroom-Feature if the
Connect-Server runs with LMS?
Another advantage for me would be the possibility to add the Songs im
listening on Spotify Radio to my personal Playlist without researching
it in the official app.

~Fabian


------------------------------------------------------------------------
PythonF's Profile: http://forums.slimdevices.com/member.php?userid=65346
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Michael Herger
2016-08-22 05:13:42 UTC
Permalink
> wouldn't it be possible to add the Multiroom-Feature if the
> Connect-Server runs with LMS?

No, multi-room is an exclusive to the SB Touch/Radio. Connect only is a
different way to stream, but it doesn't change the fact that Spotify
doesn't want you to stream to more than one device at a time.

--

Michael
bernt
2016-09-12 11:47:55 UTC
Permalink
Is this real Spotify Connect or is it a Spotify client?

If it is Spotify Connect it would bring peace to my livingroom if it is
somehow implemented to LMS.



SB Touch to Yamaha A-S501, Boston Acoustics A26.
SB 3 to Audio Pro T3.
SB BOOM
SB Radio
ReadyNAS 202
iPeng
------------------------------------------------------------------------
bernt's Profile: http://forums.slimdevices.com/member.php?userid=1342
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Meridion
2016-09-12 17:19:36 UTC
Permalink
I would love the Spotify Connect functionality, too!



2167 Alben mit 26564 Titel von 3737 Interpreten.
------------------------------------------------------------------------
Meridion's Profile: http://forums.slimdevices.com/member.php?userid=18619
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
verypsb
2016-10-20 16:07:39 UTC
Permalink
A "Spotify Connect" compatible client integrated in Logitech Media
Server would be really great. I'm enjoying the "Daily Mixes", but they
can only be used using the smart phone Spotify client together with
Spotify Connect. Also radio stations would be possible using Spotify
Connect, if I'm correct.

Best regards,
Dennis



::Please vote:::
'::bug 1330:: New music should work on creation date'
(http://bugs.slimdevices.com/show_bug.cgi?id=1330)
'::bug 17963:: New and changed doesn't handle changed files '
(http://bugs.slimdevices.com/show_bug.cgi?id=17963)
'::bug 17799:: Use a separator such as 'Also appears on' when viewing
the albums by an artist'
(http://bugs.slimdevices.com/show_bug.cgi?id=17799)
'::bug 18054:: Add support for 'Set Subtitle'/'Disc Subtitle' (ID3v2.4
TSST/ID3V2.3 TIT3)' (http://bugs.slimdevices.com/show_bug.cgi?id=18054)
1x Boom, 1x Classic, 4x Controller, 1x Radio, 4x Receiver, 2x Touch
------------------------------------------------------------------------
verypsb's Profile: http://forums.slimdevices.com/member.php?userid=17295
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Gymnae
2016-10-24 15:57:47 UTC
Permalink
Also would really appreciate this add-on (just registered to say this)

Spotify connect would really increase the value of the Spotify
integration in LMS:

- It empowers friends and party guests to share their music
- Custom Radios
- Daily & weekly discover mixes
- Future proof
- Easier collaboration than spotifyfamily add-on


It might even allow multi-room sync.
Raumfeld, Volumio offer this option.


------------------------------------------------------------------------
Gymnae's Profile: http://forums.slimdevices.com/member.php?userid=66161
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
rron
2016-10-28 13:53:10 UTC
Permalink
Gymnae wrote:
> Also would really appreciate this add-on (just registered to say this)
>
> Spotify connect would really increase the value of the Spotify
> integration in LMS:
> > >
- It empowers friends and party guests to share their music
- Custom Radios
- Daily & weekly discover mixes
- Future proof
- Easier collaboration than spotifyfamily add-on
> > >
>
> It might even allow multi-room sync.
> Raumfeld, Volumio offer this option. I wanted to link to the volumio
> guide, but sadly I'm below the post limit to post links. - the volumio
> implementation might give pointers for how it could be done for lms

I agree with the above suggestion. It is really a addition.


------------------------------------------------------------------------
rron's Profile: http://forums.slimdevices.com/member.php?userid=66177
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Rheinländer
2017-01-01 19:31:03 UTC
Permalink
Just wanted to give this thread a bump.
Spotify is working great with all my squeezeboxes using mherger's
plugin. Adding the Spotify web connect functionality to LMS would make
it AWESOME.

Regards

Rheinländer


------------------------------------------------------------------------
Rheinländer's Profile: http://forums.slimdevices.com/member.php?userid=15292
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
schmurtz
2017-01-13 14:28:07 UTC
Permalink
I buy a linux audio device with spotify connect available on it. In
sources I find some traces of github repo.

So now it is possible to have spotify connect on raspberry and some
Linux boards have successfully implement it with the help of code
sources below.

So I think this is possible, just missing a competant developper to do
it on Squeezebox ;)


There are 3 repo about spotify connect on github :
https://github.com/sashahilton00/spotify-connect-resources
https://github.com/Fornoth/spotify-connect-web
https://github.com/badfortrains/spotcontrol

How to install on raspberry here :
https://discourse.osmc.tv/t/howto-setup-a-spotify-connect-web-server-on-a-raspberry-pi-with-osmc/15818...

It's not very complex.
There is already airplay on Squeezebox with this repository :
https://github.com/disaster123/shairport2_plugin

May be with the same principle you can redirect audio from
"spotify-connect-web" to Squeezebox.

I think that someone like disaster123 and some others could make it
easily... If only...


------------------------------------------------------------------------
schmurtz's Profile: http://forums.slimdevices.com/member.php?userid=57368
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Michael Herger
2017-01-13 14:46:59 UTC
Permalink
> It's not very complex.

Oh, it is? Could you share your solution?

--

Michael
Simon_rb
2017-01-18 09:22:53 UTC
Permalink
This would be awesome if someone could write a plugin for LMS, I use
Apple Music so all my music is synced and was going to cancel my Spotify
as haven't use it in months. I would keep my subscription if this were
the case

Cheers


------------------------------------------------------------------------
Simon_rb's Profile: http://forums.slimdevices.com/member.php?userid=56871
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
schmurtz
2017-01-18 17:29:14 UTC
Permalink
mherger wrote:
> > It's not very complex.
> Oh, it is? Could you share your solution?
> --
> Michael

Recently I saw many plugin that are able to redirect sound into a pipe
which can be readed by a squeezebox.
For example there are these plugins :
- shairtunes , shairtunes2 and shairtunes2 fork
- youtube
- waveinput

To implement spotify connect it's you can use the sources that I give or
you can control the classic spotify client software by command line
('there are plenty of examples'
(https://gist.github.com/wandernauta/6800547)). If it's a problem to
redirect the sound like in shairtunes you can use 'DSbridge'
(http://forums.slimdevices.com/showthread.php?64590-DSBridge-A-simpler-way-to-stream-Spotify)
to create a stream easily playable on squeezebox.

By the way, when I say "It's not very complex." I mean : "How to install
on raspberry here " -> "It's not very complex.".

So it's probably a little project to make it works on squeezebox but all
the elements are available to make it work and I think that some people
of the squeezebox community are able to do this (not me, I'm a pretty
bad developper :p).


------------------------------------------------------------------------
schmurtz's Profile: http://forums.slimdevices.com/member.php?userid=57368
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Christian Schoepplein
2017-01-18 19:59:39 UTC
Permalink
On Mi, Jan 18, 2017 at 05:29:14 +0000, schmurtz wrote:
>By the way, when I say "It's not very complex." I mean : "How to install
>on raspberry here " -> "It's not very complex.".

Have you tried the installation of any of these spotify connect web
plugins during the last months. I've tried and all those plugins
require a spotify api key for developpers, but spotify does not longer
offer such a key.

Also all those plugins are based on libspotify, a libary which is not
developped and maintained any longer.

I use the spotify app on my iOS device and stream music to my
squeezeboxes via AirPlay. For Android some kind of UPMP plugin
/extension might work. Why not using that kind of setup?

Developing a spotify connect web pluging currently makes no sense.
Nobody knows what will happen when libspotify can't be used any
more...

Ciao,

Schoepp>
mherger
2017-04-30 20:30:24 UTC
Permalink
Ok, it's been a long time.... but I finally gave librespot a try. And
what shall I say? Its sample application does a whole lot of what we
would need for a simple Spotify Protocol Handler NG. I actually have a
POC implementation working where librespot would handle the streaming...

But integrating Spotify Connect with LMS comes with its own share of
complications. E.g. Imagine you're starting playback from Spotify's
application through Connect? Who's supposed to "own" playback control?
By default Spotify would, and the queue isn't visible to LMS. I can't
skip to the next track using any SB control.

In reality we might end up with two modes: LMS control, or Spotify
Connect mode. The level of integration depends on the community, too:
until a few days ago I had zero knowledge of Rust, the programming
language used for librespot. I'm sure a seasoned Rust developer could
add some hooks to e.g. transfer at least some metadata from Connect to
LMS etc.

Thoughts? Volunteers?



Michael

http://www.herger.net/slim-plugins - MusicArtistInfo, MusicInfoSCR
------------------------------------------------------------------------
mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Rheinländer
2017-05-01 11:22:07 UTC
Permalink
Michael,

first of all I would like to thank you for looking into the matter. The
possibility of integrating Spotify Connect into LMS sounds very
promising and implementing two modes will give users more flexibility.
On my part I am looking forward to the Spotify Connect integration,
which will replace streaming via bluetooth. How would the "LMS Control
Mode" be designed? Would one be able to control all of Spotify's
functions with the SB devices (like in the current plugin)?
Since I am not a programmer I would be willing to help with software
testing...

Regards

Rheinländer


------------------------------------------------------------------------
Rheinländer's Profile: http://forums.slimdevices.com/member.php?userid=15292
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Michael Herger
2017-05-01 12:02:53 UTC
Permalink
> On my part I am looking forward to the Spotify Connect integration,
> which will replace streaming via bluetooth.

Even if the SB wouldn't show any covers or metadata?

> How would the "LMS Control Mode" be designed?

That's just my new term for what we've had for years :-).

> Would one be able to control all of Spotify's
> functions with the SB devices (like in the current plugin)?

Yes, the only change would be that Spotify content would no longer be
played using the libspotify (which is to be shut down later this year)
built in to the player firmware and the SPH plugin, but a new
implementation based on librespot. From the user's pov nothing obvious
would change.

> Since I am not a programmer I would be willing to help with software
> testing...

I hope to have some test version available soon.


--

Michael
johndoe_2009
2017-05-01 13:35:53 UTC
Permalink
Michael, great that you are looking into a SPH replacement.

Here is my opinion:

>> On my part I am looking forward to the Spotify Connect integration,
>> which will replace streaming via bluetooth.

> Even if the SB wouldn't show any covers or metadata?

I prefer to have covers and metadata, even if this means no direct
access of Squeezeboxen over the native Spotify app as "Spotify Connect"
players.

>> Would one be able to control all of Spotify's
>> functions with the SB devices (like in the current plugin)?

>Yes, the only change would be that Spotify content would no longer be
>played using the libspotify (which is to be shut down later this year)

>built in to the player firmware and the SPH plugin, but a new
>implementation based on librespot. From the user's pov nothing obvious

>would change.

This would be my preferred option.

>> Since I am not a programmer I would be willing to help with software
>> testing...

>I hope to have some test version available soon.

Happy to test as well - I run LMS on Windows 10.

thebigblue



4 Radios, 2 Boom, 2 Touch working + 1 Touch broken trying to fix, 1
Classic, 1 Duet Controller, 2 Duet Receiver, 1 Musical Fidelity V-DAC on
Duet Receiver.

LMS running on WHS 2011.
------------------------------------------------------------------------
johndoe_2009's Profile: http://forums.slimdevices.com/member.php?userid=31478
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Michael Herger
2017-05-01 14:11:29 UTC
Permalink
> Michael, great that you are looking into a SPH replacement.

I have some pressure from the family :-).

> I prefer to have covers and metadata, even if this means no direct
> access of Squeezeboxen over the native Spotify app as "Spotify Connect"
> players.

I'm certainly not going to break this, as my kids don't have access to
any smartphone or the like. But they can handle the SB's menu.

>> I hope to have some test version available soon.
>
> Happy to test as well - I run LMS on Windows 10.

I have built for Linux ARM/i686/x86_64, MacOS, but not Windows yet.
Hopefully this won't be too much of a hassle, as I'm no Rust developer
either...

FWIW: I'm currently on track 35 of some Spotify playlist, playing on a
Radio synced with a desktop Squeezeplay in "SB Mode". Looking good so
far :-).

--

Michael
Man in a van
2017-05-01 14:32:52 UTC
Permalink
mherger wrote:
> >
> I have some pressure from the family :-).
>
>
> I'm certainly not going to break this, as my kids don't have access to
> any smartphone or the like. But they can handle the SB's menu.
>
>
>
>
> --
>
> Michael


Michael

I have been using Spotify-Connect (librespot) via MoOde Player for a
while now.

Like others, I have no developer skills but pretty good at "cut and
paste".

Mostly I run raspberry pi but do have a Windows 10 and 8.1 available for
some limited testing.


Thank you for having the children:p:D:)

Ronnie


------------------------------------------------------------------------
Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Michael Herger
2017-05-01 16:09:32 UTC
Permalink
> I have been using Spotify-Connect (librespot) via MoOde Player for a
> while now.

How are they handling metadata on the display? Is it able to shot it in
sync with the music?

--

Michael
pinkdot
2017-05-01 17:55:21 UTC
Permalink
mherger wrote:
> > I have been using Spotify-Connect (librespot) via MoOde Player for a
> > while now.
>
> How are they handling metadata on the display? Is it able to shot it in
>
> sync with the music?
>
> --
>
> Michael
Same as Ronnie, I'm using Librespot in Moode as well. Tim Curtis is not
supporting / integrated Librespot in Moode at this moment. Moode does
not display anything at this stage. No meta data, no album art.

And to be honest, I don't care. The main reason why I use Librespot is
that my kids are used to the Spotify web UI and app and use this
interface only! Thats the main benefit for me.
It would be fine for me to have a simple implementation in LMS. Just a
notification in the LMS webui that Librespot is active would do. The
Spotify interface is leading when it comes to handling Spotify, at least
the way we use it in our home.

Greetings,

Martin



-Synology nas DS115 - ('LmsUpdate'
(http://forums.slimdevices.com/showthread.php?103636-Test-Repo-for-LMS-7-9-0-on-Synology-DSM-5-*&p=817970&viewfull=1#post817970))
+ ('LmsRepack'
(http://forums.slimdevices.com/showthread.php?107180-Synology-7-9-1-packages))
-RPI 3 ('Moode 3.6 + LibreSpot' (http://moodeaudio.org/)), IQaudIO
Pi-DAC PRO - Exposure 3010S2 - PMC GB1i
-2x Radio
-Laptop - openSUSE Leap - LMS/Squeezelite
------------------------------------------------------------------------
pinkdot's Profile: http://forums.slimdevices.com/member.php?userid=34644
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Michael Herger
2017-05-01 19:47:24 UTC
Permalink
> Same as Ronnie, I'm using Librespot in Moode as well. Tim Curtis is not
> supporting / integrated Librespot in Moode at this moment. Moode does
> not display anything at this stage. No meta data, no album art.

You're saying you're using librespot through Moode. And at the same time
you say Tim Curtis did not support it?

--

Michael
Man in a van
2017-05-01 21:00:31 UTC
Permalink
mherger wrote:
> > Same as Ronnie, I'm using Librespot in Moode as well. Tim Curtis is
> not
> > supporting / integrated Librespot in Moode at this moment. Moode does
> > not display anything at this stage. No meta data, no album art.
>
> You're saying you're using librespot through Moode. And at the same time
>
> you say Tim Curtis did not support it?
>
> --
>
> Michael

Yep, this is my take on the situation,


MoOde is used as a carrier, same as roonbridge and Volumio (which, I
think, started the reverse engineering thing with libspotify)

Mr Curtis has (reluctantly, I feel) stated that he will implement
spotify-connect when concerns he has about the initial volume setting at
start-up are addressed by the person doing the development work.

With a successful install of librespot, it is run as service from
start-up, one just pauses MoOde Player, wait for a second or so for
MoOde to be released and

then use a phone or something running Spotify to connect to the MoOde
device for playback.

To return to MoOde, just stop Spotify and by the time one has navigated
to the Web GUI, MoOde Player is ready.

Martin has described the procedure at this post

'http://www.diyaudio.com/forums/pc-based/271811-moode-audio-player-raspberry-pi-756.html#post5066758
'
(http://www.diyaudio.com/forums/pc-based/271811-moode-audio-player-raspberry-pi-756.html#post5066758)
It can be a bit flaky, it sometimes does not work with with the selected
output device (why, I have absolutely no idea :confused:).

Ronnie


------------------------------------------------------------------------
Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
usc95
2017-05-01 23:15:45 UTC
Permalink
I too would love any kind of Spotify Connect even without metadata. A
simple notification on the screen that the player was in "connect mode"
would be sufficient for me. While I would miss it on my
picoreplayer/touch replacement, I would not care on any of my other four
players as I rely on my phone or ipad to display the metadata anyway.
Now I won't have to switch to Tidal or deal with the inferior experience
on the chromecast audio!


------------------------------------------------------------------------
usc95's Profile: http://forums.slimdevices.com/member.php?userid=59694
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Michael Herger
2017-05-02 04:46:25 UTC
Permalink
> Now I won't have to switch to Tidal or deal with the inferior experience
> on the chromecast audio!

Don't hold your breath... The Connect mode isn't working reliably yet...

--

Michael
ButC
2017-05-02 05:03:46 UTC
Permalink
I too would love this, and I too could live without covers and metadata.
To be able to use the Squeezeboxes hardware remote is more valuable to
me.



//Johan
------------------------------------------------------------------------
ButC's Profile: http://forums.slimdevices.com/member.php?userid=57330
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
garym
2017-05-02 22:57:00 UTC
Permalink
Ignore the audiophile stuff, but interesting that Sonore has added
Spotify connect to microrendu.

http://www.digitalaudioreview.net/2017/05/we-all-want-the-same-things-so-reckons-the-hold-steady-frontman-craig-finn-his-songs-document-interpersonal-relationships-not-those-which-exist-between-man-and-audio-machinery-do-audioph/#comment-143288



*Home:* VortexBox 4TB (2.3) > LMS 7.9 > Transporter, Touch, Boom, Radio
(all ethernet)
*Cottage:* VBA 3TB (2.3) > LMS 7.9 > Touch > Benchmark DAC I, Boom,
Radio w/Battery (all ethernet except Radio)
*Office:* Win8(64) > LMS 7.9 > Squeezelite
*Spares:* Transporter, Touch(3), Radio(3), Boom, SB3, CONTROLLER
*Controllers:* iPhone6 & iPadAir2 (iPeng & Squeezepad), CONTROLLER, or
SqueezePlay 7.8 on Win8(64) laptop
*Files:* ripping: dbpoweramp > FLAC; post-rip: mp3tag, PerfectTunes;
Streaming: Spotify
------------------------------------------------------------------------
garym's Profile: http://forums.slimdevices.com/member.php?userid=17325
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Michael Herger
2017-05-04 06:42:40 UTC
Permalink
> Ignore the audiophile stuff, but interesting that Sonore has added
> Spotify connect to microrendu.

Not only did they add Spotify Connect to it, but they are using
librespot, too...

> http://www.digitalaudioreview.net/2017/05/we-all-want-the-same-things-so-reckons-the-hold-steady-frontman-craig-finn-his-songs-document-interpersonal-relationships-not-those-which-exist-between-man-and-audio-machinery-do-audioph/#comment-143288

One other interesting observation is how much he spent justifying
writing about a lossy service. It's about half of the article, isn't it?
On Facebook he posted it as "For the pragmatic audiophile.".

--

Michael
pippin
2017-05-04 09:01:22 UTC
Permalink
Yea, but have you ever read his other articles?



---
learn more about iPeng, the iPhone and iPad remote for the Squeezebox
and
Logitech UE Smart Radio as well as iPeng Party, the free Party-App,
at penguinlovesmusic.com
*New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch*
------------------------------------------------------------------------
pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
atca
2017-05-04 14:26:56 UTC
Permalink
What's TinyLMS?

Michael thanks for your efforts on connect.

Sent from my Nexus 5 using Tapatalk




------------------------------------------------------------------------
atca's Profile: http://forums.slimdevices.com/member.php?userid=56880
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
garym
2017-05-04 14:30:48 UTC
Permalink
atca wrote:
> What's TinyLMS?
>
> Michael thanks for your efforts on connect. You should have a donate a
> beer link in your sig, I certainly owe you a few. P
>
> Sent from my Nexus 5 using Tapatalk

TinyLMS is the "cut down" LMS that is running on a TOUCH. Recall that
the TOUCH can run its own LMS and you can attach music files via the USB
port. This was always a bit clunky as the Touch wasn't quite powerful
enough. Once things like Pi's became available, no one even bothered
trying to make the TOUCH work as its own LMS server.



*Home:* VortexBox 4TB (2.3) > LMS 7.9 > Transporter, Touch, Boom, Radio
(all ethernet)
*Cottage:* VBA 3TB (2.3) > LMS 7.9 > Touch > Benchmark DAC I, Boom,
Radio w/Battery (all ethernet except Radio)
*Office:* Win8(64) > LMS 7.9 > Squeezelite
*Spares:* Transporter, Touch(3), Radio(3), Boom, SB3, CONTROLLER
*Controllers:* iPhone6 & iPadAir2 (iPeng & Squeezepad), CONTROLLER, or
SqueezePlay 7.8 on Win8(64) laptop
*Files:* ripping: dbpoweramp > FLAC; post-rip: mp3tag, PerfectTunes;
Streaming: Spotify
------------------------------------------------------------------------
garym's Profile: http://forums.slimdevices.com/member.php?userid=17325
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
usc95
2017-05-02 23:22:01 UTC
Permalink
mherger wrote:
> > Now I won't have to switch to Tidal or deal with the inferior
> experience
> > on the chromecast audio!
>
> Don't hold your breath... The Connect mode isn't working reliably
> yet...
>
> --
>
> Michael

I won't start holding my breath until your SPH no longer works!


------------------------------------------------------------------------
usc95's Profile: http://forums.slimdevices.com/member.php?userid=59694
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
tjoek
2017-05-07 08:00:40 UTC
Permalink
I'm really happy that Spotify Connect might be coming to LMS. The lack
of it had me trying out alternatives on a RPi.

@Michael: if there is anything we can help you out with, maybe a git
repo that we can look into and have a go at?


------------------------------------------------------------------------
tjoek's Profile: http://forums.slimdevices.com/member.php?userid=66513
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Michael Herger
2017-05-07 16:31:48 UTC
Permalink
> I'm really happy that Spotify Connect might be coming to LMS. The lack
> of it had me trying out alternatives on a RPi.

Might, yes... while it's somewhat working almost out of the box (using
librespot), the UX is hopelessly poor so far.

> @Michael: if there is anything we can help you out with, maybe a git
> repo that we can look into and have a go at?

https://github.com/michaelherger/spotty - this is my helper application
based on librespot.

https://github.com/michaelherger/librespot - my clone of librespot, with
minor changes to fix compatibility with Windows and (optionally) not
cache the audio data.

So... if you're into Rust, or willing and able to learn Rust, that would
be of great help! What I'm looking for is some way for the helper app to
talk to LMS (CLI or json/rpc), to report state changes in Spotify Connect.
--

Michael
Michael Herger
2017-05-02 04:45:45 UTC
Permalink
> With a successful install of librespot, it is run as service from
> start-up, one just pauses MoOde Player, wait for a second or so for
> MoOde to be released and

Ok, I see the approach there. Moode doesn't even touch the audio handled
by librespot, but leaves it to the latter to send the data to alsa or
whatever directly. I think that's the challenge I'm facing right now: I
have librespot pipe the audio data out to our transcoding framework. But
if there's no playback going on, there won't be any data, thus our
player give up waiting after some period of time. Hmm...

--

Michael
welom
2017-05-01 14:54:51 UTC
Permalink
Hi,

thanks for looking into this!

Would it be possible to cross compile librespot to run directly on a
Squeezebox Touch? That way, we'd have a quick solution for either
playing music through LMS or alternatively use any Spotify Client to
connect to the Touch directly.

I tried to run a precompiled version for PI/ARM from
https://github.com/herrernst/librespot/releases on my Touch, but that
didn't work. I guess that libraries are missing on the stripped down
Touch.

Of course a full integration into LMS would be even better :-)

I can't really with any developing stuff, but would be happy to test new
stuff as well.

Thanks.


------------------------------------------------------------------------
welom's Profile: http://forums.slimdevices.com/member.php?userid=13438
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Rheinländer
2017-05-01 15:59:51 UTC
Permalink
Michael,
good to hear you are making progress pretty fast. However there is one
thing I would like you to keep in mind:
Will you implement the functionality to assign different spotify
accounts (family plan) to specific SB players? This would be great and
is a feature that I miss the most.

Regards

Rheinländer


------------------------------------------------------------------------
Rheinländer's Profile: http://forums.slimdevices.com/member.php?userid=15292
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Michael Herger
2017-05-02 04:42:41 UTC
Permalink
> good to hear you are making progress pretty fast. However there is one
> thing I would like you to keep in mind:
> Will you implement the functionality to assign different spotify
> accounts (family plan) to specific SB players? This would be great and
> is a feature that I miss the most.

That's definitely something I keep in the back of my head.

--

Michael
Michael Herger
2017-05-07 21:10:55 UTC
Permalink
> Will you implement the functionality to assign different spotify
> accounts (family plan) to specific SB players? This would be great and
> is a feature that I miss the most.

Now I'm a bit confused. On mysb.com you could add multiple Spotify
identities to your account. What's missing there?

--

Michael
Mnyb
2017-05-08 08:16:55 UTC
Permalink
mherger wrote:
> > Will you implement the functionality to assign different spotify
> > accounts (family plan) to specific SB players? This would be great
> and
> > is a feature that I miss the most.
>
> Now I'm a bit confused. On mysb.com you could add multiple Spotify
> identities to your account. What's missing there?
>
> --
>
> Michael

Supose the helper app in LMS should be aware ? you set acconts there to
? I think the problem arises when you have RPI player or old
Squeezeboxes and the helper app only uses one account via LMS



--------------------------------------------------------------------
Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x
MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3
sub.
Bedroom/Office: Boom
Kitchen: Touch + powered Fostex PM0.4
Misc use: Radio (with battery)
iPad1 with iPengHD & SqueezePad
(spares Touch, SB3, reciever ,controller )
server HP proliant micro server N36L with ClearOS Linux

http://people.xiph.org/~xiphmont/demo/neil-young.html
------------------------------------------------------------------------
Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Michael Herger
2017-05-08 09:21:00 UTC
Permalink
> Supose the helper app in LMS should be aware ? you set acconts there to
> ? I think the problem arises when you have RPI player or old
> Squeezeboxes and the helper app only uses one account via LMS

Oh, because they would only allow one client to be playing... This might
be highly simplified with librespot: for whatever reasons it does not
seem to obey this limitation... my kids have been listening to different
streams for hours over the weekend. Shh... don't tell anyone!

--

Michael
Rheinländer
2017-05-08 17:38:49 UTC
Permalink
mherger wrote:
> > Will you implement the functionality to assign different spotify
> > accounts (family plan) to specific SB players? This would be great
> and
> > is a feature that I miss the most.
>
> Now I'm a bit confused. On mysb.com you could add multiple Spotify
> identities to your account. What's missing there?
>
> --
>
> Michael

I have 3 radios, a boom and a duet with receiver in use. Running spotify
with your helper plugin only allows for one account to be allocated
within the settings of the SPH plugin. Since I have a spotify family
plan I would like to allocate each player a different account.

Regards Rheinländer


------------------------------------------------------------------------
Rheinländer's Profile: http://forums.slimdevices.com/member.php?userid=15292
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Michael Herger
2017-05-08 18:12:16 UTC
Permalink
> I have 3 radios, a boom and a duet with receiver in use. Running spotify
> with your helper plugin only allows for one account to be allocated
> within the settings of the SPH plugin. Since I have a spotify family
> plan I would like to allocate each player a different account.

But you only need these because you wouldn't be allowed to stream to
more than one device using the same credentials, right? If that
limitation fell off, then there wouldn't be a need for multiple accounts
for _playback_ any more.

--

Michael
Rheinländer
2017-05-08 19:15:29 UTC
Permalink
Not quite. Although I'd like the idea of streaming to more devices at
the same time from within the same account, I'd find it more important
to be able to access the playlists and albums that are associated to
each account.
Here's an example: I have a radio in the bedroom and would like to
listen to the playlists that are associated to my spotify account,
whereas my wife would like to have access to her account's playlists
with the duet in the living room.

Will that be possible with the solution you're implementing?

Regards Rheinländer


------------------------------------------------------------------------
Rheinländer's Profile: http://forums.slimdevices.com/member.php?userid=15292
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Michael Herger
2017-05-08 20:18:07 UTC
Permalink
> Not quite. Although I'd like the idea of streaming to more devices at
> the same time from within the same account, I'd find it more important
> to be able to access the playlists and albums that are associated to
> each account.

Ok, understood. But that's not handled in the protocol handler, but on
mysb.com. And there iirc you can add multiple accounts. You already
should be able to browse different users' collections. Am I wrong there?

--

Michael
Rheinländer
2017-05-08 20:43:21 UTC
Permalink
Unfortunately you are wrong. When installing the helper plugin one has
to enter spotify credentials for one account in the plugin's settings.
It is that particular account which is being used for all devices that
are connected to the LMS. Even though I have entered addtional accounts
on mysb.com and associated those to SB devices, I can only access the
playlists in the spotify account stored in LMS.
Maybe I am doing sonething wrong?

Regards Rheinländer


------------------------------------------------------------------------
Rheinländer's Profile: http://forums.slimdevices.com/member.php?userid=15292
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Michael Herger
2017-05-08 20:51:10 UTC
Permalink
> Unfortunately you are wrong. When installing the helper plugin one has
> to enter spotify credentials for one account in the plugin's settings.
> It is that particular account which is being used for all devices that
> are connected to the LMS. Even though I have entered addtional accounts
> on mysb.com and associated those to SB devices, I can only access the
> playlists in the spotify account stored in LMS.
> Maybe I am doing sonething wrong?

I don't really understand what's going on there. Because SPH doesn't
deal with playlists. It only deals with tracks. But unless your accounts
are in different countries with different usage rights, they shouldn't
make any difference when it comes to playing a playlist, as all LMS
would see is a list of tracks.

Maybe you an describe your setup, explain how you access those playlists
etc.

--

Michael
Rheinländer
2017-05-08 21:43:59 UTC
Permalink
Ok, maybe I didn't make myself clear.
When I am talking about a spotify account, I mean e.g. personal
playlists, saved albums etc. that belong to that particular account
only. When accessing spotify thru a SB device I would like to have
access to those account specific playlists and albums.
I have setup LMS with the SPH plugin and entered the credentials of my
_first_ spotify account in the plugin settings. On mysb.com I have
added the credentials of my _ first_, as well as of my _second_ spotify
account and in the spotify app tab on mysb.com I have associated these
two spotify accounts to my SB devices:

account#1 to the first and second radio, as well as the boom.
account#2 to the living room duet and the third radio,

However, when accessing spotify on _any_ of the SB devices I can only
see the playlists and albums associated to account#1.

Am I doing something wrong, or does it only function that way?

Regards Rheinländer


------------------------------------------------------------------------
Rheinländer's Profile: http://forums.slimdevices.com/member.php?userid=15292
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Michael Herger
2017-05-09 04:28:28 UTC
Permalink
> However, when accessing spotify on _any_ of the SB devices I can only
> see the playlists and albums associated to account#1.

Ok, I should review this (unfortunately I only have one account...). But
this has nothing to do with SPH. It would be a mysb.com problem.

--

Michael
Michael Herger
2017-05-09 09:18:18 UTC
Permalink
Rheinländer - could you please PM me your mysb.com account name? I'd
like to understand what is going wrong there. Thanks!

--

Michael
Rheinländer
2017-05-09 11:30:50 UTC
Permalink
Michael,

just a short note to tell you everything is working fine now. I have
deleted the spotify app from mysb.com and reinstalled it again. Then I
was able to associate my spotify accounts to the various players without
a problem.

Works like a charm!

Sorry for creating a confusion.

Looking forward to the new plugin :)

Regards

Rheinländer


------------------------------------------------------------------------
Rheinländer's Profile: http://forums.slimdevices.com/member.php?userid=15292
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Michael Herger
2017-05-09 11:45:48 UTC
Permalink
> Works like a charm!

Good to know!

> Sorry for creating a confusion.

No problem.

--

Michael
karlek
2017-05-09 12:34:15 UTC
Permalink
Rheinländer wrote:
> Michael,
>
> just a short note to tell you everything is working fine now. I have
> deleted the spotify app from mysb.com and reinstalled it again. Then I
> was able to associate my spotify accounts to the various players without
> a problem.
>
> Works like a charm!
>
> Sorry for creating a confusion.
>
> Looking forward to the new plugin :)
>
> Regards
>
> Rheinländer

So you can use your Boom with the first account and your Duet with the
second one and you see the appropriate playlists?
And can you furthermore stream from both accounts at the same time?




------------------------------------------------------------------------
karlek's Profile: http://forums.slimdevices.com/member.php?userid=64321
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Rheinländer
2017-05-09 13:50:20 UTC
Permalink
karlek wrote:
> So you can use your Boom with the first account and your Duet with the
> second one and you see the appropriate playlists?
> And can you furthermore stream from both accounts at the same time?

YES and NO.


Unfortunately the latter doesn't work, because streaming thru the SPH
plugin also requires credentials for an account. Therefore spotify
detects that one account is used in parallel and stops the stream.

Here's the setup

account#1 - boom
account#1 - duet
account#1 - SPH plugin
account#2 - radio1

After starting a stream on the radio1 (with account#2) I am not able to
start a stream on the boom or the duet in parallel, although two
different accounts are used.

@Michael: Can you confirm this?

Regards
Rheinländer


------------------------------------------------------------------------
Rheinländer's Profile: http://forums.slimdevices.com/member.php?userid=15292
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
karlek
2017-05-09 14:08:55 UTC
Permalink
Rheinländer wrote:
> YES and NO.
>
>
> Unfortunately the latter doesn't work, because streaming thru the SPH
> plugin also requires credentials for an account. Therefore spotify
> detects that one account is used in parallel and stops the stream.
>
> Here's the setup
>
> account#1 - boom
> account#1 - duet
> account#1 - SPH plugin
> account#2 - radio1
>
> After starting a stream on the radio1 (with account#2) I am not able to
> start a stream on the boom or the duet in parallel, although two
> different accounts are used.
>
> @Michael: Can you confirm this?
>
> Regards
> Rheinländer

Thanks for your reply.
But the quoted settings are different than the first you described. Now
both old SBen are connect via SPH to the same account while the "new"
Radio uses #2.
Since a new SB doesn't need SPH, it seems logical that your new settings
work as intended.
I thought the SPH is the bottleneck. Could you please test if you can
use different accounts with the old SBen?




------------------------------------------------------------------------
karlek's Profile: http://forums.slimdevices.com/member.php?userid=64321
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Michael Herger
2017-05-09 14:17:14 UTC
Permalink
> @Michael: Can you confirm this?

I think it makes sense: SB Radio/Touch can use idividual accounts. But
all other players which depend on SPH or Triode's plugin share the same
account, which likely is shared with one of the other devices, too.

What platform are you running your LMS on?

--

Michael
Rheinländer
2017-05-09 15:12:52 UTC
Permalink
Now we're getting there :)
I did some more tests. First of all, I had "Always use Helper
Application for Streaming" activated in the SPH settings of LMS.
Unchecking this option gave the following results:

My Setup for test#1:

account#1 - boom
account#1 - duet
account#1 - SPH plugin
account#2 - radio1

Test results: Playback on the radio1 (account#2) and playback either on
the boom *or* the duet (account#1) in parallel *works*.
(Since firmware streaming on the radio1 (account#2) is used I was also
able of starting a stream on the boom (*or* the duet), which both use
account#1.

My Setup for test#2:

account#1 - boom
account#2 - duet
account#1 - SPH plugin
account#2 - radio1

Test results: Playback on the duet (account#2) and playback on the boom
(account#1) do *NOT* work in parallel.
(I suppose since neither of the devices are capable of firmware
streaming, both devices receive their stream thru the SPH plugin, which
is allocated to account#1) Therefore spotify detects a parallel use of
account#1 and stops the stream.

I am running LMS on a Raspberry Pi2 (thru the use of max2play).

If you would like me to conduct further tests just let me know.

Regards

Rheinländer


------------------------------------------------------------------------
Rheinländer's Profile: http://forums.slimdevices.com/member.php?userid=15292
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
karlek
2017-05-09 15:50:15 UTC
Permalink
Thank you very much for your efforts.
One wee little thingy stays to clearings:
In the second setting from above, whose playlists are offered , when
using an old SB with account #2 while SPH is set up for the other
account #1? I'd expect the wrong ones from #1.




------------------------------------------------------------------------
karlek's Profile: http://forums.slimdevices.com/member.php?userid=64321
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Michael Herger
2017-05-09 16:05:16 UTC
Permalink
> In the second setting from above, whose playlists are offered , when
> using an old SB with account #2 while SPH is set up for the other
> account #1? I'd expect the wrong ones from #1.

SPH settings and browsing are totally independent. You wouldn't even
need any account on mysb.com if you knew spotify IDs by heart.

--

Michael
Rheinländer
2017-05-09 16:20:39 UTC
Permalink
karlek wrote:
> Thank you very much for your efforts.
> One wee little thingy stays to clearings:
> In the second setting from above, whose playlists are offered , when
> using an old SB with account #2 while SPH is set up for the other
> account #1? I'd expect the wrong ones from #1.

I just did a quick test :)

In the described setting (duet with account#2 and SPH with account#1) I
can see playlists and albums of account#2 on the duet. Playback works as
long as no other stream that runs thru SPH is started.

Regards

Rheinländer


------------------------------------------------------------------------
Rheinländer's Profile: http://forums.slimdevices.com/member.php?userid=15292
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
johndoe_2009
2017-05-09 19:11:53 UTC
Permalink
Rheinländer wrote:
> I just did a quick test :)
>
> In the described setting (duet with account#2 and SPH with account#1) I
> can see playlists and albums of account#2 on the duet. Playback works as
> long as no other stream that runs thru SPH is started.
>
> Regards
>
> Rheinländer

Details of these settings and SPH behavior are also described in my post
here:

http://forums.slimdevices.com/showthread.php?106849-Combine-spotify-family-plugin-with-new-Spotify-amp-SPH-plugins&p=881240&viewfull=1#post881240



4 Radios, 2 Boom, 2 Touch working + 1 Touch broken trying to fix, 1
Classic, 1 Duet Controller, 2 Duet Receiver, 1 Musical Fidelity V-DAC on
Duet Receiver.

LMS running on WHS 2011.
------------------------------------------------------------------------
johndoe_2009's Profile: http://forums.slimdevices.com/member.php?userid=31478
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
karlek
2017-05-10 08:44:40 UTC
Permalink
johndoe_2009 wrote:
> Details of these settings and SPH behavior are also described in my post
> here:
>
> http://forums.slimdevices.com/showthread.php?106849-Combine-spotify-family-plugin-with-new-Spotify-amp-SPH-plugins&p=881240&viewfull=1#post881240

Interesting, thank you! :)


------------------------------------------------------------------------
karlek's Profile: http://forums.slimdevices.com/member.php?userid=64321
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
karlek
2017-05-09 17:29:18 UTC
Permalink
Thanks to both of you.
And now b2t ;) :
Now I could use Spotify Family for my children's Radios, a Touch for my
wife and Boom & Transporter for me. The latter not parallel (but maybe
synced?). And all the three parties could use their own playlists and --
since there would be five family accounts -- all could play different
Streams from spotify. Children and wife directly, I through SPH.
I guess with librespot that won't be the case anymore because then all
devices would play through the same plugin.




------------------------------------------------------------------------
karlek's Profile: http://forums.slimdevices.com/member.php?userid=64321
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
johndoe_2009
2017-05-09 19:15:13 UTC
Permalink
karlek wrote:
> Thanks to both of you.
> And now b2t ;) :
> Now I could use Spotify Family for my children's Radios, a Touch for my
> wife and Boom & Transporter for me. The latter not parallel (but maybe
> synced?). And all the three parties could use their own playlists and --
> since there would be five family accounts -- all could play different
> Streams from spotify. Children and wife directly, I through SPH.
> I guess with librespot that won't be the case anymore because then all
> devices would play through the same plugin.

If librespot could have 5 different instances (for the five Spotify
Family accounts) running on the same LMS, each with their own Spotify
login credentials, this would work.



4 Radios, 2 Boom, 2 Touch working + 1 Touch broken trying to fix, 1
Classic, 1 Duet Controller, 2 Duet Receiver, 1 Musical Fidelity V-DAC on
Duet Receiver.

LMS running on WHS 2011.
------------------------------------------------------------------------
johndoe_2009's Profile: http://forums.slimdevices.com/member.php?userid=31478
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Michael Herger
2017-05-09 19:34:53 UTC
Permalink
> If librespot could have 5 different instances (for the five Spotify
> Family accounts) running on the same LMS, each with their own Spotify
> login credentials, this would work.

With librespot I've been able to play three streams using one single
account. Oh, and playing on the phone's app at the same time worked as
well. I just hope they don't "fix" this behaviour.

--

Michael
johndoe_2009
2017-05-09 19:50:24 UTC
Permalink
mherger wrote:
> > If librespot could have 5 different instances (for the five Spotify
> > Family accounts) running on the same LMS, each with their own Spotify
> > login credentials, this would work.
>
> With librespot I've been able to play three streams using one single
> account. Oh, and playing on the phone's app at the same time worked as
> well. I just hope they don't "fix" this behaviour.
>
> --
>
> Michael

interesting....keep my fingers crossed...



4 Radios, 2 Boom, 2 Touch working + 1 Touch broken trying to fix, 1
Classic, 1 Duet Controller, 2 Duet Receiver, 1 Musical Fidelity V-DAC on
Duet Receiver.

LMS running on WHS 2011.
------------------------------------------------------------------------
johndoe_2009's Profile: http://forums.slimdevices.com/member.php?userid=31478
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Michael Herger
2017-05-10 04:07:14 UTC
Permalink
> interesting....keep my fingers crossed...

What OS/hardware are you running your LMS on?

--

Michael
johndoe_2009
2017-05-12 11:27:42 UTC
Permalink
mherger wrote:
> > interesting....keep my fingers crossed...
>
> What OS/hardware are you running your LMS on?
>
> --
>
> Michael

Win 10



4 Radios, 2 Boom, 2 Touch working + 1 Touch broken trying to fix, 1
Classic, 1 Duet Controller, 2 Duet Receiver, 1 Musical Fidelity V-DAC on
Duet Receiver.

LMS running on WHS 2011.
------------------------------------------------------------------------
johndoe_2009's Profile: http://forums.slimdevices.com/member.php?userid=31478
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Rheinländer
2017-05-13 08:14:00 UTC
Permalink
Just a short question regarding the use of librespot:
Does librespot support playlist folders? I have organized my spotify
playlists in various folders and I find it kind of annoying that the
current implementation of the squeezebox plugin lacks support of it.
When browsing thru my spotify playlists with the radio they are all
listed sequentially and it sometimes takes forever to find the
appropriate playlist.

Will this be solved with librespot?

Regards Rheinländer


------------------------------------------------------------------------
Rheinländer's Profile: http://forums.slimdevices.com/member.php?userid=15292
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Michael Herger
2017-05-13 17:25:43 UTC
Permalink
> Just a short question regarding the use of librespot:

As pippin mentioned, librespot doesn't any browsing (yet).

> Does librespot support playlist folders? I have organized my spotify
> playlists in various folders and I find it kind of annoying that the
> current implementation of the squeezebox plugin lacks support of it.

IIRC it's a limitation in Spotify's API, not our implementation. We
simply don't get that information back from them.

> Will this be solved with librespot?

No.

--

Michael
pippin
2017-05-13 21:39:37 UTC
Permalink
What I mean is browsing is being handled through MySqueezebox.com



---
learn more about iPeng, the iPhone and iPad remote for the Squeezebox
and
Logitech UE Smart Radio as well as iPeng Party, the free Party-App,
at penguinlovesmusic.com
*New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch*
------------------------------------------------------------------------
pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
TheLastMan
2017-05-16 20:59:35 UTC
Permalink
Just found this thread - yet again Mr Herger to the rescue!

Currently have two Duet's streaming to amplifier/speaker setups in
kitchen and living room. I am using my Squeezeboxes for:
1. Library of FLAC files from my Synology NAS (where LMS is installed)
2. BBC iPlayer Radio and
3. Spotify.

As a Spotify "family" member I have 5 users here all with a lot invested
in Spotify so I would be loathe to lose it completely when Libspotify
goes.

Everybody here is quite happy with the Michael's current implementation
of the "official" LMS Spotify app combined with the Spotify protocol
handler, so if librespot can replace the SPH bit seamlessly then I will
be very happy. Not bothered about the Spotify Connect thing - and not
sure what it adds over the official LMS system.

My fall-back position when Libspotify goes is to put a Chromecast Audio
dongle on a second input into each amplifier, just for Spotify, but that
would require physically switching inputs. Neither amp has a remote so
that would be less than ideal and would require the use of a phone app.
This family still mainly use the two Controllers for initiating existing
playlists and saved albums and it is usually a touch quicker, strangely,
than finding the phone, swiping, entering a PIN code and initiating the
app.



Matt
SQUEEZEBOXES:[/B] TWO SB DUETS (LIVING ROOM AND KITCHEN) AND A
*'PICOREPLAYER' (HTTPS://SITES.GOOGLE.COM/SITE/PICOREPLAYER/HOME)
[b]Server:* Synology DS214 (2TB) NAS running LMS 7.9
*Network:* TP-Link Archer VR200 router, Draytek Vigor 130 VDSL modem,
TP-Link access point
*Livingroom:* Receiver, Linn LP12, Naim 72/Hi-cap/110/Headline amp, B&W
CM2 speakers
*Kitchen:* Receiver, Topping TP20 Mk2 Class T amp, B&W 686 speakers
------------------------------------------------------------------------
TheLastMan's Profile: http://forums.slimdevices.com/member.php?userid=16021
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Michael Herger
2017-05-17 04:47:15 UTC
Permalink
> 1. Library of FLAC files from my Synology NAS (where LMS is installed)

Do you know what exact CPU your NAS uses? What exact model NAS? What
Perl version string do you see in Settings/Information?

--

Michael
TheLastMan
2017-05-17 05:43:16 UTC
Permalink
It is a Synology DS214 with an ARM processor (Marvell Armada XP
MV78230 Dual Core with FPU - Armadaxp).

Perl version in settings is "Perl Version: 5.24.0 - armle-linux".

Full environment details are:
Logitech Media Server Version: 7.9.0 - 164.1136 @ Mon Feb 20 09:32:48
UTC 2017
Hostname: NAS01
Server IP Address: xxxx
Server HTTP Port Number: 9002
Operating system: Synology DiskStation - EN - utf8
Platform Architecture: armle-linux
Perl Version: 5.24.0 - armle-linux
Audio::Scan: 0.93
Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)



Matt
SQUEEZEBOXES:[/B] TWO SB DUETS (LIVING ROOM AND KITCHEN) AND A
*'PICOREPLAYER' (HTTPS://SITES.GOOGLE.COM/SITE/PICOREPLAYER/HOME)
[b]Server:* Synology DS214 (2TB) NAS running LMS 7.9
*Network:* TP-Link Archer VR200 router, Draytek Vigor 130 VDSL modem,
TP-Link access point
*Livingroom:* Receiver, Linn LP12, Naim 72/Hi-cap/110/Headline amp, B&W
CM2 speakers
*Kitchen:* Receiver, Topping TP20 Mk2 Class T amp, B&W 686 speakers
------------------------------------------------------------------------
TheLastMan's Profile: http://forums.slimdevices.com/member.php?userid=16021
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
TheLastMan
2017-05-18 10:02:28 UTC
Permalink
mherger wrote:
> If you're willing to do some testing:
> http://forums.slimdevices.com/showthread.php?107418. Please don't go
> there unless you're willing to spend some time installing/uninstalling
> plugins. Thanks!
Wilko. Have commented on the new thread - thanks for the hard work!



Matt
SQUEEZEBOXES:[/B] TWO SB DUETS (LIVING ROOM AND KITCHEN) AND A
*'PICOREPLAYER' (HTTPS://SITES.GOOGLE.COM/SITE/PICOREPLAYER/HOME)
[b]Server:* Synology DS214 (2TB) NAS running LMS 7.9
*Network:* TP-Link Archer VR200 router, Draytek Vigor 130 VDSL modem,
TP-Link access point
*Livingroom:* Receiver, Linn LP12, Naim 72/Hi-cap/110/Headline amp, B&W
CM2 speakers
*Kitchen:* Receiver, Topping TP20 Mk2 Class T amp, B&W 686 speakers
------------------------------------------------------------------------
TheLastMan's Profile: http://forums.slimdevices.com/member.php?userid=16021
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
pippin
2017-05-13 15:12:43 UTC
Permalink
With librespot you use the Spotify App for control. Whatever it supports
will work, the whole playback is controlled by Logitech's servers.
If Michael can get librespot to work for local control, too (technically
Spotify Connect can support that) then it would work like today through
MySqueezebox.com because the browsing would still work through Spotify's
existing web API.
Librespot doesn't do any browsing



---
learn more about iPeng, the iPhone and iPad remote for the Squeezebox
and
Logitech UE Smart Radio as well as iPeng Party, the free Party-App,
at penguinlovesmusic.com
*New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch*
------------------------------------------------------------------------
pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Michael Herger
2017-05-13 17:24:29 UTC
Permalink
> With librespot you use the Spotify App for control.

Doesn't mean you have to. In the SB environment it's even much harder to
use it in the Spotify Connect mode than just use it as the old protocol
handlers: to play any Spotify track we have an ID for. This track based
playback (using SB's existing UI) already is working pretty well here.
But there are still quite a few issues in the librespot code, like eg.
the dreaded "not available in your country" problem. Several of the "new
stuff" etc. playlists would skip most of the tracks, while they'd be
available using libspotify...

Another bug is currently rendering librespot useless as a Connect
endpoint in the SB environment: the controller would start playback of
the next track, as soon as the previous track's data has been
transferred. In a system where you only have a second or two of buffers,
you'd lose those few seconds at every end of a track. In a system like
SB where you have much larger buffers, tracks would easily end 30-40s
before the end. I run a test where I simply sent all audio data to
/dev/null - Spotify would switch track within only a few seconds, as the
data is written to the output at maximum download speed possible. I
first thought it was an issue with the SB interaction, but somebody else
is reporting the same with a more "normal" backend.

https://github.com/plietar/librespot/issues/175

The large buffers cause another UX issue: when you change track or
volume, or pause playback in the Spotify application, it can take half a
minute before the change reaches the SB. I played with some hook to have
librespot tell LMS about the change. But with above issue pending, I
haven't done too much in this direction.

> Whatever it supports
> will work, the whole playback is controlled by Logitech's servers.
> If Michael can get librespot to work for local control, too (technically
> Spotify Connect can support that) then it would work like today through
> MySqueezebox.com because the browsing would still work through Spotify's
> existing web API.

I'm not sure I understand what you mean here. Whatever I come up with
will require LMS to be run, no direct playing from mysb.com.

> Librespot doesn't do any browsing

Correct. In its current form it's basically playback endpoint only. I
think it has even very limited support for metadata handling.

--

Michael
karlek
2017-05-08 20:50:48 UTC
Permalink
I think you're talking about the Spotify Protocol Handler or Triodes
Plugin. Those are only necessary for older SqueezeBoxen. So it should be
possible in your example, to enter your wife's credentials in SPH/Triode
and yours directly in the Official Spotify Menu.




------------------------------------------------------------------------
karlek's Profile: http://forums.slimdevices.com/member.php?userid=64321
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Michael Herger
2017-05-01 16:11:25 UTC
Permalink
> Would it be possible to cross compile librespot to run directly on a
> Squeezebox Touch?

No. AFAICT Rust still depends on glibc - which we don't install on the
Touch. But it wouldn't help anyway, as it'll need to be run from LMS.
We'd have to update TinyLMS as well. Which requires a firmware update.
But then we could fix it in firmware right away :-).

> Of course a full integration into LMS would be even better :-)

That's my moonshot goal.


--

Michael
Man in a van
2017-01-18 20:48:45 UTC
Permalink
schmurtz wrote:
> Recently I saw many plugin that are able to redirect sound into a pipe
> which can be readed by a squeezebox.
> For example there are these plugins :
> - shairtunes , shairtunes2 and shairtunes2 fork
> - youtube
> - waveinput
>
> To implement spotify connect it's you can use the sources that I give or
> you can control the classic spotify client software (which implement
> spotify connect natively) by command line ('there are plenty of
> examples' (https://gist.github.com/wandernauta/6800547)). If it's a
> problem to redirect the sound like in shairtunes you can use 'DSbridge'
> (http://forums.slimdevices.com/showthread.php?64590-DSBridge-A-simpler-way-to-stream-Spotify)
> to create a stream easily playable on squeezebox.
>
> By the way, when I say "It's not very complex." I mean : "How to install
> on raspberry here " -> "It's not very complex.".
>
> So it's probably a little project to make it works on squeezebox but all
> the elements are available to make it work and I think that some people
> of the squeezebox community are able to do this (not me, I'm a pretty
> bad developper :p).


I have been waiting two weeks now for a spotify api key to try this

https://github.com/Fornoth/spotify-connect-web

which I believe is possible with Moode (although the guide I am
following is for Volumio).

Not a flicker of a response from Spotify, they are just not
interested.:confused::(:rolleyes:

Be happy that there is an implementation of Spotify in LMS, if your user
case requires a different approach then move on to something that suits.
:)

Ronnie


------------------------------------------------------------------------
Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
pippin
2017-01-13 14:40:15 UTC
Permalink
Yes, I wondered about this, too.
One question will of course be how long Spotify tolerates this (it's a
reverse engineered implementation) but past experience shows they are
pretty tolerant as long as people only use that kind of stuff for legit
applications



---
learn more about iPeng, the iPhone and iPad remote for the Squeezebox
and
Logitech UE Smart Radio as well as iPeng Party, the free Party-App,
at penguinlovesmusic.com
*New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch*
------------------------------------------------------------------------
pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=105968
Loading...