All,
Hi,
Attached is a port to python of the mythtv's dct-tuner code for setting the channel of a Motorola DCT2XXX series set top box using the serial port. I have packaged the code that does the actual tuning as a stand-alone python module that I install in $PYTHONLIB/site-packages, but maybe it would make more sense to package it with the freevo distribution. The code relies on having the pyserial module installed on the system.
In any case, I have attached the code, you can repackage it or throw it out as you see fit. Also attached is a freevo external tuner plugin, dct2224serial.py, that uses the code. It should go in the tv/plugins directory. It is activated by adding a line like the following to local_config.py:
plugin_external_tuner = plugin.activate("tv.dct2224serial")
If anybody who has a Motorola DCT2XXX series set top box wants more detailed instructions, you can go here http://www.dseifert.net/code/serialtuner/ for a write up.
This is great, thanks!! I do not use one of those boxes for my cable but our privider uses them and I can get one for testing from family. In CVS on the trunk we are reworking a lot of the code for TV and channels handling and the external tuner plugins are likely to change some. Nevertheless I will add this to Freevo CVS in the near future, when I can pay some attention to the external tuner plugins after we do some more work on our live TV and recording changes.
For the 1.5.x series this may be a good adition to the addons page.
Thanks again for this contribution, -Rob
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel
