diff options
Diffstat (limited to 'vdr_decoder.c')
-rw-r--r-- | vdr_decoder.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/vdr_decoder.c b/vdr_decoder.c index 0d7bbf1..7a1e00a 100644 --- a/vdr_decoder.c +++ b/vdr_decoder.c @@ -93,21 +93,6 @@ mgDecoders::findDecoder (mgContentItem * item) std::string filename = item->getSourceFile (); - struct stat st; - if (stat (filename.c_str (), &st)) - { - char *b=0; - int nsize = filename.size(); - if (nsize<30) - asprintf(&b,tr("%s not readable"),filename.c_str()); - else - asprintf(&b,tr("%s..%s not readable"),filename.substr(0,20).c_str(),filename.substr(nsize-20).c_str());; - showmessage(b); - free(b); - esyslog ("ERROR: cannot stat %s. Meaning not found, not a valid file, or no access rights", filename.c_str ()); - return 0; - } - switch (getMediaType (filename)) { case MT_MP3: |