Google Play Music Desktop Player Plugin. Includes media controls
Posted: February 5th, 2017, 5:49 am
So I finished documenting everything so I figured I would release the plugin on here.
Basically this plugin adds every feature available in NowPlaying (Except genre, year, and track #) to GPMDP, as well as a few extra info types. Supports the standard array of bangs.
You are free to redistribute my plugin with your skins.
Also with the latest version you no longer need an authentication skin as authentication is now automatic
The documentation and code is all available on my github but to break down the types quickly for you here.
Updated to version 1.4.1
Planned for next version: Performance improvements when not using the queue. Ability to download album art from queue
Changelog:
All of these are defined with PlayerInfo=
Title - String
Artist - String
Album - String
Cover - Path
Position - String & Int/Decimal
Shuffle - 0 or 1
Rating -1, 0, or 1
Volume - Percent (Integer) MaxValue: 100
Lyrics - String (Null while loading lyrics)
Queue - List
ThemeColor - Comma Seperated RGB Value
State - 0, 1, 2
Status - -1, 0, 1, 2
As for supported bangs
SetPosition ### (Where ### is a double between 0-100, can be relative by adding + or - to beginning)
SetVolume ### (Where ### is an int between 0-100, can be relative by adding + or - to beginning)
Previous
PlayPause
Next
Repeat
Shuffle
OpenPlayer
ClosePlayer
TogglePlayer
ToggleThumbsUp
ToggleThumbsDown
SetRating # (Where # is -1 for thumbs down, 0 for no rating, 1 for thumbs up)
Link to github: https://github.com/tjhrulz/GPMDP-Plugin
Link to latest release: https://github.com/tjhrulz/GPMDP-Plugin/releases/tag/1.3.2
Basically this plugin adds every feature available in NowPlaying (Except genre, year, and track #) to GPMDP, as well as a few extra info types. Supports the standard array of bangs.
You are free to redistribute my plugin with your skins.
Also with the latest version you no longer need an authentication skin as authentication is now automatic
The documentation and code is all available on my github but to break down the types quickly for you here.
Updated to version 1.4.1
Planned for next version: Performance improvements when not using the queue. Ability to download album art from queue
Changelog:
Title - String
Artist - String
Album - String
Cover - Path
- Attributes:
DefaultPath - Path (Value of the measure when album art is still downloading)
CoverPath - Path (Value of the measure when album art is done downloading, where album art is downloaded to)
Position - String & Int/Decimal
- Attributes:
DisableLeadingZero - Integer (Same as normal now playing)
IncludeMS - Integer (If 1 number context will be a decimal and include milliseconds after decimal point)
- Attributes:
DisableLeadingZero - Integer (Same as normal now playing)
IncludeMS - Integer (If 1 number context will be a decimal and include milliseconds after decimal point)
- Attribute:
AsDecimal - Integer (Changes maxValue to 1 and set scale to be from 0 to 1 instead of 0 to 100)
Shuffle - 0 or 1
Rating -1, 0, or 1
Volume - Percent (Integer) MaxValue: 100
Lyrics - String (Null while loading lyrics)
Queue - List
- Attributes:
QueueLocation - Integer (Location of song to read from queue relative of current, i.e the song two songs ago is QueueLocation=-2, if outside of queue length values will be default values or blank)
QueueType - String [Title, Artist, Album, AlbumArt, Duration, PlayCount, or Index](Note AlbumArt returns a URL)
ThemeColor - Comma Seperated RGB Value
State - 0, 1, 2
Status - -1, 0, 1, 2
As for supported bangs
SetPosition ### (Where ### is a double between 0-100, can be relative by adding + or - to beginning)
SetVolume ### (Where ### is an int between 0-100, can be relative by adding + or - to beginning)
Previous
PlayPause
Next
Repeat
Shuffle
OpenPlayer
ClosePlayer
TogglePlayer
ToggleThumbsUp
ToggleThumbsDown
SetRating # (Where # is -1 for thumbs down, 0 for no rating, 1 for thumbs up)
Link to github: https://github.com/tjhrulz/GPMDP-Plugin
Link to latest release: https://github.com/tjhrulz/GPMDP-Plugin/releases/tag/1.3.2