Posts: 524
Joined: Aug 2015
Reputation:
26
Currently when you're trying to export items, TMM keeps asking the user to select (the same) target folder and then overwrites existing files with the same filename in there without asking. If the file is being opened with a browser, then it fails to write the file. But there's no message about that. You have to figure out yourself what's going on by checking error log.
1. Support permanent export target folder setting.
2. Support editing of filename when exporting so that it could be customized.
3. If there's a file with the same name or if the file is being used, please ask the user what to do next.
Posts: 100
Joined: May 2016
Posts: 3,027
Joined: Oct 2012
Reputation:
189
well, all the config for exporting a movie (TV show) is done by the templates configuration - I will not add any logic there to change some filenames (just think of a HTML template which has links between master/detail pages - if we change the master page no link back will work).
what I could do is:
- add a default export path in the settings (for the lazy ones)
- add a warning, if the export path is not empty (do check for any file names here!)
I'll put that on our todo list, but with a low priority!
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
Noticed this feature was added to the latest nightly. Thanks!
But why does tmm empty the export directory completely every time rather than just overwrite a file with the same filename?
I lost several existing html files in that folder and can't find them even in the recycle bin.
Posts: 3,027
Joined: Oct 2012
Reputation:
189
if the new export differs from the old export, some old files may survive in the export path but are not used.
a clean export is just an export to an empty folder
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: 1,294
Joined: Jan 2011
Reputation:
55
myron
Posting Freak
Posts: 1,294
Well, when you export a list, some files will always overwrite some others.
To get a clean and consistent export, we delete all files prior.
We have following possibilities.
- Warn the user, clean the folder, and export (consistent)
- Warn the user, and overwrite all existing files (do not delete anything) - many leftovers from former export
- Create a timestamped folder for every export in directory (but that would have an impact, if you WANT this always to be the same folder, because it's a webserver served directory)
We cannot satisfy every request with that feature;
At least, in an uncomplicated way...
(Ideas...?)
Posts: 1,294
Joined: Jan 2011
Reputation:
55
myron
Posting Freak
Posts: 1,294
ok, reverted the deletion.
Thx.
Posts: 524
Joined: Aug 2015
Reputation:
26
Working great now. Thanks!
Perhaps warn the user only when files will get overwritten due to the same filename rather than when the folder is not empty? But it doesn't matter much to me.