Opened 14 years ago

Closed 14 years ago

#855 closed patch (invalid)

Update for ATSC channel.conf parsing

Reported by: John Pullan <john.pullan@…> Owned by: danielk
Priority: minor Milestone: unknown
Component: mythtv Version:
Severity: medium Keywords: DVB ATSC
Cc: Ticket locked: no

Description

The attached patch should fix ATSC channel.conf parsing. Judging by an example file sent by Steve Adefff

WGBH-HD:583779100:QAM_256:2048:2049:1
WB-HD:583779100:QAM_256:2112:2113:2
UPN-HD:589779400:QAM_256:2368:2369:5
ABC-HD:595779700:QAM_256:2048:2049:1
NBC-HD:595779700:QAM_256:2112:2113:2
FOX-HD:601780000:QAM_256:2048:2049:1
CBS-HD:601780000:QAM_256:2112:2113:2
NECN:757787800:QAM_256:2496:2497:8

there appears to be two extra pids pids before the program source id. (I've also read the code in dvb-apps and this seems correct)

It would be nice if someone could verify this though.

Attachments (1)

dvbconfparser.patch (660 bytes) - added by John Pullan <john.pullan@…> 14 years ago.

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by John Pullan <john.pullan@…>

Attachment: dvbconfparser.patch added

comment:1 Changed 14 years ago by John Pullan <john.pullan@…>

Resolution: invalid
Status: newclosed

Steve Adeff, got back to me , apparently it doesn't work :| Therefore I'm withdrawing this.

TBH it looks like the file isn't quite what he said it was but there you go. I can't debug this so it'll be left.

sorry it took so long, g/f factor and I've been teaching myself PERL, etc....

anyway, doesn't quite work. I get this on the terminal though:
ASSERT: "i <= nodes" in /usr/include/qt3/qvaluelist.h (373)
ASSERT: "i <= nodes" in /usr/include/qt3/qvaluelist.h (373)

don't know if thats important for you.

the problems:
the chanid/channum information is all off. I get multple channels with the
same channum, and they're not the actual channel numbers according to, say,
zap2it.
Running mythfilldatabase doesn't grab an xmltvid number for the stations.
I also believe the freqid needs to be set to the frequency (ie the mplex
info).
dtv_multiplex looks ok, except the last frequency has a transport ID of null
and a network ID of null.


Note: See TracTickets for help on using tickets.