OSDN Git Service

fix rename miss.
[rec10/rec10-git.git] / rec10 / trunk / src / tv2ts.py
index 85ddc8e..1a410fa 100644 (file)
@@ -74,7 +74,7 @@ def b252ts(pout, ch, csch):
         except:
             ""
 def tv2b25ts(pout, ch, time):
-    exe = configreader.getPathSetting('recpt1')
+    exe = configreader.getConfPath('recpt1')
     if len(ch) > 2:#BS/CSは100とかCS??とかなので3文字以上
         status.changeBSCSRecording(1)
     else:
@@ -91,26 +91,26 @@ def tv2b25ts(pout, ch, time):
     else:
         status.changeTERecording(-1)
 def tv2b25ts_b25(pout, ch, time):
-    exe = configreader.getPathSetting('recpt1')
+    exe = configreader.getConfPath('recpt1')
     doexe = exe + ' --b25 ' + ch + ' ' + time + ' \'' + pout + '\''
     os.system(doexe)
 def b252tsmix(pin, pout):
     if not (os.path.exists(pout) and os.path.getsize(pin)>os.path.getsize(pout)*0.95 and os.path.getsize(pin)<os.path.getsize(pout)*1.05):
         exe=""
-        if configreader.getPathSetting('b25_remote')=="1":
+        if configreader.getConfPath('b25_remote')=="1":
             try:
-                exe = configreader.getPathSetting('b25_env')+" && "
+                exe = configreader.getConfPath('b25_env')+" && "
             except:
                 inst=u"b25_remoteがオンになっていますが、b25_envが設定されていないかコメントアウトされています。"
                 recdblist.addCommonlogEX(u"Error",u"b252tsmix(tv2ts.py)", "",inst)
-        exe = exe + "nice -n 17 " + configreader.getPathSetting('b25')
+        exe = exe + "nice -n 17 " + configreader.getConfPath('b25')
         doexe = exe + u' \"' + pin + u'\" \"' + pout + u'\"'
         recdblist.printutf8(doexe)
         txt = unicode(commands.getoutput(doexe.encode('utf-8')),'utf-8')
         recdblist.addLog(pin, doexe, u"b25ログ-コマンド")
         recdblist.addLog(pin, txt, u"b25ログ-詳細")
 def tsmix2ts(pin, pout, csch):#csch=0ならcsの処理をしない
-    doexe = configreader.getPathSetting("tssplitter") + " \""+ pin + "\" \""+ pout + "\" " + str(csch)
+    doexe = configreader.getConfPath("tssplitter") + " \""+ pin + "\" \""+ pout + "\" " + str(csch)
     doexe = "nice -n 18 " + doexe
     os.environ['LANG']="ja_JP.UTF-8"
     txt = unicode(commands.getoutput(doexe.encode('utf-8')),'utf-8')