var audio = $('#'+$(this).attr('data-player-audio'));
var sound_id = audio.data('sound-id');
if($(this).attr('data-player-action') == "registerAudio"){
- $localList.playlist("registerAudio",audio,doLog(audio.attr('title')+' has been added to your playlist.','ok'));
+ $localList.playlist("registerAudio",audio);
}else if($(this).attr('data-player-action') == "playAudio"){
if ($(this).hasClass('icon-play-sign')) {
- $localList.playlist("registerAudio",audio,doLog(audio.attr('title')+' will play soon.','ok'));
+ $localList.playlist("registerAudio",audio);
$localList.playlist("playSoundId", sound_id);
if ($(this).parent().find('.icon-pause').length) {
$(this).hide();