#!/usr/bin/python\r
# coding: UTF-8\r
# Rec10 TS Recording Tools\r
-# Copyright (C) 2009-2011 Yukikaze\r
+# Copyright (C) 2009-2012 Yukikaze\r
import os.path\r
import configreader\r
import xml.dom.minidom\r
\r
path = str(os.path.dirname(os.path.abspath(__file__))) + "/"\r
\r
-def chAdd(bctype, chtxt, ch, csch):#すべて文字列\r
+def chAdd(bctype, chtxt, ch, csch,tsid="0"):#すべて文字列\r
tnow=datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")\r
- rec10d.rec10db.add_epg_ch(bctype,chtxt, ch, csch, u"2010-01-01 00:00:00",u"2010-01-01 00:00:00",tnow)\r
+ rec10d.rec10db.add_epg_ch(bctype,chtxt, ch, csch,tsid, u"2010-01-01 00:00:00",u"2010-01-01 00:00:00",tnow)\r
def addCHlist(cl):\r
if len(cl)>0:\r
for c in cl:\r