Join GitHub today
Change command-line options, .desktop files to allow launching from xdg-open #67
Comment #1 originally posted by glenkirkup on 2009-11-24T20:38:28.000Z:
Always read the --help output and the manual page of an application first when you're
--play-file=filename Play a file
as an available option. Therefore, you can play a song via the following command:
quodlibet --play-file path_to_song.ogg
To do this from a file manager, right click on the file and choose the 'Open with..'
There should also be an option for making this command the default command for this
If you want further help feel free to join the #quodlibet IRC channel on irc.oftc.net
I have in my ~/.local/share/applications/defaults.list:
and in my ~/.local/share/applications/quodlibet_queue.desktop:
and it's working OK. I just tried with --play-file=%f and it worked also. Note that Quod Libet must be running when you make the call.
Are you sure your file manager is passing the whole path to the file and not just the filename?
Comment #7 originally posted by nodatalog on 2011-07-26T22:55:51.000Z:
Was the missing part. The command works, thank you. although, I am limited playing a single file (I can't right-select a bunch of files and play them).
Comment #8 originally posted by nick.boultbee on 2011-10-12T12:26:33.000Z:
I'm also sick of this gotcha - it's fine for me most of the time but only since I have QL running a lot, but it's poor that it can't be started up to play a file, like nearly every media player out there.
I'll have a look into this when I get some time (@devs is there a good reason for this I'm missing?)
Comment #9 originally posted by reiter.christoph on 2011-10-12T13:30:50.000Z:
I remember that I tried it once but gave up.
We could create the socket, fork, send the args and wait for the child to react to that (and redirect stdout for the child maybe, so --print-playing etc works ??)
or something completely different...
Comment #13 originally posted by arijspieter on 2014-09-28T20:52:23.000Z:
I would like to insist that quodlibet would get support for opening files passed as an argument(-list) just like about all other applications