]> git.ipfire.org Git - thirdparty/tvheadend.git/log
thirdparty/tvheadend.git
12 years agofilebundle: reverse changes made in PR283 release/3.4 304/head 3.4patch1
Adam Sutton [Fri, 5 Jul 2013 08:33:49 +0000 (09:33 +0100)] 
filebundle: reverse changes made in PR283

The zlib input buffer is not defined const, therefore the extra malloc/memcpy
is required.
(cherry picked from commit 595623391773378659dadd4243994c88e831289f)

12 years ago- Fix - finally I remember what the purpose of that assert was.
Benny Morgan [Tue, 2 Jul 2013 21:27:28 +0000 (23:27 +0200)] 
- Fix - finally I remember what the purpose of that assert was.
(cherry picked from commit 5ddd07362128864b87c2e64fa594817457c624f6)

12 years ago- Remove assert - don't see why that assert should be - it only makes tvheadend crash...
Benny Morgan [Tue, 2 Jul 2013 21:19:32 +0000 (23:19 +0200)] 
- Remove assert - don't see why that assert should be - it only makes tvheadend crash for me
(cherry picked from commit 360ca58ad1335629afb5dc80eca0330d6cc382e3)

12 years ago- Move dvb_charset_list from dvb_charset.h to dvb_charset.c, and make it static
Benny Morgan [Sun, 30 Jun 2013 20:16:02 +0000 (22:16 +0200)] 
- Move dvb_charset_list from dvb_charset.h to dvb_charset.c, and make it static
(cherry picked from commit e47ddddb7c761647810f83ff7dcbb7008c02aa67)

12 years ago- Fix - allocate space for the '\0' character for tvheadend_webroot
Benny Morgan [Sun, 30 Jun 2013 20:13:20 +0000 (22:13 +0200)] 
- Fix - allocate space for the '\0' character for tvheadend_webroot
(cherry picked from commit 3b38a9e0128fb88f14a6e52c3fc83853e5cc03ed)

12 years ago- Fix - In case that num parameter was NULL, epg_episode_num_deserialize funcion...
Benny Morgan [Sun, 30 Jun 2013 19:55:24 +0000 (21:55 +0200)] 
- Fix - In case that num parameter was NULL, epg_episode_num_deserialize funcion would return newly calloc'd
  epg_episode_num_t, but it's never used like this, so better remove the calloc, and make it void return.
(cherry picked from commit 4f3cf8e695114ff70079ec92fdf81352525d0904)

12 years ago- Fix - exchange a fixed malloc(50) to char addrstr[50] - no need for malloc here
Benny Morgan [Sun, 30 Jun 2013 19:52:21 +0000 (21:52 +0200)] 
- Fix - exchange a fixed malloc(50) to char addrstr[50] - no need for malloc here
(cherry picked from commit e894b0130655baf67972af01105d04ace2dd5e16)

12 years ago- Fix - exchange char* portBuf = malloc(6) to char* port_buf[6] - no need for malloc...
Benny Morgan [Sun, 30 Jun 2013 19:50:58 +0000 (21:50 +0200)] 
- Fix - exchange char* portBuf = malloc(6) to char* port_buf[6] - no need for malloc here
(cherry picked from commit 6fc536e01423bc132c6b97c94286375cb97044c3)

Conflicts:

src/tcp.c

12 years ago- Fix - buf is assigned to to cm->cm_data with is defined 'uint8_t cm_data[CWS_NETMS...
Benny Morgan [Sun, 30 Jun 2013 19:49:08 +0000 (21:49 +0200)] 
- Fix -  buf is assigned to to cm->cm_data with is defined 'uint8_t cm_data[CWS_NETMSGSIZE];' part of the cwc_message_t, never malloc'd and should be free'd
(cherry picked from commit 61491f394a92bfe20b18b61d2a130bf3a670efdc)

12 years ago- Fix - instead of make a fixed malloc(50), just do a char addrstr[50]
Benny Morgan [Sun, 30 Jun 2013 19:41:16 +0000 (21:41 +0200)] 
- Fix - instead of make a fixed malloc(50), just do a char addrstr[50]
(cherry picked from commit 97af8f63e31e9c17f74994c053a7dd216707c62b)

