Commit graph

47 commits

Author SHA1 Message Date
Andreas Öman
661355777a Cosmetics 2008-10-02 17:08:27 +00:00
Andreas Öman
7385fb4507 Use a different strategy for keeping track of current event per channel. 2008-10-01 20:03:43 +00:00
Andreas Öman
4f44db4f71 Revive HTSP server.
No streaming support yet but we are able to do these things:

* Notify clients about channel add/update/delete
* Notify clients about tag add/update/delete
* Respond to EPG queries
2008-09-27 13:24:00 +00:00
Andreas Öman
08c0e7a2f4 Add backing code for auto recording.
This more or less marks the DVR infrastructure in Tvheadend back to what it once was!

Fixes issue #18
2008-09-24 20:45:38 +00:00
Andreas Öman
a0e346aeb8 Allow events to extend in time. 2008-09-24 16:39:06 +00:00
Andreas Öman
931aad91e8 Replace e_duration with e_stop, it's much more usable 2008-09-24 15:52:49 +00:00
Andreas Öman
473698bd35 Remove dead code 2008-09-24 15:50:30 +00:00
Andreas Öman
c578619381 Keep track of current event on all channels. 2008-09-24 15:50:07 +00:00
Andreas Öman
de2071b10f Flush out events when they have passed in time. 2008-09-21 12:08:36 +00:00
Andreas Öman
8d10a0352f Add database and webui functionality for Digital Video Recorder.
The recorder itself is yet to be written though.
2008-09-16 21:04:50 +00:00
Andreas Öman
8f8c3036a8 Remove dead code 2008-09-15 19:08:04 +00:00
Andreas Öman
cf7949339a Only include events that has not yet come to pass when doing queries. 2008-09-15 19:07:42 +00:00
Andreas Öman
2b854cb48d Add an electronic program guide (EPG) to the web interface.
Only for reading yet.
2008-09-08 22:17:37 +00:00
Andreas Öman
7122c27598 Introduce refcounts for events.
We'll need it for doing fast sorting and partial queries of the EPG 
database.
2008-09-07 14:22:21 +00:00
Andreas Öman
1852a6263e Must set e_channel when creating an epg event. 2008-09-05 22:05:56 +00:00
Andreas Öman
b5ce0f89f9 Initial XMLTV support 2008-09-05 16:02:41 +00:00
Andreas Öman
c2f667b9ce Remove stray debug printf 2008-09-02 20:47:27 +00:00
Andreas Öman
3f66f6d810 Revamp EPG framework. Much simpler (and faster) now. 2008-09-02 20:32:54 +00:00
Andreas Öman
e544180acf Add channel configuration and setup.
htsclient.c is now no longer supported.
2008-08-26 14:15:33 +00:00
Andreas Öman
e7e4b9f710 Remove the conecpt of channel groups, it's too inflexible 2008-08-25 20:37:19 +00:00
Andreas Öman
d517f22827 Add support for destroying channels 2008-05-03 06:00:07 +00:00
Andreas Öman
b8a93bef06 Compile with '-Wmissing-prototypes' and fix all fallout 2008-05-02 19:37:23 +00:00
Andreas Öman
3c9bd1473a epg_mutex is no longer needed 2008-04-27 13:44:59 +00:00
Andreas Öman
7c5965e915 Use better locking and set channel icon 2008-04-27 13:43:50 +00:00
Andreas Öman
d042b9d420 Fix transfer of events from XML-TV to mail event database 2008-04-19 14:52:09 +00:00
Andreas Öman
dc86a566fa Add support for autorecording rules 2008-02-13 21:38:41 +00:00
Andreas Öman
448fe2faf9 Replace the 'content guide' with a much more powerful search tab 2008-02-12 14:28:30 +00:00
Andreas Öman
b58371f4e8 Add content based TV guide in HTML interface 2008-02-10 20:01:29 +00:00
Andreas Öman
2e0c9fa636 Add support for content type for events.
This is (and will be) based on the content types described in EN 300 468

Still a lot to do
2008-02-10 15:11:02 +00:00
Andreas Öman
08c24d441c Initial HTSP async support 2008-01-14 19:07:46 +00:00
Andreas Öman
432ed9d9a6 avoid memory corruption 2007-12-07 10:36:08 +00:00
Andreas Öman
47a39092fe introduce 'channel group' concept. Not used yet though 2007-12-02 14:31:28 +00:00
Andreas Öman
78012e1d37 remove lots of annoying log 2007-11-20 15:17:11 +00:00
Andreas Öman
900c7f6fff add epg_event_find_current_or_upcoming() - find current or upcoming event on a channel 2007-11-04 09:35:21 +00:00
Andreas Öman
6e6a2de48f Rewrite all of the tvheadend packet internals
- Use an internal packet format instead of passing around TS packets
- Use an on-disk storage for pause/seek of live TV
- Fix RTSP interface
- Fix h264 recording
- Set correct DTS/PTS on all packets
2007-10-27 07:40:30 +00:00
Andreas Öman
5f4f94f5b6 Do not crash if event name is NULL 2007-09-24 17:13:21 +00:00
Andreas Öman
119704586b correctly notify htsclients when a channel switches to a new event 2007-09-17 21:07:31 +00:00
Andreas Öman
9468a5af21 rename clients_enq_ref() to clients_send_ref() which is more appropriate 2007-09-17 20:48:19 +00:00
Andreas Öman
0904a4fb35 dont crash if there are no more programs in queue 2007-09-08 04:33:00 +00:00
Andreas Öman
91c3960026 fix compile (shame on me) 2007-08-31 18:24:35 +00:00
Andreas Öman
27600110c9 dont crash if even goes away 2007-08-31 15:14:58 +00:00
Andreas Öman
3bb1102127 correctly change duration if it changes 2007-08-30 07:27:01 +00:00
Andreas Öman
c1459edf79 dont mess with event if it is free'd (thanks valgrind !) 2007-08-27 17:05:26 +00:00
Andreas Öman
ce73b4cde6 revive icon support 2007-08-18 12:04:29 +00:00
Andreas Öman
c5d551bd21 Fix a typo in syslog format 2007-08-17 06:33:03 +00:00
Andreas Öman
fa329cec17 Major rework, as follows:
- Add automatic DVB mux scanning
- Rename "programme" to "event" (more consistent with DVB specs)
- Improve showtime client interface
- Add decent timers
- Fix UTF-8 conversion issues at various places
- Improve EPG (Join DVB and XMLTV to same lists)
2007-08-16 10:59:06 +00:00
Andreas Öman
4cfe313f05 Initial tvheadend 2007-08-09 15:42:01 +00:00