@
sualfred , I have been testing the metadata editor script, thank you for this! I have tested both from a button in the skin and from the context menu. In both scenarios the script works well for movies. I have not had any issue saving info back to the nfo files (which is really important in my case, as I only use local scraping from NFOs). Again, thanks a lot for this!
Regards,
Bart
EDIT: @
sualfred , Once I started testing with tv shows, I am getting the following error when I try to edit the metadata for an episode:
xml:
2019-11-06 15:47:57.788 T:17940 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnboundLocalError'>
Error Contents: local variable 'ratings_default' referenced before assignment
Traceback (most recent call last):
File "C:\Users\bsori\AppData\Roaming\Kodi\addons\script.metadata.editor\default.py", line 32, in <module>
Main()
File "C:\Users\bsori\AppData\Roaming\Kodi\addons\script.metadata.editor\default.py", line 15, in __init__
EditDialog(self.params)
File "C:\Users\bsori\AppData\Roaming\Kodi\addons\script.metadata.editor\resources\lib\dialog_metadata.py", line 35, in __init__
self.init()
File "C:\Users\bsori\AppData\Roaming\Kodi\addons\script.metadata.editor\resources\lib\dialog_metadata.py", line 47, in init
self.generate_list()
File "C:\Users\bsori\AppData\Roaming\Kodi\addons\script.metadata.editor\resources\lib\dialog_metadata.py", line 214, in generate_list
if ratings_default:
UnboundLocalError: local variable 'ratings_default' referenced before assignment
-->End of Python script error report<--
I am also getting that error for tv shows, but not always. I did notice that for all tv shows I tried, the field "status" always showed "value could not be fetched".
Please let me know if you need additional info. Thanks.