﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
10778	getTagger holds file open after use	mayfields@…	stuartm	"When performing a music scan, last file scanned is kept open even after applying the various fixes from 10766.

When the portion of AddFileToDB which deals with embedded images is commented out, the file is no longer held open. The specific offending call is
{{{
MetaIO *tagger = data->getTagger();
}}}
If the lines after this are commented out, the issue still exists. If this one additional line is commented out, the file is no longer held open after the scan.

The tagger as defined within getTagger is a static MetaIO type eg
{{{
static MetaIOID3 metaIOID3;
}}}

I have only seen this particular behaviour with the ID3 tagger which holds the current file open until the next is read. I am unable to determine a mechanism to force the file closed. File is only closed upon mythfrontend exit.

I have not confirmed whether this issue exists where other calls to getTagger are made.
"	Bug Report - General	closed	minor	0.27	Plugin - MythMusic	0.25-fixes	low	fixed			0
