summaryrefslogtreecommitdiff
path: root/play.py
diff options
context:
space:
mode:
Diffstat (limited to 'play.py')
-rwxr-xr-xplay.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/play.py b/play.py
index aa1c620..99b8304 100755
--- a/play.py
+++ b/play.py
@@ -1174,9 +1174,9 @@ class Player:
self.argv = string.split(self.commandline)
self.argv[0] = which(self.argv[0])
for i in range(len(self.argv)):
- if self.argv[i] == "{file}":
+ if self.argv[i] in ["%s", "{file}"]:
self.argv[i] = entry.pathname
- if self.argv[i] == "{offset}":
+ if self.argv[i] in ["%d", "{offset}"]:
self.argv[i] = str(offset*self.fps)
self.entry = entry
self.offset = offset