12 years ago- Fix memory leak - st->es_section allocated in tsdemux.c - line 108, was not free'd
Benny Morgan [Sun, 30 Jun 2013 19:39:34 +0000 (21:39 +0200)] 
- Fix memory leak - st->es_section allocated in tsdemux.c - line 108, was not free'd
(cherry picked from commit 55a0e92a67b7e29b7606a1ac1787415d25c8ef8f)

12 years ago- Fix memory leak - After cwc_running is set to 0 in capmt_destroy, capmt and capmt...
Benny Morgan [Sun, 30 Jun 2013 19:35:43 +0000 (21:35 +0200)] 
- Fix memory leak - After cwc_running is set to 0 in capmt_destroy, capmt and capmt->id was not free'd
(cherry picked from commit 19b39e415981240b8178d557879f7f1d9b78320c)

12 years ago- Fix memory leak - In case that img is already in cache, img->url was not free'd
Benny Morgan [Sun, 30 Jun 2013 19:31:49 +0000 (21:31 +0200)] 
- Fix memory leak -  In case that img is already in cache, img->url was not free'd
(cherry picked from commit edd4816065d60894a40fd9d6304b3f19483b2b80)

12 years ago- Fix memory leaks - Some fields in tda was not free'd. tda_rootpath, tda_fe_path...
Benny Morgan [Sun, 30 Jun 2013 19:19:15 +0000 (21:19 +0200)] 
- Fix memory leaks -  Some fields in tda was not free'd. tda_rootpath, tda_fe_path, tda_demux_path and tda_dvr_path
(cherry picked from commit 21a622986fcf8ec28b0b3ea6bb37d0148e3cb417)

12 years ago- Fix memory leak - cfg is was free'd allocated in dvr_config_create - line 1218
Benny Morgan [Sun, 30 Jun 2013 19:11:22 +0000 (21:11 +0200)] 
- Fix memory leak -  cfg is was free'd allocated in dvr_config_create - line 1218
(cherry picked from commit 94be891496238fd814810fffa9900da61427dd4d)

12 years ago- Fix memory leak - in case htmsg_binary_des0 return's something < 0, n and f was...
Benny Morgan [Sun, 30 Jun 2013 19:09:09 +0000 (21:09 +0200)] 
- Fix memory leak -  in case htmsg_binary_des0 return's something < 0, n and f was not free'd
(cherry picked from commit 8fd70d013fa2263b0b11f5f128ba4f94f5570a9c)

12 years ago- Fix memory leak - dtf in tda->tda_table_feed queue, malloc'd in dvb_adapter.c ...
Benny Morgan [Sun, 30 Jun 2013 18:18:13 +0000 (20:18 +0200)] 
- Fix memory leak - dtf in tda->tda_table_feed queue, malloc'd in dvb_adapter.c - line 1115 was not free'd
(cherry picked from commit 901473d7e711b82124b7215f62e758c05b31317d)

12 years ago- Fix memory leak - free tda->tda_fe_info in dvb_adapter_destroy
Benny Morgan [Sun, 30 Jun 2013 18:15:13 +0000 (20:15 +0200)] 
- Fix memory leak - free tda->tda_fe_info in dvb_adapter_destroy
(cherry picked from commit 84e851df05beb85094fc76a3110cef6a793eb221)

12 years ago- Fix memory leak - cwc->cwc_id and cwc->cwc_viaccess_emm.shared_emm may are not...
Benny Morgan [Sun, 30 Jun 2013 18:10:56 +0000 (20:10 +0200)] 
- Fix memory leak -  cwc->cwc_id and cwc->cwc_viaccess_emm.shared_emm may are not free'd on cleanup
(cherry picked from commit 6dbd6a3cf837c341618239a3863ade74214ab8ee)

12 years ago- Fix memory leak - free cwc->cwc_cryptoworks_emm.shared_emm before set to NULL,...
Benny Morgan [Sun, 30 Jun 2013 18:07:38 +0000 (20:07 +0200)] 
- Fix memory leak - free cwc->cwc_cryptoworks_emm.shared_emm before set to NULL, if not NULL it must be malloc'd on line 1839 (case 0x84)
(cherry picked from commit 7eab6185e9c8a3399969cc9d30d8a4fdf9c892ef)

12 years agoDescription tag fix
pete [Sun, 23 Jun 2013 16:05:26 +0000 (19:05 +0300)] 
Description tag fix
(cherry picked from commit c58e7cbf090cd996b6ae442da0ad80dff1a32080)

