Commit bfb863cb authored by Elliott Eggleston's avatar Elliott Eggleston

Fix 'undefined constant' warnings

parent ae7d4359
...@@ -81,51 +81,51 @@ $error_text = array( ...@@ -81,51 +81,51 @@ $error_text = array(
# Resolves method= parameters to handler functions # Resolves method= parameters to handler functions
$method_map = array( $method_map = array(
'auth.gettoken' => method_auth_getToken, 'auth.gettoken' => 'method_auth_getToken',
'auth.getsession' => method_auth_getSession, 'auth.getsession' => 'method_auth_getSession',
'auth.getmobilesession' => method_auth_getMobileSession, 'auth.getmobilesession' => 'method_auth_getMobileSession',
'artist.addtags' => method_artist_addTags, 'artist.addtags' => 'method_artist_addTags',
'artist.getinfo' => method_artist_getInfo, 'artist.getinfo' => 'method_artist_getInfo',
'artist.gettoptracks' => method_artist_getTopTracks, 'artist.gettoptracks' => 'method_artist_getTopTracks',
'artist.gettoptags' => method_artist_getTopTags, 'artist.gettoptags' => 'method_artist_getTopTags',
'artist.gettopfans' => method_artist_getTopFans, 'artist.gettopfans' => 'method_artist_getTopFans',
'artist.gettags' => method_artist_getTags, 'artist.gettags' => 'method_artist_getTags',
'artist.getflattr' => method_artist_getFlattr, 'artist.getflattr' => 'method_artist_getFlattr',
'artist.search' => method_artist_search, 'artist.search' => 'method_artist_search',
'album.addtags' => method_album_addTags, 'album.addtags' => 'method_album_addTags',
'album.gettoptags' => method_album_getTopTags, 'album.gettoptags' => 'method_album_getTopTags',
'album.gettags' => method_album_getTags, 'album.gettags' => 'method_album_getTags',
'library.removescrobble'=> method_library_removeScrobble, 'library.removescrobble'=> 'method_library_removeScrobble',
'user.getinfo' => method_user_getInfo, 'user.getinfo' => 'method_user_getInfo',
'user.gettopartists' => method_user_getTopArtists, 'user.gettopartists' => 'method_user_getTopArtists',
'user.gettoptracks' => method_user_getTopTracks, 'user.gettoptracks' => 'method_user_getTopTracks',
'user.getrecenttracks' => method_user_getRecentTracks, 'user.getrecenttracks' => 'method_user_getRecentTracks',
'user.gettoptags' => method_user_getTopTags, 'user.gettoptags' => 'method_user_getTopTags',
'user.getpersonaltags' => method_user_getPersonalTags, 'user.getpersonaltags' => 'method_user_getPersonalTags',
'user.gettaginfo' => method_user_getTagInfo, 'user.gettaginfo' => 'method_user_getTagInfo',
'user.getlovedtracks' => method_user_getLovedTracks, 'user.getlovedtracks' => 'method_user_getLovedTracks',
'user.getbannedtracks' => method_user_getBannedTracks, 'user.getbannedtracks' => 'method_user_getBannedTracks',
'user.getneighbours' => method_user_getNeighbours, 'user.getneighbours' => 'method_user_getNeighbours',
'radio.tune' => method_radio_tune, 'radio.tune' => 'method_radio_tune',
'radio.getplaylist' => method_radio_getPlaylist, 'radio.getplaylist' => 'method_radio_getPlaylist',
'tag.gettoptags' => method_tag_getTopTags, 'tag.gettoptags' => 'method_tag_getTopTags',
'tag.gettopartists' => method_tag_getTopArtists, 'tag.gettopartists' => 'method_tag_getTopArtists',
'tag.gettopalbums' => method_tag_getTopAlbums, 'tag.gettopalbums' => 'method_tag_getTopAlbums',
'tag.gettoptracks' => method_tag_getTopTracks, 'tag.gettoptracks' => 'method_tag_getTopTracks',
'tag.getinfo' => method_tag_getInfo, 'tag.getinfo' => 'method_tag_getInfo',
'track.addtags' => method_track_addTags, 'track.addtags' => 'method_track_addTags',
'track.removetag' => method_track_removeTag, 'track.removetag' => 'method_track_removeTag',
'track.getinfo' => method_track_getInfo, 'track.getinfo' => 'method_track_getInfo',
'track.gettoptags' => method_track_getTopTags, 'track.gettoptags' => 'method_track_getTopTags',
'track.gettopfans' => method_track_getTopFans, 'track.gettopfans' => 'method_track_getTopFans',
'track.gettags' => method_track_getTags, 'track.gettags' => 'method_track_getTags',
'track.ban' => method_track_ban, 'track.ban' => 'method_track_ban',
'track.love' => method_track_love, 'track.love' => 'method_track_love',
'track.unlove' => method_track_unlove, 'track.unlove' => 'method_track_unlove',
'track.unban' => method_track_unban, 'track.unban' => 'method_track_unban',
'track.updatenowplaying' => method_track_updateNowPlaying, 'track.updatenowplaying' => 'method_track_updateNowPlaying',
'track.scrobble' => method_track_scrobble, 'track.scrobble' => 'method_track_scrobble',
'chart.gettopartists' => method_chart_getTopArtists, 'chart.gettopartists' => 'method_chart_getTopArtists',
); );
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment