Spotify - Streaming question/problem

Hello everyone,

My setup:
Raspberry pi 3
IQ Audio DAC
Waveshare 4" screen

I was able to install Volumio, login to the Pi, install the config for the screen so it displays the Volumio display, and install the Spotify plugin.
I noticed there are two plugins: one that works through the Volumio interface and one that allows streaming directly from Spotify to Volumio.
I do like the second app, BUT it does not display anything on the display so that option is out.
The other Spotify Plugin does not seem to work well at all. I tried through my laptop, iphone, and even spending money for the Volumio iphone App.

My issues:

  1. Spotify does not return genres and playlists. Once I get 1-2 layers in, it will not move ahead. Example: I select “Rock” as a genre and it doesn’t do anything.
  2. I press play on the first song of an album and it does not continue playing. Is this intended? How do I fix that?

Thank you

Not sure I follow - both volspotconnect and volspotconnect2 fully support metadata (album art etc) to the WebUI.

Do a quick search, you should find a thread about modifying the Spotify plugin with a refresh token to get back support for genres.

Hello,

Sorry, I should have been more clear.

Three goals:

  1. Be able to select a song in Spotify on my iPhone and have it play on Volumio.
  2. I want the contents of the song to display on the 4" screen.
  3. I want to press play on the first song and it continue through the end of the album and onwards.

Spotconnect: This achieves goal 2 and a bit of 1. The interface is not great at achieving 1. Does not achieve 3.
Spotconnect2: Goal 1 and 3 work as they should (because you are in the Spotify app itself). Goal 2 is NOT achieved.

How can I achieve all 3 goals? Also: is there a sound quality difference between the spotconnect and spotconnect2?

Thank you,

Both volspotconnect and volspotconnect2 achieve the same thing - Spotify Connect :wink: So that takes care of Goal 1.

Both of them should let you connect to the Volumio device, select a song from any Spotify client and have it play on the device. And hence, both will mimic the official Spotify clients behaviour when it comes to Goal 3.

With regards to Goal 2 - both the plugins will also update the WebUI and display the album art. Does it work on the normal display?

For your last question about sound quality, Both of them should be the same given they both use the same Spotify stream, but volspotconnect2 gives you direct hardware volume control if your DAC supports it. Also volspotconnect2 is the actively developed one, and has support for newer Spotify features such as radio and dailymixes.

Hello,

Interesting discovery:
When I open the Spotify app on my iPhone, select a song and press Play. I then select the icon at the bottom left of the app to “connect to a device”. Here I see Volumio: I select it and I the music plays through Volumio. However, no album/artist/info is sent. The display does NOT display any information: no song infor, no album, no artist, nothing. Note: Under Volumio it says “Spotify Connect”.
However, if I instead select “More Devices / Airplay and Bluetooth” and then select Volumio it works. The song, artist, album information etc is all sent and I see it displayed on the 4" display.

What is the difference between the two?

Is there a way to get Spotify Connect to work?

Again, does it work on a normal WebUI from your browser?
You might have to check with the plugin that handles the display on your smaller screen - is it just the touch display plugin?

One is Airplay, other is Connect

Hello,

Thank you for your help.
The Web UI does NOT display the album/artist/song etc information when using the Spotify Connect app.
Process: Open Spotify, play song, select Spotify Connect, the 4" Waveshare display does not display any information. I logged into volumio.local on my iPhone and laptop: no information.
I then select Volumio under Airplay and it displays on the 4" Waveshare display and on the iphone/ laptop in volumio.local.

Please share some logs, will have a look.

Hello, how do I do that?

Thanks

Search is your best friend - volumio.github.io/docs/User_Man … oting.html

Great, thanks.

What part of the log would you like to see?

Thanks!

Would be easiest to share the link to the log as the docs suggest.
If that is an issue, share logs only for volspotconnect2

# For the daemon 
journalctl -u volspotconnect2.service --no-pager
# For the WebUI stuff
sudo journalctl  --no-pager | grep volspot

Ideally you’d do this by starting from a fresh reboot, and repeating the bare minimum required to reproduce the issue you are facing.

Thanks

