Update of /cvsroot/freevo/freevo/src/helpers
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22947

Modified Files:
        recordserver.py 
Log Message:
If the automatic caching fails (as was happening for me) then just leave
the png file in place for Freevo's OSD to pickle on access (rather than
pre-pickled as before)

If your system was caching the image properly before, then this shouldn't
make any difference and the code probably won't even be called.


Index: recordserver.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/helpers/recordserver.py,v
retrieving revision 1.50
retrieving revision 1.51
diff -C2 -d -r1.50 -r1.51
*** recordserver.py     1 Jul 2004 19:10:45 -0000       1.50
--- recordserver.py     9 Jul 2004 02:28:53 -0000       1.51
***************
*** 7,10 ****
--- 7,18 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.51  2004/07/09 02:28:53  outlyer
+ # If the automatic caching fails (as was happening for me) then just leave
+ # the png file in place for Freevo's OSD to pickle on access (rather than
+ # pre-pickled as before)
+ #
+ # If your system was caching the image properly before, then this shouldn't
+ # make any difference and the code probably won't even be called.
+ #
  # Revision 1.50  2004/07/01 19:10:45  dischi
  # add TV_RECORD_SERVER_GID
***************
*** 73,76 ****
--- 81,85 ----
  import sys, string, random, time, os, re, pwd
  import config
+ from util import vfs
  
  # change uid
***************
*** 919,922 ****
--- 928,935 ----
                      snapshot(prog.filename)
                  except:
+                     # If automatic pickling fails, use on-demand caching when
+                     # the file is accessed instead. 
+                     os.rename(vfs.getoverlay(prog.filename + '.raw.tmp'),
+                               vfs.getoverlay(os.path.splitext(prog.filename)[0] + 
'.png'))
                      pass
                  if config.VCR_POST_REC:



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to