Mercurial > hg > sonic-visualiser
diff main/main.cpp @ 370:ca9f27734349 macness
svitunes: retrieve the genre metadata, as well as the path
author | Dan Stowell <dan.stowell@eecs.qmul.ac.uk> |
---|---|
date | Fri, 15 Oct 2010 11:07:11 +0100 |
parents | 726e1c1382f3 |
children | 909cf273bed1 |
line wrap: on
line diff
--- a/main/main.cpp Tue Oct 12 16:02:02 2010 +0100 +++ b/main/main.cpp Fri Oct 15 11:07:11 2010 +0100 @@ -220,7 +220,8 @@ void setupDockMenu() { std::cerr << "SV adding mac dock menu" << std::endl; QMenu *dockMenu = new QMenu(); - QString theText = iTunesNowPlayingPath(); + QStringList nowPlaying = iTunesNowPlaying(); + QString theText = nowPlaying.at(0); if (theText == ""){ theText = "[[No current track in iTunes]]"; }