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 537600 - Banshee command line requires absolute path
Banshee command line requires absolute path
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: general
1.0.0
Other Linux
: Normal normal
: 1.0
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-06-10 14:15 UTC by Michael Monreal
Modified: 2008-09-08 11:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Get the full path of files coming form the command line (780 bytes, patch)
2008-06-10 19:55 UTC, Bertrand Lorentz
none Details | Review
Get the full path of files, but not if it's a URI (1.17 KB, patch)
2008-06-17 18:40 UTC, Bertrand Lorentz
committed Details | Review

Description Michael Monreal 2008-06-10 14:15:41 UTC
The following works:

banshee-1 /home/monrea/Media/wav/et.wav
also:
banshee-1 ~/Media/wav/et.wav

But the following does not work:

cd ~
banshee-1 Media/wav/et.wav

=> Banshee should also handle relative file paths on command line.
Comment 1 Bertrand Lorentz 2008-06-10 19:55:48 UTC
Created attachment 112505 [details] [review]
Get the full path of files coming form the command line

The bug only happens when the command line starts the first instance of banshee.
When a banshee instance is already running, Halie retrieves the full path.
Comment 2 Gabriel Burt 2008-06-10 20:04:47 UTC
Bertrand, does your patch if you pass feed://feeds.feedburner.com/TedtalksHD as the file?
Comment 3 Bertrand Lorentz 2008-06-17 18:40:55 UTC
Created attachment 112925 [details] [review]
Get the full path of files, but not if it's a URI

Sorry, I missed the e-mail notification about your comment.

I used the code from Halie to detect if the path is a URI. This leads to some code duplication, but eliminating it would mean more changes to FileSystemQueueSource.cs, and we don't want abock to stab his eye balls. ;)
Comment 4 Gabriel Burt 2008-09-06 22:53:50 UTC
Looks fine.
Comment 5 Bertrand Lorentz 2008-09-08 11:56:21 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.