2013-03-28, 14:33
Hi all,
I'm brand new to XBMC development, and so this is probably something obvious - but I just can't figure out how to do it, so I'd appreciate your help.
I am writing a plugin that lists a set of Audio shows and a different set of Video shows. I want the plugin to only show the list of audio shows when it's started via Music Addon's and only list the video shows when started via the Video Addon's.
Seems to me I either need to tell XBMC what type it is, assuming it will then be selective it what it shows - or I need to be able to catch in my code what menu it was started from, so I can serve up different listings. Is this possible?
Thanks in advance for your thoughts.
I'm brand new to XBMC development, and so this is probably something obvious - but I just can't figure out how to do it, so I'd appreciate your help.
I am writing a plugin that lists a set of Audio shows and a different set of Video shows. I want the plugin to only show the list of audio shows when it's started via Music Addon's and only list the video shows when started via the Video Addon's.
Seems to me I either need to tell XBMC what type it is, assuming it will then be selective it what it shows - or I need to be able to catch in my code what menu it was started from, so I can serve up different listings. Is this possible?
Thanks in advance for your thoughts.