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

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

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random