Skip to content

Commit f139e04

Browse files
committed
Metadata Cleanup
1 parent f2604e3 commit f139e04

File tree

2 files changed

+5
-581
lines changed

2 files changed

+5
-581
lines changed

src/AudioMetaData/MetaDataID3.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,7 @@ class MetaDataID3V2 : public MetaDataID3Base {
320320
use_bytes_of_next_write = 0;
321321
actual_tag = nullptr;
322322
tag_active = false;
323+
tag_processed = false;
323324
}
324325

325326

@@ -329,6 +330,7 @@ class MetaDataID3V2 : public MetaDataID3Base {
329330
use_bytes_of_next_write = 0;
330331
actual_tag = nullptr;
331332
tag_active = false;
333+
tag_processed = false;
332334
}
333335

334336
/// provide the (partial) data which might contain the meta data
@@ -526,17 +528,20 @@ class MetaDataID3 : public AbstractMetaData {
526528
}
527529

528530
void begin() {
531+
LOGI(LOG_METHOD);
529532
id3v1.begin();
530533
id3v2.begin();
531534
}
532535

533536
void end() {
537+
LOGI(LOG_METHOD);
534538
id3v1.end();
535539
id3v2.end();
536540
}
537541

538542
/// Provide tha audio data to the API to parse for Meta Data
539543
virtual size_t write(const uint8_t *data, size_t length){
544+
LOGD(LOG_METHOD);
540545
id3v1.write(data, length);
541546
id3v2.write(data, length);
542547
return length;
@@ -546,7 +551,6 @@ class MetaDataID3 : public AbstractMetaData {
546551
protected:
547552
MetaDataID3V1 id3v1;
548553
MetaDataID3V2 id3v2;
549-
550554
};
551555

552556
} // namespace

0 commit comments

Comments
 (0)