adding vlc player to "open with"


bukkit

Member
Joined
Jun 7, 2010
Messages
223
So I followed a handful of tutorials. I arrived at making a shell script run_vlc.sh, which I put into appdata. Contents:



Code:
#!/bin/sh

/usr/pandora/scripts/pnd_run.sh -p /media/OS/pandora/menu/osd-Video/vlc.pnd -e "vlc.sh" -b "vlc-vlc-14627" -a "$*"



I checked all paths, checked if executable, the usual stuff. The script can be executed and gives me following output:





Code:
Mount the PND								 [SUCCESS]

Starting the application (vlc.sh )			 [FAILED]

...



I have tried several variations (scripts/vlc.sh, opie-vlc.sh, scripts/opie-vlc.sh), to no avail.



dmesg shows me sth like:



Code:
aufs test_ass:261:mount[12920]: uid/gid/perm /mnt/pnd/vlc-vlc-14627 1000/1000/0755 0/0/0777


That's all the info I can gather.


In the end, I want to put that script to "open with". That doesn't work for now, I think the reason is already the non-working script above.


Can anyone help me out here? Hint me to a method of analysis? Thanks in advance, b.
 
This is a rather old post, but since it has been unanswer and I just wrote an instruction in a different thread, I do think it might be helpful to point to that instruction:


http://boards.openpa...tc/#entry207222
I think having the answer to an unanswered post makes it O.K to revive it. ^_^


Personal Opinion though, it is however the Moderators decide to take it.


I think the only problem is when you are just commenting useless junk/questions, then it is no good to revive it, that is what the http://boards.openpandora.org/index.php?/forum/8-support/


IS MADE FOR.


Ask a question there. (If you are reading this and thinking about asking a question.)


Cheers,


~Polukus~


PS: I swore there was already an option to open with VLC Media Player. Hmmm.
 
Last edited by a moderator:
Thanks!

Actually, I managed to figure that out by myself after being confused regarding the usage of pnd_run.sh, documented here:

http://bugs.openpandora.org/index.php?do=details&task_id=299

I was a little more thick (using ps, that's smart), and I just made a small wrapper plus a slightly modified vlc.sh in the appdata directory (I only added $* without quotes in that one, but do have 


-a "$@"
in the wrapper, which also cared for spaces and multiple file names). However I failed to post my results here, plain forgotten.

Interesting find about that exec!
 
Hmm... perhaps that can be used to open up HTML links in Firefox.
 
Back
Top