1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-09 23:57:34 +02:00
This commit is contained in:
Hugo Lindström
2013-06-10 14:46:58 +02:00
parent df7550d73b
commit 71651f62b1

View File

@@ -77,9 +77,11 @@ M3uLoader::getTags( const QFileInfo& info )
TagLib::FileRef f( encodedName );
if( f.isNull() )
return;
TagLib::Tag *tag = f.tag();
if( !tag )
return;
QString artist = TStringToQString( tag->artist() ).trimmed();
QString album = TStringToQString( tag->album() ).trimmed();
QString track = TStringToQString( tag->title() ).trimmed();
@@ -103,6 +105,7 @@ M3uLoader::getTags( const QFileInfo& info )
}
}
void
M3uLoader::parseLine( const QString& line, const QFile& file )
{
@@ -123,6 +126,7 @@ M3uLoader::parseLine( const QString& line, const QFile& file )
}
}
void
M3uLoader::parseM3u( const QString& fileLink )
{
@@ -190,6 +194,7 @@ M3uLoader::parseM3u( const QString& fileLink )
m_tracks.clear();
}
void
M3uLoader::playlistCreated()
{