diff options
author | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2004-01-18 18:00:00 +0100 |
---|---|---|
committer | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2004-01-18 18:00:00 +0100 |
commit | b8e837dbbbaa8a91c4dc257fde5c0131bedeb23e (patch) | |
tree | 15330a7e170ea0e78c04eff796594b59ec74bf08 /sdt.c | |
parent | a76a03c0d815680e3e8fc52f24f60a30177d3021 (diff) | |
download | vdr-patch-lnbsharing-b8e837dbbbaa8a91c4dc257fde5c0131bedeb23e.tar.gz vdr-patch-lnbsharing-b8e837dbbbaa8a91c4dc257fde5c0131bedeb23e.tar.bz2 |
Version 1.3.2vdr-1.3.2
- Fixed resetting the EPG data versions after changing the preferred languages
(thanks to Teemu Rantanen for reporting this one and helping to debug it).
- Added LinkageDescriptor handling to 'libsi' (thanks to Marcel Wiesweg).
- Added Russian language texts (thanks to Vyacheslav Dikonov).
Plugin authors may want to add the new entries to their I18N texts and contact
the translators to have their texts translated. Note that there are now 17
different OSD languages, so please make sure you have 17 versions for each of
your texts.
- Some corrections and additions to the Finnish OSD texts (thanks to Rolf
Ahrenberg and Niko Tarnanen).
- Fixed a wrong 'delta' value in the call to the shutdown script (thanks to
Stephan Epstein for reporting this one).
- Activated detection of radio channels (to avoid reports about "channels not
being detected that used to be detected with the 'scan' utility or the
original 'autopid' patch ;-).
- Channels with a zero VPID no longer write a PPID into channels.conf.
- Short channel names are now only stored if they actually differ from the
full name.
- The EPG scan now scans newly found transponders together with already existing
ones.
- The "Red" button in the "Setup/EPG" menu can now be used to force an EPG
scan on a single DVB card system (see MANUAL for details).
- The new SVDRP command 'SCAN' can be used to force an EPG scan on a single
DVB card system (see MANUAL under Setup/EPG for details).
- Fixed handling PID changes in 'Transfer Mode'.
- Excess blanks in channel names read from the SDT are now removed.
- Fixed wrong parameter settings when scanning NITs for terrestrial transponders
(thanks to Christian Tramnitz for pointing out this one).
- Fixed some out of bounds parameter settings when scanning NITs for cable
and satellite transponders.
- Added 'libsi' include files to the 'include' directory, so that plugins can
use them (thanks to Marcel Wiesweg).
- Now only processing NITs that contain the transponder they are actually
broadcast on.
- Fixed setting the source type for newly detected terrestrial transponders
(thanks to Christian Tramnitz for his support in debugging this).
Diffstat (limited to 'sdt.c')
-rw-r--r-- | sdt.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: sdt.c 1.4 2004/01/11 14:28:28 kls Exp $ + * $Id: sdt.c 1.7 2004/01/17 17:27:49 kls Exp $ */ #include "sdt.h" @@ -53,7 +53,7 @@ void cSdtFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length SI::ServiceDescriptor *sd = (SI::ServiceDescriptor *)d; switch (sd->getServiceType()) { case 0x01: // digital television service - //XXX TODO case 0x02: // digital radio sound service + case 0x02: // digital radio sound service //XXX TODO case 0x04: // NVOD reference service //XXX TODO case 0x05: // NVOD time-shifted service { @@ -78,11 +78,13 @@ void cSdtFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length } *pn = *ps = 0; pn = NameBuf; - if (*NameBuf && *ShortNameBuf) { + if (*NameBuf && *ShortNameBuf && strcmp(NameBuf, ShortNameBuf) != 0) { *ps++ = ','; strcpy(ps, NameBuf); pn = ShortNameBuf; } + pn = compactspace(pn); + ps = compactspace(ps); if (channel) { channel->SetId(sdt.getOriginalNetworkId(), sdt.getTransportStreamId(), SiSdtService.getServiceId()); if (Setup.UpdateChannels >= 1) |