Bug 175041 - amarok refuses to play mp3 with german umlauts in title
Summary: amarok refuses to play mp3 with german umlauts in title
Status: RESOLVED DUPLICATE of bug 172242
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.0-SVN
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
: 175573 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-13 14:40 UTC by simon
Modified: 2009-01-05 08:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description simon 2008-11-13 14:40:31 UTC
Version:           2.0-SVN (using 4.1.72 (KDE 4.1.72 (KDE 4.2 >= 20081104)), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.26-tuxonice

hi,

amarok won't play a file when the title tag contains a german umlaut, e.g. "ü" 

as a side note, searching in the collection also suffers from a umlaut problem: entering "ä"  filters for "a"; don't know if i should open an extra bug for this or if umlaut handling needs a application wide review
Comment 1 Mark Kretschmann 2008-11-13 14:45:18 UTC
Works here. What Phonon backend are you using?
Comment 2 simon 2008-11-13 14:53:31 UTC
i'm using the xine backend

some debug messages when i played around with changing the filename and/or the title tag:


amarok: END__: virtual void StatusBar::engineStateChanged(Phonon::State, Phonon::State) - Took 0.0019s
amarok(8644)/phonon (KDE plugin) Phonon::KioMediaStream::KioMediaStream:
amarok(8644)/phonon (KDE plugin) Phonon::KioMediaStream::reset:
amarok(8644)/phonon (KDE plugin) Phonon::KioMediaStream::reset:
amarok: BEGIN: void EngineController::slotNewTrackPlaying(const Phonon::MediaSource&)
amarok:   [Playlist::Actions] [WARNING!] engineNewTrackPlaying: "Füieber" does not match what the playlist controller thought it should be
amarok: BEGIN: virtual void ScrobblerAdapter::engineNewTrackPlaying()
amarok:     [lastfm] track type: "MP3"
amarok: BEGIN: void ScrobblerAdapter::checkScrobble()
amarok: END__: void ScrobblerAdapter::checkScrobble() - Took 0.00048s
amarok:     [lastfm] nowPlaying:  "Peter Fox"  -  "Stadtaffe (Bonus Track Version)"  -  "Füieber"
amarok: END__: virtual void ScrobblerAdapter::engineNewTrackPlaying() - Took 0.0024s
amarok: BEGIN: virtual void TrackToolTip::engineNewTrackPlaying()
amarok: BEGIN: void TrackToolTip::setTrack()
amarok: BEGIN: void TrackToolTip::clear()
QString::arg: Argument missing: Amarok - No track playing., 0:00
amarok: END__: void TrackToolTip::clear() - Took 0.0012s
amarok: END__: void TrackToolTip::setTrack() - Took 0.0067s
amarok: END__: virtual void TrackToolTip::engineNewTrackPlaying() - Took 0.0079s
amarok: END__: void EngineController::slotNewTrackPlaying(const Phonon::MediaSource&) - Took 0.015s
amarok(8644)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///home/user/music/Peter Fox/Stadtaffe (Bonus Track Version)/10-Füieber.MP3")
amarok(8644)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-user/amarokCT8644.slave-socket"
amarok(8644)/phonon (KDE plugin) Phonon::KioMediaStreamPrivate::_k_bytestreamSeekDone: 0
amarok(8644)/phonon (KDE plugin) Phonon::KioMediaStreamPrivate::_k_bytestreamFileJobOpen: 4366503
amarok(8644)/phonon (KDE plugin) Phonon::KioMediaStream::seekStream: 0  =  0
amarok(8644)/phonon (KDE plugin) Phonon::KioMediaStreamPrivate::_k_bytestreamSeekDone: 0
xine is asking to seek behind the end of the data stream
xine is asking to seek behind the end of the data stream
amarok(8644)/phonon (KDE plugin) Phonon::KioMediaStream::seekStream: 112075  =  112075
amarok(8644)/phonon (KDE plugin) Phonon::KioMediaStreamPrivate::_k_bytestreamData: seeking: do nothing
amarok(8644)/phonon (KDE plugin) Phonon::KioMediaStreamPrivate::_k_bytestreamSeekDone: 112075
amarok(8644)/phonon (KDE plugin) Phonon::KioMediaStream::seekStream: 0  =  0
amarok(8644)/phonon (KDE plugin) Phonon::KioMediaStreamPrivate::_k_bytestreamData: seeking: do nothing
amarok(8644)/phonon (KDE plugin) Phonon::KioMediaStreamPrivate::_k_bytestreamSeekDone: 0
amarok(8644)/phonon (KDE plugin) Phonon::KioMediaStream::seekStream: 0  =  0
amarok(8644)/phonon (KDE plugin) Phonon::KioMediaStreamPrivate::_k_bytestreamData: seeking: do nothing
amarok(8644)/phonon (KDE plugin) Phonon::KioMediaStreamPrivate::_k_bytestreamSeekDone: 0
amarok: [EngineController] [WARNING!] Phonon failed to play this URL. Error:  ""
amarok: [Playlist::Actions] [WARNING!] Error, can not play this track.
amarok: [Playlist::Actions] [WARNING!] Failure count:  1
Comment 3 Myriam Schweingruber 2008-11-14 10:31:10 UTC
Simon, did you play this track from your local collection or was it from a remote one, e.g. http? I have a few tracks with special characters here which all play fine from the local collection, build yesterday.
Comment 4 simon 2008-11-14 14:14:21 UTC
its a local file
amarok(8644)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for
KUrl("file:///home/user/music/Peter Fox/Stadtaffe (Bonus Track
Version)/10-Füieber.MP3")
Comment 5 simon 2008-11-18 01:35:50 UTC
i thought i encountered a new bug when doubleclicking on the current track in the playlist disn't restart the track but stopped it.
on the second look i realized it was a file with umlauts. there is definetly something wrong here

state stopped, doubleclick on track in playlist:

---
QString::arg: Argument missing: Amarok - No track playing., 0:00
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStream::enoughData:
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStream::~KioMediaStream:
amarok(11951)/kio (Slave) KIO::Slave::kill: killing slave pid 26160 ( "file://" )
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStream::KioMediaStream:
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStream::reset:
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStream::reset:
QString::arg: Argument missing: Amarok - No track playing., 0:00
QString::arg: Argument missing: Amarok - No track playing., 0:00
QString::arg: Argument missing: Amarok - No track playing., 0:00
amarok(11951)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///home/user/downloads/Trettmann/Ronny Trettmann - 15 - Schöner Als Schön (mit Poise & ZM Jay).mp3")
amarok(11951)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-user/amarokA11951.slave-socket"
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStreamPrivate::_k_bytestreamSeekDone: 0
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStreamPrivate::_k_bytestreamFileJobOpen: 3779981
xine is asking to seek behind the end of the data stream
xine is asking to seek behind the end of the data stream
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStream::seekStream: 3779853  =  3779853
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStreamPrivate::_k_bytestreamData: seeking: do nothing
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStreamPrivate::_k_bytestreamSeekDone: 3779853
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStreamPrivate::_k_bytestreamData: empty data: stopping the stream
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStream::seekStream: no job/job finished -> recreate it
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStream::reset:
amarok(11951)/kio (Slave) KIO::Slave::kill: killing slave pid 26579 ( "file://" )
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStream::seekStream: 0  =  0
amarok(11951)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///home/user/downloads/Trettmann/Ronny Trettmann - 15 - Schöner Als Schön (mit Poise & ZM Jay).mp3")
amarok(11951)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-user/amaroke11951.slave-socket"
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStreamPrivate::_k_bytestreamSeekDone: 0
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStreamPrivate::_k_bytestreamFileJobOpen: 3779981
amarok(11951) CurrentTrack::dataUpdated: CurrentTrack::dataUpdated
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStream::enoughData:
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStream::enoughData:
---



second doubleclick:



---
 amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStream::enoughData:
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStream::enoughData:
QString::arg: Argument missing: Amarok - No track playing., 0:00
QString::arg: Argument missing: Amarok - No track playing., 0:00
QString::arg: Argument missing: Amarok - No track playing., 0:00
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStream::enoughData:
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStream::~KioMediaStream:
amarok(11951)/kio (Slave) KIO::Slave::kill: killing slave pid 26581 ( "file://" )
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStream::KioMediaStream:
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStream::reset:
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStream::reset:
QString::arg: Argument missing: Amarok - No track playing., 0:00
QString::arg: Argument missing: Amarok - No track playing., 0:00
QString::arg: Argument missing: Amarok - No track playing., 0:00
amarok(11951) CurrentTrack::dataUpdated: CurrentTrack::dataUpdated
amarok(11951)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///home/user/downloads/Trettmann/Ronny Trettmann - 15 - Schöner Als Schön (mit Poise & ZM Jay).mp3")
amarok(11951)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-user/amarokA11951.slave-socket"
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStreamPrivate::_k_bytestreamSeekDone: 0
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStreamPrivate::_k_bytestreamFileJobOpen: 3779981
xine is asking to seek behind the end of the data stream
xine is asking to seek behind the end of the data stream
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStream::seekStream: 3779853  =  3779853
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStreamPrivate::_k_bytestreamSeekDone: 3779853
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStreamPrivate::_k_bytestreamData: empty data: stopping the stream
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStream::seekStream: no job/job finished -> recreate it
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStream::reset:
amarok(11951)/kio (Slave) KIO::Slave::kill: killing slave pid 27107 ( "file://" )
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStream::seekStream: 0  =  0
amarok(11951)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///home/user/downloads/Trettmann/Ronny Trettmann - 15 - Schöner Als Schön (mit Poise & ZM Jay).mp3")
amarok(11951)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-user/amarokR11951.slave-socket"
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStreamPrivate::_k_bytestreamSeekDone: 0
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStreamPrivate::_k_bytestreamFileJobOpen: 3779981
amarok(11951)/phonon (KDE plugin) Phonon::KioMediaStreamPrivate::_k_bytestreamData: empty data: stopping the stream
amarok(11951) CurrentTrack::dataUpdated: CurrentTrack::dataUpdated
---
Comment 6 Dan Meltzer 2008-12-03 18:46:57 UTC
*** Bug 175573 has been marked as a duplicate of this bug. ***
Comment 7 Santiago Bruno 2008-12-14 07:46:53 UTC
I'm having the same problem, It has not to do with any tag, but with the physical path.
For example if I have three files
~/Mi música/file1.mp3
~/Mi música/file2.mp3
~/Mi música/file3.mp3

I add the three files to a new playlist.
Then I can double click on any of them and the song starts, but then if I click on any other while playing, it will stop. Or if I wait until the song finishes, it will not continue playing the next one.
Comment 8 Santiago Bruno 2008-12-14 07:53:37 UTC
I forgot to add that as the reporter, I'm also using amd64 and gentoo. Maybe it's something specific to this architecture or distribution... :(
Comment 9 simon 2008-12-21 01:10:47 UTC
ok its a filename issue
Comment 10 Mikko C. 2008-12-21 12:17:11 UTC
I can't reproduce it here, gentoo amd64 too.

For example, I can play all the files in this dir:
/mnt/mybook/Mp3/Sigur Rós - [2008] Með suð í eyrum við spilum endalaust
Comment 11 Santiago Bruno 2008-12-21 18:13:32 UTC
Ok, I did some more research on this, I created the folders
/mnt/mybook/Mp3/Sigur Ros/test1.mp3
/mnt/mybook/Mp3/Sigur Ros/test2.mp3
/mnt/mybook/Mp3/Sigur Rós - [2008] Með suð í eyrum við spilum endalaust/test1.mp3
/mnt/mybook/Mp3/Sigur Rós - [2008] Með suð í eyrum við spilum endalaust/test2.mp3

And added them in that order to a playlist

I play the first one.
When it finishes, it continues with the next one.
The message "QString::arg: Argument missing: Amarok - No track playing., 0:00" is shown, but that happens always.
When the second track finishes, it stops, and this message is displayed:

amarok(14033)/phonon (xine backend) Phonon::Xine::XineStream::event: xine_open for gapless playback failed!

Searching the web for that error I get into this unanswered mail and bug report:

http://mail.kde.org/pipermail/phonon-backends/2008-September/000236.html
http://bugs.kde.org/show_bug.cgi?id=172242

That seems to be the problem, because I'm using es_AR.iso88591
However, if I start the program with LC_ALL="es_AR.utf8" amarok, I can't even add the last two files to the playlist.
Comment 12 Mark Kretschmann 2009-01-05 07:09:34 UTC

*** This bug has been marked as a duplicate of bug 172242 ***
Comment 13 Matthias Kretz 2009-01-05 08:31:24 UTC
Please try the attached patches in bug 172242 and let me know which one fixes the issue for you.