Sort by Language
Posted: 01 Mar 2014, 00:07
Hi again
I have been tried all nite to find a way to Identify the Language in the video file, have tried most or snippets of code I could find here on the site but I keep getting binding error or Language Unknow. I would like to sort danish movies to their own folder, Ive tried using {country} to and getting binding error undefined
this is the code im working with
I am sorry for the many post so plz know posting is not my first solution it is in fact my last I have been sitting here 8 hours trying to figure this out looking through every post and every link, so hope there is help yet again
p.s
what is the correct way of doing this
I have been tried all nite to find a way to Identify the Language in the video file, have tried most or snippets of code I could find here on the site but I keep getting binding error or Language Unknow. I would like to sort danish movies to their own folder, Ive tried using {country} to and getting binding error undefined
this is the code im working with
Code: Select all
{genres.contains('Animation') ? 'Cartoons' {sort danish movies here}:{n.sortName()[0].match((~/(?i)[0-9]/):'0-9',(~/(?i)[a-d]/):'ABCD',(~/(?i)[e-h]/):'EFGH',(~/(?i)[i-l]/):'IJKL',(~/(?i)[m-p]/):'MNOP',(~/(?i)[q-t]/):'QRST') ?: 'UVWYXZ'}/{n} {y}
p.s
what is the correct way of doing this
Code: Select all
{genres.contains('Science Fiction') ? 'Sci-Fi' : genres[9]}