Skip to content

Commit

Permalink
improve documentation of the chanid generation scheme
Browse files Browse the repository at this point in the history
Patch by Robert Kulagowski

Fixes #10779
  • Loading branch information
dekarl committed Jun 17, 2013
1 parent b5a7494 commit 387ece3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mythtv/libs/libmythtv/dbcheck.cpp
Expand Up @@ -204,8 +204,9 @@ analog channels, us, us-cable, pal, etc.
\section channel_table Channel Table (channel)
The primary key, 'chanid' is generated by combining the source id with
a unique number from 0 to 99.
The primary key, 'chanid' is generated by multiplying the sourceid times
1000 and adding the channel number to create a unique chanid.
\sa ChannelUtil::CreateChanId
The 'channum' field contains the channel number to be input to jump
to a channel.
Expand Down

0 comments on commit 387ece3

Please sign in to comment.