comparison src/madplug/plugin.c @ 977:bdf6ccf7bf53 trunk

[svn] Fixed the embarassing situation i was in (writing a plugin and not being able to see/hear it work). Now lastfm plays for all of us mortals, not only those who have a lastfm subscription. nenolod is not the one and only any more :p
author majeru
date Mon, 23 Apr 2007 14:24:01 -0700
parents 7e14701aef54
children 34b998b6e3b2
comparison
equal deleted inserted replaced
976:c1bda49a5039 977:bdf6ccf7bf53
453 // remote access must use fast scan. 453 // remote access must use fast scan.
454 rtn = input_get_info(&info, audmad_is_remote(url) ? TRUE : audmad_config.fast_play_time_calc); 454 rtn = input_get_info(&info, audmad_is_remote(url) ? TRUE : audmad_config.fast_play_time_calc);
455 455
456 if (rtn == FALSE) { 456 if (rtn == FALSE) {
457 g_message("error reading input info"); 457 g_message("error reading input info");
458 return; 458 /*
459 * return;
460 * commenting this return seems to be a hacky fix for the damn lastfm plugin playback
461 * that used to work only for nenolod because of his fsck-ing lastfm subscription :p
462 */
459 } 463 }
460 g_mutex_lock(pb_mutex); 464 g_mutex_lock(pb_mutex);
461 info.playback = playback; 465 info.playback = playback;
462 info.playback->playing = 1; 466 info.playback->playing = 1;
463 g_mutex_unlock(pb_mutex); 467 g_mutex_unlock(pb_mutex);