May 01 23:38:01 volumio volumio[1094]: [Vollibrespot] : Loading track "Bohemian Rhapsody" with Spotify URI "spotify:track:6tqmI7wZXTo2Frur1hWXNU" May 01 23:38:03 volumio volumio[1094]: [Vollibrespot] : Track "Bohemian Rhapsody" loaded May 01 23:38:03 volumio kernel: pcm512x 1-004c: No SCLK, using BCLK: -2 May 01 23:39:05 volumio sudo[1402]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig eth0 May 01 23:39:05 volumio sudo[1402]: pam_unix(sudo:session): session opened for user root by (uid=0) May 01 23:39:05 volumio sudo[1404]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0 May 01 23:39:05 volumio sudo[1402]: pam_unix(sudo:session): session closed for user root May 01 23:39:05 volumio sudo[1404]: pam_unix(sudo:session): session opened for user root by (uid=0) May 01 23:39:05 volumio sudo[1404]: pam_unix(sudo:session): session closed for user root May 01 23:39:05 volumio volumio[876]: info: CoreCommandRouter::volumioGetVisibleSources May 01 23:39:05 volumio volumio[876]: info: CoreCommandRouter::executeOnPlugin: my_music , getDisabledSources May 01 23:39:05 volumio volumio[876]: info: CoreCommandRouter::volumioGetState May 01 23:39:05 volumio volumio[876]: info: CoreStateMachine::getState May 01 23:39:05 volumio volumio[876]: info: CorePlayQueue::getTrack 0 May 01 23:39:05 volumio volumio[876]: info: CoreCommandRouter::executeOnPlugin: appearance , getUiSettings May 01 23:39:05 volumio volumio[876]: info: CoreCommandRouter::executeOnPlugin: wizard , getShowWizard May 01 23:39:05 volumio volumio[876]: info: CoreCommandRouter::executeOnPlugin: system , getShowWizard May 01 23:39:05 volumio sudo[1421]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0 May 01 23:39:05 volumio volumio[876]: info: CoreCommandRouter::executeOnPlugin: multiroom , getMultiroom May 01 23:39:05 volumio volumio[876]: info: Listing playlists May 01 23:39:05 volumio sudo[1421]: pam_unix(sudo:session): session opened for user root by (uid=0) May 01 23:39:05 volumio sudo[1421]: pam_unix(sudo:session): session closed for user root May 01 23:39:05 volumio sudo[1424]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0 May 01 23:39:05 volumio sudo[1424]: pam_unix(sudo:session): session opened for user root by (uid=0) May 01 23:39:05 volumio sudo[1424]: pam_unix(sudo:session): session closed for user root May 01 23:39:05 volumio volumio[876]: info: No input data May 01 23:39:10 volumio volumio[876]: info: CoreCommandRouter::getUIConfigOnPlugin May 01 23:39:11 volumio volumio[876]: info: CoreCommandRouter::executeOnPlugin: system , getAdvancedSettingsStatus May 01 23:39:11 volumio volumio[876]: info: CoreCommandRouter::executeOnPlugin: network , getInfoNetwork May 01 23:39:11 volumio sudo[1448]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ethtool eth0 May 01 23:39:11 volumio sudo[1448]: pam_unix(sudo:session): session opened for user root by (uid=0) May 01 23:39:11 volumio sudo[1448]: pam_unix(sudo:session): session closed for user root May 01 23:39:11 volumio sudo[1461]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/iwconfig wlan0 May 01 23:39:11 volumio sudo[1461]: pam_unix(sudo:session): session opened for user root by (uid=0) May 01 23:39:11 volumio sudo[1461]: pam_unix(sudo:session): session closed for user root May 01 23:39:11 volumio sudo[1475]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/iwconfig wlan0 May 01 23:39:11 volumio sudo[1475]: pam_unix(sudo:session): session opened for user root by (uid=0) May 01 23:39:11 volumio sudo[1475]: pam_unix(sudo:session): session closed for user root May 01 23:39:11 volumio sudo[1486]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/iwconfig wlan0 May 01 23:39:11 volumio sudo[1486]: pam_unix(sudo:session): session opened for user root by (uid=0) May 01 23:39:11 volumio sudo[1486]: pam_unix(sudo:session): session closed for user root May 01 23:39:11 volumio sudo[1499]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig eth0 May 01 23:39:11 volumio volumio[876]: info: CoreCommandRouter::executeOnPlugin: network , getWirelessNetworks May 01 23:39:11 volumio sudo[1499]: pam_unix(sudo:session): session opened for user root by (uid=0) May 01 23:39:11 volumio sudo[1499]: pam_unix(sudo:session): session closed for user root May 01 23:39:11 volumio sudo[1503]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0 May 01 23:39:11 volumio sudo[1507]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/iwlist wlan0 scan May 01 23:39:11 volumio sudo[1503]: pam_unix(sudo:session): session opened for user root by (uid=0) May 01 23:39:11 volumio sudo[1507]: pam_unix(sudo:session): session opened for user root by (uid=0) May 01 23:39:11 volumio sudo[1503]: pam_unix(sudo:session): session closed for user root May 01 23:39:11 volumio sudo[1507]: pam_unix(sudo:session): session closed for user root May 01 23:39:11 volumio volumio[876]: An error occurred while scanning: Error: Command failed: sudo /sbin/iwlist wlan0 scan May 01 23:39:11 volumio volumio[876]: wlan0 Interface doesn't support scanning : Network is down May 01 23:39:11 volumio volumio[876]: Cannot use regular scanning, forcing with ap-force May 01 23:39:11 volumio sudo[1526]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/iw dev wlan0 scan ap-force May 01 23:39:11 volumio sudo[1526]: pam_unix(sudo:session): session opened for user root by (uid=0) May 01 23:39:11 volumio sudo[1526]: pam_unix(sudo:session): session closed for user root May 01 23:39:11 volumio volumio[876]: command failed: Network is down (-100) May 01 23:39:11 volumio volumio[876]: Cannot use fallback scanning method: Error: Command failed: /usr/bin/sudo /sbin/iw dev wlan0 scan ap-force May 01 23:39:11 volumio volumio[876]: command failed: Network is down (-100) May 01 23:39:41 volumio volumio[876]: info: CoreCommandRouter::volumioGetState May 01 23:39:41 volumio volumio[876]: info: CoreStateMachine::getState May 01 23:39:41 volumio volumio[876]: info: CorePlayQueue::getTrack 0 May 01 23:39:41 volumio volumio[876]: info: CoreCommandRouter::volumioGetQueue May 01 23:39:41 volumio volumio[876]: info: CoreStateMachine::getQueue May 01 23:39:41 volumio volumio[876]: info: CorePlayQueue::getQueue May 01 23:39:41 volumio sudo[1566]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0 May 01 23:39:41 volumio sudo[1566]: pam_unix(sudo:session): session opened for user root by (uid=0) May 01 23:39:41 volumio sudo[1566]: pam_unix(sudo:session): session closed for user root May 01 23:39:52 volumio volumio[876]: info: CALLMETHOD: system_controller system sendBugReport [object Object] May 01 23:39:52 volumio volumio[876]: info: CoreCommandRouter::executeOnPlugin: system , sendBugReport May 01 23:39:52 volumio sudo[1603]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/iwconfig May 01 23:39:52 volumio sudo[1603]: pam_unix(sudo:session): session opened for user root by (uid=0) May 01 23:39:52 volumio sudo[1603]: pam_unix(sudo:session): session closed for user root May 01 23:39:52 volumio sudo[1620]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/journalctl -p 7 May 01 23:39:52 volumio sudo[1620]: pam_unix(sudo:session): session opened for user root by (uid=0)

