GNOME Bugzilla – Bug 554980
Rhythmbox can not use samba as library location
Last modified: 2010-01-06 23:21:07 UTC
Please describe the problem: In current test version of Intrepid it is not possible to add a samba share as the music library location. It gives the error message "The folder contents could not be displayed. It works in Hardy (and previous versions). I can also open the share in nautilus and play the file with totem. Versions used: Ubuntu Intrepid Ibex (updated packages 4h October 2008) Rhythmbox 0.11.6, package 0.11.6svn20080916-0ubuntu1 Samba 3.2.3, package 2:3.2.3-1ubuntu2 Gnome 2.24.00, build date 09/22/2008 Steps to reproduce: 1. Open Rhythmbox 2. Menu Edit -> Preferences -> Music 3. Click on 'Browse' for Library location 4. Choose a samba share like 'smb://192.168.1.1/music' Actual results: It gives the error message "The folder contents could not be displayed; nothing will be imported Expected results: My whole music library should be imported. (worked fine with previous version; currently using Ubuntu Hardy 8.04) Does this happen every time? Yes Other information: Discussion thread: http://ubuntuforums.org/showthread.php?t=926034
Confirming this bug -- it also impacts my installation: it was working fine on Ubuntu 8.04 (Hardy Heron) but it's broken in the preview for Ubuntu 8.10 (Intrepid Ibex).
there is a similar issue described on https://bugs.launchpad.net/ubuntu/+source/rhythmbox/+bug/283130 "Binary package hint: rhythmbox after upgrading from Hardy to Intrepid, rhythmbox refuses to play music files from a samba share, displaying a small red error icon against each track as it tries to play them This is with rhythmbox 0.11.6svn20081008-0ubuntu2 rhythmbox shows a number of these messages on the console as I try to play music from a samba share: connection_message_func(): Callback CALLBACK: fill-authentication!!! connection_message_func(): Callback CALLBACK: fill-authentication!!! The music was imported from the samba share on Hardy and used to play normally. I've also tried reimporting on Intrepid but it still fails to play. The samba share is a gvfs mount. Nautilus can see the files and they can be played with Totem. rhythmbox 0.11.6svn20081008-0ubuntu2"
https://bugs.edge.launchpad.net/ubuntu/+source/rhythmbox/+bug/283130 has a debug log on http://launchpadlibrarian.net/18528360/rhythmbox-debug.selected.log
Another confirmation of this defect. Operating System: Ubuntu 8.10 (Intrepid) Rhythmbox: GNOME rhythmbox 0.11.6 (0.11.6svn20081008-0ubuntu4.1) Here is an excerpt from `rhythmbox -d` when importing a file from a smb share: ---8<--- (rhythmbox:7601): Gtk-WARNING **: Operation not supported by backend (11:21:44) [0x9829408] [rb_audioscrobbler_should_handshake] rb-audioscrobbler.c:820: No username set (11:21:48) [0x9829408] [rb_uri_could_be_podcast] rb-file-helpers.c:341: 'smb://172.17.18.141/multimedia/Podcasts/FLOSS_Weekly/FLOSS-045.mp3' can't be a Podcast or OPML file, not the right scheme (11:21:48) [0x9829408] [rb_shell_load_uri] rb-shell.c:3329: adding uri smb://172.17.18.141/multimedia/Podcasts/FLOSS_Weekly/FLOSS-045.mp3, play 0 (11:21:48) [0x9829408] [rb_shell_guess_source_for_uri] rb-shell.c:3214: source Play Queue returned strength 25 for uri smb://172.17.18.141/multimedia/Podcasts/FLOSS_Weekly/FLOSS-045.mp3 (11:21:48) [0x9829408] [rb_shell_guess_source_for_uri] rb-shell.c:3214: source Music returned strength 50 for uri smb://172.17.18.141/multimedia/Podcasts/FLOSS_Weekly/FLOSS-045.mp3 (11:21:48) [0x9829408] [rb_shell_load_uri] rb-shell.c:3367: smb://172.17.18.141/multimedia/Podcasts/FLOSS_Weekly/FLOSS-045.mp3 doesn't have a source, adding (11:21:48) [0x9829408] [rb_shell_guess_source_for_uri] rb-shell.c:3214: source Play Queue returned strength 25 for uri smb://172.17.18.141/multimedia/Podcasts/FLOSS_Weekly/FLOSS-045.mp3 (11:21:48) [0x9829408] [rb_shell_guess_source_for_uri] rb-shell.c:3214: source Music returned strength 50 for uri smb://172.17.18.141/multimedia/Podcasts/FLOSS_Weekly/FLOSS-045.mp3 (11:21:48) [0x9829408] [impl_add_uri] rb-library-source.c:1285: adding uri smb://172.17.18.141/multimedia/Podcasts/FLOSS_Weekly/FLOSS-045.mp3 to library (11:21:48) [0x9829408] [rhythmdb_add_uri_with_types] rhythmdb.c:2850: queueing stat for "smb://172.17.18.141/multimedia/Podcasts/FLOSS_Weekly/FLOSS-045.mp3" (11:21:48) [0xa23add8] [action_thread_main] rhythmdb.c:2703: executing RHYTHMDB_ACTION_STAT for "smb://172.17.18.141/multimedia/Podcasts/FLOSS_Weekly/FLOSS-045.mp3" (11:21:48) [0x9829408] [rhythmdb_process_one_event] rhythmdb.c:2314: processing RHYTHMDB_EVENT_STAT (11:21:48) [0x9829408] [rhythmdb_process_stat_event] rhythmdb.c:1932: queuing a RHYTHMDB_ACTION_LOAD: smb://172.17.18.141/multimedia/Podcasts/FLOSS_Weekly/FLOSS-045.mp3 (11:21:48) [0xa23add8] [action_thread_main] rhythmdb.c:2716: executing RHYTHMDB_ACTION_LOAD for "smb://172.17.18.141/multimedia/Podcasts/FLOSS_Weekly/FLOSS-045.mp3" (11:21:48) [0x88bcb40] [_handle_message] rb-metadata-dbus-service.c:369: handling metadata service message (11:21:48) [0x88bcb40] [rb_metadata_dbus_ping] rb-metadata-dbus-service.c:326: ping (11:21:48) [0xa23add8] [rb_metadata_load] rb-metadata-dbus-client.c:413: sending metadata load request (11:21:48) [0x88bcb40] [_handle_message] rb-metadata-dbus-service.c:369: handling metadata service message (11:21:48) [0x88bcb40] [rb_metadata_dbus_load] rb-metadata-dbus-service.c:144: loading metadata from smb://172.17.18.141/multimedia/Podcasts/FLOSS_Weekly/FLOSS-045.mp3 (11:21:48) [0x88bcb40] [rb_metadata_load] rb-metadata-gst.c:969: loading metadata for uri: smb://172.17.18.141/multimedia/Podcasts/FLOSS_Weekly/FLOSS-045.mp3 (11:21:48) [0x88bcb40] [rb_metadata_load] rb-metadata-gst.c:1024: going to PAUSED for metadata, uri: smb://172.17.18.141/multimedia/Podcasts/FLOSS_Weekly/FLOSS-045.mp3 (11:21:48) [0x9829408] [window_focus_cb] rb-mmkeys-plugin.c:142: window got focus, re-grabbing media keys (11:21:48) [0x88bcb40] [rb_metadata_bus_handler] rb-metadata-gst.c:897: message of type state-changed from fakesink (11:21:48) [0x88bcb40] [rb_metadata_bus_handler] rb-metadata-gst.c:897: message of type state-changed from fakesink (11:21:48) [0x88bcb40] [rb_metadata_bus_handler] rb-metadata-gst.c:897: message of type state-changed from typefind (11:21:48) [0x88bcb40] [rb_metadata_bus_handler] rb-metadata-gst.c:897: message of type state-changed from decodebin (11:21:48) [0x88bcb40] [rb_metadata_bus_handler] rb-metadata-gst.c:897: message of type state-changed from urisrc (11:21:48) [0x88bcb40] [rb_metadata_bus_handler] rb-metadata-gst.c:897: message of type state-changed from pipeline (11:21:48) [0x88bcb40] [rb_metadata_bus_handler] rb-metadata-gst.c:835: got error message from urisrc (11:21:48) [0x88bcb40] [rb_metadata_bus_handler] rb-metadata-gst.c:851: caught error: Could not open resource for reading. (11:21:48) [0x88bcb40] [rb_metadata_load] rb-metadata-gst.c:1049: failed to go to PAUSED for smb://172.17.18.141/multimedia/Podcasts/FLOSS_Weekly/FLOSS-045.mp3 (11:21:48) [0x88bcb40] [rb_metadata_dbus_load] rb-metadata-dbus-service.c:152: metadata error: Could not open resource for reading. (11:21:48) [0x88bcb40] [_send_error] rb-metadata-dbus-service.c:82: attempting to return error: Could not open resource for reading. (11:21:48) [0x9829408] [rhythmdb_process_one_event] rhythmdb.c:2318: processing RHYTHMDB_EVENT_METADATA_LOAD (11:21:48) [0x9829408] [rhythmdb_add_import_error_entry] rhythmdb.c:1980: adding import error for smb://172.17.18.141/multimedia/Podcasts/FLOSS_Weekly/FLOSS-045.mp3: Could not open resource for reading. (11:21:48) [0x9829408] [rhythmdb_entry_new] rhythmdb.c:1461: emitting entry added (11:21:48) [0x9829408] [rb_entry_view_row_inserted_cb] rb-entry-view.c:2088: row added --->8---
Confirmation: Same problem with sftp. Binary package hint: rhythmbox I have all my music on a local server, access is via sftp and I have selected that place in rb as music folder like always. Any other program can access those files (nautilus, totem, ...) . But not rb anymore with 8.10. rhythmbox -d gives me that for example "(19:08:17) [0x9461408] [rhythmdb_property_model_insert] rhythmdb-property-model.c:652: adding "Unbekannter Interpret": refcount 112" i can select the files inside of rb and drag/drop them to my desktop. Tested it locally on the server from another account: Doesn't worker either. rb always tells me: nothing to play.
anything new here? rb still doesn't work in ubuntu.
Works fine for me. There have been a few gio/gstreamer bugs that would cause problems like this, but they appear to have been resolved now.
Yes, appears to have been fixed in Ubuntu Jaunty (currently at 0.11.99.1).
I still cannot play music via sftp. But I can selet those files in rb and move them to another folder. I tried with deleting the ssh password in the keyring but that didn't help. Nautilus works perfectly that way but not rb.
btw. I use jaunty up to date from April the 8th.
Hi there...not sure if this will help anyone with sftp access issues: This is what I did to make my access work...I hit alt+f2, then typed: "sftp://<username>:<password>@ipaddress/path-to-music-folder" Once I did this, then I get a popup asking me for my password for access to the sftp share. I entered this and I saw my nautilus window open with all my shared folders. I then navigated to the music folder, and copied the path completely. Over to Rhythmbox, I pasted that location into the library location and closed down the prefs... Voila...everything works as it should!
(In reply to comment #2) <snip> > connection_message_func(): Callback > CALLBACK: fill-authentication!!! > connection_message_func(): Callback > CALLBACK: fill-authentication!!! This is definitely a problem with the gnome-vfs GStreamer plugin being installed (and thus preferred to the giosrc one that uses gvfs). Try removing the gstreamer0.10-gnomevfs package, and restarting rhythmbox.
> Try removing the gstreamer0.10-gnomevfs package, and restarting rhythmbox. that would remove totem and soundconverter on ubuntu 9.04
(In reply to comment #13) > > Try removing the gstreamer0.10-gnomevfs package, and restarting rhythmbox. > > that would remove totem and soundconverter on ubuntu 9.04 Then move the only file in the package away.
i removed /usr/lib/gstreamer-0.10/libgstgnomevfs.so and it seems to work now.
Closing as NOTABUG then.