I am using the Plex Media Server for delivering videos to my tv via the Roku Media Player. My files appear in my (Synology) NAS shared drive like this:
File Name tag(s)
Some Random Folder Name 001, Angular, Angular-Testing
A Different Folder 002, Stock-Options
Yet a Different Folder 003, Jiu Jitsu
.
.
.
Folder with a Different Name 380, Python
Folder N 00N, Topic
Each of the folders is filled with some number of video files.
The Hard Part
When I get a new video from my video service, it is indexed at the TOP of the list of folders. That is, the new folder becomes “the new #001”, and the rest of the folders add a number to their place in the folder list.
I would like to adapt this script: https://macscripter.net/viewtopic.php?pid=192126, and use it to do two things:
- update the numeric tag to match the position of the folder within the list of folders
- keep the other tags the same
I still have to read at least these books to have a clue about AppleScript:
- Apple Pro Training Series: AppleScript 1-2-3
- Take Control of Automating Your Mac, 2nd Edition
Thanks for any help at all
Model: MacBook Pro 2011
AppleScript: Unknown
Browser: Safari 537.36
Operating System: macOS 10.12