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 498573 - rhythmbox-client --play-uri= can't cope with file:// prefix
rhythmbox-client --play-uri= can't cope with file:// prefix
Status: RESOLVED INVALID
Product: rhythmbox
Classification: Other
Component: Programmatic interfaces
0.11.x
Other Linux
: Normal enhancement
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-11-20 19:07 UTC by Pedro Villavicencio
Modified: 2007-11-21 15:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
rhythmbox debug log (93.67 KB, text/plain)
2007-11-21 12:01 UTC, Pedro Villavicencio
Details

Description Pedro Villavicencio 2007-11-20 19:07:31 UTC
This report has been filled here:

https://bugs.launchpad.net/ubuntu/+source/rhythmbox/+bug/155503

"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.
"
Comment 1 Jonathan Matthew 2007-11-20 22:41:21 UTC
It works properly here.  Perhaps the debug output from the running rhythmbox instance would be helpful in figuring out what's going on.
Comment 2 Pedro Villavicencio 2007-11-21 12:01:50 UTC
Created attachment 99430 [details]
rhythmbox debug log

attached the rhythmbox debug log
Comment 3 Bastien Nocera 2007-11-21 12:13:09 UTC
> 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.

Pedro, you might want to strip out comments without any technical value from the bug reports in the future. Rhythmbox uses URIs internally.

There's also no version information anywhere (except hidden in the logs). Try 0.11.3.
Comment 4 Pedro Villavicencio 2007-11-21 15:42:26 UTC
Right, it works with rhythmbox 0.11.3, sorry for the noise and the not technical part of the report, it was my fault. thanks!.