PHP Class Phergie_Plugin_AudioScrobbler, phergie
TODO: Make the "nick-binding" use an SQLite database instead of having them
hard-coded in to the config file.
Configuration settings:
"audioscrobbler.lastfm_api_key": API given by last.fm (string).
"audioscrobbler.librefm_api_key": API key given by libre.fm (string).
Exibir arquivo
Open project: phergie/phergie
Protected Properties
Public Methods
Method Details
getScrobbled()
public method
Simple Scrobbler API function to get a formatted string of the most
recent track played by a user.
onCommandLastfm()
public method
Command function to get a user's status on last.fm.
onCommandLibrefm()
public method
Command function to get a user's status on libre.fm.
Property Details
$http protected_oe property
protected Phergie_Plugin_Http $http |
return |
Phergie_Plugin_Http |
|
$lastfmUrl protected_oe property
protected string $lastfmUrl |
return |
string |
|
$librefmUrl protected_oe property
protected string $librefmUrl |
return |
string |
|
$query protected_oe property
Scrobbler query string for user.getRecentTracks
protected string $query |
return |
string |
|