Posts: 44
Joined: Jan 2018
Reputation:
4
BZwart
Junior Member
Posts: 44
2021-03-23, 10:39
(This post was last modified: 2021-03-23, 13:57 by BZwart.)
Would it be possible to run tmm with the cli and a specific setting file?
My idea is to run tmm cli daily with minimal setting (like update ratings)
And say once a week with more fields to update enabled.
Currently, I have tmm cli set to run daily completely hidden, would be nice if that could be a set and forget with various configurations.
So something like this:
tinyMediaManager movie -u --scrapeAll --daily.movies.json
Posts: 3,027
Joined: Oct 2012
Reputation:
189
2021-03-23, 14:59
(This post was last modified: 2021-03-23, 15:57 by mlaggner.)
sorry this won't work. The settings are tied to the database (because the database entries somehow depend on the settings). you could change the /data path via a parameter, but this exchanges the config AND the database. If you can guarantee that tmm itself will not run the same time as the cli runs (this probably will be true since the gui would lock the database anyway), you could copy (exchange) the movies.json in the /data folder prior to CLI and restore if after CLI
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: 44
Joined: Jan 2018
Reputation:
4
BZwart
Junior Member
Posts: 44
That was my plan B alternative .
I allready made a start with a scrip that checks is tmm isn't running and swapping and later retoring the movie and tvshows json files.