12 years agodvb: fix mistake in NIT processing.
Adam Sutton [Fri, 10 May 2013 14:10:54 +0000 (15:10 +0100)] 
dvb: fix mistake in NIT processing.

This was stopping some DVB-C networks from being properly scanned.
(cherry picked from commit 84c1c05d73232d4d0e34bbd587892bb019f0abb5)

12 years agosupport: remove natty and add raring to the build list
Adam Sutton [Mon, 22 Apr 2013 09:06:58 +0000 (10:06 +0100)] 
support: remove natty and add raring to the build list
(cherry picked from commit a2ccbb2de6eb50f7506f6da018625778cc6b4f8f)

12 years agodvb: remove the create only tv/radio services, this was a bad idea!
Adam Sutton [Thu, 18 Apr 2013 14:21:59 +0000 (15:21 +0100)] 
dvb: remove the create only tv/radio services, this was a bad idea!
(cherry picked from commit c83b0cba2f0c8092b6a96828aef327ec8bb4c3b4)

12 years agotdt: some changes to SDT processing to pick up unknown services
Adam Sutton [Tue, 16 Apr 2013 20:25:56 +0000 (21:25 +0100)] 
tdt: some changes to SDT processing to pick up unknown services
(cherry picked from commit b672a9da50915d7be6e35ffedf75669067803187)

Conflicts:

src/dvb/dvb_tables.c

12 years agoservices: include info from SDT (for Other services) if they already exist.
Adam Sutton [Tue, 16 Apr 2013 20:50:52 +0000 (21:50 +0100)] 
services: include info from SDT (for Other services) if they already exist.

Services can be added from a variety of other tables which probably indicates
that they are in fact valid TV/Radio services, but we just don't know the
type.

This might help people to map these services manually within TVH.
(cherry picked from commit 34e7acc08729f7ea114141eefbe6a364758a6518)

12 years agoxmltv: fixed episode/season count being off by one.
John Törblom [Tue, 16 Apr 2013 11:41:36 +0000 (13:41 +0200)] 
xmltv: fixed episode/season count being off by one.
(cherry picked from commit cbae62c053aba1386fcb47b65df28b37ce5c1f4c)

12 years agodvb: remove the create only tv/radio services, this was a bad idea! v3.4
Adam Sutton [Thu, 18 Apr 2013 14:21:59 +0000 (15:21 +0100)] 
dvb: remove the create only tv/radio services, this was a bad idea!
(cherry picked from commit c83b0cba2f0c8092b6a96828aef327ec8bb4c3b4)

Conflicts:

src/dvb/dvb_tables.c

12 years agodocs: some minor documentation updates
Adam Sutton [Thu, 18 Apr 2013 12:25:14 +0000 (13:25 +0100)] 
docs: some minor documentation updates
(cherry picked from commit d4883d9d6b3eb8ed1b0e85aeb4d297028c91e830)

12 years agodocs: update documentation with new domain name and paypal link
Adam Sutton [Thu, 18 Apr 2013 12:02:22 +0000 (13:02 +0100)] 
docs: update documentation with new domain name and paypal link
(cherry picked from commit 89b18c05ca4a351db0f4ba8c423e9ec29759cd94)

Conflicts:

docs/html/overview.html
docs/html/sysreq.html
support/changelog

12 years agotdt: ignore other network in NIT this causes havoc with DVB-S networks.
Adam Sutton [Tue, 16 Apr 2013 20:11:11 +0000 (21:11 +0100)] 
tdt: ignore other network in NIT this causes havoc with DVB-S networks.

This is particularly true where the other network is only available
via another orbital position (we could check for this) but it also
causes problems with other transmission types so I think we'll just
ignore for now.
(cherry picked from commit 3581869d83831f80dd7564ea4bb2a25b68ecf087)

12 years agohtsp: bump version number due to imagecache fix 3.4beta7
Adam Sutton [Mon, 15 Apr 2013 15:23:10 +0000 (16:23 +0100)] 
htsp: bump version number due to imagecache fix
(cherry picked from commit c80088ac2396a453a8d8fcd84db259821d14e467)

12 years agohtsp: fix bug causing imagecache file open to crash.
Adam Sutton [Mon, 15 Apr 2013 11:13:44 +0000 (12:13 +0100)] 
htsp: fix bug causing imagecache file open to crash.
(cherry picked from commit 82a1edd132d5531823e3673fbb9c08105780e59c)

