Update of /cvsroot/freevo/freevo/src/helpers
In directory sc8-pr-cvs1:/tmp/cvs-serv31275/helpers

Modified Files:
        recordserver.py 
Log Message:
Two fixes:

o the 'str2XML' function is a method of the FxdImdb() class, so call it as
    part of the object
o Don't say "Image downloading failed" since an image url isn't always
    provided. If it actually is provided and fails, show the message.


Index: recordserver.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/helpers/recordserver.py,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** recordserver.py     9 Jan 2004 05:09:12 -0000       1.23
--- recordserver.py     9 Jan 2004 06:30:49 -0000       1.24
***************
*** 7,10 ****
--- 7,18 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.24  2004/01/09 06:30:49  outlyer
+ # Two fixes:
+ #
+ # o the 'str2XML' function is a method of the FxdImdb() class, so call it as
+ #     part of the object
+ # o Don't say "Image downloading failed" since an image url isn't always
+ #     provided. If it actually is provided and fails, show the message.
+ #
  # Revision 1.23  2004/01/09 05:09:12  outlyer
  # I know that the str2XML call is supposed to happen in fxdimdb, but I kept
***************
*** 808,812 ****
  
      def create_fxd(self,rec_prog):
!         from util.fxdimdb import FxdImdb, makeVideo, str2XML
          fxd = FxdImdb()
          fxd.setFxdFile(config.TV_RECORD_DIR + '/' + rec_prog.filename)
--- 816,820 ----
  
      def create_fxd(self,rec_prog):
!         from util.fxdimdb import FxdImdb, makeVideo
          fxd = FxdImdb()
          fxd.setFxdFile(config.TV_RECORD_DIR + '/' + rec_prog.filename)
***************
*** 817,821 ****
          fxd.info['runtime'] = None
          fxd.info['year'] = time.strftime('%m-%d %I:%M', 
time.localtime(rec_prog.start))
!         fxd.title = str2XML(rec_prog.title)     # I don't know why this has to be 
done twice?
          fxd.writeFxd()
          # Maybe we should call util.videothumb.snapshot to make a snapshot too, but
--- 825,829 ----
          fxd.info['runtime'] = None
          fxd.info['year'] = time.strftime('%m-%d %I:%M', 
time.localtime(rec_prog.start))
!         fxd.title = fxd.str2XML(rec_prog.title)     # I don't know why this has to 
be done twice?
          fxd.writeFxd()
          # Maybe we should call util.videothumb.snapshot to make a snapshot too, but




-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to