Release context menu manage tags
#31
(2019-03-12, 07:45)fnord12 Wrote: 1) The original Tag Overview that this add-on replaces allowed you to launch the tag editor with a key:
Quote:<F8>RunScript(script.tagoverview)</F8>
That saved time compared to going through two sets of context menus (and would avoid the mouse cursor bug described above).  
Missing the old Tag Overview add-on badly in Leia, so trying this out. Promising!

I agree that direct JSON commands are pretty vital for this to be really useful. Perhaps they already exist in the add-on?
If so publish them please?

May I also suggest that simply selecting a movie in the tag editor would actually save the adding of the tag without further action ?
This was the beauty of the old Tag Overview add-on: simplicity and speed.

Suggested workflow:

1. call up the tag editor via a JSON command, from a movie, any list or view in Kodi as well as while playing
2. select the tag(s) from the ones available
3. tap back or other command to count without having to save

done

Thanks for listening, FWIW.
Many thanks.
Reply
#32
I've made an unofficial branch of the add-on created by @zosky.  The main goal was to allow it to be called as a script (i.e. mapped to a keyboard key).

You can find it here:  https://github.com/fnord12/script.tagQuickEditor

In addition to the convenience of being able to press a key, this also makes it possible to call the pop-up on the Recently Added list where it's not in the context menu (something requested upthread).

This version also incorporates the alphabetical sorting provided by @thlucas and it includes my little change to show the movie/show title in the window instead of the generic Select Tags.

It doesn't include thlucas' catch for when there are no tags.  If thlucas (or someone) posts the code for that here or creates a pull request, I'll add it.

I didn't do this as a pull request for zosky's version because i think in order for it to be a script it had to be renamed ("script." instead of context.").  But my changes are just minor tweaks to zosky's core work.  If i've broken etiquette, I apologize.  Zosky is definitely welcome to take the changes back into his addon and/or ask me to delete this.  This is my first time working with an add-on and my first time creating a Github repository, so use with caution and let me know if there are problems.  I've tested it in v17 and v18 but not v19.
Reply
#33
(2019-08-27, 17:43)fnord12 Wrote: In addition to the convenience of being able to press a key, this also makes it possible to call the pop-up on the Recently Added list where it's not in the context menu (something requested upthread).
 
Thanks for this fnord12!

I am trying it out. Do you have a way to call up the add-on via a JSON command rather than by key by any chance?
Would appreciate a hint if possible. Many thanks!
Reply
#34
@houser i'm not familiar with JSON commands but via this thread it looks like it should be possible:  234884 (thread)
Reply
#35
(2019-08-29, 19:08)fnord12 Wrote: @houser i'm not familiar with JSON commands but via this thread it looks like it should be possible:  234884 (thread)
Thanks again fnord12,
Using some old examples I had used in the past, this appears to work with your addon  on Kodi 18.xxx FWIW:

jsonrpc?request={"jsonrpc":"2.0","method": "Addons.ExecuteAddon", "params": { "addonid": "script.tagQuickEditor"}, "id": 1 }
Reply
#36
Used this for a few days and it works well. Vital functionality for Kodi IMHO!

As suggested upstream in thread, I would probably suggest changing it slightly to remove the
ok and cancel buttons and just have the addon save the tags, as they are added without need for confirmation.

...but again, it does the important stuff very well now as is. Many thanks for this!
Reply
#37
I was looking at the ability to add new tags and also the request from @houser to save changes without the OK button.  The original tagoverview could do both of these things and i thought i would steal code from there.  But instead i wound up reviving tagoverview (and making a few minor improvements).  See here: 2883598 (post)
Reply
 
Thread Rating:
  • 2 Vote(s) - 4 Average



Logout Mark Read Team Forum Stats Members Help
context menu manage tags42