summaryrefslogtreecommitdiff
path: root/play.py
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2011-03-14 22:13:08 +0100
committerAdrian C. (anrxc) <anrxc@sysphere.org>2011-03-14 22:13:08 +0100
commit75be0e23b77900da37f143b75031fd00a8f7201b (patch)
tree14ef77d7b29f560d6c5ae47daa173ac08bfb5927 /play.py
parented3405a3b4890ce01972d3b07754fe35b8291816 (diff)
downloadplay-75be0e23b77900da37f143b75031fd00a8f7201b.tar.xz
play: fix other players after previous commit
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