Example:
Love and Death.chi.srt
Love and Death.chi1.srt
When I use
Code: Select all
{subt}
What should I do to just add a number after one of the "Love and Death.chi.srt"?
Thanks!
Code: Select all
{subt}
Some of them are Traditional Chinese and some of them are Simplified Chinese, and I am not sure if all the sub files are synced correctly so I just gave them chi1/chi2/chi3...rednoah wrote:Why do you have two Chinese subtitles? What makes them different? Hearing Impaired? Charset?
You'll have to somehow come up with unique file paths in your format (e.g. by proping the subtitle content, keeping parts of the original filename, etc).
Code: Select all
fn.match(/\.chi\d*/)
Code: Select all
fn.match(/\.chi\d*/)
Code: Select all
{subt}
Code: Select all
'name.chi1'.match(/\.\w+$/)
Code: Select all
{home}/Steven Spielberg/{y} - {n.replaceAll(/[`´‘'*’?":ʻ,]/, "")}/{n.upperInitial().space('.').replaceAll(/[`´‘*'’?":ʻ,]/, "")}.{y}{'.'+source}.{vf}.{vc}{'.'+group}{'name.chi'.match(/\.\w+$/)}
Code: Select all
{'.'+fn.match(/chn&eng|cht&eng|chn&eng|chs&eng|eng&chn|eng&chi|eng&chs|eng&cht|chi1|chi2|chi|chn1|chn2|chn3|chn|chs|chs1|cht1|cht2|cht|eng|eng1|eng2|eng/)}
Code: Select all
'Name.HDTV.chi&eng'.match(/\.[a-z&]+$/)
Code: Select all
if (ext == 'srt') fn.match(/\.[a-z&]+$/)