I'd like to organize my movies by country as I like to watch a lot of foreign films. Both TMDB and Imdb have this info (as country of origin or language), but I haven't seen any opton in AMC script etc to use this. I am quite happy to write my own groovy script or extend something if that helps, would just like some quick guidance.
It would also be nice to normalize the country/language name, eg have it always be Korean or Korea, not both.
Can AMC or any other script organize movies by country of origin?
Re: Can AMC or any other script organize movies by country of origin?
You can add {country} to your custom movie format. See Format Expressions for details.

You can use Replace Characters, Words or Patterns to replace KR with Korean:
Format: Select all
Movies/{ country }/{ ~plex.id }

You can use Replace Characters, Words or Patterns to replace KR with Korean:
Format: Select all
{ country.replace('KR':'Korea') }
Re: Can AMC or any other script organize movies by country of origin?
Thank you very much, and sorry for missing that in the docs, my mistake was not looking at the basic docs first and only in the AMC script.rednoah wrote: ↑10 May 2025, 09:06 You can add {country} to your custom movie format. See Format Expressions for details.Format: Select all
Movies/{ country }/{ ~plex.id }
You can use Replace Characters, Words or Patterns to replace KR with Korean:Format: Select all
{ country.replace('KR':'Korea') }
Re: Can AMC or any other script organize movies by country of origin?
No worries. Please post the final command-line string when you have got a working solution. Might be useful for the next guy.