Update of /cvsroot/freevo/freevo/src/helpers
In directory sc8-pr-cvs1:/tmp/cvs-serv21524
Modified Files:
recordserver.py
Log Message:
I know that the str2XML call is supposed to happen in fxdimdb, but I kept
running into this problem when trying to record a show with an '&' in the
title. Adding the call here seems to fix it.
Index: recordserver.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/helpers/recordserver.py,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** recordserver.py 9 Jan 2004 02:07:05 -0000 1.22
--- recordserver.py 9 Jan 2004 05:09:12 -0000 1.23
***************
*** 7,10 ****
--- 7,15 ----
# -----------------------------------------------------------------------
# $Log$
+ # 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
+ # running into this problem when trying to record a show with an '&' in the
+ # title. Adding the call here seems to fix it.
+ #
# Revision 1.22 2004/01/09 02:07:05 rshortt
# Marmalade name and title for favorites. Thanks Matthieu Weber.
***************
*** 803,807 ****
def create_fxd(self,rec_prog):
! from util.fxdimdb import FxdImdb, makeVideo
fxd = FxdImdb()
fxd.setFxdFile(config.TV_RECORD_DIR + '/' + rec_prog.filename)
--- 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)
***************
*** 812,816 ****
fxd.info['runtime'] = None
fxd.info['year'] = time.strftime('%m-%d %I:%M',
time.localtime(rec_prog.start))
! fxd.title = rec_prog.title
fxd.writeFxd()
# Maybe we should call util.videothumb.snapshot to make a snapshot too, but
--- 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
-------------------------------------------------------
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