KMNR / Webstream

A collection of tools and utilities for manipulating webstreams.
MIT License
1 stars 0 forks source link

Modify verify.py to search inside directories to determine if a show is currently recorded. #4

Open DrDougPhD opened 7 years ago

DrDougPhD commented 7 years ago

The verify.py script currently determines if a show is being recorded by checking whether a show has a directory in /var/www. However, a show not currently recorded may not be identified as such if the show existed in a previous semester -- this occurs if the show's title did not change between semesters.

A more thorough check should look inside a show's recording directory and compare the last recording of the show with the current date. If the recording was made more than one week ago, then it should be flagged as not currently being recorded.