GNOME Bugzilla – Bug 631012
Crash when clicking audiobook playlist
Last modified: 2011-03-22 15:06:21 UTC
Created attachment 171428 [details] banshee- xfce - complete debug output - to enter playlist of an audiobook is failed Everytime when I click to a playlist of an audiobook Banshee crashes. I saved debug output and attached to this post and sent to Pastebin: http://pastebin.com/YPbQ1Fqj
hmm, I have try to fix your bug but it work for me and when I take a look it throw an exception because it miss Property set of "ActiveSourceUIResource" in AudioBookSource but seems done and file targeted by this property (ActiveSourceUI.xml) is include as a resource in assembly so all seems ok. Can you try last 1.8 version. Does it bug only for this playlist or other audiobook bug.
Created attachment 173639 [details] [review] Fix audio book exception on source switch Fix audio book exception on source switch that come from the fact it do not found the ActiveSourceUI.xml in the resource of the assembly. But assembly property is not set so get upper assembly... Can you test and made feedback.
Audiobook hasn't supported playlists since May. Maybe if you already had some, it will still show them, but it's no longer possible to make them and they're (for now, at least) not supported.
The exception and bugfix patch is related to a missing property in audiobookSource to add ui xml. I do not think it is linked to playlist support. I guess, it is because it start by opening this source. The bug must appear if load an audiobook at start too... I think bug will re appear later with another repport but different behaviour but same exception stack. So just take a look to the patch because it is really a missing property in audiobooksource. All other source set "ActiveSourceUIResource.Assembly" when set ""ActiveSourceUIResource". and loading code use both to load otherwise it will search in parent assembly to load active source ui.xml
Gabriel you say it isn't supported but yet we can easily create a playlist on git master.. which then leads to a spectacular crash: https://bugzilla.gnome.org/show_bug.cgi?id=635787
Anyway, this small patch fix the issue. David, can you test with the patch apply ?
That fixes the issue, thank you very much. Reopening in the light of this. Even if the source isn't supposed to suppose playlists it clearly does and we are likely to need them for syncing. E.g. my N900 doesn't have enough space to sync everything in the audiobook library and without playlists the only options one has is all or nothing (not that it works at all see: #635788).
*** Bug 635787 has been marked as a duplicate of this bug. ***
Comment on attachment 173639 [details] [review] Fix audio book exception on source switch Committed, thanks Olivier