Release context menu manage tags
#29
I'm not a coder, but I wound up editing the addon.py file per thlucas's instructions and found it easy to do.

As an encore, I found that it's possible to change the line setting the dialogue box title to:
Quote:title = xbmc.getInfoLabel('ListItem.label')

This displays the name of the selected movie/show instead of the generic "Select Tags" dialogue.  I find this helpful because I think there is a minor bug where the movie that gets selected for tag editing depends on the location of the mouse cursor when you select Manage Tags, and that may be (unintentionally) different than the movie that you right-clicked on.  So seeing the title of the movie you are editing helps confirm that you're editing the right one.

There are two more things that I think this add-on needs:

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).

2) It seems like an error always occurs when trying to edit tags for movies in a set.  I think this is the relevant error in the log:
Quote: ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ValueError'>
                                            Error Contents: invalid literal for int() with base 10: ''
                                            Traceback (most recent call last):
                                              File "C:\Users\IMATV2\AppData\Roaming\Kodi\addons\context.tags\addon.py", line 79, in <module>
                                                main()
                                              File "C:\Users\IMATV2\AppData\Roaming\Kodi\addons\context.tags\addon.py", line 26, in main
                                                assetID = int(xbmc.getInfoLabel('ListItem.DBID'))
                                            ValueError: invalid literal for int() with base 10: ''
                                            -->End of Python script error report<--

The add-on is already helpful as is, but thlucas' update has made me hopeful (greedy) for a few more improvements.  Angel
Maintaining a few add-ons for v18 including PseudoTV (Classic), Tag Overview, and Autosub: https://github.com/fnord12
Reply


Messages In This Thread
context menu manage tags - by zosky - 2017-03-29, 05:51
RE: context menu manage tags - by PatK - 2017-03-29, 07:25
RE: context menu manage tags - by zosky - 2017-03-29, 17:05
RE: context menu manage tags - by PatK - 2017-03-29, 20:13
RE: context menu manage tags - by zosky - 2017-03-29, 22:51
RE: context menu manage tags - by Sinisan - 2017-03-29, 22:54
RE: context menu manage tags - by zosky - 2017-03-31, 03:16
RE: context menu manage tags - by Cykasm - 2017-04-19, 07:42
RE: context menu manage tags - by evank - 2017-05-01, 18:48
RE: context menu manage tags - by zosky - 2017-05-01, 20:05
RE: context menu manage tags - by Boyzie - 2017-06-28, 00:46
RE: context menu manage tags - by zosky - 2017-09-14, 02:23
RE: context menu manage tags - by Boyzie - 2017-09-17, 08:37
RE: context menu manage tags - by mxlance - 2017-12-31, 18:09
RE: context menu manage tags - by zosky - 2018-01-01, 20:17
RE: context menu manage tags - by mxlance - 2018-01-01, 20:24
RE: context menu manage tags - by fnord12 - 2018-02-03, 20:22
RE: context menu manage tags - by bjuraga - 2018-02-09, 02:45
RE: context menu manage tags - by thlucas - 2018-04-27, 14:50
RE: context menu manage tags - by ctawn - 2018-09-25, 18:43
RE: context menu manage tags - by thlucas - 2018-11-26, 21:58
RE: context menu manage tags - by thlucas - 2018-11-28, 20:52
RE: context menu manage tags - by yellow1144 - 2019-03-04, 00:27
RE: context menu manage tags - by thlucas - 2019-03-04, 04:46
RE: context menu manage tags - by thlucas - 2019-03-04, 08:53
RE: context menu manage tags - by bsoriano - 2019-03-06, 23:48
RE: context menu manage tags - by yellow1144 - 2019-03-04, 08:56
RE: context menu manage tags - by fnord12 - 2019-03-11, 20:36
RE: context menu manage tags - by fnord12 - 2019-03-12, 07:45
RE: context menu manage tags - by houser - 2019-08-07, 17:21
RE: context menu manage tags - by zosky - 2019-05-22, 03:43
RE: context menu manage tags - by fnord12 - 2019-08-27, 17:43
RE: context menu manage tags - by houser - 2019-08-29, 12:22
RE: context menu manage tags - by fnord12 - 2019-08-29, 19:08
RE: context menu manage tags - by houser - 2019-08-30, 14:53
RE: context menu manage tags - by houser - 2019-09-04, 16:39
RE: context menu manage tags - by fnord12 - 2019-09-07, 20:47
RE: context menu manage tags - by hermann_x5 - 2022-02-22, 13:59
RE: context menu manage tags - by fnord12 - 2022-02-22, 17:22
RE: context menu manage tags - by thlucas - 2022-02-22, 18:01
RE: context menu manage tags - by hermann_x5 - 2022-02-23, 11:43
Logout Mark Read Team Forum Stats Members Help
context menu manage tags2