我用python寫了一個把檔名從
[0x]轉成[S01E0x]
再把這些檔案放進Season 1的程式
https://gist.github.com/DoraGianFrige/1f1e9d334eca89ed635cb82ae713b2f1
但函式 mkdir_and_move_season_episode 第69行match的判斷一直不對
會把[S01E0x]的檔案丟到Extra specials
這段match的code單獨拉出來測是過的
但整個起來就是有問題
拜託幫我debug
我產測試資料的shell script
https://gist.github.com/DoraGianFrige/0259e2a72586e266eb94cd23cf3c7576
python環境
Python 3.8.12 (default, Nov 15 2021, 06:04:41)
[GCC 8.5.0] on linux