Commit graph

1736 commits

Author SHA1 Message Date
Adam Sutton
52604cad40 Significant update to the EPG code, now have reference counting and timeouts (not tested) and some general simplifications to the API. 2012-05-25 09:55:24 +01:00
Adam Sutton
1a622f88cd Some bugfixes. Note: currently cannot handle scheduling overlaps. 2012-05-24 14:38:37 +01:00
Adam Sutton
4f03837b39 Significant reworking of EPG code to use an OO style, its still rough and there are quite a few bodges to make it work since its not proper OO (but will be if included in TVH3). 2012-05-24 12:02:22 +01:00
Adam Sutton
f1c505601c Update cron to use u64 config and add error output on pyepg xml parse error. 2012-05-23 16:26:00 +01:00
Adam Sutton
409c1c6839 Some more hacks to the epg javascript to show "extra" info (only concept, not really usable). 2012-05-23 16:25:11 +01:00
Adam Sutton
116af75e5d Added parse stats to pyepg code. 2012-05-23 11:27:54 +01:00
Adam Sutton
9bec890a9c Simple demo to list alternative broadcasts, this is a bit of a hack but gives a useful demo of the capabilties of the new structure and helps in testing too. 2012-05-23 11:18:32 +01:00
Adam Sutton
dc3b948f0f Remove some debug and fix a minor bug. 2012-05-23 11:17:49 +01:00
Adam Sutton
524576eb64 Some updates to improve channel linking and its save/load support. 2012-05-22 17:05:41 +01:00
Adam Sutton
d6ff054ed1 Now have full EPG save/load, I have included internal IDs in all objects though I think they are redundant (and except for broadcast they are not saved). 2012-05-22 16:20:25 +01:00
Adam Sutton
1993459a51 Some further updates to xmltv importer, also added parsing stats. 2012-05-22 13:56:23 +01:00
Adam Sutton
ff3f774524 Start work on epg load/save and also added back in initial xmltv parser. 2012-05-22 10:15:05 +01:00
Adam Sutton
cf73a7802d Fix some problems related to series number parsing. 2012-05-21 14:02:12 +01:00
Adam Sutton
eb2b4c3f24 Some basic per channel searching re-enabled. 2012-05-21 12:30:32 +01:00
Adam Sutton
44e13fe98a Fix stupid time parsing error. 2012-05-21 12:28:52 +01:00
Adam Sutton
439b7f04de Some initial epg_channel_t to channel_t linking. 2012-05-21 11:00:51 +01:00
Adam Sutton
3572241b5e Clear some more redundant code from the channel structure. 2012-05-18 17:32:17 +01:00
Adam Sutton
816396709f Some more additions back into the HTSP, not all underlying code is actually functional. 2012-05-18 17:23:56 +01:00
Adam Sutton
f2012eefa5 Add some HTSP support back in. 2012-05-18 17:05:39 +01:00
Adam Sutton
1458e81787 Added some of the simpleui back in, some additions to epg_broadcast. 2012-05-18 16:52:00 +01:00
Adam Sutton
a0aaa4f631 Some minor changes to code layout, added better epg query support (ala old code) so I can start to get stuff into UI EPG (to help with testing). 2012-05-18 12:24:10 +01:00
Adam Sutton
3c0d93bc24 Some further broadcast/episode linking and started to add back in some UI code just to see what is going on. 2012-05-17 22:20:17 +01:00
Adam Sutton
10e5c8189f Some more work on getting import from pyepg working. I think I have a slightly better idea how things are likely to work. Current broadcast search is probably a bit noddy, but will do for now. 2012-05-17 17:38:35 +01:00
Adam Sutton
5d3b3271de Some import now working, though only in as much as I am creating the various objects. They are not linked and no processing is done on them. 2012-05-17 14:19:07 +01:00
Adam Sutton
c15e564ed3 Basically hack out all code that currently does not work due to partial epg rewrite. 2012-05-17 12:52:21 +01:00
Adam Sutton
a6d6b90de3 Some slight re-arrangements (still wip, not sure of best structure). 2012-05-17 12:35:07 +01:00
Adam Sutton
134e3b880e Initial hack in of new epg data structures, xmltv refs hacked out and some code left in for compat. this will not compile/run. 2012-05-17 12:05:45 +01:00
Adam Sutton
214677a4f5 started work on epggrab module for pyepg (demo). 2012-05-17 12:03:05 +01:00
Adam Sutton
38a8a1cf8f added a few bits of extra support to htsmsg(_xml) processing. 2012-05-17 12:00:40 +01:00
Adam Sutton
05fa94c276 Remove some debug and finish of a few bits and pieces. 2012-05-16 17:00:09 +01:00
Adam Sutton
90889ace17 Start initial work on new epggrab framework. 2012-05-16 16:48:09 +01:00
Andreas Öman
3c341d8b44 Merge pull request #65 from terual/master
Added missing free()s
2012-03-07 06:15:50 -08:00
Bart Lauret
07c618aaa4 added missing free()s 2012-03-07 15:12:48 +01:00
Andreas Öman
405f766e1f Merge pull request #64 from john-tornblom/streaming_mkv_fixes
Some streaming mkv fixes
2012-03-07 05:17:55 -08:00
John Törnblom
841ab9087f skip seekhead for live streams and append epg tags whenever they change. 2012-03-06 18:07:49 +01:00
John Törnblom
19ad4c1262 avoid calling lseek on sockets as a socket is not seekable. 2012-03-06 14:48:58 +01:00
John Törnblom
6e02f496bf for streaming, use the smallest possible cluster size (one cluster per keyframe). 2012-03-06 14:48:10 +01:00
John Törnblom
e6826dca0e Made the maximum cluster size smaller for live streams and even smaller for live audio only streams 2012-03-06 13:57:45 +01:00
John Törnblom
3cea8ad970 Check for null pointers 2012-03-05 17:52:38 +01:00
John Törnblom
115089def3 Log when a http streams starts and stops 2012-03-05 17:51:52 +01:00
John Törnblom
839b164d7b Add meta tags to webstream 2012-03-05 17:34:38 +01:00
John Törnblom
ea617c8e24 fix offset for metainfo when metatags are present. not sure how these values add up but mkvalidator claims they are correct 2012-03-05 17:34:10 +01:00
John Törnblom
54f7b75801 increased initial 'tuning' timeout for http from 5 seconds to 20 seconds 2012-03-05 15:55:41 +01:00
John Törnblom
f104564aa1 Use channel name as title of stream and set the programme name as a tag named TITLE 2012-03-05 15:53:14 +01:00
Andreas Öman
abaf9290cb Merge pull request #60 from john-tornblom/http_mkvmuxing
do matroska muxing of live streams instead of raw TS
2012-03-02 23:27:42 -08:00
Andreas Öman
6162cd255b Merge pull request #61 from john-tornblom/htsp_get_ticket
added a new htsp method, 'getTicket'...
2012-03-02 23:25:42 -08:00
Andreas Öman
612ce06370 Merge pull request #57 from fmeerkoetter/fix_crash_invalid_record_dir
fix segfault due to failed mk_mux_create()
2012-03-02 23:25:15 -08:00
Andreas Öman
e008bc764f Merge pull request #59 from john-tornblom/upstream_fixes
Close file descriptors on various errors
2012-03-02 23:22:13 -08:00
John Törnblom
2309cbf22f added a new htsp method, 'getTicket' that will generate a http access ticket for a channel or recording 2012-03-02 22:19:43 +01:00
John Törnblom
289f6cc203 do matroska muxing of live streams instead of raw TS 2012-03-02 22:13:05 +01:00