We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bfcae9 commit ac3ff4aCopy full SHA for ac3ff4a
backend/src/Media/Metadata/Writer.php
@@ -40,7 +40,12 @@ public function __invoke(WriteMetadata $event): void
40
$tagwriter->tagformats = $tagFormats;
41
42
$writeTags = $metadata->getKnownTags();
43
- $writeTags['text'] = $metadata->getExtraTags();
+
44
+ // GetID3 requires all tags for vorbiscomment to have string values
45
+ // so we explicitly need to convert the extra tags into a multiline string
46
+ $writeTags['text'] = in_array('vorbiscomment', $tagFormats)
47
+ ? implode(PHP_EOL, $metadata->getExtraTags())
48
+ : $metadata->getExtraTags();
49
50
$artContents = $metadata->getArtwork();
51
if (null !== $artContents) {
0 commit comments