2010-10-23, 22:58
Hi,
I found that if I want to play an ISO with a special character in the pathname on a Linux system. For example, if the path has brackets ( ) in it. The the makemkvcon process doesn't get executed.
I find this in my log:
I then changed this:
into this
(Note the doublequotes around the 3rd %s variable in the last line). Now I can open ISO-files through which have brackets in their paths. I haven't been able to verify if this also will work for index.bdmv files.
UPDATE (wiki)
I just verified it with an index.bdmv file. I can play those now too!! :-)
I found that if I want to play an ISO with a special character in the pathname on a Linux system. For example, if the path has brackets ( ) in it. The the makemkvcon process doesn't get executed.
I find this in my log:
Code:
/bin/sh: taskkill: not found
/bin/sh: Syntax error: "(" unexpected
Killed
I then changed this:
Code:
# Check if the file is reachable through the filesystem, to prevent errors with smb:// shares etc.
if not os.path.exists(choice) :
self.message(_(50073))
mkvStart = '"%s" stream %s:%s' %(mystarter.settings.mkvLocation, type, choice)
into this
Code:
# Check if the file is reachable through the filesystem, to prevent errors with smb:// shares etc.
if not os.path.exists(choice) :
self.message(_(50073))
mkvStart = '"%s" stream %s:[i]"%s"[/i]' %(mystarter.settings.mkvLocation, type, choice)
(Note the doublequotes around the 3rd %s variable in the last line). Now I can open ISO-files through which have brackets in their paths. I haven't been able to verify if this also will work for index.bdmv files.
UPDATE (wiki)
I just verified it with an index.bdmv file. I can play those now too!! :-)