• 1
  • 10
  • 11
  • 12
  • 13(current)
  • 14
Beta Metadata Editor - Update library + .nfo informations
Hello all,

I am still getting an error even though I have made the changes. However, I also have Emby Next Gen Addon running. Has anyone else installed it and can report that it works or help me with the error?

json:

2022-12-31 01:06:16.692 T:12572    INFO <general>: [ script.metadata.editor ] Run rating updater - movie: Three Months - ID: 7037
2022-12-31 01:06:16.692 T:12572    INFO <general>: [ script.metadata.editor ] Fetch data by TMDb ID 793992
2022-12-31 01:06:16.692 T:12572    INFO <general>: [ script.metadata.editor ] TMDb call try 1/3
2022-12-31 01:06:16.759 T:12572    INFO <general>: CVideoDatabase::UpdateDetailsForMovie: Starting updates for movie 7037
2022-12-31 01:06:16.762 T:12572    INFO <general>: CVideoDatabase::UpdateDetailsForMovie: Finished updates for movie 7037
2022-12-31 01:06:16.765 T:12572    INFO <general>: [ script.metadata.editor ] Fetch OMDb data
2022-12-31 01:06:16.765 T:12572    INFO <general>: [ script.metadata.editor ] No OMDb API key configured. Skip.
2022-12-31 01:06:16.765 T:12572    INFO <general>: [ script.metadata.editor ] Updating info
2022-12-31 01:06:16.768 T:12572    INFO <general>: CVideoDatabase::UpdateDetailsForMovie: Starting updates for movie 7037
2022-12-31 01:06:16.771 T:12572    INFO <general>: CVideoDatabase::UpdateDetailsForMovie: Finished updates for movie 7037
2022-12-31 01:06:16.783 T:9868     INFO <general>: EMBY.hooks.webservice: [ nfo query -> refresh item /movies/12/m-704980bb273f46078fe32e0e87282304-630004-c0c4edf96abd840974b75699a6005d07-7037-33990-2289808-1-1-hevc-0-0-0-0-Three_Months__2022___1080p_.nfo ]
2022-12-31 01:06:16.783 T:12572   ERROR <general>: [ script.metadata.editor ] Cannot process .nfo file: http://127.0.0.1:57342/movies/12/m-70498...1080p_.nfo --> 'NoneType' object has no attribute 'findall'
2022-12-31 01:06:16.785 T:3216     INFO <general>: EMBY.hooks.webservice: [ nfo query -> refresh item /movies/12/movie.nfo ]
2022-12-31 01:06:16.785 T:12572   ERROR <general>: [ script.metadata.editor ] Cannot process .nfo file: http://127.0.0.1:57342/movies/12/movie.nfo --> 'NoneType' object has no attribute 'findall'
2022-12-31 01:06:16.785 T:12572    INFO <general>: CPythonInvoker(18, C:\Program Files\Kodi\portable_data\addons\script.metadata.editor\context.py): script successfully run
2022-12-31 01:06:16.879 T:12572    INFO <general>: Python interpreter stopped
Reply
https://forum.kodi.tv/showthread.php?tid...pid3132935
Reply
Exclamation 
Hi There,
Matrix Fine, but for Nexus, we're a no go Houston.
Reply
Just replace helper.py with this in your appdata or portable kodi location "\addons\script.metadata.editor\resources\lib" until an official fix comes out.
Or search for it and download it on Kodinerds Repo, like _BJ1 wrote.
Reply
Ah, Thanks for that Albinator, Love me that Metadata Editor.
Reply
When I start Kodi, I get a Metadata editor error.

Here is the log: https://paste.kodi.tv/onetolujoj.kodi

This happens on my "production" system, but not on my test configuration on my laptop.
I have not (yet) found a relevant difference between the two systems.

TIA,

Bart
Kodi 20.2 runs on a Celeron N5095 with 8 GB memory, Windows 11 Pro 22H2.

DVBviewer 7.2.4.0 with DMS 3.2.4.0 | Digital Devices Cine S2 V7 dual DVB-S2 tuner with CI
Windows 10 Pro x64 with all updates | Core i3 CPU, 16 GB memory
Reply
@BartZorn

I've merged you into the correct thread.

Reading the last few posts, it looks like the addon does not work too well in v20
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
No problem at all with "my" version, see above.
Reply
Yes, replacing helper.py did the trick for me too.

Thanks!
Kodi 20.2 runs on a Celeron N5095 with 8 GB memory, Windows 11 Pro 22H2.

DVBviewer 7.2.4.0 with DMS 3.2.4.0 | Digital Devices Cine S2 V7 dual DVB-S2 tuner with CI
Windows 10 Pro x64 with all updates | Core i3 CPU, 16 GB memory
Reply
(2022-09-02, 19:13)HeresJohnny Wrote: Add-on unofficlally updated by me to work with latest Kodi 20, will also work with Kodi 19.
Download
This takes me to script.database.cleaner not the Metadata Editor.
Do you have another link? Or can you PR your changes so they are merged into the repo?
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
Just had made a PR against repo-scripts...

https://github.com/xbmc/repo-scripts/pull/2425
Reply
(2023-03-24, 22:05)Karellen Wrote: This takes me to script.database.cleaner not the Metadata Editor.
Do you have another link? Or can you PR your changes so they are merged into the repo?

Ouch. Six months in and you're the only one who noticed or cared... link corrected.
Reply
sualfred Wrote:...

Kodi 21.0 Omega, any idea?

There are thousands of such errors in my kodi.log now:

Code:
error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'NameError'>
                                                   Error Contents: name 'true' is not defined
                                                   Traceback (most recent call last):
                                                     File "D:\Apps\Kodi\portable_data\addons\script.metadata.editor\service.py", line 22, in onNotification
                                                       data = eval(data.replace(':true', ': True').replace(':false', ': False'))
                                                     File "<string>", line 6, in <module>
                                                   NameError: name 'true' is not defined
                                                   -->End of Python script error report<--
Reply
Hello, hopefully I am in the right area for this post...

My question is about medadata editor and how its nfo is/is not written.
I am using kodi 18.9, titan mod vanilla skin, and downloaded medadata editor from the kodi repository (I think it was vers 2.1?). (I tried the 3.0 via zip, but I get an install error.)
All my scraping is done using TMM on my computer, then in kodi (on my TV box) I tell it to only scrape local info... all movies are in separate folders

When using medadata editor in kodi, any changes I make are seen by kodi fine, but when I scan my HDD again using TMM, TMM does not see any of the changes I made in medadata editor.
It seems the nfo file itself is not being written to. I can not figure out what I am doing wrong. I tried changing the title and also the movie set (and a few other fields). These changes work fine in kodi but are not seen in TMM.
Experimenting, I tried also the 'update nfo' option after making any changes, but TMM still does not see the changes

Thanks.. if you need any more info just ask..
Reply
Hello, I have a feature request for this very Handy Add ON.
When we click on Metadata Editor, Then Edit, we can edit everything we need. However then, we have to escape then open the editor again and click on update .nfo to save the info to the Medias nfo file.
It would be great if we are in the editor and have made our changes, a tab to click "Update .NFO and Exit"
Saving having to escape the open metadata editor and selecting update .nfo.
Hope you can implement this in the future if possible.
Thanks In Advance
Oz
Reply
  • 1
  • 10
  • 11
  • 12
  • 13(current)
  • 14

Logout Mark Read Team Forum Stats Members Help
Metadata Editor - Update library + .nfo informations0