Ticket #311: mythtv.autoexpire-priority.diff
| File mythtv.autoexpire-priority.diff, 913 bytes (added by , 20 years ago) |
|---|
-
libs/libmythtv/programinfo.cpp
973 973 GetProgramRecordingStatus(); 974 974 record->setRecPriority(newrecpriority); 975 975 record->save(); 976 977 MSqlQuery query(MSqlQuery::InitCon()); 978 query.prepare("UPDATE recorded" 979 " SET recpriority = :RECPRIORITY" 980 " WHERE recordid = :RECORDID" 981 ";"); 982 query.bindValue(":RECPRIORITY", record->getRecPriority()); 983 query.bindValue(":RECORDID", record->getRecordID()); 984 if (!query.exec()) 985 MythContext::DBError("recpriority update", query); 976 986 } 977 987 978 988 /** \fn ProgramInfo::ApplyRecordRecGroupChange(const QString &newrecgroup) … … 3524 3534 else 3525 3535 return 0; 3526 3536 } 3537 3538 /* vim: set expandtab tabstop=4 shiftwidth=4: */
