After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 621687 - Internel archive does not want to play archive
Internel archive does not want to play archive
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: Other Extensions
1.6.0
Other Linux
: Normal normal
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-06-15 18:42 UTC by Maciej (Matthew) Piechotka
Modified: 2010-06-15 19:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Maciej (Matthew) Piechotka 2010-06-15 18:42:55 UTC
If I try to play the origin of species (http://www.archive.org/details/origin_species_librivox) it immidiatly fails. From debug:


[1 Debug 19:41:33.800] Player state change: Idle -> Loading
[1 Debug 19:41:33.826] (libbanshee:player) scaled volume: 1.00 (ReplayGain) * 1.00 (User) = 1.00
[1 Debug 19:41:33.841] (libbanshee:player) Handling missing elements
[1 Debug 19:41:33.841] (libbanshee:player) bp_stop: setting state to GST_STATE_NULL
[1 Debug 19:41:33.842] Player state change: Loading -> Idle
[1 Debug 19:41:33.844] (libbanshee:player) Saving missing elements so we don't bother you again
[1 Debug 19:41:34.094] Querying model for track to play in off:Next mode
[1 Debug 19:41:34.094] Player state change: Idle -> Loading
[1 Debug 19:41:34.825] (libbanshee:player) Saving missing element details ('gstreamer|0.10|Banshee|text/html decoder|decoder-text/html')
[1 Debug 19:41:34.827] (libbanshee:player) bp_stop: setting state to GST_STATE_NULL
[1 Debug 19:41:34.827] Player state change: Loading -> Idle
[1 Debug 19:41:35.079] Querying model for track to play in off:Next mode
[1 Debug 19:41:35.079] Player state change: Idle -> Loading
[1 Debug 19:41:35.121] (libbanshee:player) scaled volume: 1.00 (ReplayGain) * 1.00 (User) = 1.00
[1 Debug 19:41:35.131] (libbanshee:player) Handling missing elements
[1 Debug 19:41:35.131] (libbanshee:player) bp_stop: setting state to GST_STATE_NULL
[1 Debug 19:41:35.131] Player state change: Loading -> Idle
[1 Debug 19:41:35.133] (libbanshee:player) Saving missing elements so we don't bother you again
[1 Debug 19:41:35.383] Querying model for track to play in off:Next mode
[1 Debug 19:41:35.383] Player state change: Idle -> Loading
[1 Debug 19:41:36.114] (libbanshee:player) Saving missing element details ('gstreamer|0.10|Banshee|text/html decoder|decoder-text/html')
[1 Debug 19:41:36.116] (libbanshee:player) bp_stop: setting state to GST_STATE_NULL
[1 Debug 19:41:36.116] Player state change: Loading -> Idle
[1 Debug 19:41:36.367] Querying model for track to play in off:Next mode
[1 Debug 19:41:36.367] Player state change: Idle -> Loading
[1 Debug 19:41:36.396] (libbanshee:player) scaled volume: 1.00 (ReplayGain) * 1.00 (User) = 1.00
[1 Debug 19:41:36.410] (libbanshee:player) Handling missing elements
[1 Debug 19:41:36.410] (libbanshee:player) bp_stop: setting state to GST_STATE_NULL
[1 Debug 19:41:36.410] Player state change: Loading -> Idle
[1 Debug 19:41:36.412] (libbanshee:player) bp_stop: setting state to GST_STATE_NULL
[1 Debug 19:41:36.412] (libbanshee:player) Saving missing elements so we don't bother you again
[1 Debug 19:41:39.892] Hello called on Banshee.Collection.Indexer.CollectionIndexerService
[1 Debug 19:41:39.896] Registering remote object /org/bansheeproject/Banshee/CollectionIndexerService/CollectionIndexer_0 (Banshee.Collection.Indexer.CollectionIndexer) on org.bansheeproject.CollectionIndexer
Comment 1 Gabriel Burt 2010-06-15 18:48:56 UTC
What exact track are you trying to play?  Looks like it's an HTML page
Comment 2 Maciej (Matthew) Piechotka 2010-06-15 18:54:42 UTC
(In reply to comment #1)
> What exact track are you trying to play?  Looks like it's an HTML page

I enter 'Internet Archive' on LHS panel. I search for 'The origin of species' in audiobooks. I open found entry and on LHS there is list of chapters. 

When I double-click one of them it looks like banshee fails to play them (first the play icon and after second failure icon).

URL given is what is being opened after clicking on context menu option 'Open website'.
Comment 3 Gabriel Burt 2010-06-15 19:05:05 UTC
OK, happens to me too, for the tracks purporting to be ogg, mp3, etc.
Comment 4 Gabriel Burt 2010-06-15 19:34:35 UTC
OK, the file hash entries in the JSON are missing the "location" attribute, but their key is actually the right value.  I've patched Banshee to fall back to using that; fixes the problem for me.  Thanks for the report!

commit 58ff5c16b1c95c23c561ae7e9552a340eaf2f86b
Author: Gabriel Burt <gabriel.burt@gmail.com>
Date:   Tue Jun 15 12:32:15 2010

    [InternetArchive] Handle missing file location attr
    
    Usually each file entry in an item's JSON has a location attribute, but
    apparently not all of them do (bgo#621687).  If it's missing, fall back
    to the file's hashtable key.