Ticket #47 (accepted enhancement)

Opened 5 years ago

Last modified 5 years ago

Track time stream is live

Reported by: Grinnz Owned by: ajanata
Priority: trivial Milestone: time_t overflow
Component: Online Stream List Aggregator Keywords:
Cc:

Description

Have the aggregator track how long streams are live, perhaps record start time when it sets it to live then add duration to another field when it goes offline. The aggregator is the only thing that sets streams to live so there should be no conflict. Clearly would not be exact, but perhaps then we could have a listing of who streams the most etc.

Change History

comment:1 Changed 5 years ago by ajanata

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in [362]. Records the time that the state of the stream last changed (so look at live to see if it was "became live" or "was last live at").

comment:2 Changed 5 years ago by ajanata

  • Status changed from closed to reopened
  • Resolution fixed deleted

comment:3 Changed 5 years ago by ajanata

  • Status changed from reopened to accepted

Correction: Partly fixed in [362]. Only tracks the last state change; I'll have to do some research about the best way to track time duration in a MySQL database. I might end up having to do it manually.

Note: See TracTickets for help on using tickets.