[Feature Request] option to place an .ignore file in desstination folder

Discuss newly added features or request new features.
Post Reply
silhouette
Posts: 14
Joined: 12 Dec 2018, 08:34

[Feature Request] option to place an .ignore file in desstination folder

Post by silhouette » 12 Dec 2018, 09:33

Sorry if I missed this.

It would be great if there was an option to place one or more files into the destination folders while NzbGet is processing.

Some programs have an option to check for the presence of a file with a predefined name, before processing the content.

To support multiple programs in one go, it would make sense if NzbGet featured a field to define a comma separated list of filenames. Empty files with the defined names, would be placed into the destination folder as soon as it is created. This would instruct less flexible programs to back-off, while NzbGet is processing.

These files should of course be deleted once NzbGet is done processing the destination folder.

hugbug
Developer & Admin
Posts: 7340
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: [Feature Request] option to place an .ignore file in desstination folder

Post by hugbug » 15 Dec 2018, 13:01

What is the application causing this troubles and what ignore-file would help?

A possible workaround: as destination use directory which isn't monitored by the app. Then use VideoSort or other script to move downloaded files into final directory. If the both directories are on the same physical drive the move is instant.

silhouette
Posts: 14
Joined: 12 Dec 2018, 08:34

Re: [Feature Request] option to place an .ignore file in desstination folder

Post by silhouette » 15 Dec 2018, 13:12

That would for instance be emby.

It monitors a directory for changes and would start processing as soon as the first files appear.

Emby ignore directory, as long as a .ignore file s
is pressent.

This is the implementation in sabnzbd:
nomedia_marker:

Just before unpacking of files into the final folder, SABnzbd will put a special marker file (e.g. ".nomedia") in the folder. Afterwards it will be deleted. This prevents some media player software from trying to index the folder while still incomplete. You can disable the feature by clearing the field, or you can set an alternative name. Check your media software's manual.

I will consider a workaround.

hugbug
Developer & Admin
Posts: 7340
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: [Feature Request] option to place an .ignore file in desstination folder

Post by hugbug » 15 Dec 2018, 14:08

I see how it can be useful.
Do we really need multiple files though?

silhouette
Posts: 14
Joined: 12 Dec 2018, 08:34

Re: [Feature Request] option to place an .ignore file in desstination folder

Post by silhouette » 15 Dec 2018, 19:34

I presume that one would be enough for most, if not all use cases.

I just figured that making it an optional list variable, would be more or less the same work and might add flexibility in some special use cases.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests