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