CableCard version recording unsubscribed channels

Bug #353559 reported by Robert McNamara
256
Affects Status Importance Assigned to Milestone
Mythbuntu
Invalid
Critical
Unassigned

Bug Description

I had the Comcast guy over today and I got the CableCard version of MythTV installed. Everything went great. The Cable guy seemed really impressed at my rats nest of wires, drop amps, and bare hard drives all over the tile floor. He made some comment about really wanting a DVR like this and I am pretty sure he wasn't being sarcastic.

Anyway, great job, guys! I'm able to watch TV in a way I never imaged with a MythBox. CNN, Discovery Channel, Unicorns HD, they're all there.

But you see, that's the problem. There's something wrong with the Mythbuntu Cable Card driver. I'm able to watch ALL the channels on my cable network including those which I have not subscribed to, all of the premiums, and hardcore illegal-in-three states pornography. What's more, it seems multirec works with the cable card so I am able to record MULTIPLE channels which I am not subscribed to at once. I'm pretty worried that the cable company will get mad about this or something.

So my question is, why did the Mythbuntu devs hack in this back door? I'm going to be really mad if you guys get me in trouble. It's pretty disrespectful of the cable companies trust in you guys. I really think this needs a patch, pronto.

visibility: private → public
Revision history for this message
Nick Fox (nickj-fox) wrote :

Confirmed. We will get right on repairing this issue. I expect it to be resolved in approx. 2 hours and 20 minutes.

Changed in mythbuntu:
importance: Undecided → Critical
milestone: none → jaunty-release
status: New → In Progress
Revision history for this message
Robert McNamara (robert-mcnamara) wrote :

Thanks, guys. I've actually found a patch that works here. Applies to current trunk.

Index: libs/libmythtv/dtvrecorder.cpp
===================================================================
--- libs/libmythtv/dtvrecorder.cpp (revision 20297)
+++ libs/libmythtv/dtvrecorder.cpp (working copy)
@@ -11,6 +11,7 @@
 #include "mpegstreamdata.h"
 #include "dtvrecorder.h"
 #include "tv_rec.h"
+#include "cablecardACL.h"

 extern "C" {
 #include "mpegvideo.h"
@@ -92,6 +93,23 @@
                     "Attempt made to resize packet buffer while recording.");
             return;
         }
+
+ if (cablecardACL = 1)
+ {
+ QStringList allowedChannels;
+
+ allowedChannels << cablechannelsSubscribed;
+
+ QString currentchannel = allowedChannels.takeAt(0)
+
+ if (currentchannel = "Unicorns HD")
+ {
+ VERBOSE(VB_IMPORTANT, LOC_ERR +
+ "Unicorns HD detected. Aborting recording...");
+ break;
+ }
+ }
+
         int newsize = max(value - (value % TSPacket::SIZE), TSPacket::SIZE*50);
         unsigned char* newbuf = new unsigned char[newsize];
         if (newbuf) {

A bit hacky, but I think this might work until we get something committed upstream?

Revision history for this message
rhpot1991 (rhpot1991) wrote :

Sadly my local Comcast doesn't offer Unicorns HD, think we can modify this patch to check for 24 on Fox instead? I am sure tgm4883 will second this.

Thomas Mashos (tgm4883)
Changed in mythbuntu:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.