12 years agoFixes the implicit declaration of function 'llabs' warning when using older gcc versions
virtualdj [Thu, 6 Dec 2012 21:12:26 +0000 (22:12 +0100)] 
Fixes the implicit declaration of function 'llabs' warning when using older gcc versions
(cherry picked from commit 9c325854495a47b2ee8a41c6486b5e985df795a9)

12 years agoIssue #1692 - dvb: fix DVB v3 builds
Adam Sutton [Wed, 10 Apr 2013 20:06:20 +0000 (21:06 +0100)] 
Issue #1692 - dvb: fix DVB v3 builds
(cherry picked from commit 46704009e12c40ddc54792a99b0a912f2aa3c12c)

12 years agodvr: attempt to stop new DVR code creating false entries 3.4beta6
Adam Sutton [Mon, 8 Apr 2013 18:38:50 +0000 (19:38 +0100)] 
dvr: attempt to stop new DVR code creating false entries
(cherry picked from commit 9abf21525aade2f7bb54cc931960270237048b53)

Conflicts:

src/dvr/dvr_db.c

12 years agodvb: adapter notification happening at wrong point meant UI not always updated
Adam Sutton [Sun, 7 Apr 2013 21:10:21 +0000 (22:10 +0100)] 
dvb: adapter notification happening at wrong point meant UI not always updated
(cherry picked from commit 7588429c334246f5ab5544083b85a6548b71742d)

12 years agodvb: redo sdt parser to make it more robust
Adam Sutton [Tue, 9 Apr 2013 13:59:22 +0000 (14:59 +0100)] 
dvb: redo sdt parser to make it more robust

Fixes some problems reported in #hts regarding missing services
(cherry picked from commit 13fad234d5a6a9325fe6275e35d67ef613895e82)

Conflicts:

src/dvb/dvb_tables.c

12 years agocapmt: fix capmt for multi-frontend adapters 3.4beta5
BtbN [Sat, 6 Apr 2013 03:14:51 +0000 (05:14 +0200)] 
capmt: fix capmt for multi-frontend adapters
(cherry picked from commit 63b35164bdf03ae6d1296b3e5d7c16281165e0ca)

12 years agoFix #1679 - correct mistake in previous changes to stop constant IO
Adam Sutton [Thu, 4 Apr 2013 14:46:46 +0000 (15:46 +0100)] 
Fix #1679 - correct mistake in previous changes to stop constant IO

TSID was not being properly updated, which could result in missing
services.
(cherry picked from commit 8bceacd96966211eddbd5cb1784e0f3864451483)

12 years agodvb: fix problem stopping DVB-S muxes being added on DVB v3 systems
Adam Sutton [Wed, 3 Apr 2013 09:00:46 +0000 (10:00 +0100)] 
dvb: fix problem stopping DVB-S muxes being added on DVB v3 systems
(cherry picked from commit 23f788ff2b354fe1812ebaf2d934330fe0ff9404)

12 years agosupport: some updates to build system 3.4beta4
Adam Sutton [Wed, 27 Mar 2013 09:45:24 +0000 (09:45 +0000)] 
support: some updates to build system
(cherry picked from commit 4e7506abbed9faa65d9230ca9b406469403e94d9)

Conflicts:

support/apt-update

12 years agoFix #1674 - remove spurious (info) log message before daemon().
Adam Sutton [Wed, 27 Mar 2013 09:13:32 +0000 (09:13 +0000)] 
Fix #1674 - remove spurious (info) log message before daemon().
(cherry picked from commit 43326e2d4580d7d3a8af815c212ea2317d82544d)

12 years agodvb: demux setup code went missing!
Adam Sutton [Thu, 28 Mar 2013 11:03:05 +0000 (11:03 +0000)] 
dvb: demux setup code went missing!
(cherry picked from commit e9ce02138e81d0dd94a2b155e57fda282063c008)

12 years agogtimer: fix live lock problem caused by wrong clock usage
Adam Sutton [Thu, 28 Mar 2013 10:59:48 +0000 (10:59 +0000)] 
gtimer: fix live lock problem caused by wrong clock usage
(cherry picked from commit 21e1e548caed34efb7b90aa650d06f12797d5f30)

