home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
OnlineVideos
OnlineVideos JSON parsing
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="howudodat" data-source="post: 1186788" data-attributes="member: 46799"><p>For the first level, I do set HasSubCategories (not shown in the code above), however if I dont know if a category has sub categories until it is parsed how do I handle that? ie:</p><p>[code]Films -> [Action / Drama] -> Film Name ( this has only one level of sub category so Films.HasSubCategories == true, but Films.Action.HasSubCategories == false)</p><p>Music Videos -> [Country / Pop] -></p><p> Country -> <list of videos> (this has only one level of sub category so MV.Country.HasSubCategories == false)</p><p> Pop -> [Indy Pop / 80s Pop] -> List of videos (this has a 2nd level of sub category so MV.Pop.HasSubCategories == true)[/code]</p></blockquote><p></p>
[QUOTE="howudodat, post: 1186788, member: 46799"] For the first level, I do set HasSubCategories (not shown in the code above), however if I dont know if a category has sub categories until it is parsed how do I handle that? ie: [code]Films -> [Action / Drama] -> Film Name ( this has only one level of sub category so Films.HasSubCategories == true, but Films.Action.HasSubCategories == false) Music Videos -> [Country / Pop] -> Country -> <list of videos> (this has only one level of sub category so MV.Country.HasSubCategories == false) Pop -> [Indy Pop / 80s Pop] -> List of videos (this has a 2nd level of sub category so MV.Pop.HasSubCategories == true)[/code] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
OnlineVideos
OnlineVideos JSON parsing
Contact us
RSS
Top
Bottom