Black Hole
May contain traces of nut
Glad of that.
Only because it was never high enough on my .todo list. I'm looking at it for the next release though since it fits with other stuff I'm adding.
Not sure about the external HDD, but auto-filer was created to send recordings to elsewhere in the folder tree - eg "Wife", "Kids".Example the wife whats to record her HD soaps, but want them flattened or recorded to a external HDD or folder.
I think I have a workable scheme for controlling flatten.
Error 404: Not Found
File not found
A couple of questions about this,
If I was to chose to flatten a new series folder, would the rest of the series still be flattened OK?
If I some time later decided that I no longer wanted to flatten a series folder, would I be able to re-assign it No-Flatten?
Perhaps if the flatten/no-flatten flag could also be set from the Scheduled Events in webif, this would allow a previously flattened series to be changed to no-flatten before the next episode is recorded, or would this not be required?
But the person who requested this in the first place just wants everything flattened unless he moves it to a specific set of folders. He doesn't necessarily want to have to go in and mark every new series folder as a flatten candidate.
I can see arguments for both approaches depending on how you want to use it (opt-in versus opt-out).
Perhaps there could be a list of flattened series flags accessible via the webif where a particular flattened series flag could be selected and either deleted from this list, or changed to no-flatten.Using my proposed scheme, yes. The existance of a .folder_name flag file would mean that any new creation of a folder matching that name would get flattened, however far in the future. Deleting the flag file would mean that any new recording in that series-link (automatically stored in a series folder every time) flatten_mk2 would not then flatten because there was no flag to tell it to. If necessary, the series folder could even be recreated and previously flattened series recordings transferred into it.
One thing my scheme can't cope with is marking a series to be flattened before any programmes have been recorded, but as long as at least one programme has been recorded either the folder exists (not flattened) or a flag file exists that could be used to recreate the series folder.
I am the one who requested this feature, and initially wanted everything flattening, but am happy with the proposed changes. As long as flagging/unflagging can be done via the webif, as I am not too keen on having to use the command line option to make these changes.Exactly what I am proposing. The non-existance of a flag = no-flatten.
However, I can see the case where somebody just wants everything to flatten without any intervention, but my scheme fails safe at the moment as its original design intention (newly created series folder, no .folder_name flag by default).
Tell me af123, how much more work would it be to look inside a .folder-name flag file and read a flatten/noflatten flag value?
Maybe... I'll need to think about that.
No need for flatten to go beyond the first level folders, because anybody using auto-filer won't be wanting those files flattened! Rethink: I suppose they might, if they want all "Kids" programmes to end up in one place for example, but I see that as an enhancement to auto-filer rather than a job for flatten.