rhythmbox-client --play-uri= can't cope with file:// prefix

Bug #155503 reported by era
2
Affects Status Importance Assigned to Milestone
Rhythmbox
Invalid
Undecided
Unassigned
rhythmbox (Ubuntu)
Fix Released
Wishlist
Ubuntu Desktop Bugs

Bug Description

Binary package hint: rhythmbox

Apparently, contrary to expectations, the --play-uri= option doesn't accept a URI when what you want to play is a local file.

The --debug option is completely uninformative in this context. One could perhaps wish for it to display some sort of status when the requested operation cannot be performed, or at least when the request is not understood by rhythmbox.

vnix$ rhythmbox-client --debug --play-uri=file:///var/tmp/nst.ogg
(22:37:25) [0x8056c78] [rb_debug_init_match] rb-debug.c:141: Debugging enabled
(22:37:25) [0x8056c78] [create_rb_shell_proxies] rb-client.c:336: creating shell proxy
(22:37:25) [0x8056c78] [create_rb_shell_proxies] rb-client.c:347: creating player proxy
(22:37:25) [0x8056c78] [main] rb-client.c:546: loading and playing file:///var/tmp/nst.ogg
(22:37:25) [0x8056c78] [main] rb-client.c:556: playback state: 1

That did not work; nothing happened. Here, it works fine:

era@indeed:/tmp$ rhythmbox-client --debug --play-uri=/var/tmp/nst.ogg
(22:37:31) [0x8056b30] [rb_debug_init_match] rb-debug.c:141: Debugging enabled
(22:37:31) [0x8056b30] [create_rb_shell_proxies] rb-client.c:336: creating shell proxy
(22:37:31) [0x8056b30] [create_rb_shell_proxies] rb-client.c:347: creating player proxy
(22:37:31) [0x8056b30] [main] rb-client.c:546: loading and playing file:///var/tmp/nst.ogg
(22:37:31) [0x8056b30] [main] rb-client.c:556: playback state: 1

Adding insult to injury, it adds on the file:// prefix in the debug output!

Perhaps for consistency it should simply accept and discard a file:// prefix.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for your report, I've sent this upstream at: http://bugzilla.gnome.org/show_bug.cgi?id=498573

Changed in rhythmbox:
assignee: nobody → desktop-bugs
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Fixed in hardy with rhythmbox 0.11.3, thanks.

Changed in rhythmbox:
status: Triaged → Fix Released
Changed in rhythmbox:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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