Project

General

Profile

Bug #2144 ยป upnp-no-initial-rec-scan.diff

disable initial recordings scanning - Zoolooc, 03/28/2015 01:28 PM

View differences:

upnp/plugins/provider/recProvider/recProvider.cpp 2015-03-28 12:39:35.069362664 +0100
#endif
int pos = 0, vl = videoDir.length(), ul = uri.length(), vul = vl + ul + 1;
if(!initialScan){
/* if(!initialScan){
if(!Recordings.Update(true)) return list;
initialScan = true;
}
*/
for(cRecording* rec = Recordings.First(); rec; rec = Recordings.Next(rec)){
char* file = strdup(rec->Name());
file = ExchangeChars(file, true);
    (1-1/1)