[X2Go-Commits] [mteleplayer] 03/29: Test blackout of existing file while caching new file...

git-admin at x2go.org git-admin at x2go.org
Fri Aug 29 21:12:01 CEST 2014


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch gzng
in repository mteleplayer.

commit 6741cba01df36af5a47a04954135cccd2178c337
Author: gznget <opensource at gznianguan.com>
Date:   Sat Jun 28 08:21:19 2014 +0200

    Test blackout of existing file while caching new file...
---
 .../mteleplayer/bin/mteleplayer_clientside         |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/clientside/lib/telekinesis/client/applications/mteleplayer/bin/mteleplayer_clientside b/clientside/lib/telekinesis/client/applications/mteleplayer/bin/mteleplayer_clientside
index 100d818..c972604 100755
--- a/clientside/lib/telekinesis/client/applications/mteleplayer/bin/mteleplayer_clientside
+++ b/clientside/lib/telekinesis/client/applications/mteleplayer/bin/mteleplayer_clientside
@@ -280,8 +280,9 @@ if ($1 =~ /^MPCMD\|PLAYMEDIA\|([0-9a-zA-Z]{24,64})\|([A-Z]{3,4})\|(\d*)\|(\d*)\|
     appDBugLog("	FILE:$theMediaFilePath");
     if (-e $theMediaFilePath) {
       appDBugLog("		THAT FILE EXISTS!!");
-      mpCMD("loadfile $theMediaFilePath");# Load into a paused state 
-      mpCMD("pausing pause");
+      mpCMD("loadfile $BlackoutFile");# just to get rid of the "old" file if there is one...
+      mpCMD("loadfile $theMediaFilePath");
+      mpCMD("pausing pause");# Load into a paused state 
       if ($StartSeek > 0) {
         mpCMD("seek $StartSeek 2");
       }

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/mteleplayer.git


More information about the x2go-commits mailing list