- September 1, 2008
- 21,578
- 8,227
- Home Country
- New Zealand
I'm happy to advise.I'm happy to have a go at fixing it (although I'll probably need to ask a few questions along the way, since I know very little about the internals of TsWriter/the scanning process).
If my guess is correct it should be quite straightforward. In PatParser.cpp in OnSdtReceived, change:
Code:
// check if we already set the sdt for this channel
if (info->SdtReceived) return;
...to...
Code:
// check if we already set the sdt for this channel
if (info->SdtReceived || info->TransportId != sdtInfo.TransportId) return;
Sure, this is open source - you can do what you like! No need to ask for my approval.In the meantime, would it be OK to attach a 'rolled-back' version of MP 1.5 TsWriter here for the benefit of the sat users with the scanning problems ?
Having said that, personally I think it would be better to take a look at the Dish dump to figure out why the EPG is not linked up with the channels correctly. The above modification may well remove the requirement for modifying the TSID. I'm just not sure about the ONID thing.
[edit: ...but having said that, the NID is set from the SDT so if you select the correct SDT record then the NID should be set correctly. I just wonder if Dish has multiple channels with the same SID + TSID combination and different NID values. That would be strange. Hmmm... maybe the above modification will solve all the problems... ]
Last edited: