Open carsonelmore opened 5 years ago
Hi @carsonelmore !
Thanks very much for your suggestion (and apologies for the delayed reply). Yes, this would be a really nice addition. At the moment TIzonia does not implement Spotify Connect. I think https://github.com/librespot-org/librespot is a project that provides this functionality. I don't know how easy this would be to integrate with Tizonia. I believe librespot is written in Rust. I will have a look, it is an interesting question to answer.
Description
When playing from Spotify as a daemon, the Tizonia instance is not controllable from Spotify on a different device. This would be helpful for applications of Tizonia on a headless device.
Steps to Reproduce
Given: Tizonia installed and configured on a local network with automatic login to a Spotify Premium account on a Raspberry Pi.
tizonia -sd --spotify-playlist-id 3T8mqtWP0HuLt9qkg15f7F
Expected behavior:
Spotify will indicate the existence of some currently playing device pi@raspberry.local or pi@pub.lic.ip.addr
Actual behaviour:
Spotify says to start Spotify on another device and it will magically appear here.
Reproduces how often: [What percentage of the time does it reproduce?]
Without fail. (100%)
Versions
Host
Desired Controller
Installation Method Used
curl -kL https://goo.gl/Vu8qGR | bash
and then installing additional dependencies as the errors required with pip andsudo apt install pulseaudio
Additional Information
An alternate way of controlling a remote Tizonia daemon would provide similar functionality, even if it was ssh-ing back to the remote device and bringing the program back to foreground somehow.