Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: VDR 1.2.0 fix: editchannel



Am Fre, 2003-06-06 um 22.59 schrieb Andreas Schultz:
> On Friday 06 June 2003 10:38 pm, Rene Bartsch wrote:
> 
> [...]
> 
> > > most certainly not. And what EPG problem? EPG works here as it should.
> >
> > After scanning a new channels.conf timers and epg-content was gone
> > (files have been there, but VDR didn't display timers or epg anymore).
> 
> The attached patch should fix the timers problem. ChannelID comparision will
> no longer fail on "magic-Rids".
> 
> The EPG Problem is still a mystery. I can't see anything that could cause
> this, unless you start with an incomplete channels.conf (missing tid and nid)
> of course.

I had a channels.conf running without tid/nid (copy and pasted from
origin channels.conf). Then I used the scanner-plugin, which created a
new channels.conf. After that timers and EPG were broken.

But currently (after adding editing-channels- and noosd-fix) I cannot
even do a scan. VDR crashes every time I try to scan. Before it only
happened with vanilla VDR + autopid when "update name+pid" was set.

This is the log of two crashes:

Jun  6 23:04:52 echelon vdr[2603]: ERROR (dvbdevice.c,556): Bad file
descriptor
Jun  6 23:04:52 echelon vdr[2603]: ERROR (dvbdevice.c,557): Bad file
descriptor
Jun  6 23:04:52 echelon vdr[2603]: ERROR (dvbdevice.c,558): Bad file
descriptor
Jun  6 23:04:52 echelon vdr[2603]: ERROR (dvbdevice.c,559): Bad file
descriptor
Jun  6 23:13:45 echelon vdr[2738]: ERROR: channel data not unique!
Jun  6 23:13:45 echelon vdr[2738]: ERROR: error in
/etc/VDR/channels.conf, line 101
Jun  6 23:14:27 echelon vdr[2738]: ERROR (dvbdevice.c,556): Bad file
descriptor
Jun  6 23:14:27 echelon vdr[2738]: ERROR (dvbdevice.c,557): Bad file
descriptor
Jun  6 23:14:27 echelon vdr[2738]: ERROR (dvbdevice.c,558): Bad file
descriptor
Jun  6 23:14:27 echelon vdr[2738]: ERROR (dvbdevice.c,559): Bad file
descriptor


Rene

> 
> Andreas
> 
> ===== channels.c 1.25 vs edited =====
> --- 1.25/channels.c     Fri May 30 21:56:18 2003
> +++ edited/channels.c   Fri Jun  6 22:47:44 2003
> @@ -126,7 +126,8 @@
> 
>  bool tChannelID::operator== (const tChannelID &arg) const
>  {
> -  return source == arg.source && nid == arg.nid && tid == arg.tid && sid == arg.sid && rid == arg.rid;
> +
> +  return source == arg.source && nid == arg.nid && tid == arg.tid && sid == arg.sid && (rid & 0x4000 || arg.rid & 0x4000 || rid == arg.rid);
>  }
> 
>  tChannelID tChannelID::FromString(const char *s)
> 
> 
> 
> -- 
> Info:
> To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.




-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index