2019-03-12, 07:45
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:
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:
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:
The add-on is already helpful as is, but thlucas' update has made me hopeful (greedy) for a few more improvements.
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.