Posts: 157
Joined: May 2019
Reputation:
6
jhoyos
Senior Member
Posts: 157
Hi,
I have a script to add Tags to NFO files. I prefer to do this the script because I can make a list of files to update, and have 200 files with a personal Tag I after use for my own purpose.
My problem is that, once the tag is added into the NFO, TMM doesn't update the information unless:
1. I just update manually that specifi movie, reading from NFO file (which now contains that tag)
2. I update all my movies in TMM, so I don't have to do it manually.
Problem in point 2 is that I have so many movies, that it will take forever.
Would be great if TMM could update information of the movies in which NFO date have been modified.
That way, when you launch a library update, if TMM finds that NFO file has a newer date, it can upload to TMM that information.
Can you think in any other way to update that information that has been updated outside TMM?
Thanks a lot.
Posts: 3,027
Joined: Oct 2012
Reputation:
189
there is an action to re-read NFO files (just select one or more movies and right click -> you will find it)... manually update the movie does not update the contents from the NFO file
tinyMediaManager - THE media manager of your choice - available for Windows, macOS and Linux
Help us translate tinyMediaManager at
Weblate | Translations at 66%
Found a bug or want to submit a feature request? Contact us at
GitLab
Posts: 157
Joined: May 2019
Reputation:
6
jhoyos
Senior Member
Posts: 157
Thanks. I knew that option, but my problem is that I have 42.000 files in TMM, and to make it worst, they are in google drive, so either:
1. I select them manually, which is a hard work considering could be 200 or 300 files
2. I update nfo of 42.000 files, which will take forever
Is there any way to select specific files, for example from a csv file containing the files you want to select?
Could be a great feature...
Any other idea?
Posts: 524
Joined: Aug 2015
Reputation:
26
Since re-importing nfo files after editing is the only way to modify tmm db, probably you're not the only one using a script to bulk edit nfo files for tasks that can't be done within tmm.
And depending on the script, sometimes it won't be easy to identify which nfo files got updated.
If the feature got implemented, the user could, in such a case, use a file manager to filter to nfo files, sort them by file modification date, select only updated ones, copy filename of them, paste it to the tmm filter dialog, then tmm would only show the movies with updated nfos to re-read.
Posts: 3,027
Joined: Oct 2012
Reputation:
189
sorry, but you ask for such a complex filter which no user and either tmm can handle (and which is not relevant for 99% of our users).
Since you are _scripting_ outside tmm, I have another idea: I am working on a basic HTTP interface to trigger some commands from "outside" of tmm while tmm is running. When it gets finished. you could trigger a HTTP call for every movie (path) where you changed the NFO to re-read the NFO. Would this be enough?
tinyMediaManager - THE media manager of your choice - available for Windows, macOS and Linux
Help us translate tinyMediaManager at
Weblate | Translations at 66%
Found a bug or want to submit a feature request? Contact us at
GitLab
Posts: 524
Joined: Aug 2015
Reputation:
26
Scripting was just an example as that's the OP's case.
I saw you've been working on the HTTP interface in another thread, and sure that will be useful to some users.
But I'm not sure which part of the request is so difficult and why you think the HTTP interface will be relevant to more users than this list filter.
For instance, there are lots of "best movies" lists out there, but no way to import them to the tmm collection unless you select and tag each movie one by one. Or can you suggest a better approach?
If you still think the request is so complex, can it query just with IMDb/TMDb id and Title (Year) format (because most lists are presented that way)?
It depends on the user's naming pattern, but probably it won't be so hard for most users to convert a list of folder/nfo/video filename to Title (Year) format if tmm can only query with that format.