Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#6883 closed defect (fixed)

mythcommflag and mythtranscode can get wrong verbose level from mythbackend

Reported by: David Asher <asherml@…> Owned by: Isaac Richards
Priority: minor Milestone: 0.22
Component: MythTV - General Version: unknown
Severity: medium Keywords:
Cc: Ticket locked: no


The %VERBOSELEVEL% option in the job queue passes a 32b integer into the job. A common use is with the "-V" option for mythcommflag. When the backend is running with "--verbose all", this will pass "-V 4294967295". Unfortunately mythcommflag parses this using QString::toInt(). Since the passed number is too large for a signed 32b integer, it returns 0 -- turning off all messages. The trivial attached patch fixes this for both mythcommflag and mythtranscode.

Attachments (1)

verbose.patch (1023 bytes) - added by David Asher <asherml@…> 12 years ago.
patch to change toInt to toUInt

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by David Asher <asherml@…>

Attachment: verbose.patch added

patch to change toInt to toUInt

comment:1 Changed 12 years ago by cpinkham

Resolution: fixed
Status: newclosed

(In [21418]) Use toUInt() instead of toInt() when parsing the -V verbose level passed from the JobQueue? to mythtranscode and mythcommflag.

Closes #6883 using patch by David Asher.

comment:2 Changed 12 years ago by stuartm

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