proper default Podcast directory

Bug #62400 reported by Caroline Ford
26
Affects Status Importance Assigned to Milestone
Rhythmbox
Fix Released
Low
rhythmbox (Ubuntu)
Fix Released
Wishlist
Ubuntu Desktop Bugs

Bug Description

Binary package hint: rhythmbox

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.

Revision history for this message
Rich Johnson (nixternal) wrote :

Confirmed and agree

Changed in rhythmbox:
importance: Untriaged → Low
status: Unconfirmed → Confirmed
Revision history for this message
Daniel Holbach (dholbach) wrote :

Opening Upstream task - if somebody wants to forward it, please do.

Changed in rhythmbox:
assignee: nobody → desktop-bugs
Revision history for this message
Sebastien Bacher (seb128) wrote : Re: Podcasts directory should be created when required
Changed in rhythmbox:
status: Unconfirmed → Unknown
Changed in rhythmbox:
status: Unknown → Fix Released
Revision history for this message
Daniel Holbach (dholbach) wrote :

Hum - that seems to have been the wrong bug.

Revision history for this message
Caroline Ford (secretlondon) wrote :

Link to correct bug

Changed in rhythmbox:
status: Unconfirmed → Unknown
Changed in rhythmbox:
status: Unknown → Unconfirmed
Changed in rhythmbox:
status: Unconfirmed → Confirmed
Revision history for this message
Nanley Chery (nanoman) wrote :

Is this still a problem in the latest stable of Edgy or Feisty? or the development release of Gutsy?

Changed in rhythmbox:
status: Confirmed → Incomplete
Revision history for this message
Caroline Ford (secretlondon) wrote :

Well the bug is still open upstream so I presume it is still a bug. I'm running dapper so I can't check for gutsy etc.

The duplicate bug #129033 was only reported in July 07 but doesn't say which release (however July 07 is unlikely to be Edgy and more likely to be Feisty).

Revision history for this message
Ralf Nieuwenhuijsen (ralf-nieuwenhuijsen) wrote :

Yes, the first time you launch rhythmbox it complains about ~/Podcasts not existing.
Then, when you check the preferences, ~ is now used as Podcasts directory.

What I think would be perfect behavior:
  - use ~/Podcasts by default
  - if it does not exist, change it to the default download directory (set with xdg-user-dirs)

Revision history for this message
Nanley Chery (nanoman) wrote :

I just tried it out on Gutsy,and surely enough I too received the error.

Instead of an error appearing, I think rhythmbox should inform users that the directory doesn't exist, and prompt them whether or not they would like rhythmbox to make it for them.

Changed in rhythmbox:
status: Incomplete → Confirmed
Changed in rhythmbox:
status: Confirmed → Triaged
Revision history for this message
Ralf Nieuwenhuijsen (ralf-nieuwenhuijsen) wrote :

Doesn't gnome have a policy against wizards? i.e. it should just work?

I don't use audio-podcast and I suspect a large group of rhythmbox users doesn't use it either. So they have no need for the Podcast directory. The thing is, if we create xdg-user dirs for all possible directories of all applications, the default home folder is filled with tons of folders. If we just stick to a few, like the current situation, some folders are not translated, others are, other programs need to ask the user wheter or to create it, etc.

Perhaps for the long term, we should file a bug upstream agains xdg-user-dirs, do support on-the-fly creation of directories. That is:

  xdg-user-dir PODCASTS
     -- only returns directories that are defined with and that actually exist

  xdg-request-dir PODCASTS
     -- is it already defined?
     -- Yes: create if it does not exist, return path
     -- No: Ask the user, create the directory, return path

  xdg-gtk-request-dir PODCASTS
     -- same thing as xdg-request-dir but use GTK to ask the user

  xdg-qt-request-dir PODCASTS
    -- same thing as xdg-request-dir but use QT to ask the user

Then it would be possible to use xdg-user-dirs to support _all_ user directories of all applications.
Including directories for which no default is set in the locale.

Some graphical tool to manage al that would be nice too.
Perhaps that would merge nicely together with the "default application" capplet?

Last note: shouldn't xdg somehow try to notice the user renaming those folders and updating its defintions?
Is this even possible?

Revision history for this message
Nanley Chery (nanoman) wrote :

If we can't use wizards, then maybe we should just include a "Podcasts" folder in the Music folder.

Revision history for this message
Duncan Hawthorne (duncan.hawthorne) wrote :

podcasts should be inside music, not a separate folder adding clutter to the home directory
(error exists on fresh gutsy install)

Revision history for this message
Stéphane Maniaci (stephh) wrote :

I agree, Podcast folder should be created inside the Music folder.

Changed in rhythmbox:
assignee: desktop-bugs → macslow
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Would like for 8.04, and should be trivial

Changed in rhythmbox:
milestone: none → ubuntu-8.04
Martin Pitt (pitti)
Changed in rhythmbox:
assignee: macslow → pitti
status: Triaged → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

I agree that creating folders automatically is Eww. So, are you fine with defaulting to `xdg-user-dir MUSIC`?

Revision history for this message
Matt Zimmerman (mdz) wrote :

I wouldn't consider podcasts to be music, and placing them in the Music directory would result in unexpected behaviour, e.g. podcasts being played when shuffling music.

If we aren't providing a default directory for them, how about asking the user if it is OK to create the directory?

Revision history for this message
Martin Pitt (pitti) wrote :

I just tested it myself with a fresh user profile on current Hardy, and it just defaults to the home dir. IOW, it does not produce an error, avoids unexpected "want to create dir" questions, and lets the user pick his favourite directory himself. Not too bad for now IMHO, at this point of the release cycle.

Revision history for this message
Martin Pitt (pitti) wrote :

The current state in Hardy is much better than the real breakage in earlier versions, so adjusting bug priority.

Changed in rhythmbox:
assignee: pitti → nobody
importance: Low → Wishlist
milestone: ubuntu-8.04 → none
status: In Progress → Confirmed
Revision history for this message
Stuart Read (sread) wrote :

For Intrepid Alpha 5, the error message is again present, although it then defaults to the home directory as in Hardy. The error is confusing because after it pops up to tell you there is no Podcast directory, user presses OK and is presented with the unrelated "General" tab of the preferences, with no clue what the error was about.

Changed in rhythmbox:
status: Confirmed → Fix Released
Revision history for this message
Pedro Villavicencio (pedro) wrote :

this has been fixed upstream, thanks for reporting.

Changed in rhythmbox:
assignee: nobody → desktop-bugs
status: Confirmed → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

the bug is fixed in the intrepid version

Changed in rhythmbox:
status: Fix Committed → Fix Released
Changed in rhythmbox:
importance: Unknown → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.