Media RSS (MRSS) generator script

I came across a DOS batch file that generates the necessary xml manifest for Video files on BrightSign's Developer Resources and Utilities page. Since I'm serving my video content to our BrightSign infrastructure from a LAMP stack I ended up rewriting their bat file as a shell script. This enables me to host the shell script in a local directory (/usr/local/bin) and run it from cron every 5 minutes against a folder full of mp4 files and have the MRSS manifest written to this folder as well. Then all that needs to be done is to point the BrightSign MRSS widget at the URL for the xml file ( The crontab entry looks like: */5 * * * * /usr/local/bin/ /var/vhosts/jrnsignage/ >/var/vhosts/jrnsignage/VideoMRSS.xml The script itself is pretty simple. I've tried…
Read More