mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-01 15:18:06 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
Notes:
sideshowbarker
2024-07-17 16:21:09 +09:00
Author: https://github.com/IdanHo
Commit: 086969277e
Pull-request: https://github.com/SerenityOS/serenity/pull/12321
Reviewed-by: https://github.com/BertalanD
Reviewed-by: https://github.com/bgianfo ✅
1665 changed files with 8479 additions and 8479 deletions
|
@ -51,12 +51,12 @@ void Playlist::try_fill_missing_info(Vector<M3UEntry>& entries, StringView path)
|
|||
entry.extended_info->track_display_title = LexicalPath::title(entry.path);
|
||||
|
||||
if (!entry.extended_info->track_length_in_seconds.has_value()) {
|
||||
//TODO: Implement embedded metadata extractor for other audio formats
|
||||
// TODO: Implement embedded metadata extractor for other audio formats
|
||||
if (auto reader = Audio::Loader::create(entry.path); !reader.is_error())
|
||||
entry.extended_info->track_length_in_seconds = reader.value()->total_samples() / reader.value()->sample_rate();
|
||||
}
|
||||
|
||||
//TODO: Implement a metadata parser for the uncomfortably numerous popular embedded metadata formats
|
||||
// TODO: Implement a metadata parser for the uncomfortably numerous popular embedded metadata formats
|
||||
}
|
||||
|
||||
for (auto& entry : to_delete)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue