Version: 1.3.9 (using KDE 3.5.4, Kubuntu Package 4:3.5.4-0ubuntu2~dapper1 ) Compiler: Target: i486-linux-gnu OS: Linux (i686) release 2.6.15-26-386 mp3 files like: 05 title artist.mp3 are not supported in konversation with the command /media , files like artist-title.mp3 are supported
Does the file you are playing have id3 tags? I took an mp3, stripped its id3 tags then renamed it artist-title.mp3 and it gives me; "[DCOP] Error: Nothing is playing in Amarok" (same goes for a file named "05 title artist.mp3 with no tags") when I type /media. This seems more like a bug in Amarok because it's DCOP call to that program and it doesn't know that a file without tags is playing, because as soon any I add some id3 tags to the file in Amarok, it will work. Playing the file in Kaffeine without tags and then typing /media will output: "$nick is listening to "artist-title.mp3" [Kaffeine]"
It's true though that the script silently fails if the file has tags except for an artist tag.
Ooops, I was wrong and Niek was right: Our script is smarter than I remembered; it shouldn't have a problem with files lacking artist info as it scales down correctly. It's up to the media player in question to provide the relevant information, Konversation does no media file handling by itself. WONTFIX.
Amarok does provide the relevant information even for tracks with no tags. dcop amarok player nowPlaying returns the title which is displayed in the playlist for tracks without tags (the track's filename without the extension). dcop amarok player title simply returns the current track's title, which can be empty.
I've extended the script to use nowPlaying now if the title property is empty. Try it and report back.
Fix confirmed by reporter.