Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

Spotify status

Announcements of new plugins or updates.

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo

Post Reply
biff
Posts: 3
Joined: March 28th, 2009, 6:58 pm

Spotify status

Post 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 :-)
You do not have the required permissions to view the files attached to this post.

kimsa
Posts: 1
Joined: October 13th, 2010, 6:49 pm

Re: Spotify status

Post 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
You do not have the required permissions to view the files attached to this post.

melomane2
Posts: 1
Joined: March 18th, 2011, 9:16 pm

Re: Spotify status

Post by melomane2 »

thank you!

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

i use wn XP

Guest

Re: Spotify status

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

trihy
Posts: 100
Joined: January 17th, 2018, 1:43 pm

Re: Spotify status

Post by trihy »

Todays spotify update killed the plugin. Now it cant detect when spotify is running.

Post Reply