Is there a way to get the country for tv shows?
Posted: 15 Oct 2014, 08:19
Is there a way to get the country/code for the tv show. I.E. (US), (UK), (AU), Etc
Sometimes the same show is done in different countries,
Masterchef, Wilfred, Being Human, Etc. and I'd like to differentiate between them.
I wasn't able to find Anything in the help, or forums on here, Though looking through RegEx help
I found that I could match the Country code if it's in the filename with:
however with the .upperInitial(). and lowerTrail(). it makes it (Us) and i was unable to find a way to convert it to (US)
So I was thinking, if there was a way to fetch that Binding, I could just insert it on it's own./, and it wouldn't rely on it being in the filename of each file.
Thank you for your help,
-Dev
Sometimes the same show is done in different countries,
Masterchef, Wilfred, Being Human, Etc. and I'd like to differentiate between them.
I wasn't able to find Anything in the help, or forums on here, Though looking through RegEx help
I found that I could match the Country code if it's in the filename with:
Code: Select all
/\(([^)]+)\)/
So I was thinking, if there was a way to fetch that Binding, I could just insert it on it's own./, and it wouldn't rely on it being in the filename of each file.
Thank you for your help,
-Dev