mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
lcd4l: add count of records to mode_rec file
Origin commit data
------------------
Branch: ni/coolstream
Commit: 8455855ace
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-01-11 (Tue, 11 Jan 2022)
Origin message was:
------------------
- lcd4l: add count of records to mode_rec file
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -600,9 +600,12 @@ void CLCD4l::ParseInfo(uint64_t parseID, bool newID, bool firstRun)
|
||||
break;
|
||||
}
|
||||
|
||||
std::string _ModeRec = (ModeRec ? "on" : "off");
|
||||
_ModeRec += "\n" + to_string(CRecordManager::getInstance()->GetRecordCount());
|
||||
|
||||
if (m_ModeRec != ModeRec)
|
||||
{
|
||||
WriteFile(MODE_REC, ModeRec ? "on" : "off");
|
||||
WriteFile(MODE_REC, _ModeRec);
|
||||
m_ModeRec = ModeRec;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user