OSDN Git Service

add tsid channel information for complete BS support.
[rec10/rec10-git.git] / rec10 / trunk / src / tester.py
index 4edf9fa..5ac0eee 100644 (file)
@@ -1,19 +1,21 @@
 #!/usr/bin/python
 # coding: UTF-8
 # Rec10 TS Recording Tools
-# Copyright (C) 2009-2010 Yukikaze
-#import sys
-import epgdb
+# Copyright (C) 2009-2011 Yukikaze
+import sys
+#import epgdb
+#import tv2ts
 import os
-import time
-import tv2avi
-import tv2mkv
-import checker
-import guess
-import auto_process
-import install
+#import time
+#import tv2avi
+#import tv2mkv
+#import checker
+#import guess
+#import auto_process
+#import install
 #import datetime
-import rec10d
+#import rec10d
+
 #import os
 #import time
 #import n_gram
@@ -34,11 +36,30 @@ import rec10d
 #import guess
 #import zenhan
 #import auto_process
-import datetime
-import tv2mp4
+#import chdb
+##import epgdb
+#import datetime
+#import tv2mp4
+#import ts2x264
+#import recque
+import recording_earth_pt1
 path = str(os.path.dirname(os.path.abspath(__file__))) + "/"
 recpath = "/home/ftpusr/ftp-tmp/Recording/"
 ftpusr = "/home/ftpusr/ftp-tmp"
 recordedpath = u"/home/ftpusr/ftp-video"
 if __name__ == "__main__":
-    guess.detNum("",recordedpath+u"")
\ No newline at end of file
+    #rec10d.rec10db.update_db_100to101()
+    #recque.searchRecQue(recpath)
+    #print chdb.updateLogo()
+    #epgdb.updateLogo_bc("bs")
+    #print ts2x264.getX264CoreVersion()
+    #auto_process.killDeadEncode(recpath)
+    print "12"
+    print recording_earth_pt1.channel2freq("12")
+    print "BS2"
+    print recording_earth_pt1.channel2freq("BS2")
+    print "CS6"
+    print recording_earth_pt1.channel2freq("CS6")
+    recording_earth_pt1.getActiveAdapter("1")
+    recording_earth_pt1.record("13", "0", "/home/yukikaze/dvb/rec10test.ts", "10")
+    ""