Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to set more than one level of heirarchy of items at once? #127

Open
ktaragorn opened this issue Sep 2, 2016 · 0 comments

Comments

@ktaragorn
Copy link

ktaragorn commented Sep 2, 2016

Example - when i load http://series-cravings.me/watch-new-girl-online-free , I can see all seasons and all episodes.

But when I list this show, if I want to show list of seasons first and then list of episodes once I go into the season, then I might essentially have to do the parsing work twice, and use creative caching workarounds to design the 2 actions.

Is it possible to instead load it as one action? I guess this might be a kodi level limitation, but there might be a way to do this?

I am thinking instead of

[{
    "label" : "Season 1"
    "path": plugin.url_for("season", season=1)
},
.
.
.
]

Can we do something like

[{
     "label" : "Season 1",
      "items" : [{
           "label" : "episode 1",
           "path" : plugin.url_for("episode", season=1, episode=1)
      }
      . 
      .
       ]
}
.
.
.
.]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant