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 357768 - Podcasts directory should be created when required
Podcasts directory should be created when required
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: Podcast
0.9.8
Other Linux
: Normal minor
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
: 507541 (view as bug list)
Depends on: 323440 536500
Blocks:
 
 
Reported: 2006-09-26 08:57 UTC by Sebastien Bacher
Modified: 2008-09-11 16:14 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Sebastien Bacher 2006-09-26 08:57:58 UTC
That bug has been opened on https://launchpad.net/distros/ubuntu/+source/rhythmbox/+bug/62400

"Ubuntu Edgy knot 3

Edit->Preferences
Dialog box:
The folder contents could not be displayed
error accessing 'file:///home/foo/Podcasts':File not found

~/Podcasts is the default location to store podcasts which you set in preferences. Rhythmbox should make the directory rather than complain it doesn't exist."
Comment 1 James "Doc" Livingston 2006-10-05 13:44:04 UTC
The directory should get created if it doesn't exist, and it works fine for me.

Is this reproducable? If so, could you run Rhythmbox from a termainal with "rhythmbox -d" and copy the last 20 or so lines it prints when you it displays the error?
Comment 2 Sebastien Bacher 2006-10-23 13:36:16 UTC
still happening with 0.9.6:
- start rhythmbox
- don't import any directory
- go the preferences
- you get the dialog previously mentionned

Nothing special from rhythmbox -d:

"(15:32:25) [0x63ae80] [rb_shell_preferences_sync] rb-shell-preferences.c:566: syncing prefs
(15:32:25) [0x63ae80] [rb_library_source_preferences_sync] rb-library-source.c:511: syncing pref dialog state
(15:32:25) [0x63ae80] [rb_library_source_layout_path_changed] rb-library-source.c:1004: layout path changed
(15:32:25) [0x63ae80] [rb_library_source_layout_filename_changed] rb-library-source.c:1035: layout filename changed
(15:32:27) [0x63ae80] [rb_library_source_layout_filename_changed] rb-library-source.c:1035: layout filename changed
(15:32:27) [0x63ae80] [rb_library_source_layout_path_changed] rb-library-source.c:1004: layout path changed"
Comment 3 James "Doc" Livingston 2006-10-30 12:36:24 UTC
Sorry, I misread earlier - the problem isn't when a podcast is downloaded, it's when you open the preferences.

The GTK file chooser can't select things that don't exist, so the options for fixing it would be:
1) create the folder if it doesn't exist when opening the prefs dialog (urgh), or
2) switching to a parent folder chooser + folder name entry combo (not great), or
3) something I haven't though of.
Comment 4 Martin Pitt 2008-04-02 10:09:21 UTC
I agree that creating folders automatically is "Eww". What about defaulting to `xdg-user-dir MUSIC`?
Comment 5 Bastien Nocera 2008-04-02 10:25:46 UTC
(In reply to comment #4)
> I agree that creating folders automatically is "Eww". What about defaulting to
> `xdg-user-dir MUSIC`?

That'd make them show up in the main library when using "Watch music folder", as we don't have code to avoid that. See bug 323440
Comment 6 Jonathan Matthew 2008-09-07 01:31:40 UTC
*** Bug 507541 has been marked as a duplicate of this bug. ***
Comment 7 Bastien Nocera 2008-09-11 16:14:00 UTC
2008-09-11  Bastien Nocera  <hadess@hadess.net>

	* podcast/rb-podcast-manager.c
	(rb_podcast_manager_get_podcast_dir):
	Change the default Podcast location to ~/Music (ie. the XDG user dir
	for music), or ~/ if it doesn't exist (Closes: #357768)