Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

What is the command to make the spotify app play a song directly on linux desktop

What is the command to make the spotify app play a song directly on linux desktop

Premium

Country

Greece

Device

Operating System

(iOS 10, Android Oreo, Windows 10,etc.)

My Question or Issue

Hello.

do you know what command can my spotify desktop app play a song directly? i mean like i say to alexa "alexa play smoke on the water"

and alexa play it immediately, so i want to give a command in linux terminal and open spotify app playing the song. Thank you.

 

 

Reply
3 Replies

You can get all available commands with -help

XimzendSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

Thank you for your response. Unfortunately, it doesn't solve my issue. The command 'spotify --help' only provides these results

 

$ spotify --help
Usage: Spotify <options>
Options which take arguments must be given in the form --option=argument. Supported options include:

--cache-path=<path>
	Use as root for the cache directory.

--help
	Show publicly available flags.

--log-file=<path>
	Save log output to file (extension needs to be '.log').

--minimized
	Start the app with the window minimized. Only works on Windows.

--mu=<value>
	Start with a special cache directory. Allows you to run multiple clients at the same time. Value can be anything (will be used as part of the cache name).

--password=<password>
	Use to automatically sign in on startup. Use together with `--username`.

--show-console
	Show more log output.

--trace-file=<path>
	Save a trace file to this path.

--uri=<uri>
	Start the client normally, but automatically navigate to the URI when initialized.

--username=<username>
	Use to automatically sign in on startup. Use together with `--password`.

--version
	Output the version of the app.

 

 

I'm trying to find a way to use the command line to play a specific song directly in the Spotify desktop app on Linux, similar to how one can do it with voice assistants like Alexa or Google Assistant. I've tried using the command 'spotify --uri spotify:track:586fe085cdd6479b', but it only opens the Spotify app to the home page without playing the song. Could someone please provide guidance or suggest a different approach to achieve this? Thank you.

(P.S. I posted a question seeking help regarding using the command line to play specific songs in the Spotify desktop app on Linux. Unfortunately, my post was mistakenly flagged as spam and deleted. I believe this was an error as I was genuinely seeking assistance. )

 

 

I'm trying to find a way to use the command line to play a specific song directly in the Spotify desktop app on Linux, similar to how one can do it with voice assistants like Alexa or Google Assistant. I've tried using the command 'spotify --uri spotify:track:586fe085cdd6479b', but it only opens the Spotify app to the home page without playing the song. Could someone please provide guidance or suggest a different approach to achieve this? Thank you.

Suggested posts