12 years agocwc: syslog: move some log messages to debug 3.4beta3
Stefan Saraev [Wed, 13 Mar 2013 19:30:55 +0000 (21:30 +0200)] 
cwc: syslog: move some log messages to debug
(cherry picked from commit 484b3f6d23971144fa538ae9172a772a6bbd307a)

12 years agobuild: disable libav by default for 3.4
Adam Sutton [Tue, 26 Mar 2013 10:34:42 +0000 (10:34 +0000)] 
build: disable libav by default for 3.4

12 years agoxmltv: fixed parsing of star-rating
John Törnblom [Thu, 7 Mar 2013 22:36:30 +0000 (23:36 +0100)] 
xmltv: fixed parsing of star-rating

12 years agoIssue #1666 - dvb: rework the adapter tuning to stop possible deadlock
Adam Sutton [Fri, 22 Mar 2013 12:12:29 +0000 (12:12 +0000)] 
Issue #1666 - dvb: rework the adapter tuning to stop possible deadlock
(cherry picked from commit 75856cd5a6ae53cd7103140d06dfd0b2f77ff55f)

12 years agogtimer: increased resolution of the gtimer system.
Adam Sutton [Fri, 22 Mar 2013 10:50:03 +0000 (10:50 +0000)] 
gtimer: increased resolution of the gtimer system.

This is needed to resolve a dvb tuner deadlock issued caused by my
re-jigging of the tuning setup code.
(cherry picked from commit 4f2f68a4b65a9ab5ecce80c867b9d7813de665a3)

12 years agoFix #1643 - dvb: alter the way we handle dvb tuning
Adam Sutton [Wed, 13 Mar 2013 19:36:59 +0000 (19:36 +0000)] 
Fix #1643 - dvb: alter the way we handle dvb tuning

This ensures that demux filters are not installed until after tuning
is locked. This should resolve most stale data issues.
(cherry picked from commit ddc466c1bfa7405563a68a662114f5a3659d7cb5)

12 years agoFix #1660 - dvb: stop constant updating of dvb mux configuration files
Adam Sutton [Tue, 12 Mar 2013 15:35:21 +0000 (15:35 +0000)] 
Fix #1660 - dvb: stop constant updating of dvb mux configuration files
(cherry picked from commit 07cdfdaf6af06ae08a779ccc9082a517757c6fd3)

12 years agoFix #1657 - timeshift: add constant length qualifier to avoid warning on some arch's
Adam Sutton [Sun, 10 Mar 2013 19:18:48 +0000 (19:18 +0000)] 
Fix #1657 - timeshift: add constant length qualifier to avoid warning on some arch's
(cherry picked from commit 819b8c83948becde08a6fdfad0228fd7607693ca)

