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).
Afficher le fichier
Open project: phergie/phergie
Protected Properties
Méthodes publiques
Method Details
getScrobbled()
public méthode
Simple Scrobbler API function to get a formatted string of the most
recent track played by a user.
onCommandLastfm()
public méthode
Command function to get a user's status on last.fm.
onCommandLibrefm()
public méthode
Command function to get a user's status on libre.fm.
Property Details
$http protected_oe property
protected Phergie_Plugin_Http $http |
Résultat |
Phergie_Plugin_Http |
|
$lastfmUrl protected_oe property
protected string $lastfmUrl |
Résultat |
string |
|
$librefmUrl protected_oe property
protected string $librefmUrl |
Résultat |
string |
|
$query protected_oe property
Scrobbler query string for user.getRecentTracks
protected string $query |
Résultat |
string |
|