You have a lot of freedom of registering your context items...
you could do sth. like:
Code:
<extension point="xbmc.context" library="addon.py" visible="Window.IsActive(pictures)">
Add the context item to the videolibrary
Code:
<extension point="xbmc.context" library="addon.py" visible="Window.IsActive(pictures)">
add it to the pictures section
Code:
<extension point="xbmc.context" library="addon.py" visible="Window.IsActive(music)">
add it in the music section
Or you could go another way like:
Code:
<extension point="xbmc.context" library="addon.py" visible="ListItem.IsVideo()">
now the context item would be available to all videos (that means, also for videos in your picture folders)
NOTE: "ListItem.IsVideo()" currently isn't available(or i just missed it) but I could add it if needed.
Of course you can Or those conditions together to have it available in several sections.
Quote:And what's your idea about upnp devices and playlists? Do they fit in your solution?
Well, I'm not sure what you are asking for, but you should be able to make context items display in playlists or favorites...
BTW: that is how it should work, I haven't tested it that well. That's why one of the reasons i marked the PR as Work in Progress...