Kodi Community Forum

Full Version: Handling a feed for shows with seasons and episodes.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello All,

I created my first plugin for my media network.  I'm able to pull down the json file and then shows accordingly.  I'm working on cleaning up everything to make it look nice.  The shows play as they should.  However, what I am noticing is with the ace 2 skin when I load up the shows it is looking for seasons and episodes.  Is this I'm guessing something that I need to set myself and if so is that using the setInfo?  I'm looking to try that but thought I'd check if it should auto generate first.  I've attached my plugin here on github.  However when I load a show it goes to my season list.  However the skin still thinks it is showing show names and is again showing seasons and episodes with nothing in it.  I thought I had set the content type correctly but my guess is not.  I was looking at https://codedocs.xyz/AlwinEsch/kodi/grou...fc1e2318d6 for reference but if this is incorrect please let me know.  I'm using Kodi 18 version.

GitHub: https://github.com/SimplySynced/plugin.v...cape.media

Thank you for taking a quick peek!
Seasons and episodes won't be automatically generated. The only way that happens (AFAIK) is either by the Add-On setting them or a scraper setting them when scanning files.
Thanks, I didn't believe it would auto do it. I was able to realize how to set the media type when doing the set Info. Now my shows display as they should. However I need to figure out what tag sets those up so I can try to do it. What I'm sure I'm going to need is a way to count json keys or something along those lines so that it can keep up to date when it pulls the json feed. @pkscout thanks for the reply.