Home of the Squeezebox™ & Transporter® network music players.
Page 3 of 11 FirstFirst 12345 ... LastLast
Results 21 to 30 of 102
  1. #21
    Quote Originally Posted by mherger View Post
    > 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 (which implement spotify connect natively) by command line (there are plenty of examples). If it's a problem to redirect the sound like in shairtunes you can use DSbridge 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 ).

  2. #22
    Junior Member
    Join Date
    Sep 2015
    Posts
    2

    Spotify-connect-web

    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>

  3. #23
    Senior Member
    Join Date
    Jan 2011
    Location
    Staffordshire. UK
    Posts
    1,680
    Quote Originally Posted by schmurtz View Post
    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). If it's a problem to redirect the sound like in shairtunes you can use DSbridge 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 ).

    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.

    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

  4. #24
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,538

    Spotify-connect-web

    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 wasn't visible to LMS. I can't skip to the next track using any SB control. Or somebody might hijack librespot through Connect while it was streaming a single track in LMS mode.

    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?
    Last edited by mherger; 2017-04-30 at 13:33.
    Michael

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

  5. #25
    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

  6. #26
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,538

    Spotify-connect-web

    > 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

  7. #27
    Junior Member
    Join Date
    Jul 2009
    Location
    Germany, Heidelberg
    Posts
    17

    Spotify-connect-web

    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 to 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.

  8. #28
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,538

    Spotify-connect-web

    > 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

  9. #29
    Senior Member
    Join Date
    Jan 2011
    Location
    Staffordshire. UK
    Posts
    1,680
    Quote Originally Posted by mherger View Post
    >
    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

    Ronnie

  10. #30
    Member
    Join Date
    Oct 2007
    Location
    Vienna, Austria
    Posts
    32
    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.

Tags for this Thread

Posting Permissions

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