Author Topic: Error on switching song, song plays but stops on closing error dialog.  (Read 2242 times)

MP4noTags

  • Newbie
  • *
  • Posts: 7
    • View Profile
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,

MP4noTags

  • Newbie
  • *
  • Posts: 7
    • View Profile
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 are good.