Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Dev

Looking for developers familiar with channel scanning and diseqc code

 

 

MythTV dev RSS feed   Index | Next | Previous | View Threaded


peter.brouwer at btconnect

Jul 3, 2009, 2:31 PM

Post #1 of 6 (685 views)
Permalink
Looking for developers familiar with channel scanning and diseqc code

Hello

I am looking for developers who can help me understand the bigger picture of the channels scanning and diseqc code for DVB receivers.
So far it seems quite complex. What I would like to to is add functionality to import the so called satellite.xml file. This file contains a schema listing the known frequencies for the specified satellites in the file. The file is commonly used by DVB satellite receivers running on some form of embedded Linux.
There are various tools around that generate an satellite.xml file from well know sat web pages like lynsat or kingofsats.
Those tools make it very easy to keep on up to date list of known frequencies of sats of your choice.

So being able to import such a file in myth would make the whole channel scanning process much easier.

I also am having problems getting myth to use my rotor using the Usals config option. mythtv-setup works fine, it positins the rotor to the correct sat when channel for channels . Zapping channels via the frontend does not work, i.e. the rotor always stays at the position I lastly used during a channels scan fom mythtv-setup.

The logic and implementation seems hideous complex. Needing to define a source for each new sat in the setup phase.

So I am looking for some help and guidance to understand this functionality/architecture and code implementation in myth , before starting to make changes in it.

Regards
Peter


belcampo at zonnet

Jul 4, 2009, 1:45 AM

Post #2 of 6 (636 views)
Permalink
Re: Looking for developers familiar with channel scanning and diseqc code [In reply to]

Peter Brouwer wrote:
> Hello
>
> I am looking for developers who can help me understand the bigger
> picture of the channels scanning and diseqc code for DVB receivers.
> So far it seems quite complex. What I would like to to is add
> functionality to import the so called satellite.xml file. This file
> contains a schema listing the known frequencies for the specified
> satellites in the file. The file is commonly used by DVB satellite
> receivers running on some form of embedded Linux.
> There are various tools around that generate an satellite.xml file from
> well know sat web pages like lynsat or kingofsats.
> Those tools make it very easy to keep on up to date list of known
> frequencies of sats of your choice.
>
> So being able to import such a file in myth would make the whole channel
> scanning process much easier.
>
> I also am having problems getting myth to use my rotor using the Usals
> config option. mythtv-setup works fine, it positins the rotor to the
> correct sat when channel for channels . Zapping channels via the
> frontend does not work, i.e. the rotor always stays at the position I
> lastly used during a channels scan fom mythtv-setup.
>
> The logic and implementation seems hideous complex. Needing to define a
> source for each new sat in the setup phase.
>
> So I am looking for some help and guidance to understand this
> functionality/architecture and code implementation in myth , before
> starting to make changes in it.
Would also love to have this solved, if VDR, Kaffeine, w_scan and
scan-s2/szap-s2 can do it, reliable switch channels from different
sattelites, I think mythtv should be able to do the same, but I'm not a
coder, so can't be of any help.
>
> Regards
> Peter
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev[at]mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


belcampo at zonnet

Jul 4, 2009, 1:46 AM

Post #3 of 6 (632 views)
Permalink
Re: Looking for developers familiar with channel scanning and diseqc code [In reply to]

Peter Brouwer wrote:
> Hello
>
> I am looking for developers who can help me understand the bigger
> picture of the channels scanning and diseqc code for DVB receivers.
> So far it seems quite complex. What I would like to to is add
> functionality to import the so called satellite.xml file. This file
> contains a schema listing the known frequencies for the specified
> satellites in the file. The file is commonly used by DVB satellite
> receivers running on some form of embedded Linux.
> There are various tools around that generate an satellite.xml file from
> well know sat web pages like lynsat or kingofsats.
> Those tools make it very easy to keep on up to date list of known
> frequencies of sats of your choice.
>
> So being able to import such a file in myth would make the whole channel
> scanning process much easier.
>
> I also am having problems getting myth to use my rotor using the Usals
> config option. mythtv-setup works fine, it positins the rotor to the
> correct sat when channel for channels . Zapping channels via the
> frontend does not work, i.e. the rotor always stays at the position I
> lastly used during a channels scan fom mythtv-setup.
>
> The logic and implementation seems hideous complex. Needing to define a
> source for each new sat in the setup phase.
>
> So I am looking for some help and guidance to understand this
> functionality/architecture and code implementation in myth , before
> starting to make changes in it.
Would also love to have this solved, if VDR, Kaffeine, w_scan and
scan-s2/szap-s2 can do it, reliable switch channels from different
sattelites, I think mythtv should be able to do the same, but I'm not a
coder, so can't be of any help.
>
> Regards
> Peter
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev[at]mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


