#!/usr/bin/python
# coding: UTF-8
# Rec10 TS Recording Tools
# 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 datetime
#import rec10d

#import os
#import time
#import n_gram
#import profile
#import epgdb
#import recdblist
#import status
#import chdb
#import checker
#import configreader
#import classify
#import epgdb
#import rec10d
#import recdb
#import tv2mkv
#import tv2avi
#import xml2db
#import guess
#import zenhan
#import auto_process
#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__":
    #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")
    ""
