summaryrefslogtreecommitdiff
path: root/libs/mediaScan/src/Movie.cc
diff options
context:
space:
mode:
authorgeronimo <geronimo013@gmx.de>2012-08-02 07:30:50 (GMT)
committergeronimo <geronimo013@gmx.de>2012-08-02 07:30:50 (GMT)
commitc7d67f443bdfe842c2e356d4edbe345338e3e08d (patch)
tree9be157c84c35305cafd2f53d347b34ac0200b5a2 /libs/mediaScan/src/Movie.cc
parentadb7d83292e1502ca7c21a123b104412cb22d160 (diff)
downloadcmp-c7d67f443bdfe842c2e356d4edbe345338e3e08d.tar.gz
cmp-c7d67f443bdfe842c2e356d4edbe345338e3e08d.tar.bz2
patched client to support the new media types and display extended items
Diffstat (limited to 'libs/mediaScan/src/Movie.cc')
-rw-r--r--libs/mediaScan/src/Movie.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/mediaScan/src/Movie.cc b/libs/mediaScan/src/Movie.cc
index 51d1ff9..19fc629 100644
--- a/libs/mediaScan/src/Movie.cc
+++ b/libs/mediaScan/src/Movie.cc
@@ -90,7 +90,7 @@ bool cMovie::NeedsFurtherScan(void) const
}
void cMovie::SetFormat(const char* Format) {
- if (!strcmp("Matroska", Format) || !strcmp("Flash Video", Format)
+ if (!strncmp("Matroska", Format, 8) || !strcmp("Flash Video", Format) || !strcmp("AVI", Format)
|| !strcmp("MPEG-PS", Format) || !strcmp("MPEG-TS", Format) || !strcmp("MPEG-PES", Format))
return; // skip containers
cAbstractMedia::SetFormat(Format);