Format: Select all
{
def name = 'Afro Samurai'
def xml = xml('https://raw.githubusercontent.com/Anime-Lists/anime-lists/master/anime-list-full.xml')
xml.anime.find{ it.name == name }.'@anidbid'
}
Code: Select all
2656
Format: Select all
{
def name = 'Afro Samurai'
def xml = xml('https://raw.githubusercontent.com/Anime-Lists/anime-lists/master/anime-list-full.xml')
xml.anime.find{ it.name == name }.'@anidbid'
}
Code: Select all
2656
At that point you can just use T:/{plex.id} as format to name / organize files correctly at once. ☑ Import companion files will take care of moving along the *.jpg files as well.