Linux > JRiver Media Center 33 for Linux
open (image etc.) w/ "external tool" program in linux -- still won't work?
carlismysecondname:
I've asked this question before: https://yabb.jriver.com/interact/index.php/topic,117453.msg812448.html#msg812448
So, after 4 or 5 years, can we still not open a file within JRiver's Linux interface unto an external application program?
The external program (i.e. image editor) seems to start alright but the filename parameter entry remains invalid.
BryanC:
"[Filename]" doesn't seem right, but I can't find documentation on the proper syntax.
Try removing the quotes and seeing if the correct path is provided to GIMP. If it's still trying to prepend your home directory then you may need to trim the front of the filename. There are several ways to do this but you may be able to get away with a regex to strip the first two directory components (path to your home directory):
Untested:
--- Code: ---Regex([Filename], /#^(?:[^/]+/){2}(.*)$#/, 1)
--- End code ---
bob:
You could check MC's log too. The path might be in there.
carlismysecondname:
Been a while since I used regex, but I suspected more manually specific entry may be needed… I’ll review my past notes on JR’s regex and do a bit more trial & error when I get back home. Thanks
lepa:
On Windows "[Filename]" is perfectly valid parameter to feed file for external program
Navigation
[0] Message Index
[#] Next page
Go to full version