Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug if a recording is bigger than 24 hours #36

Closed
rubenrua opened this issue Mar 22, 2013 · 1 comment
Closed

Bug if a recording is bigger than 24 hours #36

rubenrua opened this issue Mar 22, 2013 · 1 comment

Comments

@rubenrua
Copy link
Contributor

Traceback (most recent call last):
  File "/opt/Galicaster/galicaster/classui/playerui.py", line 218, in on_seek
    self.statusbar.SetTimer2(value,self.duration)
  File "/opt/Galicaster/galicaster/classui/statusbar.py", line 69, in SetTimer2
    self.timer.set_text(self.time_readable2(value,duration))
  File "/opt/Galicaster/galicaster/classui/statusbar.py", line 111, in time_readable2
    t1=self.time_readable(s1)
  File "/opt/Galicaster/galicaster/classui/statusbar.py", line 105, in time_readable
    dur = datetime.time(int(iso/3600),(iso%3600)/60,iso%60)
ValueError: hour must be in 0..23
@rubenrua
Copy link
Contributor Author

return  "{}:{:02d}:{:02d}".format(iso/3600, (iso%3600)/60, iso%60)

ppettit pushed a commit to universityofsussex-its/Galicaster that referenced this issue Apr 20, 2016
fix recording in law mooting room

this line should have been removed a while ago, as it does nothing other than silently break recordings in the law mooting room (where the cam tickbox does not exist).

fixes teltek#36 

see [rt240329](https://rt.sussex.ac.uk/Ticket/Display.html?id=240329)

See merge request !56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant