Opened 12 years ago

Closed 12 years ago

#11954 closed Patch - Feature (fixed)

save card input name for recordings

Reported by: George Nassas <gnassas@…> Owned by: gigem
Priority: minor Milestone: 0.28
Component: MythTV - Scheduling Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

I've been running this in production for a while without problems. It's pretty straitforward.

I'm not sure if there's a way to retrieve the cardinput for existing recordings to update those rows ex post facto. Suggestions welcome.

The device name isn't saved for live tv recorded rows unless you elect to make them permanent recordings (ie, by pressing "R"). I can't tell if this is a shortcoming on my side or the live tv code.

The patch also includes an update Stuart missed in the perl bindings' outgoing myth protocol message - he updated the incoming code but not the outgoing.

Attachments (10)

recinput.schema.patch (1.3 KB ) - added by George Nassas <gnassas@…> 12 years ago.
schema update
recinput.mythtv.v0.28-pre-461-g1dd14ea.patch (27.9 KB ) - added by George Nassas <gnassas@…> 12 years ago.
recinput.mythweb.v0.28-pre-10-gbb41293.patch (4.2 KB ) - added by George Nassas <gnassas@…> 12 years ago.
recinput.mythweb.v0.28-pre-9-g61f14b9.patch (2.4 KB ) - added by George Nassas <gnassas@…> 12 years ago.
supersedes recinput.mythweb.v0.28-pre-10-gbb41293.patch
recinput.mythtv.v0.28-pre-519-gd8c710d.patch (28.2 KB ) - added by George Nassas <gnassas@…> 12 years ago.
supercedes recinput.mythtv.v0.28-pre-461-g1dd14ea.patch
recinput.mythtv.v0.28-pre-912-g11e65df.patch (28.2 KB ) - added by George Nassas <gnassas@…> 12 years ago.
supersedes recinput.mythtv.v0.28-pre-719-g8aefe1b.patch
recinput.mythtv.v0.28-pre-1041-ga0a32ef.patch (28.2 KB ) - added by George Nassas <gnassas@…> 12 years ago.
rebase patch to head as of March 27, 2014
recinput.mythtv.v0.28-pre-1480-g7265c8f.patch (28.6 KB ) - added by gnassas@… 12 years ago.
rebase to reflect recordedid change
recinput.mythweb.v0.28-pre-22-g9811898.patch (2.6 KB ) - added by gnassas@… 12 years ago.
rebase to reflect recordedid change
recinput.mythweb.v0.28-pre-22-g9811898.2.patch (2.3 KB ) - added by gnassas@… 12 years ago.
retrieve input name from recorded

Download all attachments as: .zip

Change History (19)

by George Nassas <gnassas@…>, 12 years ago

Attachment: recinput.schema.patch added

schema update

by George Nassas <gnassas@…>, 12 years ago

by George Nassas <gnassas@…>, 12 years ago

by George Nassas <gnassas@…>, 12 years ago

supersedes recinput.mythweb.v0.28-pre-10-gbb41293.patch

by George Nassas <gnassas@…>, 12 years ago

supercedes recinput.mythtv.v0.28-pre-461-g1dd14ea.patch

comment:1 by George Nassas <gnassas@…>, 12 years ago

Apologies for the patch foolishness. I had the wrong branch checked out.

comment:2 by gigem, 12 years ago

Milestone: unknown0.28
Status: newassigned

comment:3 by gnassas@…, 12 years ago

Looks like this needs a bit more work - the other day I had a failed recording but the tuner was not saved and, of course, failed recording tuner info is the whole point of this. Looks like my assignment isn't early enough in the process so I'm going to take another look and update the patch. Might be a week or two... in between merry making excursions.

comment:4 by gnassas@…, 12 years ago

A brief update: I finally shook loose some time and found a spot to save the input name just after tuning begins which will make it available even when recording ultimately fails. It'll take another week or two to find time to amend the patch, hopefully the timing works out to include this as part of 0.28.

by George Nassas <gnassas@…>, 12 years ago

supersedes recinput.mythtv.v0.28-pre-719-g8aefe1b.patch

comment:5 by George Nassas <gnassas@…>, 12 years ago

I think this patch is ready for review. It still doesn't save the input name for live tv recordings but I don't think that's very important and anyway it's probably a bug in how live tv works.

One subtle change is the recording host is now made available to themes even when a recording fails. When you're analyzing why a recording might have failed in a multi BE setup it's probably helpful to know where the input was located.

by George Nassas <gnassas@…>, 12 years ago

rebase patch to head as of March 27, 2014

by gnassas@…, 12 years ago

rebase to reflect recordedid change

by gnassas@…, 12 years ago

rebase to reflect recordedid change

comment:6 by David Engel <dengel@…>, 12 years ago

In 213c622a1fc19f08167df25ef131f4e66d693e05/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:7 by gigem, 12 years ago

Status: assignedinfoneeded

George, I'm sorry for not getting to this sooner. Thanks for your patches. I took a slightly different approach because I didn't want to add another field to the ProgramInfo object. Could you please revise your mythweb patch to work with this approach?

by gnassas@…, 12 years ago

retrieve input name from recorded

in reply to:  7 comment:8 by gnassas@…, 12 years ago

Replying to gigem:

Could you please revise your mythweb patch to work with this approach?

Done.

I added a new title when I show the input name on the program's details page but I'm not sure if it's my job to add it to the different *.lang files or that happens automatically after a commit or what. Right now program details shows "!NoTrans: Input Name!!:" which looks unfinished.

comment:9 by David Engel <david@…>, 12 years ago

Resolution: fixed
Status: infoneededclosed

In 0fee55c716d3b428cc1987394eb02a7b0192ab2c/mythweb:

Error: Processor CommitTicketReference failed
GIT backend not available
Note: See TracTickets for help on using tickets.