Search found 9 matches
- 21 Jul 2022, 19:32
- Forum: Episode / Movie Naming Scheme
- Topic: Need to make an exception when there are 2 or more spanish audio tracks
- Replies: 6
- Views: 2411
Re: Need to make an exception when there are 2 or more spanish audio tracks
That worked, thanks.
- 20 Jul 2022, 20:22
- Forum: Episode / Movie Naming Scheme
- Topic: Need to make an exception when there are 2 or more spanish audio tracks
- Replies: 6
- Views: 2411
Re: Need to make an exception when there are 2 or more spanish audio tracks
Not sure how to apply that solution, to an existing movie file. I added that line to replace the one I had (with replace changing a to x) and it didn't seem to work. {n}{def x = audio.language.findResults{ it.toLocale() }.join(' '); x.join(' ').replaceFirst(/es/, 'es-419').replaceAll(/es ...
- 20 Jul 2022, 15:18
- Forum: Episode / Movie Naming Scheme
- Topic: Need to make an exception when there are 2 or more spanish audio tracks
- Replies: 6
- Views: 2411
Re: Need to make an exception when there are 2 or more spanish audio tracks
That wouldn't work, because I wouldn't be able to use unique. So I could get results like en en en en en en es-419 es es es. Also, I would like the second es to become es-es. Is there a replaceSecond? Would it work if I added unique?
- 18 Jul 2022, 23:52
- Forum: Episode / Movie Naming Scheme
- Topic: Need to make an exception when there are 2 or more spanish audio tracks
- Replies: 6
- Views: 2411
Need to make an exception when there are 2 or more spanish audio tracks
This works quite well for simple cases: {def x = audio.language.findResults{ it.toLocale() }.unique().join(' '); x.replaceAll('es', 'es-419'); if (x) "audio $x"} It will basically show a language once, and presents the Spanish audio (when available) as es-419 (stands for Spanish Latin america ...
- 04 Jul 2020, 04:33
- Forum: Episode / Movie Naming Scheme
- Topic: Info.original language doesn't seem to work for series
- Replies: 7
- Views: 4057
Re: Info.original language doesn't seem to work for series
Thanks, I'll test.
- 03 Jul 2020, 20:18
- Forum: Episode / Movie Naming Scheme
- Topic: Info.original language doesn't seem to work for series
- Replies: 7
- Views: 4057
Re: Info.original language doesn't seem to work for series
Tested with the beta, and the results are promising. Which variable would I need to use to get the episode name in Spanish ?
Code: Select all
Siempre Bruja (2019)/S01/Siempre Bruja - S01E02 - A University Witch
- 03 Jul 2020, 16:06
- Forum: Episode / Movie Naming Scheme
- Topic: Info.original language doesn't seem to work for series
- Replies: 7
- Views: 4057
Re: Info.original language doesn't seem to work for series
That seems interesting, I'll check it out.
- 03 Jul 2020, 07:23
- Forum: Episode / Movie Naming Scheme
- Topic: Info.original language doesn't seem to work for series
- Replies: 7
- Views: 4057
Re: Info.original language doesn't seem to work for series
I'm using tmdb as the database of choice for both movies and series.
- 03 Jul 2020, 06:53
- Forum: Episode / Movie Naming Scheme
- Topic: Info.original language doesn't seem to work for series
- Replies: 7
- Views: 4057
Info.original language doesn't seem to work for series
After reading the forums I managed to make a working expression for renaming movies: {collection.colon(' - ')+'/'}{ (info.OriginalLanguage ==~ /es/) ? primarytitle.colon(' - ') : n.colon(' - ')} ({y})/{ (info.OriginalLanguage ==~ /es/) ? primarytitle.colon(' - ') : n.colon(' - ')} ({y}) {vc.replace ...