[mythtvnz] Manually adding Imparja...
Steven Ellis
steven at openmedia.co.nz
Mon Feb 25 02:09:56 GMT 2008
On Mon, February 25, 2008 2:56 pm, Steve Holdoway wrote:
> I'm having loads of fun attempting to update the database directly to add
> imparja to my gutsy mythbuntu setup using info off lyngsat. Can anyone
> help???
>
> I've updated dtv_multiplex with the following data:
>
> mysql> select * from dtv_multiplex;
> +---------+----------+-------------+-----------+-----------+-----------+------------+------+----------+------------+-----------+--------------+-------------------+----------------+---------+---------------+-----------+--------------+------------+----------------+---------------------+
> | mplexid | sourceid | transportid | networkid | frequency | inversion |
> symbolrate | fec | polarity | modulation | bandwidth | lp_code_rate |
> transmission_mode | guard_interval | visible | constellation | hierarchy |
> hp_code_rate | sistandard | serviceversion | updatetimestamp |
> +---------+----------+-------------+-----------+-----------+-----------+------------+------+----------+------------+-----------+--------------+-------------------+----------------+---------+---------------+-----------+--------------+------------+----------------+---------------------+
> | 1 | 1 | 21 | 47 | 12456000 | a |
> 22500000 | 3/4 | h | qpsk | NULL | NULL | NULL
> | NULL | 0 | NULL | NULL | NULL
> | dvb | 13 | 2007-12-25 18:32:15 |
> | 2 | 1 | 22 | 47 | 12483000 | a |
> 22500000 | 3/4 | h | qpsk | NULL | NULL | NULL
> | NULL | 0 | NULL | NULL | NULL
> | dvb | 4 | 2007-12-12 17:10:15 |
> | 5 | 1 | NULL | NULL | 12643000 | a |
> 6874000 | 3/4 | v | auto | a | auto | a
> | auto | 0 | auto | auto | auto
> | dvb | 33 | 2008-02-24 18:44:26 |
>
> The first two work fine, but the last is what I entered. I think I need
> values for the transportid and network id as well. Not sure what the
> serviceversion should be either.
>
> mysql> select * from channel where chanid = 1025;
> +--------+---------+--------+----------+----------+---------+------+----------+--------------+---------+-------------+----------+------------+--------+-------+----------+----------+---------+---------------+---------------+---------+-----------+-----------+----------+-----------------+-----------------+
> | chanid | channum | freqid | sourceid | callsign | name | icon |
> finetune | videofilters | xmltvid | recpriority | contrast | brightness |
> colour | hue | tvformat | commfree | visible | outputfilters |
> useonairguide | mplexid | serviceid | atscsrcid | tmoffset |
> atsc_major_chan | atsc_minor_chan |
> +--------+---------+--------+----------+----------+---------+------+----------+--------------+---------+-------------+----------+------------+--------+-------+----------+----------+---------+---------------+---------------+---------+-----------+-----------+----------+-----------------+-----------------+
> | 1025 | 21 | NULL | 1 | Imparja | Imparja | |
> NULL | | | 0 | 32768 | 32768 |
> 32768 | 32768 | | 0 | 1 | |
> 1 | 5 | 1024 | NULL | 0 | 0 |
> 0 |
> +--------+---------+--------+----------+----------+---------+------+----------+--------------+---------+-------------+----------+------------+--------+-------+----------+----------+---------+---------------+---------------+---------+-----------+-----------+----------+-----------------+-----------------+
> 1 row in set (0.00 sec)
>
>
> Is what I've added to channels in an attempt to get Imparja on channel 22
> of my remote - using the lyngsat sid as serviceid, and nid as chanid.
> Should I be just using serviceid+1000 as channelid?
>
> As you've guessed, it's not working. Can anyone point me at what's wrong?
If you look back through the list archives you will see we all have the
same problem. Imparja doesn't advertise a SID, and MythTV requires a SID
to lock the channel.
Basically it looks up the SID, and then uses the PMT table to find the A/V
PIDS for the channel. You can't currently hardcode the A/V Pids.
There was some discussion on the main MythTV mailing list about a way to
implement Imparja support, but none of us have had enough time to
implement it.
Steve
--------------------------------------------
Steven Ellis - Technical Director
OpenMedia Limited - The Home of myPVR
email - steven at openmedia.co.nz
sales - sales at openmedia.co.nz
support - support at openmedia.co.nz
website - http://www.openmedia.co.nz
More information about the mythtvnz
mailing list