mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
moviebrowser: re-enable both progressbars while loading movies (for testing)
Origin commit data
------------------
Commit: 2714c5d9b7
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-01-13 (Sun, 13 Jan 2019)
Origin message was:
------------------
- moviebrowser: re-enable both progressbars while loading movies (for testing)
This commit is contained in:
@@ -3024,10 +3024,8 @@ bool CMovieBrowser::loadTsFileNamesFromDir(const std::string & dirname)
|
|||||||
} else {
|
} else {
|
||||||
result |= addFile(flist[i], dirItNr);
|
result |= addFile(flist[i], dirItNr);
|
||||||
}
|
}
|
||||||
#if 0
|
|
||||||
if (result)
|
if (result)
|
||||||
OnLocalProgress(i, count, dirname );
|
OnLocalProgress(i, count, dirname );
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
//result = true;
|
//result = true;
|
||||||
}
|
}
|
||||||
@@ -3269,7 +3267,7 @@ void CMovieBrowser::loadMovies(bool doRefresh)
|
|||||||
struct timeval t1, t2;
|
struct timeval t1, t2;
|
||||||
gettimeofday(&t1, NULL);
|
gettimeofday(&t1, NULL);
|
||||||
|
|
||||||
CProgressWindow loadBox((show_mode == MB_SHOW_YT) ? LOCALE_MOVIEPLAYER_YTPLAYBACK : LOCALE_MOVIEBROWSER_SCAN_FOR_MOVIES, CCW_PERCENT 50, CCW_PERCENT 10, NULL, show_mode == MB_SHOW_YT ? &ytparser.OnProgress : /* &OnLocalProgress, */ &OnGlobalProgress);
|
CProgressWindow loadBox((show_mode == MB_SHOW_YT) ? LOCALE_MOVIEPLAYER_YTPLAYBACK : LOCALE_MOVIEBROWSER_SCAN_FOR_MOVIES, CCW_PERCENT 50, CCW_PERCENT 10, NULL, show_mode == MB_SHOW_YT ? &ytparser.OnProgress : &OnLocalProgress, &OnGlobalProgress);
|
||||||
loadBox.enableShadow();
|
loadBox.enableShadow();
|
||||||
loadBox.paint();
|
loadBox.paint();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user