mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Now storing the name of the service provider (aka "bouquet") in the channel name
This commit is contained in:
parent
bf9e7df743
commit
8d508dec84
3
HISTORY
3
HISTORY
@ -2961,3 +2961,6 @@ Video Disk Recorder Revision History
|
||||
"linked services" (let's see if this is useful). Thanks to Mike parker for
|
||||
helping to test this. Also used some input from the 'autopid' patch by Andreas
|
||||
Schultz).
|
||||
- Now storing the name of the service provider (aka "bouquet") in the channel
|
||||
name, separated by a semicolon (see man vdr(5) for details). Explicit usage
|
||||
of the various parts of the channel name is yet to come.
|
||||
|
11
sdt.c
11
sdt.c
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: sdt.c 1.10 2004/07/18 10:58:01 kls Exp $
|
||||
* $Id: sdt.c 1.11 2004/07/18 11:14:42 kls Exp $
|
||||
*/
|
||||
|
||||
#include "sdt.h"
|
||||
@ -69,6 +69,15 @@ void cSdtFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length
|
||||
strcpy(ps, NameBuf);
|
||||
pn = ShortNameBuf;
|
||||
}
|
||||
if (*pn) {
|
||||
char ProviderNameBuf[1024];
|
||||
sd->providerName.getText(ProviderNameBuf, sizeof(ProviderNameBuf));
|
||||
if (*ProviderNameBuf) {
|
||||
char *p = pn + strlen(pn);
|
||||
*p++ = ';';
|
||||
strcpy(p, ProviderNameBuf);
|
||||
}
|
||||
}
|
||||
if (channel) {
|
||||
channel->SetId(sdt.getOriginalNetworkId(), sdt.getTransportStreamId(), SiSdtService.getServiceId());
|
||||
if (Setup.UpdateChannels >= 1)
|
||||
|
7
vdr.5
7
vdr.5
@ -8,7 +8,7 @@
|
||||
.\" License as specified in the file COPYING that comes with the
|
||||
.\" vdr distribution.
|
||||
.\"
|
||||
.\" $Id: vdr.5 1.27 2004/05/15 09:24:57 kls Exp $
|
||||
.\" $Id: vdr.5 1.28 2004/07/18 11:06:54 kls Exp $
|
||||
.\"
|
||||
.TH vdr 5 "1 Jun 2003" "1.2.0" "Video Disk Recorder Files"
|
||||
.SH NAME
|
||||
@ -64,6 +64,11 @@ for this channel, it preceeds the full name and is delimited by a comma,
|
||||
as in
|
||||
|
||||
\fBRTL,RTL Television:...\fR
|
||||
|
||||
If present, the name of the service provider or "bouquet" is appended
|
||||
to the channel name, separated by a semicolon, as in
|
||||
|
||||
\fBRTL,RTL Television;RTL World:...\fR
|
||||
.TP
|
||||
.B Frequency
|
||||
The transponder frequency (as an integer). For DVB-S this value is in MHz. For DVB-C
|
||||
|
Loading…
Reference in New Issue
Block a user