[Synology NAS] Post Script to Sort Movies alphabetically

Come up with a useful post-processing script? Share it here!
Post Reply
TrackSuitMafia
Newbie
Newbie
Posts: 1
Joined: July 20th, 2024, 10:28 am

[Synology NAS] Post Script to Sort Movies alphabetically

Post 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
User avatar
sander
Release Testers
Release Testers
Posts: 9070
Joined: January 22nd, 2008, 2:22 pm

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

Post 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
Post Reply