ContextMenu Addon for library

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
xayide Offline
Senior Member
Posts: 126
Joined: May 2010
Reputation: 0
Post: #1
Is it possible to add an extra button to contextmenu in library so that I can run my own script with the current moviepath as argument. I want to be able to passalong the movie under the contextmenu to a webservice that does a few things to easen my watching....?

So I want a new button on contexmenu in librarymode to call my own script with moviepath as argument.
find quote
mietzekotze Offline
Junior Member
Posts: 18
Joined: Dec 2012
Reputation: 0
Post: #2
Would like to know that, too.
find quote
te36 Offline
Junior Member
Posts: 34
Joined: Jan 2010
Reputation: 0
Post: #3
Is this any different than the question i asked 4 threads in before ? ;-) Please can we have this...
find quote
giftie Offline
Skilled Python Coder
Posts: 2,041
Joined: Mar 2010
Reputation: 35
Post: #4
At moment only plug-in type add-ons can add context menu items.

[Image: e4f63e45ba34fe4695b3bb08eb2499d8e4ee484e...4c076g.jpg]
For troubleshooting and bug reporting please make sure you read this first you can also use XBMC Log Uploader Script.
Cinema Experience
Cinema Experience Wiki
cdART Manager
fanart.tv


find quote
te36 Offline
Junior Member
Posts: 34
Joined: Jan 2010
Reputation: 0
Post: #5
Would it be possible to combine a plugin with a script then ? Eg: Could the plugin call the script ?
find quote
sphere Offline
Posting Freak
Posts: 784
Joined: Jul 2009
Reputation: 34
Location: Germany
Post: #6
The problem is that a plugin can only add context menu items to self created listitems and not listitems created by xbmc (like in the library views).

There is a very nice Pull Request which would add such functionality.

Regarding your question, even if it won't help you with your feature, yes, you can call other add-ons (script or plugin) from the context menu of listitems which are created within your plugin.

regards,
sphere
find quote
xayide Offline
Senior Member
Posts: 126
Joined: May 2010
Reputation: 0
Post: #7
I went the route and made my own plugin... So I skipped contextmenu. Now only facing problems with scraping.
find quote