mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 01:41:12 +02:00
record_setup: add check existing recordings before set new timers
Origin commit data
------------------
Branch: ni/coolstream
Commit: 6dddaff0d2
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-06-02 (Thu, 02 Jun 2016)
Origin message was:
------------------
- record_setup: add check existing recordings before set new timers
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -2609,6 +2609,26 @@ void CMovieBrowser::loadAllTsFileNamesFromStorage(void)
|
||||
TRACE("[mb] Dir%d, Files:%d\n", (int)m_dirNames.size(), (int)m_vMovieInfo.size());
|
||||
}
|
||||
|
||||
bool CMovieBrowser::gotMovie(const char *rec_title)
|
||||
{
|
||||
//TRACE("[mb]->gotMovie\n");
|
||||
|
||||
m_doRefresh = false;
|
||||
loadAllTsFileNamesFromStorage();
|
||||
|
||||
bool found = false;
|
||||
for (unsigned int i = 0; i < m_vMovieInfo.size(); i++)
|
||||
{
|
||||
//printf("[mb] search for %s in %s\n", rec_title, m_vMovieInfo[i].epgTitle.c_str());
|
||||
if (strcmp(rec_title, m_vMovieInfo[i].epgTitle.c_str()) == 0)
|
||||
{
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return found;
|
||||
}
|
||||
|
||||
static const char * const ext_list[] =
|
||||
{
|
||||
"avi", "mkv", "mp4", "flv", "mov", "mpg", "mpeg", "m2ts", "iso"
|
||||
|
Reference in New Issue
Block a user