Re: [Rhythmbox-devel] [SOLVED] Why `rhythmbox-client --enqueue <file>` works only if <file> is already present in library ?
- From: Seemanta Dutta <seemanta gmail com>
- To: rhythmbox-devel gnome org
- Subject: Re: [Rhythmbox-devel] [SOLVED] Why `rhythmbox-client --enqueue <file>` works only if <file> is already present in library ?
- Date: Sat, 16 May 2009 08:44:33 +0530
I got it!! I had the sources and when looked into the them realized that if we don't give any option with rhythmbox-client it simply imports that file uri. :-). So I first call rhythmbox-client without any arguments to import it if needed. Then again call rhythmbox-client --enqueue to actually enqueue my file.
However, the fact that no option imports the file needs to be documented in the man page for rhythmbox. Shall I submit a patch for the same?
By the way, my nautilus plugin(right-click and add to Play Queue plugin) is working now ;-). Do let me know if you need it and I shall mail it across. Don't want to spam everyone by sending it unsolicited.
regards,
Seemanta
On Fri, May 15, 2009 at 2:14 PM, Seemanta Dutta
<seemanta gmail com> wrote:
Sorry, I forgot to mention in my last mail that I did try --play-uri. But if I do that, it plays the file as well. I don't want to play the file.
Only enqueue it to the playlist and importing it if necessary.
If the feature I have requested is not there in the current version, then I would be glad to submit a patch :-)
regards,
Seemanta
On Fri, May 15, 2009 at 2:08 PM, Christian Becke
<christianbecke web de> wrote:
Seemanta Dutta schrieb:
[...]
> In simplest terms, my requirement is:
> The user should be able to right-click ANY music file in the filesystem and
> then enqueue it to the Play Queue of rhythmbox. This should work
> irrespective of whether the music file is already imported or not.
>
> Is this possible with the current version of rhythmbox? If not, may I
> request the developers to add this option into rhythmbox-client in future
> releases ?
> The version I am using is 0.11.6 over Ubuntu Intrepid
Did you try:
rhyhtmbox-client --play-uri=file:///path/to/file
According to rhythmbox-client --help:
"--play-uri=URI to play Play a specified URI, importing it if necessary"
Regards,
Chris
_______________________________________________
rhythmbox-devel mailing list
rhythmbox-devel gnome org
http://mail.gnome.org/mailman/listinfo/rhythmbox-devel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]