Open media file in Nautilus

Asked by bauerj

Hi,

In this Thread on ubuntuusers.de (http://forum.ubuntuusers.de/topic/quod-libet-als-standard-audioplayer-einrichte/) we grappled with the question how to open media files in ql in nautilus. Eventually, we found a solution: A bash script like this
#!/bin/sh
ps=$(ps x|grep -v "grep"|grep "usr/bin/quodlibet") # Ermittelt, ob quodlibet läuft
l=${#ps} # Die Länge von $ps
if [ $l -eq 0 ]; then
 quodlibet& # Startet quodlibet, falls es noch nicht läuft
 sleep 5
fi
quodlibet --play-file="$1"
as standard action in the "open with"-dialog.
It would be nice if you could add this (are some similar) solution into the Ubuntu-package.

Regards
 bauerj

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu quodlibet Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Log a bug with your proposed fix.

Can you help with this problem?

Provide an answer of your own, or ask bauerj for more information if necessary.

To post a message you must log in.