LOG_GENERAL ("Checking file %1", i->path());
- if (boost::starts_with (i->path().leaf().string(), "._") || i->path().leaf().string() == ".DS_Store") {
- /* We ignore these files */
- LOG_GENERAL ("Ignored %1 (starts with {._}, or .DS_Store)", i->path());
+ if (boost::starts_with (i->path().leaf().string(), ".")) {
+ /* We ignore hidden files */
+ LOG_GENERAL ("Ignored %1 (starts with .)", i->path());
continue;
}
if (valid_image_file (path)) {
content.reset (new ImageContent (film, path));
- } else if (ext == ".srt" || ext == ".ssa") {
+ } else if (ext == ".srt" || ext == ".ssa" || ext == ".ass") {
content.reset (new TextSubtitleContent (film, path));
} else if (ext == ".xml") {
content.reset (new DCPSubtitleContent (film, path));