Commit graph

910 commits

Author SHA1 Message Date
Adam Sutton
beade8b006 Updated various EPG calls to the new API. 2012-05-25 09:55:55 +01:00
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
Richard Kunze
7f34935eb1 Always use the builtin charset conversion 2012-05-18 22:44:26 +02: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
Richard Kunze
99240bdcca remove unused include of iconv.h 2012-05-14 20:51:39 +02:00
Richard Kunze
81e107ecb7 Add builtin charset conversion for systems without sufficient iconv support. Enable with './configure --enable-dvbconv' 2012-05-14 20:51:29 +02:00
Richard Kunze
737115be4c Use "ISO-8859-%d" instead of "ISO_8859-%d" in dvb_iconv_open().
Both GNU libiconv and the minimal iconv implementation in OpenWRT
support the "ISO-8859-*" form for at least some of the encodings
in the ISO 8859 family, but not the "ISO_8859-*" form.

GNU libc supports both forms, so this change does not break
anything when compiling against GNU libc.
2012-05-14 20:51:20 +02:00
Adam Sutton
4ca5dda14a Remove define that breaks build. 2012-05-11 14:51:27 +01:00
Andreas Öman
0e3bb41869 Avoid division by zero 2012-05-05 22:16:14 +02:00
Georgi Chorbadzhiyski
3777a07289 cwc: Add Bulcrypt support. 2012-04-20 18:04:43 +03:00
Andreas Öman
cfa65b2a6f Merge pull request #85 from perexg/fixes-emm
Another four patches to handle EMM/ECM issues, cleanups
2012-04-14 11:25:24 -07:00
Jaroslav Kysela
c8af1f21d4 cwc: do not send ECM requests when NOKs are received
Do not send ECM requests to the card reader when ECMs cannot be read.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2012-04-13 09:05:00 +02:00
Jaroslav Kysela
e5eef814f2 cwc: Use hostname:port notation in log messages
Show all cwc connection information to users.
Multiple card readers can be configured on same IP but different ports.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2012-04-12 14:47:59 +02:00
Jaroslav Kysela
39d1600bf9 cwc: Use only one fastest ECM reader
Use only one - fastest - ECM reader when multiple CA readers/cards are
available for one program.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2012-04-12 14:47:57 +02:00
Jaroslav Kysela
84842c951c cwc: Allow updating of EMMs only from one channel at a time
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2012-04-10 20:57:35 +02:00
Jaroslav Kysela
98dd35342f cwc: Use "per stream" update id for Cryptoworks and Viaccess CA composed emms
This fixes possible shared EMM messages composing issues when multiple
streams are sending EMMs to the card reader. Just make sure, that both
parts of compose messages are from one "stream".

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2012-04-10 20:57:33 +02:00
Andreas Öman
00378579ed Rework file bundling and make configure take most standard args
Now ./configure should be able to be correctly invoked from standard
debian helper rules file
2012-04-10 20:51:09 +02:00
Andreas Öman
0f7689099a Fix the way we generate version tags inside the binary 2012-04-10 20:14:48 +02:00
Andreas Öman
7604e83047 Merge pull request #69 from perexg/fixes-dvrallcfg
Allow restriction for one DVR configuration mapped to one user
2012-04-10 10:39:32 -07:00
Andreas Öman
7dcf7d15f0 Merge pull request #70 from perexg/fixes-mux-copy
Improve copy operation for satellite muxes - allow specify the dst LNB cfg
2012-04-10 10:38:57 -07:00
Andreas Öman
5777a1fe30 Merge pull request #84 from perexg/fixes-emm
cwc: improve EMM handling for multiple readers with same CAS system
2012-04-10 10:29:34 -07:00