danielk at cuymedia

Jul 4, 2009, 6:32 AM

Post #4 of 6 (626 views)
Permalink
Re: Looking for developers familiar with channel scanning and diseqc code [In reply to]

On Fri, 2009-07-03 at 22:31 +0100, Peter Brouwer wrote:
> I am looking for developers who can help me understand the bigger
> picture of the channels scanning and diseqc code for DVB receivers.
> So far it seems quite complex. What I would like to to is add
> functionality to import the so called satellite.xml file. This file
> contains a schema listing the known frequencies for the specified
> satellites in the file. The file is commonly used by DVB satellite
> receivers running on some form of embedded Linux.
> There are various tools around that generate an satellite.xml file
> from well know sat web pages like lynsat or kingofsats.
> Those tools make it very easy to keep on up to date list of known
> frequencies of sats of your choice.
>
> So being able to import such a file in myth would make the whole
> channel scanning process much easier.

Start by looking at the channel scanning code in head and the
channels.conf import. It should be fairly easy to import an
xml file instead. You obviously do not need to implement the
import the same way, but just output it in the same format
to the next stage of the scanner. In head the import is
separate from insertion into the DB so that should make this
easier.

> I also am having problems getting myth to use my rotor using the Usals
> config option. mythtv-setup works fine, it positins the rotor to the
> correct sat when channel for channels . Zapping channels via the
> frontend does not work, i.e. the rotor always stays at the position I
> lastly used during a channels scan fom mythtv-setup.
>
> The logic and implementation seems hideous complex. Needing to define
> a source for each new sat in the setup phase.

You just need to define a "Video Source" for each rotor position then
it will work. A patch to store the position in the dtv_multiplex table
and use that instead of the source table would be welcome. None of the
regular devs use a rotor in their normal setup so this code is a bit
of a step-child developed by third parties.

> So I am looking for some help and guidance to understand this
> functionality/architecture and code implementation in myth , before
> starting to make changes in it.

The code is of course your best guide. First look at DVBChannel,
DVBSignalMonitor and TVRec to see how normal rotor tuning works.
Then figuring out the channel scanner should be easy. Make sure
you look at trunk for the channel scanner, it has changed quite
a bit since 0.21 and the UI is also being rewritten. But it's the
architecture of the rotor stuff which is keeping the UI for that
setup complex, so that is not on my TODO for the UI reworking.
But if you want to work on simplifying that we will review and
hopefully be able to apply those patches.

-- Daniel

_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


peter.brouwer at btconnect

Jul 5, 2009, 5:03 AM

Post #5 of 6 (600 views)
Permalink
Re: Looking for developers familiar with channel scanning and diseqc code [In reply to]

Hi Daniel,,
What is the status of the S2API patches in the 0.22 trunk? Last time I looked at the ticket database those patch files still have not been integrated into the mainstream 0.22 trunk code. I suspect that those will have an impact on processing the satellite.xml files as that file also has the capabilities of specifying DVB-S2 information in the frequency tables.


