OSDN Git Service

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

rec10/trunk/src/chdata.py
rec10/trunk/src/chdb.py
rec10/trunk/src/chlist_sample_tokyo.xml
rec10/trunk/src/readme.txt

index 8532baa..e1a9b28 100644 (file)
@@ -23,7 +23,7 @@ def new_chdata(bs,cs):
         #bs放送の設定 全国共通のはず
         chlistadd(getChList(os.path.join(path,"chlist_bs.xml")))
     if cs==1:
-        #CS放送(スカパーe2)主に基本パックには言ってるものを中心に
+        #CS放送(スカパーe2)主に基本パックにってるものを中心に
         chlistadd(getChList(os.path.join(path,"chlist_cs.xml")))
 def new_chdata_all():
     bs=0
index b0cc67b..0c9fa32 100644 (file)
@@ -50,6 +50,7 @@ def update():
     CSupdate = 0
     CS2update = 0
     BSupdate = 0
+    HUupdate = 0
     rec10d.rec10db.set_new_status("8")
     for datum in rec10d.rec10db.select_get_update_epg_ch("6"):
         bctype = datum[0]
@@ -65,6 +66,10 @@ def update():
             if BSupdate == 0:
                 ret.append(u"bs")
                 BSupdate = 1
+        elif bctype == "hu" or bctype == u"hu":
+            if HUupdate == 0:
+                ret.append(u"hu")
+                HUupdate = 1
         else:
             ret.append(bctype)
     return ret
\ No newline at end of file
index 8a98b5c..904c5b7 100644 (file)
@@ -11,7 +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="te28" ch="28" csch="0" chtxt="housou" ontvcode="0013.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="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 a170734..51d9781 100644 (file)
@@ -72,6 +72,7 @@ yukikaze.jp@gmail.com
 ?/?/? 0.9.8 release
 インターレース保持エンコードに対応
 色空間を修正
+放送大学のマルチチャンネルに仮対応
 
 10/07/10 0.9.7 release
 ヒストリーチャンネルのタイトルを修正