예제 #1
0
void ID3v2_Tag::setDisk(long nr, long count)
{
	if(nr <= 0)
	{
		removeFrames(wxT("TPOS"));
		return;
	}

	setTextFrame(wxT("TPOS"), implodeNrAndCount(nr, count));
}
예제 #2
0
void APE_Tag::setDisk(long nr, long count)
{
	if( nr <= 0 )
	{
		removeItem(wxT("MEDIA"));
	}
	else
	{
		// "1/n" is okay, see http://age.hobba.nl/audio/mirroredpages/apekey.html
		addValue(wxT("MEDIA"),  implodeNrAndCount(nr, count), true);
	}
}