Is this what you are looking for?

You might have other issues at play here:

May 01 23:39:11 volumio volumio[876]: An error occurred while scanning: Error: Command failed: sudo /sbin/iwlist wlan0 scan
May 01 23:39:11 volumio volumio[876]: wlan0     Interface doesn't support scanning : Network is down
May 01 23:39:11 volumio volumio[876]: Cannot use regular scanning, forcing with ap-force
May 01 23:39:11 volumio sudo[1526]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/iw dev wlan0 scan ap-force
May 01 23:39:11 volumio sudo[1526]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 01 23:39:11 volumio sudo[1526]: pam_unix(sudo:session): session closed for user root
May 01 23:39:11 volumio volumio[876]: command failed: Network is down (-100)
May 01 23:39:11 volumio volumio[876]: Cannot use fallback scanning method: Error: Command failed: /usr/bin/sudo /sbin/iw dev wlan0 scan ap-force
May 01 23:39:11 volumio volumio[876]: command failed: Network is down (-100)

Could you try the following - start capturing logs with

sudo journalctl -f | grep "spot\|vollibre"

Then disable and enable the plugin from the WebUI, and then connect and play something.

PS: gitter - gitter.im/balbuze/volumio-plugins might be simpler if your online right now…

Hey ashthespy,

I wanted to provide you with an update. I swapped out the 4" display for a 7" display and started with a fresh volumio install.
I installed Volumio, updated the config file for the display, installed the display app in Volumio, installed Spotifyconnect2.
Everything works exactly as planned!
In Spotify, I can now select Spotify Connect and all information is displayed on the screen. I had to change the volume setting to “Software” to allow me to control the volume on the phone.

Thanks again for all your help.