rendered paste body else if ( TagLib::MP4::File *file = dynamic_cast<TagLib::MP4::File *>( fileref.file() ) )
{
m_type = mp4;
TagLib::MP4::Tag *mp4tag = dynamic_cast<TagLib::MP4::Tag *>( file->tag() );
if( mp4tag )
{
setComposer( TStringToQString( mp4tag->composer() ) );
disc = QString::number( mp4tag->disk() );
compilation = QString::number( mp4tag->compilation() );
if ( images && mp4tag->cover().size() ) {
images->push_back( EmbeddedImage( mp4tag->cover(), "" ) );
}
}
}
m_uniqueId = QString::null;
# if ( atf )
# setUniqueId( fileref );
if ( !disc.isEmpty() )
{
int i = disc.find ('/');
if ( i != -1 )
// disc.right( i ).toInt() is total number of discs, we don't use this at the moment
setDiscNumber( disc.left( i ).toInt() );
else
setDiscNumber( disc.toInt() );
}