gmusicbrowser Forum

Main board => Questions => Topic started by: MP4noTags on November 29, 2013, 00:51:22

Title: Error on switching song, song plays but stops on closing error dialog.
Post by: MP4noTags on November 29, 2013, 00:51:22
When letting gmusicbrowser play some music, after a few files this error appears when it switches to the next song:

Playing error : Resource not found. at /usr/bin/../share/gmusicbrowser/gmusicbrowser_gstreamer-0.10.pm line 135.


But the next song is successfully playing.

What's irritating is that gmusicbrowser refuses any interaction until I click "Close". But when I do that, it stops playing the song that was correctly playing, forcing to reach a way to play it again (the main window may have been minimized, moved on another desktop, etc).

Here's the code:

sub bus_message_end
{   my ($msg,$error)=($_[1],$_[2]);
   #error msg if $error is true, else eos
   if ($Sink->get_name eq 'server') #FIXME
   { $Sink->set_locked_state(1); $PlayBin->set_state('null'); $Sink->set_locked_state(0); }
   else { $PlayBin->set_state('null'); }
   if ($error)   { ::ErrorPlay($msg->error); }
   else      { ::end_of_file(); }
}


Cheers,
Title: Re: Error on switching song, song plays but stops on closing error dialog.
Post by: MP4noTags on November 30, 2013, 02:38:24
Hello,

Switched to github version of gmusicbrowser.
Will tell if bug happens again.

Please tell me if the fix in gmusicbrowser ignores .m4a files without tags and all .mp4 (http://forum.gmusicbrowser.org/index.php?topic=761.0) are good.