Releases: AngryKiller/iTunes-bridge
Releases · AngryKiller/iTunes-bridge
Bugfix: the player state in getCurrentTrack() is now working
v0.2.1-alpha Bugfix: the player state in getCurrentTrack() is now working
Goodbye getCurrentTrackBlabla()… Hello getCurrentTrack()!
There is now a new function: getCurrentTrack()
, that replaces all the previous functions that were starting with getCurrentTrack. It returns a JSON Object with a lot of informations on the current track. You can look at the example to see how simple it is.
Here's what returns getCurrentTrack():
{ name: 'Say What You Say',
artist: 'Eminem',
album: 'The Eminem Show (Explicit Version)',
duration: 310,
elapsedTime: 146,
remainingTime: 164,
genre: 'Rap/Hip Hop',
release_year: 2002,
id: 2662,
playerState: 'playing' }
getPlayerState is now returning « not running » if iTunes is closed.
v0.1.9-alpha getPlayerState is now returning « not running » if iTunes is closed.
Added "Error handling"
The functions will now return null when there is an error executing the AppleScript.
Added 2 new functions
getCurrentTrackElapsedSeconds(); and getCurrentTrackRemainingSeconds(); mainly because I needed them for iTunes-Discord.
v0.1.6-alpha
Added 2 new functions: getCurrentTrackElapsedTime and getCurrentTrackRemainingTime
v0.1.5-alpha
Added new functions such as the release year, genre, the total count of playlist and tracks in the library and the player state. There is also now an example file.
v0.1.0-alpha
Update README.md