My plugin is generating file meta programatically, but an entry is getting added that i did not tell it to write!
$file->update([ 'title' => $file->id3('title'), 'artist' => $file->id3('artist'), 'album' => $file->id3('album'), 'genre' => $file->id3('genre'), 'year' => $file->id3('year'), 'composer' => $file->id3('composer'), 'duration' => $file->id3('duration'), 'track' => $file->id3('track'), 'coverimg' => $cover, ]);
But the result is this:
Duration: 6:16 ---- Track: 8/10 ---- Title: Terminal Frost ---- Album: A Momentary Lapse of Reason ---- Artist: Pink Floyd ---- Composer: David Gilmour ---- Genre: Rock ---- Year: 1987 ---- Cover: ---- Coverimg: 08-terminal-frost-art.jpg ---- Template: audio
Where is the
cover: entry coming from? It is not needed and actually its a reserved one i think, since it clashes with an option on images.