View Single Post
  #3   Report Post  
Posted to rec.audio.pro
Sergio Tirado Sergio Tirado is offline
external usenet poster
 
Posts: 2
Default Resuming Music Stream After Playing A Local MP3 File.

Thank you John, your suggestion about using a batch program solved my problem.

REMINDER.BAT
taskkill /f /im Spotify.exe /t
C:\Musica-Piso\foobar2000\foobar2000.exe /hide /add "C:\Users\recepcion\Music\Voceo\recordatorio-tiempo-extra-magda.MP3" /immediate /play
C:\Musica-Piso\foobar2000\foobar2000.exe /exit
DEL /Q C:\Musica-Piso\foobar2000\playlists-v1.3\*.*
C:\Musica-Piso\spotify.vbs

SPOTIFY.VBS
Set WshShell = WScript.CreateObject("WScript.Shell")
Comandline = "C:\Users\recepcion\AppData\Roaming\Spotify\Spotif y.exe"
WScript.sleep 500
CreateObject("WScript.Shell").Run("spotify:user:sp otifylaylist:37i9dQZF1DXdJwL20ZYRQw")
WScript.sleep 3000
WshShell.SendKeys " "
WScript.sleep 100
WshShell.SendKeys "^{RIGHT}"


On Thursday, July 5, 2018 at 9:52:40 AM UTC-7, John Williamson wrote:
On 05/07/2018 17:08, Sergio Tirado wrote:
I once had it working but instead of foobar2000 I was using Windows Media Player and after the local MP3 file played, Spotify resumed and keep on playing. The reason I had it working is because I found an article that showed how to configure Windows Media Player to use exclusive mode, but everything I get on Google searches is people saying that it can't be done, so I finally gave up.

Anybody knows how I could implement this?

You may need to upgrade the Windows licence to permit Media Player to
work, as Windows 8 and 10 are a bit picky about media in certain versions..

Otherwise, you could possibly use a batch program to start foobar2000,
play the mp3, then restart Spotify.

Also, the procedure here may work using an Android tablet as the playout
device, though timed playout of the local stuff may be a problem:-

https://android.stackexchange.com/qu...es-on-my-phone

Alternatively, you can set Spotify to add local files to its playlist:-

https://support.spotify.com/us/using...o-local-files/

Google also found this, but I've not downloaded and tried it. Don't
install it on a live system until you've checked it. :-

http://rutrackerfolio.weebly.com/blo...tware-download
--
Tciao for Now!

John.