Use regex, metadata.xml to determine facts about the video file.
There are at least 4 files per show: DAT, SRT, XML, TS, they will all have the same name and be created around the same time.
- The xml file has the key information to read.
- An Evening News show should be 30 minutes, typically 17:30:00 to 18:00:00.
- Sometimes a show is broken into two or more pieces. The xml file will say the start/stop times of each piece.
- Sometimes a second recording will be dumped into the bucket and it doesn't need to be kept.
The Weekend Challenge: There are lots of moving and shifting of show times on the weekends. Do we resort to a manual clipping of a 1-2 hour window?
- The final naming convention:
YYYYMMDD[Network].extension This is required for the mp4-vulstream copy to play.
Key steps
If Then
If A, Then the show is renamed 'YYYYMMDD[Network].extension' and stored appropriately.
If B, Then the show segment is renamed YYYMMDDNET_HHMM-HHMM.ext, where HHMM = start/stop times.
If C, Then the show is moved to recycling.
Error Handling
Reporting
Use regex, metadata.xml to determine facts about the video file.
There are at least 4 files per show: DAT, SRT, XML, TS, they will all have the same name and be created around the same time.
The Weekend Challenge: There are lots of moving and shifting of show times on the weekends. Do we resort to a manual clipping of a 1-2 hour window?
YYYYMMDD[Network].extensionThis is required for the mp4-vulstream copy to play.Key steps
A) New and a complete show
B) New and part of an incomplete show
C) A duplicate of a complete show
If Then
If A, Then the show is renamed 'YYYYMMDD[Network].extension' and stored appropriately.
If B, Then the show segment is renamed YYYMMDDNET_HHMM-HHMM.ext, where HHMM = start/stop times.
If C, Then the show is moved to recycling.
Error Handling
Reporting