[mythtv-users] mythweb not deleting recordings?

Karl Dietz dekarl at spaetfruehstuecken.org
Fri Dec 28 23:30:03 UTC 2012


On 28.12.2012 23:37, Mike Perkins wrote:
> On 28/12/12 20:06, Simon Hobson wrote:
>> Paul Stillwell wrote:
>>> this: <some number>_20121227130000.<don't care>. If I delete that
...
>> FYI - the first bit of the filename is the card (tuner) ID and channel
>> ID -
>> so IIRC it's something like 1234 would mean channel 234 on tuner 1.
>>
> A tiny correction. I believe the first digit is the /source/ id, not
> that of any tuner. If it were not so you could not have more than one
> tuner per source. That would mean you had duplicate channel information.

the first number is MythTV's internal chanid

see ChannelUtil::CreateChanID(uint, const QString&)
at 
http://code.mythtv.org/cgit/mythtv/tree/mythtv/libs/libmythtv/channelutil.cpp#n1490

it tries "source id * 1000 + major * 10 + minor"
then "source id * 1000 + channel number"
then "highest channel number of the source +1"
then "highest channel number of all sources +1"

for DVB recorders where the default channel number is the 16 bit
service_id you usually end up with service_id + source_id*1000, like
chanid 12000 for source_id 2 and service_id 10000...

Regards,
Karl


More information about the mythtv-users mailing list