Peter
Daniel Kristjansson wrote:
On Fri, 2009-07-03 at 22:31 +0100, Peter Brouwer wrote:
I am looking for developers who can help me understand the bigger picture of the channels scanning and diseqc code for DVB receivers. So far it seems quite complex. What I would like to to is add functionality to import the so called satellite.xml file. This file contains a schema listing the known frequencies for the specified satellites in the file. The file is commonly used by DVB satellite receivers running on some form of embedded Linux. There are various tools around that generate an satellite.xml file from well know sat web pages like lynsat or kingofsats. Those tools make it very easy to keep on up to date list of known frequencies of sats of your choice. So being able to import such a file in myth would make the whole channel scanning process much easier.
Start by looking at the channel scanning code in head and the channels.conf import. It should be fairly easy to import an xml file instead. You obviously do not need to implement the import the same way, but just output it in the same format to the next stage of the scanner. In head the import is separate from insertion into the DB so that should make this easier.
I also am having problems getting myth to use my rotor using the Usals config option. mythtv-setup works fine, it positins the rotor to the correct sat when channel for channels . Zapping channels via the frontend does not work, i.e. the rotor always stays at the position I lastly used during a channels scan fom mythtv-setup. The logic and implementation seems hideous complex. Needing to define a source for each new sat in the setup phase.
You just need to define a "Video Source" for each rotor position then it will work. A patch to store the position in the dtv_multiplex table and use that instead of the source table would be welcome. None of the regular devs use a rotor in their normal setup so this code is a bit of a step-child developed by third parties.
So I am looking for some help and guidance to understand this functionality/architecture and code implementation in myth , before starting to make changes in it.
The code is of course your best guide. First look at DVBChannel, DVBSignalMonitor and TVRec to see how normal rotor tuning works. Then figuring out the channel scanner should be easy. Make sure you look at trunk for the channel scanner, it has changed quite a bit since 0.21 and the UI is also being rewritten. But it's the architecture of the rotor stuff which is keeping the UI for that setup complex, so that is not on my TODO for the UI reworking. But if you want to work on simplifying that we will review and hopefully be able to apply those patches. -- Daniel _______________________________________________ mythtv-dev mailing list mythtv-dev[at]mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev"]http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


peter.brouwer at btconnect

Jul 5, 2009, 6:07 AM

Post #6 of 6 (602 views)
Permalink
Re: Looking for developers familiar with channel scanning and diseqc code [In reply to]

Hi Daniel,

This satellite rotor config seem to be even more complex than I thought it was.
So you have to both create an input source and a video source per satellite position.

If possible I would really like to hide all of this from the user.

This video source concept got me very confused initially. I think I understand it now, it really is the source of the EPG information , right? It has nothing to do with defining the source of the video signal. It so happens that it might be the same source but it does not have to be.

So would it be an idea that when you select EIT is EPG (video) source , the channels scan should handle the classification of the scanned channels automatically to the right sat? ( It knows which sat it is scanning ).

Peter
Daniel Kristjansson wrote:
On Fri, 2009-07-03 at 22:31 +0100, Peter Brouwer wrote:
I am looking for developers who can help me understand the bigger picture of the channels scanning and diseqc code for DVB receivers. So far it seems quite complex. What I would like to to is add functionality to import the so called satellite.xml file. This file contains a schema listing the known frequencies for the specified satellites in the file. The file is commonly used by DVB satellite receivers running on some form of embedded Linux. There are various tools around that generate an satellite.xml file from well know sat web pages like lynsat or kingofsats. Those tools make it very easy to keep on up to date list of known frequencies of sats of your choice. So being able to import such a file in myth would make the whole channel scanning process much easier.
Start by looking at the channel scanning code in head and the channels.conf import. It should be fairly easy to import an xml file instead. You obviously do not need to implement the import the same way, but just output it in the same format to the next stage of the scanner. In head the import is separate from insertion into the DB so that should make this easier.
I also am having problems getting myth to use my rotor using the Usals config option. mythtv-setup works fine, it positins the rotor to the correct sat when channel for channels . Zapping channels via the frontend does not work, i.e. the rotor always stays at the position I lastly used during a channels scan fom mythtv-setup. The logic and implementation seems hideous complex. Needing to define a source for each new sat in the setup phase.
You just need to define a "Video Source" for each rotor position then it will work. A patch to store the position in the dtv_multiplex table and use that instead of the source table would be welcome. None of the regular devs use a rotor in their normal setup so this code is a bit of a step-child developed by third parties.
So I am looking for some help and guidance to understand this functionality/architecture and code implementation in myth , before starting to make changes in it.
The code is of course your best guide. First look at DVBChannel, DVBSignalMonitor and TVRec to see how normal rotor tuning works. Then figuring out the channel scanner should be easy. Make sure you look at trunk for the channel scanner, it has changed quite a bit since 0.21 and the UI is also being rewritten. But it's the architecture of the rotor stuff which is keeping the UI for that setup complex, so that is not on my TODO for the UI reworking. But if you want to work on simplifying that we will review and hopefully be able to apply those patches. -- Daniel _______________________________________________ mythtv-dev mailing list mythtv-dev[at]mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev"]http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

MythTV dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.