OSDN Git Service

fix cs bug.
authorgn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Fri, 28 Jan 2011 04:55:47 +0000 (04:55 +0000)
committergn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Fri, 28 Jan 2011 04:55:47 +0000 (04:55 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@820 4e526526-5e11-4fc0-8910-f8fd03428081

rec10/trunk/src/tv2ts.py

index a5e9836..54009db 100644 (file)
@@ -23,7 +23,7 @@ def tv2tsmix(pout, ch, time,getlog=0):
     #    except:
     #        ""
 def tv2ts(pout, ch, csch, time):
-    if ch.replace(" ","").isdigit():
+    if ch.replace(" ","").replace("CS","").isdigit():
         if len(ch) > 2:#BS/CSは100とかCS??とかなので3文字以上
             status.changeBSCSRecording(1)
         else: