Commit Graph

173 Commits

Author SHA1 Message Date
Frank Schmirler
3e9e7f7de6 Setting streamer to NULL if TUNE fails should not be necessary 2014-06-23 23:21:56 +02:00
Frank Schmirler
62fa951c61 Fixed initialization of m_StreamType 2014-06-23 23:13:30 +02:00
Frank Schmirler
bfbf19decc Dropped unused function and parameter. 2014-06-22 11:21:02 +02:00
Frank Schmirler
e555017565 Revised class responsibilities: Moved live TV related functions to livestreamer 2014-06-07 00:24:27 +02:00
Frank Schmirler
7be0c81a81 Moved streamer from each individual connection class to cServerConnection 2014-05-18 18:16:51 +02:00
Frank Schmirler
2cdf160648 Configurable buffer for live TV 2014-05-18 15:24:24 +02:00
Frank Schmirler
5fcd6eca69 Updated Slovak translation (closes #1626) 2013-11-25 12:44:22 +01:00
Frank Schmirler
a4a774c6ce Updated Finnish translation (thanks to Rolf Ahrenberg) 2013-11-25 12:40:30 +01:00
Frank Schmirler
c18f7d47e7 Disabled PS remuxer which is said to produce anything but PS 2013-11-17 11:20:42 +01:00
Frank Schmirler
f194ca2074 Added option to suspend live TV when the server starts (closes #1296) 2013-11-02 16:58:17 +01:00
Frank Schmirler
1d4a7e06b4 Set device occupied when streamdev switches away LiveTV on the server, to
reduce the risk that the VDR main loop immediately switches back, resulting
in a black screen on the client (reported by hummel99)
2013-11-01 15:33:19 +01:00
Frank Schmirler
5e5070edc0 Fixed HTTP menu destruction 2013-10-20 17:40:22 +02:00
Frank Schmirler
dfc8339c9e API change of VDR 2.1.2 2013-10-20 00:10:39 +02:00
Frank Schmirler
8c5859ed4a Added HTTP "Server" header 2013-10-02 00:03:39 +02:00
Frank Schmirler
e1ba17ca21 Ignore dummy file extensions (.ts, .vob, .vdr) when parsing HTTP URIs 2013-10-01 23:52:03 +02:00
Frank Schmirler
d3df5d07a1 Redesigned pos= parameter patch for streaming recordings and added missing
bits like HEAD and resume.# support
2013-10-01 23:47:25 +02:00
Frank Schmirler
c92de13d06 Select start position for replaying a recording by parameter pos=
Based on offset_5.diff from hivdr@vdrportal with the following modifications:
- indenting
- replaced isyslog with Dprintf
- left out HTTP header "Server:" for the moment
2013-09-27 17:33:18 +02:00
Frank Schmirler
d7652d89ca Start cSuspendCtl hidden or it will prevent idle shutdown.
As long as a cControl is not hidden, cControl::Control() will return a value
and LastInteract is updated in the VDR main loop.
2013-07-16 13:12:20 +02:00
Frank Schmirler
b25e53c867 Fixed recordings menu inode numbers: ino_t is a long long on some systems 2013-07-16 13:07:58 +02:00
Frank Schmirler
329129d9c1 Updated Slovak translation (closes #1293) 2013-03-19 12:08:01 +01:00
Frank Schmirler
08198729ac Adapted Makefiles to VDR 1.7.36+ (thanks to macmenot). Old makefiles have
been renamed to Makefile-1.7.33 (fixes #1199)
2013-02-27 13:11:23 +01:00
Frank Schmirler
f58086a83a Added simple recordings menu in HTTP server 2013-02-03 12:40:46 +01:00
Frank Schmirler
d3dd72072c Restructured menuHTTP classes 2013-02-03 11:02:25 +01:00
Frank Schmirler
9bbb74b7fd Added RSS format for HTTP menus 2013-02-02 23:28:55 +01:00
Frank Schmirler
176df8341d Recordings can now also be selected by struct stat "st_dev:st_ino.rec" 2013-02-02 22:34:47 +01:00
Frank Schmirler
138580f284 API change of 1.7.28: missed one affected line leading to crashed in VTP
(refs #1226)
2013-02-01 22:28:46 +01:00
Frank Schmirler
9135cde712 Basic support for HTTP streaming of recordings 2012-12-16 13:29:15 +01:00
Frank Schmirler
0cf406ed3a Added #include <string> 2012-12-16 13:21:45 +01:00
Frank Schmirler
1866716471 Close writer when streamer is finished 2012-12-16 13:21:19 +01:00
Frank Schmirler
50d249c62e Don't abort VTP connection if filter stream is broken 2012-12-16 13:12:42 +01:00
Frank Schmirler
0fb7076192 Use std::map at() is not available in old libs. Use find() 2012-12-16 13:09:29 +01:00
Frank Schmirler
f5da0ea1fc Restructured cStreamdevStreamer: Moved inbound buffer into actual subclass. 2012-12-16 12:40:44 +01:00
Frank Schmirler
0677f48329 In cStreamdevStreamer dropped Activate(bool) and moved its code into Start() 2012-12-04 17:21:36 +01:00
Frank Schmirler
eaf9321c4c API change of VDR 1.7.28 2012-12-04 17:19:35 +01:00
Frank Schmirler
83e9f3250f Moved cStreamdevFilterStreamer to livefilter.[hc] 2012-11-24 23:35:10 +01:00
Frank Schmirler
c267b585fd - Return HTTP/1.1 compliant response headers plus some always useful headers
- Return HTTP URL parameters ending with ".dlna.org" as response headers
- Store HTTP URL parameters in a map
2012-11-16 02:00:09 +01:00
Frank Schmirler
be9da74958 Support HTTP HEAD requests with external remuxer 2012-11-02 09:09:15 +01:00
Frank Schmirler
e7bcc9349c Fixed always using priority 0 for HTTP HEAD requests 2012-11-02 09:07:19 +01:00
Frank Schmirler
b614fa0ec3 Start writer right after creating it 2012-11-02 09:02:22 +01:00
Frank Schmirler
84db6323a6 Corrected typos (thanks to Ville Skyttä) 2012-06-28 17:17:59 +02:00
Frank Schmirler
80e40d4260 Updated Italian translation (thanks to Diego Pierotto) 2012-06-13 08:55:33 +02:00
Frank Schmirler
fffd5aef4f Proper fix for "client sends ABRT after TUNE". Obsoletes many hacks in client 2012-05-21 00:42:08 +02:00
Frank Schmirler
6a47e20435 Silenced warning (thanks to Rolf Ahrenberg) 2012-05-17 17:01:15 +02:00
Frank Schmirler
12b48591be Updated Finnish translation (thanks to Rolf Ahrenberg) 2012-05-17 16:59:42 +02:00
Frank Schmirler
c3ac597623 Replaced server-side suspend modes with priority based precedence handling 2012-05-12 12:58:42 +02:00
Frank Schmirler
ae634538f8 Dropped compatibility of streamdev-server with VDR < 1.7.25 2012-05-12 12:58:42 +02:00
Frank Schmirler
316ac3344d Use fileno() to retrieve the fd from a FILE structure (fixes #958) 2012-05-03 08:30:32 +02:00
Frank Schmirler
8719007f5a New special meaning "show current channel" when channel 0 is requested.
Applies to HTTP streaming only (thanks to Rolf Ahrenberg)
2012-04-21 22:47:36 +02:00
Frank Schmirler
a1797719de Using SetOccupied() won't work as it isn't considered in GetDevice(). Trying
to compensate the loss of SetAvoidDevice() with streamdevs CheckConnection(),
ignoring the current live TV device. If a new device is returned it is just
switched to the new channel. Hopefully the main loop will pick it up later,
after streamdev switched aways live TV.
2012-03-11 09:41:33 +01:00
Frank Schmirler
5a3c535778 API change of VDR 1.7.26: Use "occupied" instead of "avoid device". 2012-03-10 23:44:51 +01:00