Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#10779 closed Patch - Bug Fix (fixed)

Docs patch

Reported by: Robert Kulagowski Owned by: Karl Dietz <dekarl@…>
Priority: minor Milestone: 0.27
Component: MythTV - General Version: Master Head
Severity: low Keywords:
Cc: Ticket locked: no

Description

Reviewing the docs in dbcheck makes me believe that the following should be applied. (I've certainly see chanid's greater than "x099")

diff --git a/mythtv/libs/libmythtv/dbcheck.cpp b/mythtv/libs/libmythtv/dbcheck.cpp
index 5664558..1873e8a 100644
--- a/mythtv/libs/libmythtv/dbcheck.cpp
+++ b/mythtv/libs/libmythtv/dbcheck.cpp
@@ -204,8 +204,8 @@ 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.

 The 'channum' field contains the channel number to be input to jump
 to a channel.

Change History (2)

comment:1 Changed 11 years ago by Karl Dietz <dekarl@…>

Owner: set to Karl Dietz <dekarl@…>
Resolution: fixed
Status: newclosed

In 387ece3b1ad9760caf63301474504e3fb6b60425/mythtv:

improve documentation of the chanid generation scheme

Patch by Robert Kulagowski

Fixes #10779

comment:2 Changed 11 years ago by paulh

Milestone: unknown0.27
Note: See TracTickets for help on using tickets.