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:
martii
2013-12-15 11:29:12 +01:00
committed by [CST] Focus
parent 6ad4e8615f
commit aa0db3a6b2
8 changed files with 17 additions and 8 deletions

View File

@@ -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);
}