mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
- moviebrowser: don't show additional files from enigma2 in moviebrowser
This commit is contained in:
@@ -2066,7 +2066,7 @@ bool CMovieBrowser::onButtonPressMovieInfoList(neutrino_msg_t msg)
|
||||
void CMovieBrowser::onDeleteFile(MI_MOVIE_INFO& movieSelectionHandler, bool skipAsk)
|
||||
{
|
||||
//TRACE( "[onDeleteFile] ");
|
||||
int test= movieSelectionHandler.file.Name.find(".ts");
|
||||
int test= movieSelectionHandler.file.Name.find(".ts", movieSelectionHandler.file.Name.length()-3);
|
||||
if(test == -1)
|
||||
{
|
||||
// not a TS file, return!!!!!
|
||||
@@ -2489,7 +2489,7 @@ bool CMovieBrowser::loadTsFileNamesFromDir(const std::string & dirname)
|
||||
}
|
||||
else
|
||||
{
|
||||
int test=flist[i].getFileName().find(".ts");
|
||||
int test=flist[i].getFileName().find(".ts",flist[i].getFileName().length()-3);
|
||||
if( test == -1)
|
||||
{
|
||||
//TRACE("[mb] other file: '%s'\r\n",movieInfo.file.Name.c_str());
|
||||
@@ -4077,7 +4077,7 @@ printf("\n");
|
||||
}
|
||||
}
|
||||
snprintf(npart, sizeof(npart), "%s", name);
|
||||
char * ptr = strstr(npart, ".ts");
|
||||
char * ptr = strstr(npart+strlen(npart)-3, ".ts");
|
||||
if(ptr)
|
||||
*ptr = 0;
|
||||
find_new_part(npart, dpart, sizeof(dpart) );
|
||||
@@ -4289,7 +4289,7 @@ printf("copy: jump bookmark %d at %" PRId64 " len %" PRId64 "\n", bcount, books[
|
||||
tt = time(0);
|
||||
printf("********* %d boormarks, to %s file(s), expected size to copy %" PRId64 ", start time %s", bcount, onefile ? "one" : "many", newsize, ctime (&tt));
|
||||
snprintf(npart, sizeof(npart), "%s", name);
|
||||
char * ptr = strstr(npart, ".ts");
|
||||
char * ptr = strstr(npart+strlen(npart)-3, ".ts");
|
||||
if(ptr)
|
||||
*ptr = 0;
|
||||
snprintf(spart, sizeof(spart), "%s", name);
|
||||
|
Reference in New Issue
Block a user