diff options
Diffstat (limited to 'player-image.c')
-rw-r--r-- | player-image.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/player-image.c b/player-image.c index b7b4ff4..c476ea3 100644 --- a/player-image.c +++ b/player-image.c @@ -24,6 +24,7 @@ #include "image.h" #include "list.h" #include <vdr/i18n.h> +#include <vdr/status.h> #include "libimage/pnm.h" #include "libimage/xpm.h" @@ -307,6 +308,9 @@ void cImagePlayer::LoadImage(cShellWrapper* pShell) } } fclose(f); + if (ImageSetup.m_bRemoveImmediately) { + cImageData::Unlink (pShell->szPNM); + } } } if(!bSuccess) { @@ -440,6 +444,8 @@ bool cImagePlayer::Worker(bool bDoIt) return bQueueEmpty; } + // cStatus::MsgReplaying(this, "Image", pShell->szPNM, true ); + if(pShell->szCmd) { //dsyslog("imageplugin: executing script '%s'", pShell->szCmd); |