Opened 17 years ago

Closed 17 years ago

#3207 closed patch (fixed)

Formatting fixup for 'mythbackend --printsched'

Reported by: Nick Morrott <knowledgejunkie@…> Owned by: stuartm
Priority: minor Milestone: 0.21
Component: mythtv Version: head
Severity: medium Keywords: mythbackend printsched
Cc: Ticket locked: no

Description

A formatting fixup for the --printsched console output. ChID was not justified causing all sorts of issues with alignment of subsequent column headings and data, making the information very hard to read quickly.

This patch aligns all data, and adds a new column of CallSign?.

Example output pre-patch:

--- print list start ---
Title - Subtitle                    Chan ChID Day Start  End   C I  T N   Pri
Working Lunch                        102 76  14 13:30-14:00  1 1  C 1  10/0
F1: Chasing the Dream                117 125  14 19:00-20:00  1 1  A 1   6/0
Forbidden Planet                     419 4026  14 19:05-21:00  4 4  F 4  15/0
Relocation, Relocation Revisited     104 84  14 20:00-21:00  0 0  A P  10/0
The Daily Show with Jon Stewart      142 124  14 20:31-20:59  1 1  A 1   3/0
Law and Order - "Cruel and Unusual"  190 4019  14 20:59-21:59  0 0  O X  17/0

Example output post-patch:

--- print list start ---
Title - Subtitle                    Chan ChID CallSign Day Start  End   C I  T N   Pri
Working Lunch                        102   76 BBC2      14 13:30-14:00  1 1  C 1  10/0
F1: Chasing the Dream                117  125 ITV4      14 19:00-20:00  1 1  A 1   6/0
Forbidden Planet                     419 4026 TCM       14 19:05-21:00  4 4  F 4  15/0
Relocation, Relocation Revisited     104   84 CH4       14 20:00-21:00  0 0  A P  10/0
The Daily Show with Jon Stewart      142  124 MORE4     14 20:31-20:59  1 1  A 1   3/0
Law and Order - "Cruel and Unusual"  190 4019 HALLMK    14 20:59-21:59  0 0  O X  17/0

Feedback most welcome, Nick

Attachments (1)

printsched.diff (1.3 KB) - added by Nick Morrott <knowledgejunkie@…> 17 years ago.
mythbackend --printsched fixup (against r13039)

Download all attachments as: .zip

Change History (3)

Changed 17 years ago by Nick Morrott <knowledgejunkie@…>

Attachment: printsched.diff added

mythbackend --printsched fixup (against r13039)

comment:1 Changed 17 years ago by stuartm

Milestone: unknown0.21
Owner: changed from Isaac Richards to stuartm

comment:2 Changed 17 years ago by stuartm

Resolution: fixed
Status: newclosed

(In [13259]) Closes #3207 by applying patch to improve the formatting of --printsched

Note: See TracTickets for help on using tickets.