martxw / Humax_tvdiary

tvdiary package for the customized Humax HDR FOX T2 web interface
0 stars 0 forks source link

Error in tvdiary_status - problem with TS file accessing duration? #14

Open martxw opened 10 years ago

martxw commented 10 years ago

I have just noticed that my tvdiary log contains lots of errors on 17th Jan:

Runtime Error: /mod/sbin/tvdiary_status:312: syntax error in expression: "/ 60" in procedure 'main' called at file "/mod/sbin/tvdiary_status", line 398 at file "/mod/sbin/tvdiary_status", line 312 it might be relating to files that were copied (streamed and therefor played) and then deleted, but not sure whether that was that day.

martxw commented 10 years ago

That line of code is set scheddur [expr [$ts get scheddur] / 60] so my guess is that [$ts get scheddur] didn't return a number. Possibly an empty string? This might be down to the "sidecar" files alongside the .ts file that I search for being missing.