2019-08-24, 21:37
I'm using a different Media Center right now, and I have functionality that when I watch a TV episode in a specific directory (my Recorded TV directory), that night it will run a script to transcode the file. Basically, I use a smart playlist to list files that are in the directory that have a playcount greater than 1. I then pass the path of that file to a batch file that runs FFMPEG to compress.
I can create the script to encode no problem, but is it possible to get the list of files somehow? I have tried figuring out the JSON interface, but it's not coming naturally. I'm open to other ideas as well.
Any help would be great!
I can create the script to encode no problem, but is it possible to get the list of files somehow? I have tried figuring out the JSON interface, but it's not coming naturally. I'm open to other ideas as well.
Any help would be great!