Modify
Warning Please read the Ticket HowTo before creating or commenting on a ticket. Failure to do so may cause your ticket to be rejected or result in a slower response.

Opened 2 years ago

Closed 10 months ago

Last modified 10 months ago

#10779 closed Patch - Bug Fix (fixed)

Docs patch

Reported by: rkulagow 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.

Attachments (0)

Change History (2)

comment:1 Changed 10 months ago by Karl Dietz <dekarl@…>

  • Owner set to Karl Dietz <dekarl@…>
  • Resolution set to fixed
  • Status changed from new to closed

In 387ece3b1ad9760caf63301474504e3fb6b60425/mythtv:

improve documentation of the chanid generation scheme

Patch by Robert Kulagowski

Fixes #10779

comment:2 Changed 10 months ago by paulh

  • Milestone changed from unknown to 0.27

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'new'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.