close Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": Can't find an appropriate component, maybe the corresponding plugin was not enabled? ). Look in the Trac log for more information.

Opened 15 years ago

Last modified 15 years ago

#47 accepted enhancement

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 (3)

comment:1 Changed 15 years ago by ajanata

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

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 15 years ago by ajanata

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:3 Changed 15 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.