Page 1 of 1

[Synology NAS] Post Script to Sort Movies alphabetically

Posted: July 20th, 2024, 10:51 am
by TrackSuitMafia
Years ago on a previous SAB build, on a Windows based server, I had a Python script that would take your movies, once SAB unpacked / repaired them, and created a folder using the movie title. The Script would move that folder into a Movies directory that had alphabetic sub directories. For example: the movie "The Ghostbusters" would get a directory structure such as "The Ghostbusters\The Ghostbusters.mov" and would get moved to E:\Movies\G.

Notice the "The" is left as the movie and folder name but not used to determine which alphabetic folder it belongs. Any movie title that starts with numbers or special characters goes to a directory named "#"

My question is, now that I'm running SAB in Docker on a Synology NAS. Will this same script work. If not, can someone be kind enough to point me in the right direction? TIA

Re: [Synology NAS] Post Script to Sort Movies alphabetically

Posted: July 20th, 2024, 3:12 pm
by sander
Yes, the script will work.

Or, more formal: I see no reason why it shouldn't, as long as the script inside docker has access to those directories.

HTH