Page 1 of 1

Spotify status

Posted: June 13th, 2010, 8:53 pm
by biff
I already posted this in a response to a plugin request, but to make sure no-one misses it I'll post it here as well (it's been updated since my previous post :-))

The plugin is built in C# (.NET 4) and shows the current status of the Spotify client.

Here is how it can be used in Smartie:

$dll(Smartie.SpotifyStatus,1,,) Returns 1 if spotify is running AND playing a track.
$dll(Smartie.SpotifyStatus,2,,) Returns 1 if spotify is running.
$dll(Smartie.SpotifyStatus,3,,) Returns 1 if spotify is playing a track.
$dll(Smartie.SpotifyStatus,4,,) Returns current track info or a message about the spotify status (not playing, not running).

If you find any problems let me know :-)

Re: Spotify status

Posted: November 23rd, 2010, 1:25 pm
by kimsa
Hi!

I have done some small changes to the plugin.
The only thing you need to replace is the dll file.
The Zip file does only contain the dll file, the rest will be uploaded on request.

// Usage in Smartie
// $dll(Smartie.SpotifyStatus.dll,function,param1,param2)

*--------------------*
Function 1:
Use: $dll(Smartie.SpotifyStatus.dll,1,0,0)
Output: "1" if Spotify is on and playing a track, "0" If Spotify is closed or not playing a track
*--------------------*

*--------------------*
Function 2:
Use: $dll(Smartie.SpotifyStatus.dll,2,0,0)
Output: "Spotify is running and playing music" if Spotify is on and playing a track, "*" If Spotify is closed or not playing a track (*nothing)
*--------------------*

*--------------------*
Function 3:
Use: $dll(Smartie.SpotifyStatus.dll,3,0,0)
Output: "1" for Spotify running, "0" for not running
*--------------------*

*--------------------*
Function 4:
Use: $dll(Smartie.SpotifyStatus.dll,4,0,0)
Output: "Spotify is running" for Spotify running, "Spotify is not started" for not running
*--------------------*

*--------------------*
Function 5:
Use: $dll(Smartie.SpotifyStatus.dll,5,0,0)
Output: "1" If Spotify is playing, "0" if Spotify is not playing
*--------------------*

*--------------------*
Function 6:
Use: $dll(Smartie.SpotifyStatus.dll,6,0,0)
Output: "Spotify is playing" If Spotify is playing, "Spotify is not playing" if Spotify is not playing
*--------------------*

*--------------------*
Function 7:
Use: $dll(Smartie.SpotifyStatus.dll,7,0,0)
Output: "Artist - song" Displays the current playing track, "No tack is playing" if no track is playing and "Spotify not running" if spotify is closed
*--------------------*

*--------------------*
Function 8:
Use: $dll(Smartie.SpotifyStatus.dll,8,1,0)
Output: Current Artist
Use: $dll(Smartie.SpotifyStatus.dll,8,1,1)
Output: Last Artist
Use: $dll(Smartie.SpotifyStatus.dll,8,0,0)
Output: Current Song
Use: $dll(Smartie.SpotifyStatus.dll,8,0,1)
Output: Last Song
*--------------------*

Enjoy :D

--
Kim
Smartie.SpotifyStatus.zip

Re: Spotify status

Posted: March 19th, 2011, 12:54 am
by melomane2
thank you!

it was problem, but solved with this
http://forums.lcdsmartie.org/viewtopic. ... 594#p16594

i use wn XP

Re: Spotify status

Posted: January 17th, 2018, 2:01 pm
by Guest
Great plugin. Still working. But this one:

Use: $dll(Smartie.SpotifyStatus.dll,8,1,0)
Output: Current Artist

Is not showing anything.

Win10 spotify here.

Re: Spotify status

Posted: March 7th, 2018, 3:18 am
by trihy
Todays spotify update killed the plugin. Now it cant detect when spotify is running.