Commit graph

4181 commits

Author SHA1 Message Date
Jaroslav Kysela
6dc94ef3ce muxer: Use fdatasync() instead fsync() to reduce I/O 2014-05-14 20:47:38 +02:00
Jaroslav Kysela
de8d533e51 SAT>IP: Add new options to the help text 2014-05-14 18:17:39 +02:00
Jaroslav Kysela
aa91e53ff9 mux create: do not update mux parameters from multiple origin muxes (nit)
NIT data:

mux: '12109H' : dvb-s2 pos 235E freq 12129000 V sym 275000 fec 2/3 mod 8PSK roff 20
mux: '11739V' : dvb-s2 pos 235E freq 12129000 V sym 275000 fec 2/3 mod 8PSK roff 25

This change avoids the frequent automatic parameter changes using
the origin (first hit) mux which broadcasted the data. The origin
mux is locked for 24 hours from the last update.
2014-05-14 17:59:56 +02:00
Jaroslav Kysela
9a3cfe9486 SAT>IP: fix the full mux streaming outside tvh 2014-05-14 14:29:38 +02:00
Jaroslav Kysela
7d08ccdcc9 Do not trust tsid in the NIT mux delivery descriptor
Reason:

 Thor 0.8W
   onid 1111 (4369) tsid 000B (11)
     dvb-s  pos 8W freq 12090000 H sym 280000 fec 7/8 mod QPSK roff 35
   onid 1111 (4369) tsid 0063 (99)
     dvb-s  pos 8W freq 12092000 H sym 280000 fec 7/8 mod QPSK roff 35

The frequency is same for DVB-S tuners, but tsid in other tables is 11.
2014-05-14 12:36:05 +02:00
Jaroslav Kysela
cbf8dcec5c dvb network: improve satellite position check for auto discovery 2014-05-14 11:54:26 +02:00
Jaroslav Kysela
e86f45400a SAT>IP: improve mux stop 2014-05-14 09:31:18 +02:00
Jaroslav Kysela
215ea49bf4 Do not accept new muxes from different satellite positions in dvb network 2014-05-14 08:48:57 +02:00
Jaroslav Kysela
b0364fb4b2 epggrab: tuning and optimizations
- reduce timeout value for nit to 240
- increase interval value for nit to 3600
- process all waiting muxes in one shot
- add the grace value for satellite positioners
2014-05-14 08:37:52 +02:00
Jaroslav Kysela
b773a41b4e Fixes for the network scan
- improve dvb_network_find_mux() to better distinguish
  the different muxes
- ensure that the new mux matches the network type
2014-05-13 16:09:13 +02:00
Jaroslav Kysela
12c01ab8b4 SAT>IP: Use any UDP port for the UPnP client responses 2014-05-12 17:20:19 +02:00
Jaroslav Kysela
b1ea9d4a2b SAT>IP: OctopusNet - force a delay after teardown 2014-05-12 16:04:36 +02:00
Jaroslav Kysela
851a9b785c SAT>IP: Send M-SEARCH request three times 2014-05-12 15:52:26 +02:00
Jaroslav Kysela
d779ebc7dd SAT>IP: Add USER-AGENT to the M-SEARCH query 2014-05-12 15:29:37 +02:00
Jaroslav Kysela
ce9588e392 SAT>IP: Serialize the tuning - configurable delay 2014-05-12 15:27:51 +02:00
Jaroslav Kysela
b4b70502d4 SAT>IP: Fix the --satip_xml parameter (local IP address) 2014-05-12 11:03:45 +02:00
Jaroslav Kysela
03a69ffec6 dvb support: fix the pilottab[] - none 2014-05-08 23:29:58 +02:00
Jaroslav Kysela
b840fa444d SAT>IP: rtsp - fix the value fraction 2014-05-08 23:29:58 +02:00
Jaroslav Kysela
86a134481d Fix the memory leak in the udp multirecv 2014-05-08 23:29:58 +02:00
perexg
81691e2e1f Merge pull request #382 from VittGam/channelname
Restored ability to subscribe to a channel via HTTP using the channel name.
2014-05-07 17:32:12 +02:00
perexg
afb1bb39bb Merge pull request #383 from scooter1556/master
Check manual priority of adapter before weighting.
2014-05-07 17:26:28 +02:00
Jaroslav Kysela
7acb452120 Merge PR#385 - Freebsd fixes 2014-05-07 17:22:25 +02:00
Nicolas Gilles
455a80f9ca replaced a strdupa with a variable length array 2014-05-07 17:20:36 +02:00
Nicolas Gilles
20e2a668bd add qsort_r wrapper to fix differences between BSD and GNU qsort_r
The order of parameters of both qsort_r and its compar function differ,
the wrapper matches the GNU version and swaps things around on FreeBSD.
2014-05-07 17:20:36 +02:00
Jaroslav Kysela
9f74192d65 IPTV: Add missing url structure initialization 2014-05-07 15:11:55 +02:00
Jaroslav Kysela
de20cfda59 This is merge of PR#341 (esfilter) and PR#369 (SAT>IP) 2014-05-07 14:32:08 +02:00
Jaroslav Kysela
47b97e52a8 Add esfilter (elementary stream filter)
Some feeds (especially from satellite) includes many language mutations
and other elementary streams. It may be useful to define the filters and
order scheme for the streaming and DVR.

