[mythtv-users] Why isn't LiveTV as smart as a regular recording?

Jelle De Loecker skerit at kipdola.com
Thu Nov 13 13:45:33 UTC 2008


Op woensdag 12-11-2008 om 22:45 uur [tijdzone -0500], schreef Daniel
Kristjansson:
> 
> Those are used for all recordings. You probably don't need to look
> at channelbase.cpp much at all, but you likely need to look at
> channelbase.h, dtvchannel.h and dvbchannel.h just to grok the tuning
> interface. The majority of the code to implement a smarter LiveTV
> would be in tv_rec.cpp and tv_play.cpp.
> 
> Good Luck!
> 
> -- Daniel
> 
> BTW To the guy who learned Visual Basic in school. I've found that
> having some feature I wanted in a complex program in a language I don't
> understand is the best way to learn a new computer language. The feature
> you want keeps you motivated at the start, and having a program that
> you are trying to figure out, both helps you learn the syntax and more
> importantly the down in the trenches conventions for using the language
> successfully.

That would be me :)

You're correct. I just spent multiple hours trying to understand those
files, and it IS kind of fun. Changing a few things, seeing what it
does, ...
I just wish time didn't progress as quickly as it's doing now! :)

Anyway, I've created a dirty hack. A *very* dirty hack.

Depending on how your virtual tuners are sorted, this kind of disables
MultiRec for LiveTV.

Eg: When it tries to tune a channel, but it fails on the first tuner it
tries, this patch tells it to ignore not only that tuner but the entire
device.
So yes, even if this channel IS on the same multiplex and it could just
use another virtual tuner of the same device.

Not at all pretty, but it currently works on my 2-frontend install.

I plan on using many more frontends, so I'll continue my quest for a
real, good fix.

In the mean time, anyone who wants to take a look at this problem too is
more than welcome to share his or her thoughts with me. 

And saying "it doesn't work" isn't helpful and not surprising, as it's a
dirty hack.

Greetings,
Jelle De Loecker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: multi-live-switch-1.patch
Type: text/x-patch
Size: 3240 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20081113/33f48823/attachment.bin 


More information about the mythtv-users mailing list