For example an animation that in plex shows me genres of: animation, drama, action
And I want me to accommodate it in animation since it is the first genre that plex shows
Code: Select all
Z:/Multimedia UNIQedumx/@cinedriveonline/
{
any
{
def order = ['Animation': 1, 'Musical': 2, 'Documentary': 3, 'Family': 4, 'History': 5, 'Science Fiction': 6, 'Horror': 7, 'Fantasy': 8, 'War': 9, 'Western': 10, 'Action': 11, 'Comedy': 12, 'Crime': 13, 'Thriller': 14, 'Adventure': 15, 'Mystery': 16, 'Romance': 17, 'Drama': 18].withDefault{ 100 }
def map = ['Ciencia ficción': 'Sci-Fi']
def genres = genres.toSorted{ order[it] }*.replace(map)
genres.first()
}
{
'No Genre'
}
}
/{plex.name} - [{vf}] [{mbps}] - @cinedriveonline
and if possible add it to send the duplicates to a folder