function updateCurrentPlaying(playing) {
    var artist = playing.artist.replace(/%27/g, "'");
    var track = playing.track.replace(/%27/g, "'");
    var album = playing.album.replace(/%27/g, "'");
    if (playing.artist != undefined) lastfm.nowPlaying(artist, track, album);
}
/*
Sends current playing song to Last.fm.
*/
Sends current playing song to Last.fm.
Sends current playing song to Last . fm .
function updateCurrentPlaying(playing) {
    var artist = playing.artist.replace(/%27/g, "'");
    var track = playing.track.replace(/%27/g, "'");
    var album = playing.album.replace(/%27/g, "'");
    if (playing.artist != undefined) lastfm.nowPlaying(artist, track, album);
}
function updateCurrentPlaying ( playing ) { var artist = playing . artist . replace ( / %27 / g , "'" ) ; var track = playing . track . replace ( / %27 / g , "'" ) ; var album = playing . album . replace ( / %27 / g , "'" ) ; if ( playing . artist != undefined ) lastfm . nowPlaying ( artist , track , album ) ; }
Sends current playing song to Last.fm.
Sends current playing song to Last . fm .