mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
check for active downloads before shutting down; indicate dl on vfd
Conflicts:
data/locale/deutsch.locale
data/locale/english.locale
src/driver/lcdd.h
src/driver/simple_display.cpp
src/neutrino.cpp
src/system/locals.h
src/system/locals_intern.h
Origin commit data
------------------
Branch: ni/coolstream
Commit: a3adf2798a
Author: martii <m4rtii@gmx.de>
Date: 2013-12-15 (Sun, 15 Dec 2013)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
#include "settings.h"
|
||||
#include "set_threadname.h"
|
||||
#include <global.h>
|
||||
#include <driver/display.h>
|
||||
|
||||
static cYTCache *instance = NULL;
|
||||
|
||||
@@ -178,6 +179,8 @@ void *cYTCache::downloadThread(void *arg) {
|
||||
set_threadname("ytdownload");
|
||||
cYTCache *caller = (cYTCache *)arg;
|
||||
|
||||
//CVFD::getInstance()->ShowIcon(FP_ICON_DOWNLOAD, true);
|
||||
|
||||
while (caller->thread) {
|
||||
MI_MOVIE_INFO mi;
|
||||
{
|
||||
@@ -207,6 +210,9 @@ void *cYTCache::downloadThread(void *arg) {
|
||||
caller->pending.erase(caller->pending.begin());
|
||||
}
|
||||
}
|
||||
|
||||
//CVFD::getInstance()->ShowIcon(FP_ICON_DOWNLOAD, false);
|
||||
|
||||
fprintf(stderr, "%s exiting\n", __func__);
|
||||
pthread_exit(NULL);
|
||||
}
|
||||
|
Reference in New Issue
Block a user