We need a Bash script written to do the following
Using a schedule (CRON)
Parse\Read the tags in an XML feed, locate all the files listed in the <FileName> tags (there could be one or many).
If the files do not exist in a folder, download them to a specific folder.
Then create\apend a Playlist file (plain text) with the file names that were downloaded.
If the New Playlist contains files not in the old playlist - replace the old playlist with new one.
If the Playlist is new, terminate an application and relaunch using the new playlist
the XLM is We have a secured with a username and password. The FTP site where the files will be retrieved is also secured behind a username\password.
XML poll is HTTPS
FTP download will be done via Sftp