I tried to write a agent that reads edl, comskip etc when a episode is refreshed for metadata. The problem is that AttributeError: ‘RecordObject’ object has no attribute ‘chapters’ so i edited the tv_models.pym to add the chapters. This kinda works. The xml is written but there is no way to get the xml by using http://127.0.0.1:32400/library/metadata/RATINGKEY?includeChapters=1&X-Plex-Token=TOKEN. I dont know if thats because templates.RecordTemplate isnt handled at all.
Anyway I would love to be able to add chapters to episodes. That can be used for alot of cool stuff. Like skipping intros/commercials or getting chapters from chapterdb like to we for movies.