Manipulate Library without relation to video files/scanner
Hi All,With the plex naming convention of
\Showname\Season X\Episodes...
Is there any sense in which plex's library knows the path that stores the show, and likewise the path for Season X of show.
So is it even possible to write a local metadata agent that says
'Show image' for show is 'ShowPath\Folder.jpg'
'Season X imag'e is 'ShowPath\Season X\Folder.jpg'
i am starting to think that local artwork on disk has to be referenced in relation to a video file path for a certain show and season, and there is no way to specify artwork on the disk outside of reference to a video file path..Is this true?
I am starting to think that agents themselves are only invoked in relation to files added by scanner, and therefore it is not possible to write an agent to change library artwork outside of reference to file scanning? is this true?
If it is possible to manipulate the library 'more directly' (without reference to episodes)
could anyone furnish me the agent code that would say
set poster for show to T:\TV\%Showname%\Folder.jpg
edit - would i need to write the agent in a relation to a 'key' episode...
ie find the first episode in the show - use its path to define show artwork path.
ie find the first episode in the season - use its path to define show season artwork path.
thank you