The service information dialog is extended to show all PIDs and filtered
PIDs to easy show the used PIDs.

See the included help file for more description.
2014-05-05 22:00:38 +02:00
Jaroslav Kysela
2b37a0610e SAT>IP: Add --satip_xml option to reach tuners behind routers or local blocked UPnP ports 2014-05-05 22:00:38 +02:00
Jaroslav Kysela
25adfaa1fa SAT>IP: Remove the full mux option like in linuxdvb 2014-05-05 22:00:38 +02:00
Jaroslav Kysela
78fcbf5233 SAT>IP: Add Help button to the TV adapters. 2014-05-05 22:00:38 +02:00
Jaroslav Kysela
21ad991222 udp + SAT>IP: better multipacket handling
- improve the recvmmsg() user space implementation
- some changes which may improve operation under high-loads
2014-05-05 22:00:38 +02:00
Jaroslav Kysela
31977de37a SAT>IP: Fix the forced full mux per tuner 2014-05-05 22:00:38 +02:00
Jaroslav Kysela
08e0e4ebfd SATIP: Try to improve the uncorrectable error counter 2014-05-05 22:00:37 +02:00
Jaroslav Kysela
20880cc287 SAT>IP: Added octopusnet hack for DVB-S 2014-05-05 22:00:37 +02:00
Jaroslav Kysela
14f6c1f7bc SAT>IP: DVB-S setup - pass only configured parameters (fec, rolloff, pilot) 2014-05-05 22:00:37 +02:00
Jaroslav Kysela
cfe878319e SAT>IP: Add possibility to define master/slave tuners
The signal from the standard universal LNB can be split using
a simple coaxial splitter (no multiswitch) to several outputs.
In this case, the position, the polarization and low-high band
settings must be equal.

This code adds the master/slave configuration option in the
tuner settings and does the tuner arbitration to preserve
above settings.

Ideally, this arbitration and configuration may be moved to
the generic dvbs input class in future, because all dvb-s
adapters can be wired in this way, but it's more complicated.
2014-05-05 22:00:37 +02:00
Jaroslav Kysela
b8f2fa8461 SAT>IP: Fix bad memory access (wrong char array dimension) 2014-05-05 22:00:37 +02:00
Jaroslav Kysela
a71b2e3001 udp: create multirecv interface 2014-05-05 22:00:37 +02:00
Jaroslav Kysela
140b6983a5 SAT>IP: Fix the weight callback to not block multiple tuners 2014-05-05 22:00:37 +02:00
Jaroslav Kysela
2878c4434d SAT>IP: Move RTP/RTCP UDP bind to udp.c 2014-05-05 22:00:37 +02:00
Jaroslav Kysela
dcb5ee367f SAT>IP : Fix satip_frontend_is_free.. 2014-05-05 22:00:37 +02:00
Jaroslav Kysela
9f962b7e1b upnp: use data.ptr instead data.u64 for poll events 2014-05-05 22:00:37 +02:00
Jaroslav Kysela
ff145046f7 SAT>IP: Added OctopusNet pids hack 2014-05-05 22:00:37 +02:00
Jaroslav Kysela
18c46144f0 scanfile: fix a memory leak 2014-05-05 22:00:36 +02:00
Jaroslav Kysela
a0fb77d83a urlparser: Fixes in URIPARSER 2014-05-05 22:00:36 +02:00
Jaroslav Kysela
f85a8fc4aa SAT>IP: Add the possibility to override tuner type (DVB-T <-> DVB-C) 2014-05-05 22:00:36 +02:00
Jaroslav Kysela
e7082c8d2e http client: fix the error code passed to conn_closed callback 2014-05-05 22:00:36 +02:00
Jaroslav Kysela
20e1abc00c http client: allow HTTP 1.1 to HTTP 1.0 switch 2014-05-05 22:00:36 +02:00
Jaroslav Kysela
a3558b3fe0 udp: fix the bad getaddrinfo call 2014-05-05 22:00:36 +02:00
Jaroslav Kysela
286dd1c1dd SAT>IP: Add support for kernels before 2.6.33 2014-05-05 22:00:36 +02:00