Kodi Community Forum
Beta Metadata Editor - Update library + .nfo informations - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: Beta Metadata Editor - Update library + .nfo informations (/showthread.php?tid=349035)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14


RE: Metadata Editor - Update library + .nfo informations - Seger - 2022-12-31

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-704980bb273f46078fe32e0e87282304-630004-c0c4edf96abd840974b75699a6005d07-7037-33990-2289808-1-1-hevc-0-0-0-0-Three_Months__2022___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



RE: Metadata Editor - Update library + .nfo informations - _BJ1 - 2023-01-17

https://forum.kodi.tv/showthread.php?tid=371283&pid=3132935#pid3132935


RE: Metadata Editor - Update library + .nfo informations - OzDrDj - 2023-01-24

Hi There,
Matrix Fine, but for Nexus, we're a no go Houston.


RE: Metadata Editor - Update library + .nfo informations - Albinator - 2023-01-29

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.


RE: Metadata Editor - Update library + .nfo informations - OzDrDj - 2023-01-30

Ah, Thanks for that Albinator, Love me that Metadata Editor.


Metadata editor error - BartZorn - 2023-02-23

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


RE: Metadata Editor - Update library + .nfo informations - Karellen - 2023-02-23

@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


Metadata Editor - Update library + .nfo informations - HeresJohnny - 2023-02-23

No problem at all with "my" version, see above.


RE: Metadata Editor - Update library + .nfo informations - BartZorn - 2023-02-23

Yes, replacing helper.py did the trick for me too.

Thanks!


RE: Metadata Editor - Update library + .nfo informations - Karellen - 2023-03-24

(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?


RE: Metadata Editor - Update library + .nfo informations - _BJ1 - 2023-03-25

Just had made a PR against repo-scripts...

https://github.com/xbmc/repo-scripts/pull/2425


RE: Metadata Editor - Update library + .nfo informations - HeresJohnny - 2023-03-25

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


RE: Metadata Editor - Update library + .nfo informations - rainman74 - 2023-08-25

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



RE: Metadata Editor - Update library + .nfo informations - acevideo - 2023-09-24

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


Metadata Editor - Update library + .nfo informations - OzDrDj - 2023-10-26

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


This forum uses Lukasz Tkacz MyBB addons.