12 years agodvb: fix mistake in dvr close commit (wasn't restarting thread)
Adam Sutton [Sun, 10 Mar 2013 19:18:21 +0000 (19:18 +0000)] 
dvb: fix mistake in dvr close commit (wasn't restarting thread)
(cherry picked from commit 1c9e85b326874b7a6178fd73c28feae0aed3318b)

12 years agodvr: another minor improvement to epg/dvr relinking
Adam Sutton [Fri, 8 Mar 2013 21:59:37 +0000 (21:59 +0000)] 
dvr: another minor improvement to epg/dvr relinking

Realised that we don't need to update things that are no longer
scheduled (i.e. complete).
(cherry picked from commit ab7302ec99587576f76d22d03bd6853769868432)

12 years agodvr: ensure unlinked entry updates are properly handled
Adam Sutton [Fri, 8 Mar 2013 21:56:11 +0000 (21:56 +0000)] 
dvr: ensure unlinked entry updates are properly handled

previously it updated things that were already linked and also on
different channels entirely.
(cherry picked from commit 6c6e0541be21fc574241c3c244f2b28c24db2021)

12 years agodvb: fix problems with dvb satconf processing and storage
Adam Sutton [Mon, 4 Feb 2013 17:04:53 +0000 (17:04 +0000)] 
dvb: fix problems with dvb satconf processing and storage
(cherry picked from commit aac905c18488e90ebb467de9c3e2eece4f1fd5ac)

12 years agoFix #1643 - dvb: close dvr device on each re-tune
Adam Sutton [Fri, 25 Jan 2013 10:47:20 +0000 (10:47 +0000)] 
Fix #1643 - dvb: close dvr device on each re-tune
(cherry picked from commit 55ed28cb53307f77c7c767cd6f87f56b15951bcd)

12 years agoFix #1444 - dvr: ensure that DVR entries are not removed when EPG is updated
Adam Sutton [Fri, 8 Mar 2013 17:26:05 +0000 (17:26 +0000)] 
Fix #1444 - dvr: ensure that DVR entries are not removed when EPG is updated

previously an overlapping (replacement) event could result in the DVR
entry being completely removed. This will now ensure that the original
entry is left in place (with just info and times).

It will also try and re-match with an EPG entry as and when it can.
(cherry picked from commit a0a7539a731c6e84b8e0a3a95b1c1655a12515c7)

12 years agotimeshift: add return to live function to HTSP
Adam Sutton [Thu, 7 Mar 2013 16:42:59 +0000 (16:42 +0000)] 
timeshift: add return to live function to HTSP
(cherry picked from commit 404316f08f0b5c30b94dd4c5983c2359f3a51de2)

12 years agotimeshift: minor mod to htsp to flush output buffer on skip
Adam Sutton [Thu, 7 Mar 2013 15:10:37 +0000 (15:10 +0000)] 
timeshift: minor mod to htsp to flush output buffer on skip
(cherry picked from commit c862269c622579629a2ca80c3bfe521a751cb8ba)

12 years agoserviceprobe: add NULL ptr check on dvb mux to be safe 3.4beta2
Adam Sutton [Fri, 8 Mar 2013 17:15:39 +0000 (17:15 +0000)] 
serviceprobe: add NULL ptr check on dvb mux to be safe
(cherry picked from commit 1508fd6166b77965e65e1ea210bd84051b17d7aa)

12 years agocwc: cryptoworks - remove double malloc in the emm code
Jaroslav Kysela [Fri, 8 Mar 2013 10:56:09 +0000 (10:56 +0000)] 
cwc: cryptoworks - remove double malloc in the emm code
(cherry picked from commit 033495993ecf9f85f8ce9afbc908c4987cc37e11)

12 years agotime: hide some debug messages to limit spamming logs
Adam Sutton [Thu, 7 Mar 2013 15:17:09 +0000 (15:17 +0000)] 
time: hide some debug messages to limit spamming logs
(cherry picked from commit f339c08c49d20a1ea0d23d2cb15b1339d2ee7adb)

12 years agoSwap the order of the PAT and PMT packets injected by the passthrough muxer - it...
Dave Chapman [Thu, 7 Mar 2013 14:53:20 +0000 (14:53 +0000)] 
Swap the order of the PAT and PMT packets injected by the passthrough muxer - it is more logical to write the PAT first, followed by the PMT, as that is the order parsers will need to process the packets.
(cherry picked from commit 5d8af1a209a2c40b60252942ad77ff1df4d92712)

12 years agoFix race conditions in _epggrab_ota_finished() and epggrab_mux_next()
Richard Kunze [Tue, 25 Sep 2012 22:37:41 +0000 (00:37 +0200)] 
Fix race conditions in _epggrab_ota_finished() and epggrab_mux_next()
(cherry picked from commit dc75437202d71b79af3b4c85c4d2f6983000d212)

12 years agotimeshift: fix bug that can cause failure when seeking hits start of file
Adam Sutton [Fri, 22 Feb 2013 11:11:10 +0000 (11:11 +0000)] 
timeshift: fix bug that can cause failure when seeking hits start of file

this resulted in a failed read that terminated the timeshift buffer.
(cherry picked from commit 229a8d75d850a1dfd8694959e5e1114c5366f294)

12 years agodvb: fix bug causing failures in service discovery using SDT
John Smith [Thu, 21 Feb 2013 16:22:21 +0000 (16:22 +0000)] 
dvb: fix bug causing failures in service discovery using SDT
(cherry picked from commit 6b94edbaa280f6ddc5b87882e80bf93d00e4ef0d)

12 years agocwc: cleanups and better debug logging 3.4beta1
xhaggi [Thu, 21 Feb 2013 11:48:34 +0000 (12:48 +0100)] 
cwc: cleanups and better debug logging
(cherry picked from commit 14a470efd1da1f9a5c7fd1ae0df8718d4da49ef8)

12 years agocwc: reset prefcapid if service can't be descrambled(cherry picked from commit 667e1c...
xhaggi [Thu, 21 Feb 2013 00:12:43 +0000 (01:12 +0100)] 
cwc: reset prefcapid if service can't be descrambled(cherry picked from commit 667e1c2bad610fdfd443d73b0b945c7c848bfa5c)

12 years agocwc: fixed problem with changed CA pids by provider and prefered CA pid
xhaggi [Wed, 20 Feb 2013 13:24:11 +0000 (14:24 +0100)] 
cwc: fixed problem with changed CA pids by provider and prefered CA pid
(cherry picked from commit b77c68e6e8a453aeefa679b58fe8313044ee5876)

12 years agotimeshift: fix NULL ptr issue
Adam Sutton [Wed, 20 Feb 2013 11:18:30 +0000 (11:18 +0000)] 
timeshift: fix NULL ptr issue
(cherry picked from commit 06f83663c1f8203c2b22be1f6df1dc58a9524cc1)

12 years agoIssue #1622 - timeshift: remove post double list removal
Adam Sutton [Sat, 16 Feb 2013 19:31:24 +0000 (19:31 +0000)] 
Issue #1622 - timeshift: remove post double list removal
(cherry picked from commit dace3778559f705254afde27dcd492db34ac8ab2)

12 years agocapmt: fix crash while trying to open iptv channel with capmt enabled
Stefan Saraev [Sat, 16 Feb 2013 14:06:36 +0000 (16:06 +0200)] 
capmt: fix crash while trying to open iptv channel with capmt enabled
(cherry picked from commit 6aeeb4a4b60748469becef5dddae3955eb2d380f)

12 years agoFix #1605 - timeshift: correct mistake in file refcounting.
Adam Sutton [Fri, 15 Feb 2013 16:39:27 +0000 (16:39 +0000)] 
Fix #1605 - timeshift: correct mistake in file refcounting.
(cherry picked from commit c33880290202d7181b51da968cd6247328225c92)

12 years agosupport: update getmuxlist to work with launchpad.
Adam Sutton [Fri, 15 Feb 2013 14:14:45 +0000 (14:14 +0000)] 
support: update getmuxlist to work with launchpad.
(cherry picked from commit 205dda1b05565ad77d2ed1eaff25366922e76a78)

12 years agowebui: break configuration into multiple super tabs
Adam Sutton [Fri, 15 Feb 2013 12:34:22 +0000 (12:34 +0000)] 
webui: break configuration into multiple super tabs

This is done to limit the total number of tabs on one row which is
leading to problems on smaller displays. I also think its more
logical.

12 years agocomsetics: some updates to --help output.
Adam Sutton [Fri, 15 Feb 2013 11:29:00 +0000 (11:29 +0000)] 
comsetics: some updates to --help output.

Changes are based on suggestions from Vuolter <vuolter@gmail.com>

12 years agoatomic: fix previous merge mistake
Adam Sutton [Fri, 15 Feb 2013 11:24:04 +0000 (11:24 +0000)] 
atomic: fix previous merge mistake

12 years agoCosmetics: epg genre
Vuolter [Sat, 9 Feb 2013 23:59:08 +0000 (00:59 +0100)] 
Cosmetics: epg genre

12 years agoMerge remote-tracking branch 'origin/pr/242'
Adam Sutton [Fri, 15 Feb 2013 11:16:56 +0000 (11:16 +0000)] 
Merge remote-tracking branch 'origin/pr/242'

12 years agoFix #1605 - timeshift: mark file space as free at earliest opportunity.
Adam Sutton [Fri, 15 Feb 2013 10:31:59 +0000 (10:31 +0000)] 
Fix #1605 - timeshift: mark file space as free at earliest opportunity.

Previously the space was only marked as free when the file was physically
removed (which happens async) which resulted in the buffer immediately
being seen as full.

12 years agodvb: some minor corrections to nit scanning.
Adam Sutton [Mon, 11 Feb 2013 17:11:42 +0000 (17:11 +0000)] 
dvb: some minor corrections to nit scanning.

12 years agoFix #1608 - atomic: add workaround for missing intrinsic atomic ops.
Adam Sutton [Sat, 9 Feb 2013 23:18:28 +0000 (23:18 +0000)] 
Fix #1608 - atomic: add workaround for missing intrinsic atomic ops.

12 years agotvhtime: start adding time processing support to TVH
Adam Sutton [Thu, 7 Feb 2013 14:26:23 +0000 (14:26 +0000)] 
tvhtime: start adding time processing support to TVH

12 years agotimeshift: minor addition to atomics (check max size correctly).
Adam Sutton [Sat, 9 Feb 2013 23:22:11 +0000 (23:22 +0000)] 
timeshift: minor addition to atomics (check max size correctly).

12 years agofix compile errors with gcc 4.1.x and 4.2.x 242/head
Andrew Martin [Sun, 10 Feb 2013 09:39:51 +0000 (02:39 -0700)] 
fix compile errors with gcc 4.1.x and 4.2.x

 - tested with gcc 4.1.2, 4.2.1, 4.4.6, 4.6.3 and 4.7.2
 - disable gcc ignore pragma for "-Warray-bounds" if gcc version < 4.3
   - when I took out the pragma tvheadend compiled fine in all the above compilers, but I assume some version of gcc is issuing a false-positive.
   - "-Warray-bounds" was added in gcc 4.3: http://gcc.gnu.org/gcc-4.3/changes.html
 - fixes typo in cmdline help for -C
 - clarify usage of -a in help description

12 years agoinit: added delay option to init
Adam Sutton [Sat, 9 Feb 2013 12:51:14 +0000 (12:51 +0000)] 
init: added delay option to init

12 years agomain: fix possible NULL ptr on startup
Adam Sutton [Sat, 9 Feb 2013 12:48:57 +0000 (12:48 +0000)] 
main: fix possible NULL ptr on startup

12 years agosupport: fix configure args storage.
Adam Sutton [Fri, 8 Feb 2013 15:44:05 +0000 (15:44 +0000)] 
support: fix configure args storage.

12 years agoFix #1574 - imagecache: add option to ignore all invalid SSL certificates
Adam Sutton [Wed, 6 Feb 2013 16:17:51 +0000 (16:17 +0000)] 
Fix #1574 - imagecache: add option to ignore all invalid SSL certificates

12 years agoATSC: In VCT, if tsid is 0, assume it's current mux
Andreas Öman [Wed, 6 Feb 2013 08:22:06 +0000 (03:22 -0500)] 
ATSC: In VCT, if tsid is 0, assume it's current mux

12 years agoAdd support for adding ATSC muxes manually
Andreas Öman [Wed, 6 Feb 2013 08:10:31 +0000 (03:10 -0500)] 
Add support for adding ATSC muxes manually

12 years agoFix #1591 - timeshift: fix mutex deadlock affecting on-demand mode.
Adam Sutton [Mon, 4 Feb 2013 15:19:47 +0000 (15:19 +0000)] 
Fix #1591 - timeshift: fix mutex deadlock affecting on-demand mode.

Note: there is still an issue I've realised in that writer_flush() could
potentially result in a single packet being written out of order as two
threads have the potential to write. This isn't fatal and is probably
rare enough to ignore at this stage.

12 years agoFix #1595 - fix typo in IPV6 check for debian init script
Adam Sutton [Mon, 4 Feb 2013 14:12:16 +0000 (14:12 +0000)] 
Fix #1595 - fix typo in IPV6 check for debian init script

12 years agoFix #1596 - some version of git don't like describe in subdir
Adam Sutton [Mon, 4 Feb 2013 14:11:07 +0000 (14:11 +0000)] 
Fix #1596 - some version of git don't like describe in subdir

12 years agodvb: add a bit more debug to NIT processing
Adam Sutton [Mon, 4 Feb 2013 12:06:46 +0000 (12:06 +0000)] 
dvb: add a bit more debug to NIT processing

12 years agoaccess: add new option to override all ACL
Adam Sutton [Mon, 4 Feb 2013 11:05:35 +0000 (11:05 +0000)] 
access: add new option to override all ACL

This can be quite useful for debug/testing, especially when using
configuration provided by a user (saves deleting ACL files).

12 years agologging: add option to log to separate file, useful for debug.
Adam Sutton [Mon, 4 Feb 2013 11:04:34 +0000 (11:04 +0000)] 
logging: add option to log to separate file, useful for debug.

This can be simpler than using log to syslog OR log to console for
reporting problems.

12 years agoFix #1589 - only remove "unsafe" characters if configured to do so.
Adam Sutton [Sun, 3 Feb 2013 20:10:21 +0000 (20:10 +0000)] 
Fix #1589 - only remove "unsafe" characters if configured to do so.