Commit c655e47 1 parent 573da6c commit c655e47 Copy full SHA for c655e47
File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,8 @@ ScanJob* ScanJob::factory(const std::filesystem::path &path)
99
99
for (const std::filesystem::directory_entry &entry : std::filesystem::directory_iterator (path)) {
100
100
if (entry.is_regular_file () && entry.path ().has_extension ()
101
101
&& ((file_type = determine_filetype (entry.path ().extension ().string ())) != FileType::INVALID)
102
- && !(file_type == FileType::M4A && get_config (file_type).skip_mp4 && entry.path ().extension ().string () == " .mp4" )) {
102
+ && !(file_type == FileType::M4A && get_config (file_type).skip_mp4 && entry.path ().extension ().string () == " .mp4" )
103
+ && !(entry.path ().filename ().string ().starts_with (" ._" ))) {
103
104
tracks.emplace_back (entry.path (), file_type);
104
105
extensions.insert (file_type);
105
106
}
You can’t perform that action at this time.
0 commit comments