mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
New special meaning "show current channel" when channel 0 is requested.
Applies to HTTP streaming only (thanks to Rolf Ahrenberg)
This commit is contained in:
parent
2e8aefd2fe
commit
8719007f5a
@ -41,6 +41,7 @@ Rolf Ahrenberg
|
||||
for suggesting increased thread priorities for cStreamdevWriter/Streamer
|
||||
for adding "Hide mainmenu entry" option
|
||||
for polishing po file headers
|
||||
for adding the special meaning "show current channel" to channel 0
|
||||
|
||||
Rantanen Teemu
|
||||
for providing vdr-incompletesections.diff
|
||||
|
2
HISTORY
2
HISTORY
@ -1,6 +1,8 @@
|
||||
VDR Plugin 'streamdev' Revision History
|
||||
---------------------------------------
|
||||
|
||||
- New special meaning "show current channel" when channel 0 is requested.
|
||||
Applies to HTTP streaming only (thanks to Rolf Ahrenberg)
|
||||
- Added streamdev-client support for upcoming streamdev-server versions
|
||||
with purely priority driven precedence.
|
||||
- API change of VDR 1.7.26: "avoid device" is no longer available
|
||||
|
6
README
6
README
@ -231,8 +231,10 @@ streams directly like this:
|
||||
http://hostname:3000/S19.2E-0-12480-898
|
||||
|
||||
The first one will deliver a channel by number on the server, the second one
|
||||
will request the channel by unique channel id. In addition, you can specify
|
||||
the desired stream type as a path to the channel.
|
||||
will request the channel by unique channel id. Use the special channel number 0
|
||||
to see the server's current live TV channel.
|
||||
|
||||
In addition, you can specify the desired stream type as a path to the channel.
|
||||
|
||||
http://hostname:3000/TS/3
|
||||
http://hostname:3000/PES/S19.2E-0-12480-898
|
||||
|
@ -111,6 +111,8 @@ const cChannel* cServerConnection::ChannelFromString(const char *String, int *Ap
|
||||
|
||||
if (isnumber(string)) {
|
||||
int temp = strtol(String, NULL, 10);
|
||||
if (temp == 0)
|
||||
temp = cDevice::CurrentChannel();
|
||||
if (temp >= 1 && temp <= Channels.MaxNumber())
|
||||
channel = Channels.GetByNumber(temp);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user