This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--SCRenameでリネームし、.err, .program.txt, 録画済み情報の録画ファイルパスを変更する録画後実行bat用スクリプト | |
--SCRename.vbs のパス | |
SCRPATH='Tools\\SCRename\\SCRename.vbs' | |
--リネーム書式、録画タグで個別に設定可能 | |
format='$SCtitle$ $SCpart$第$SCnumber$話 「$SCsubtitle$」 ($SCservice$)' | |
--録画タグに:SCRen:が含む場合:SCRen:の後ろから:hoge:の前までを書式として抽出(検索キーワードの:title:,:event:..を参考に実装) | |
--:SCRen:が含まれない場合は全体を書式として、空の場合上の書式を参照 | |
format=env.BatFileTag=='' and format or env.BatFileTag:match(':SCRen:(.-):%w-:') or env.BatFileTag:match(':SCRen:(.*)') or env.BatFileTag |