[mythtv-commits] Ticket #13121: Sat>IP client support
MythTV
noreply at mythtv.org
Fri Jul 17 11:54:00 UTC 2020
#13121: Sat>IP client support
--------------------------------+-------------------------------
Reporter: cg@… | Owner: Klaas de Waal
Type: Patch - Feature | Status: assigned
Priority: minor | Milestone: 32.0
Component: MythTV - Recording | Version: Master Head
Severity: low | Resolution:
Keywords: | Ticket locked: 0
--------------------------------+-------------------------------
Comment (by Mike Bibbings):
Klaas,
mythconverg database schema update is required to add SatIP Recorder to
profilegroups with associated entries in recordingprofiles otherwise
mythbackend reports errors like :
{{{
Jul 17 11:20:53 2004-satip mythbackend: mythbackend[5769]: E Scheduler
tv_rec.cpp:4159 (LoadProfile) TVRec[1]: Profile 'Default' not found, and
unable to load fallback profile 'Default'. Results may be unpredicable
Jul 17 11:20:53 2004-satip mythbackend: mythbackend[5769]: E TVRecEvent
tv_rec.cpp:4159 (LoadProfile) TVRec[1]: Profile 'Live TV' not found, and
unable to load fallback profile 'Default'. Results may be unpredicable
Jul 17 11:20:55 2004-satip mythbackend: mythbackend[5769]: E TVRecEvent
tv_rec.cpp:4159 (LoadProfile) TVRec[1]: Profile 'Default' not found, and
unable to load fallback profile 'Default'. Results may be unpredicable
}}}
Manually adding the following to the database stopped the error messages
above.
{{{
direct to database INSERT INTO profilegroups SET name = 'SatIP Recorder',
cardtype = 'SATIP', is_default = 1;
Note the id created in this case 19
INSERT INTO recordingprofiles SET name = "Default", profilegroup = 19;
INSERT INTO recordingprofiles SET name = "Live TV", profilegroup = 19;
INSERT INTO recordingprofiles SET name = "High Quality", profilegroup =
19;
INSERT INTO recordingprofiles SET name = "Low Quality", profilegroup = 19;
}}}
see dbcheck.cpp dbver == "1339" for an example using Vbox
$SCHEMA_VERSION in mythtv/binding/perl/MythTV.pm and
mythtv/bindings/python/MythTV/static.py will also need updating to next
schema version.
Mike
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13121#comment:11>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list