Recently I found out that quite a lot (15-20%) of my recordings (both new and old) were corrupted (see:
https://tvheadend.org/d/4172-looking-for-software-to-1-repair-ts-files-and-or-2-edit-cut-ts-files).
Part of said recordings were not decrypted like they should have been.
Situation:
* 4 TV-headend installations, all DVB-S2
* 2 Oscam servers: 1 with a Canal Digital (CDS) card, 1 with a TV Vlaanderen (TVV) card.
* some channels are exclusive to the CDS, some exclusive to the TVV card, some mutual.
* 1 recorder is only connected to the CDS oscam, the other 3 to both of them.
I used to include the name of the TV-Headend recorder in the name of the recording, that makes it easier tot troubleshoot.
The problem with the corrupted files
never occurs
* on the recorder that is exclusively linked to the CDS-Oscam server
* on channels that can only be decrypted by the CDS-Oscam.
I often get problems:
* on recordings that can only be decrypted by TVV
* on recordings that can be decrypted by both
So there seems to be something wrong with the Oscam-setup for the TVV card. I have yet to find out if it is hardware related, software related or a config error.
* the good-working Oscam is a Debian VM on my ESXi-server, the bad one a RPi with Raspbian
* the good Oscam has a TBS Phoenix card reader, the bad one a Smargo V2.
* other then that, both Oscam setups are similar, except for a few settings that are specific to CDS or TVV.
I have ordered a second TBS Phoenix cardreader, but it will take some time before it arrives.
In the mean time I would like to avoid the decryption problem as much as I can.
That will be hard to achieve for programs that can only be decrypted by the TVV card, but I hope to be able to achieve that on channels that can be decrypted by both cards.
--
1. Is there a way to tell TVHeadend to look for keys on the good Oscam first, and the bad Oscam next?
The good one is a the top in the CA list, but I don't think that has any effect at all. One of today's recordings still connected to the bad Oscam, even though the channel could also be decrypted by the good Oscam.
I even think another recording connected to both Oscam servers at the same time, even though that channel could only be decrypted by CDS (good) and not TVV (bad). The TVV log is full of 'not found' errors. Is that normal?
Is there another way to tell TVHeadend to look at the good Oscam?
--
2. Is there a way to exclude channels from oscam so that the 'bad' Oscam doesn't even bother and only cares about channels that can not be decrypted by the good oscam?
Thanks!