Announcements
The Spotify Stars Program: Celebrating Values Week!

Help Wizard

Step 1

NEXT STEP

Play a song with cmd in a specific time

Play a song with cmd in a specific time

Plan

Premium

Country

Argentina

Device

PC

Operating System

Windows 10

 

My Question or Issue

 

Hi,i tell you my situation.

 

Before updating the spotify desktop application, I used a code in cmd to open spotify and it would automatically play a song of my choice and at the minute that I specified in the code.

 

The code is this:

 

Set WshShell = WScript.CreateObject("WScript.Shell")
WScript.sleep 700
Comandline = "C:\Users\santi\AppData\Roaming\Spotify\Spotify.exe"
WScript.sleep 50
CreateObject("WScript.Shell").Run("spotify:track:09mEdoA6zrmBPgTEN5qXmN#0:52")
WScript.sleep 50

 

The part that specifies the exact minute where it has to be played is this:

 

#0:52

 

Now after the update, I use the same code. Everything works fine, except for the part in which I specify the exact minute where the song has to start, that is, it always starts from the beginning, even if I specify something else.

 

How can I get that to work again?

 

 

Reply
0 Replies

Suggested posts