So I spent a little while digging into how Scanners work and after looking at the EyeTV scanner by member Frodo, I dug in to modifying it. With a little more digging I found where the Episode object is defined in Media.py and found out that it has a thumbnails property. So I modified my EyeTV scanner to take the tiff file that is in the EyeTV package and add it to the thumbnails like so:
<br />
tv_show = Media.Episode(show, season, episode)<br />
tv_show.parts.append(recording)<br />
if thumbnail:<br />
tv_show.thumbs.append(thumbnail)<br />
Sadly my thumbnail doesn't show up. I added many print statements to make sure I successfully identified the .tiff file so I know that part is correct.
So I'm obviously missing something. Is this not the way to do it? Does Plex not understand TIFF files? Or do I actually need a metadata agent to obtain the thumbnail?
If the answer to the last question is Yes, then my next question is, where do I learn about writing a metadata agent?