ProgrammeA is uploaded and the corresponding .liq file is created
ProgrammeA is replaced by ProgrammeB in the schedule
ProgrammeA's MP3 file gets deleted from the server
ProgrammeB is uploaded and the corresponding .liq file is created
Then there will be two .liq files for the same time. The earlier PID alphabetically has precedence, so if ProgrammeA's PID is alphabetically before ProgrammeB, we will get a silence detect as the file has been deleted.
Solution is to check in checkFilePresent.py that if there are .liqs with no corresponding .mp3, the .liq gets deleted
Worst case, if we delete too many .liqs, they'll get recreated by makeSchedule.py a couple of mins later
If the following occurs:
Then there will be two .liq files for the same time. The earlier PID alphabetically has precedence, so if ProgrammeA's PID is alphabetically before ProgrammeB, we will get a silence detect as the file has been deleted. Solution is to check in
checkFilePresent.py
that if there are .liqs with no corresponding .mp3, the .liq gets deleted Worst case, if we delete too many .liqs, they'll get recreated bymakeSchedule.py
a couple of mins later