Groovy: Select all
n=n.replace(' - ','')
(~ plex ** var)
Groovy: Select all
n=n.replace(' - ','')
(~ plex ** var)
Code: Select all
var = any { if (db.AniDB.id) '[anidb-'+{db.AniDB.id}+']' } {'[tvdbid-'+db.TheTVDB.id+']'} {'[tmdb-'+tmdbid+']'}
Code: Select all
{def myCondition = 'English' in ['English', 'German']; myCondition ? 'Y' : 'N'}
{
myCondition // <--- this seems to have lost its value
}
Code: Select all
{
any{ info.certifications*.value*.findAll(/\d+/).flatten()*.toInteger().average().toInteger() }{ info.certifications =~ /(PG|A|TP|U)/ ? 12 : 99} < 14 ? 'Kids Movies/' : 'Movies/'
}