Remarks:
- The cleanup is performed only in the provided directory; subdirectories inside it, if any, are not affected.
- Extensions are case-insensitive.
Okay. I've now updated the script to simply check if the newsgroup name is contained anywhere in the folder name, instead of parsing the folder name and looking for the newsgroup name in a specific place.shypike wrote: The "Create Category Folders" feature has been removed. People can use user-defined categories.
The script always receives the job folder location as a parameter.
The only less predictable feature is the TV Season support, but even there you can assume you can weed out files based on the job folder.
In your previous post, you said that the "Create Category Folders" feature has been removed. In this one, you're saying that the newsgroup names feature has been dropped. Those are two different features you made a reference to.shypike wrote: Why do you insist on using newsgroup names?
The reason we dropped this feature is that there is little relation between the content of a post and the newsgroup it is posted in.
Have you ever looked at groups like alt.binaries.x or alt.binaries.boneless ?
I think group-based folders is a simple and useful feature which should be available for those who want to use it. Users could be allowed to use it or use user-defined categories, but not both.shypike wrote: The reason both features were removed is that they overlap and compete.
It was also hard to come up with a proper user interface.
Newzbin-category based folders are really obsolete, because exactly the same can be accomplished using the user-defined categories.
The group-based folders are a different beast, largely incompatible with user-defined categories.
It could be restored, at the risk of added complexity in the user interface.
We simply assumed that nobody was interested in group-based folders anymore.
One thing I thought of was to use the groups as triggers for the category. The Categories page now contains a column that holds Newzbin category names. I can imagine that you fill in group names there. So group alt.binaries.hdtv.x264 may map to a category called (e.g.) "Movies HD". It would be possible to map multiple groups to one category.
What will happen if the job contains files from more than one newsgroup? Also, how is this concern currently handled in version 0.3.4?shypike wrote: - The group name will be passed as the 6th parameter to the user script
- Group names will be accepted as selection values for user-defined categories.