OSDN Git Service

implement Housou University Multi Channel.
authorgn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Wed, 25 Aug 2010 18:38:04 +0000 (18:38 +0000)
committergn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Wed, 25 Aug 2010 18:38:04 +0000 (18:38 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@669 4e526526-5e11-4fc0-8910-f8fd03428081

rec10/trunk/src/chlist_sample_tokyo.xml
rec10/trunk/src/ts2epg.py

index 904c5b7..3b13690 100644 (file)
@@ -11,9 +11,9 @@
     <channel bctype="te" ch="" csch="0" chtxt="chiba" ontvcode="0010.ontvjapan.com"/>\r
     <channel bctype="te" ch="" csch="0" chtxt="gunma" ontvcode="0011.ontvjapan.com"/>\r
     <channel bctype="te" ch="" csch="0" chtxt="tama" ontvcode="0012.ontvjapan.com"/>-->\r
-    <channel bctype="hu" ch="28" csch="1088" chtxt="housou1" ontvcode="0013a.ontvjapan.com"/>\r
-    <channel bctype="hu" ch="28" csch="1089" chtxt="housou2" ontvcode="0013b.ontvjapan.com"/>\r
-    <channel bctype="hu" ch="28" csch="1090" chtxt="housou3" ontvcode="0013c.ontvjapan.com"/>\r
+    <channel bctype="tehu" ch="28" csch="1088" chtxt="housou1" ontvcode="0013a.ontvjapan.com"/>\r
+    <channel bctype="tehu" ch="28" csch="1089" chtxt="housou2" ontvcode="0013b.ontvjapan.com"/>\r
+    <channel bctype="tehu" ch="28" csch="1090" chtxt="housou3" ontvcode="0013c.ontvjapan.com"/>\r
     <channel bctype="te20" ch="20" csch="0" chtxt="mxtv" ontvcode="0016.ontvjapan.com"/>\r
     <!--<channel bctype="te" ch="" csch="0" chtxt="tochigi" ontvcode="0018.ontvjapan.com"/>-->\r
 </rec10_ch>
\ No newline at end of file
index 88f1804..f6a3ea3 100644 (file)
@@ -30,6 +30,8 @@ def write_time(pout, ch ,times):
     timet = times
     if re.search(u'CS', ch):
         mode = "/CS"
+    elif re.search(u'tehu', chdb.chsearch(ch)['bctype']):
+        mode = "/HU"
     elif len(ch)>2:
         mode = "/BS"
     else: