plexinc-plugins/Services.bundle — pull request #614 by shopgirl284 (2013-09-21 03:53:20+00:00)
Title: Updated URL service for Logo TV

I changed the URL patterns to be more specific. I also updated the PlayVideo and MetadataforObjects functions of the ServiceCode.pys. The Play Video function did not have the code for the filler video or closest bitrate, so it was giving error at the end of playing videos. Rather than figure out how to make things fit within the existing code, it was easier to just changed the PlayVideo function to the code used in other Viacom URL services and just add the specifics for logotv.com. So I added the GetRSS function and used that for the MetadataObjectsforURL as well, since it is much more compact than what was being used. I also took out the season and episode info in MetadataObjectsforURL since there are at least three different formats used for those titles. And since episode and season will appear in the title anyway, didn't see the necessity of an extra 15 lines of code in the URL service just to pull the episode and season out of the title into an EpisodeObject for metadata.