Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tagplay.py7
-rw-r--r--talogo.py2
2 files changed, 5 insertions, 4 deletions
diff --git a/tagplay.py b/tagplay.py
index 3d7bb59..8689306 100644
--- a/tagplay.py
+++ b/tagplay.py
@@ -181,9 +181,10 @@ def stop_media(lc):
lc.gplay.stop()
if lc.gplay.window != None:
# We need to figure out how to destroy the video window
- #lc.gplay.window.destroy()
+ print dir(lc.gplay.window)
+ lc.gplay.window.destroy()
#lc.gplay == None
# But meanwhile, just shrink it
- lc.gplay.window.move( 0, 0 )
- lc.gplay.window.resize( 1, 1 )
+ #lc.gplay.window.move( 0, 0 )
+ #lc.gplay.window.resize( 1, 1 )
diff --git a/talogo.py b/talogo.py
index eba6c3b..83edce9 100644
--- a/talogo.py
+++ b/talogo.py
@@ -564,7 +564,7 @@ def show_picture(lc, media, x, y, w, h):
raise logoerror("#nomedia")
# check to see if it is a movie
print dsobject.file_path
- if dsobject.file_path[-4:] == '.ogv':
+ if dsobject.file_path[-4:] == '.ogv' or dsobject.file_path[-4:] == '.vob':
print "playing movie x:" + str(x) + " y:" + str(y) + " w:" \
+ str(w) + " h:" + str(h)
play_dsobject(lc, dsobject, int(x), int(y), int(w), int(h))