Does Sonarr autodeletes all files except main video?

Or I could ask ‘how to keep my subtitles ?’

I use Sonarr (version 2.0.0.2663) and after a night of download all the archives have been downloaded, unpacked, moved but in the process all other files that aren’t the main video file have been deleted. All the precious subtitles the appz
downloaded with the files are lost (they were .sub file inside a .rar). Download client is NZBget (version 12) but I did not activate any post process option inside so I think it’s Sonarr.

If someone has an idea about what happened or if this is the regular behaviour of the app let me me know please.

ps : I didn’t activate any renaming option in Sonarr

Yes, they are deleted, you could use a post processing script to move them elsewhere, but at this time Sonarr does not import extra files.

Sonarr, unfortunately, deletes extra files. It’s on Trello though: https://trello.com/c/IzNiSitU

I have a script running that moves them BEFORE sonarr kicks off. If you are using nzbget, I can paste the pathetic script I made.

LJ

Ok.

lordjynx, I wrote you a PM.

I’ve had a few requests so I’ll just public paste the script I use in NZBGet (Should be easy to modify for SAB?)

http://pastebin.com/rRDDTFwC

Make sure to run this as a Post-Process. It really needs to run last but before any rename scripts you might also have.

X:\Subtitle_Folder needs changed to a real folder.

After you set this, you can save the subtitles/rename manually until Sonarr supports extra file movement. I use this for mostly BD movies that include subtitles.

If you want to save more files change this line: if (file.endswith(".srt")) or (file.endswith(".sub")) or (file.endswith(".idx")): to include more extensions.

LJ

Hey just wanted to say big thanks for the script! I’ve added (file.endswith(".rar")) and (file.endswith(".zip")) also, because VobSubs are usually compressed.

Maybe it would be a good idea to host it on GitHub? I’m sure other people would find it useful and/or contribute to improving the code.

No worries at all. I also have one that unrars extract files. lol :smile:

LJ

Is that a separate script or is it an improved version of the original Save the Subs? Would you mind sharing it if it’s an updated version of the same script?

Tagpooch… sorry for the long delay.

Here’s the one I was using while using windows:

http://pastebin.com/gnKQVgsp

LJ

Thanks for the script LJ, I appreciate it!

This topic was automatically closed after 30 days. New replies are no longer allowed.