lookinavi.blogg.se

Sonarr move files
Sonarr move files







sonarr move files

SNewFile = Replace(sNewFile,"_Series_"," - S0")įile.Move(File.ParentFolder+"\"+sNewFile) Set Folder = objFSO.GetFolder("X:\path-to-files") Open up a new plaintext editor such as Notepad on Windows, then paste the following: Set objFso = CreateObject("Scripting.FileSystemObject") This script is designed to run on media files for a single TV show at a time, not one large folder with multiple shows downloaded into it (mostly due to my future hopes/plans for the script). This is made mostly by code samples found online with some minor modifications, your mileage may vary. I’m not a programmer, but do have enough experience to know roughly what a piece of code is doing so please bear this in mind with my script, it may not be perfect or perform all necessary functions but it should help you enough to get Sonarr to correctly recognise them and it can then rename appropriately upon import if your installation is set to do so. I couldn’t find any easily automated method to rename the files into a supported format online, so I’ve pieced together a small script to help achieve this quickly and easily. Sonarr doesn’t like importing such files by default because the season and episode numbers aren’t in a common format. There may become a time where someone wants to obtain some media from the popular get_iplayer application to add to their Sonarr library.









Sonarr move files