It sorts all tracks into albums, and automaticly drops deleted files. It also changes all shown tags if they got edited through another program. It depends on Qt4 and taglib.
It is a part of my program k-yamo, and I decided to give it away, so other projects can use it also.
The new version of K-Yamo, wich uses this widget, is out, so if you want to check how this widget works in total, you can take a peek in the sources of K-Yamo.
Post a comment,if you like or dislike it.
0.3 Cleaned out the code, so most of the k-yamo-specific-stuff is not in there anymore.
Sorted out the sourcecode into folders and added all pictures this time.
Improved the order in the constructors, so there are no more warnings on compile.
Added a Delegate to get artist and album on a seperate line.
0.2 Only made a better example-app, that wires a bit more.
Also the icon is set this time, so albums without cover in tags get shown right.
I'm playing with your widget, but does not run :S. I using the 1.6.3 version of taglib, however QTcreator say to me: no matching function for call to 'TagLib::MPG::File::File(QByteArray)' on line 69 of taglibinterface.cpp file. can you help me to find one solution??. Thanks in advance.
You need to tell Qt, that you need external includes.
Hi and thank for your response.
I'm running the widget in windows and i try to use the taglib version 1.5 and 1.6.3, however i have the same problem with the creation of files (i think).
Take a look into the function getallfiles().
This one is called by dropEvent().
Maybe you need to set toAscii to all th filenames in windows.
Try to create debugoutput in both functions, to see what happens to your filenames.
i fixed, the problem was in the paths because for some reason the string always start with a slash (like "/c:/file.mp3") i just delete this slash and then the program run. Thanks for your help!!
But I am really pleased, that other maybe use some of my (weired) code.