aboutsummaryrefslogtreecommitdiff
path: root/lumina-fm/DirData.h
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-fm/DirData.h')
-rw-r--r--lumina-fm/DirData.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lumina-fm/DirData.h b/lumina-fm/DirData.h
index 2d3ce6b3..ee2c8429 100644
--- a/lumina-fm/DirData.h
+++ b/lumina-fm/DirData.h
@@ -93,6 +93,10 @@ public:
//Check the Qt subsystems to see if this image file can be read
return ( !LUtils::imageExtensions().filter(this->suffix().toLower()).isEmpty() );
}
+
+ bool isAVFile(){
+ return (mime.startsWith("audio/") || mime.startsWith("video/") );
+ }
};
class LDirInfoList{
bgstack15