swdc-vscode-musictime icon indicating copy to clipboard operation
swdc-vscode-musictime copied to clipboard

Unable to play music Ubuntu 20.04

Open jaddoueik1 opened this issue 3 years ago • 3 comments

Hello I tried to connect web player and the desktop player doesn't even load and I am unable to play from the extension

Steps to reproduce: Choose any song

Expected behavior: play the song

output: nothing changes in the player.

Spotify non premium account

jaddoueik1 avatar Apr 07 '21 10:04 jaddoueik1

Hi @jaddoueik1. Thank you for the issue update. I apologize, but the plugin will not be able to play tracks for non-mac OS systems due to Spotify's API premium account requirement. We're able to get around this restriction on mac systems by using AppleScript to perform playback controls. I'm currently looking to see if there's another way to do this for Ubuntu, thank you.

xavluiz avatar Apr 08 '21 14:04 xavluiz

I found that on Ubuntu 20.04 if I keep the Spotify desktop application or the web player open before opening Visual Studio Code, I can play songs using the extension. Sometimes it may take a few seconds for the song to play but it plays nonetheless.

ayushmanchhabra avatar May 27 '21 20:05 ayushmanchhabra

@xavluiz PlayerCTL can be used for controlling Spotify Playback on Linux. But this is another app that needs to be installed to do so.

ghost avatar Aug 09 '21 09:08 ghost