Bug 206085 - Can't play tracks with special characters
Summary: Can't play tracks with special characters
Status: RESOLVED DUPLICATE of bug 172242
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.3.0 (KDE 4.2.0)
Platform: openSUSE Unspecified
: NOR normal
Target Milestone: ---
Assignee: Matthias Kretz
URL:
Keywords:
: 210813 217909 218205 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-03 11:17 UTC by Marcos David
Modified: 2010-06-07 00:17 UTC (History)
13 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos David 2009-09-03 11:17:04 UTC
Version:           2.2-GIT (using KDE 4.3.0)
Installed from:    SuSE RPMs

I can't play any track with "special characters" in its file name.

Example debug output:

amarok: BEGIN: void Playlist::PrettyListView::trackActivated(const QModelIndex&)
amarok:   BEGIN: void Playlist::Actions::play(quint64, bool)
amarok:     [Playlist::Actions] Manually advancing to the next track, calculating previous statistics for track here.  Finished % is:  0.908745
amarok:     BEGIN: virtual void WikipediaEngine::metadataChanged(Meta::TrackPtr)
amarok:       BEGIN: void WikipediaEngine::update()
amarok:         BEGIN: bool EngineController::isStream()
amarok:         END__: bool EngineController::isStream() - Took 0.00011s
amarok:          Same entry requested again. Ignoring.
amarok:       END__: void WikipediaEngine::update() - Took 0.00039s
amarok:     END__: virtual void WikipediaEngine::metadataChanged(Meta::TrackPtr) - Took 0.00062s
amarok:     BEGIN: virtual void WikipediaEngine::metadataChanged(Meta::TrackPtr)
amarok:       BEGIN: void WikipediaEngine::update()
amarok:         BEGIN: bool EngineController::isStream()
amarok:         END__: bool EngineController::isStream() - Took 0.00012s
amarok:          Same entry requested again. Ignoring.
amarok:       END__: void WikipediaEngine::update() - Took 0.00058s
amarok:     END__: virtual void WikipediaEngine::metadataChanged(Meta::TrackPtr) - Took 0.00081s
amarok:     BEGIN: void EngineController::play(const Meta::TrackPtr&, uint)
amarok:       [EngineController] Just a normal, boring track... :-P
amarok:       BEGIN: void EngineController::playUrl(const KUrl&, uint)
amarok:         BEGIN: void EngineController::slotStopFadeout()
amarok:         END__: void EngineController::slotStopFadeout() - Took 9.5e-05s
amarok:         [EngineController] URL:  "file:///data/MP3/Jose.Afonso.Colectanea.(2001).2CDs/Jos%C3%A9%20Afonso/Jos%C3%A9%20Afonso%20%5BDisco%202%5D/15%20-Gr%C3%A2ndola,%20Vila%20Morena.mp3"
amarok:         BEGIN: void EngineController::slotNewTrackPlaying(const Phonon::MediaSource&)
amarok:           [EngineController] Using gain of -0.285 with relative peak of -4.82945
amarok:           BEGIN: void EngineSubject::stateChangedNotify(Phonon::State, Phonon::State)
amarok:             BEGIN: virtual void StatusBar::engineStateChanged(Phonon::State, Phonon::State)
amarok:                PlayingState: clear text
amarok:             END__: virtual void StatusBar::engineStateChanged(Phonon::State, Phonon::State) - Took 0.00097s
amarok:             BEGIN: virtual void ProgressWidget::engineStateChanged(Phonon::State, Phonon::State)
amarok:             END__: virtual void ProgressWidget::engineStateChanged(Phonon::State, Phonon::State) - Took 9.8e-05s
amarok:             BEGIN: virtual void Context::ContextView::engineStateChanged(Phonon::State, Phonon::State)
amarok:               BEGIN: virtual void LyricsEngine::message(const Context::ContextState&)
amarok:                 BEGIN: void ScriptManager::notifyFetchLyrics(const QString&, const QString&)
amarok:                    SCRIPT "Lyricwiki" :  "request URL: http://lyricwiki.org/api.php?func=getSong&artist=José Afonso&song=Grândola, Vila Morena&fmt=xml"
amarok:                   BEGIN: static QScriptValue Downloader::init(QScriptContext*, QScriptEngine*, bool)
amarok:                   END__: static QScriptValue Downloader::init(QScriptContext*, QScriptEngine*, bool) - Took 0.00047s
amarok:                 END__: void ScriptManager::notifyFetchLyrics(const QString&, const QString&) - Took 0.0039s
amarok:               END__: virtual void LyricsEngine::message(const Context::ContextState&) - Took 0.0045s
amarok:               BEGIN: virtual void CurrentEngine::message(const Context::ContextState&)
amarok:                 BEGIN: void CurrentEngine::update()
amarok:                 END__: void CurrentEngine::update() - Took 0.00052s
amarok:               END__: virtual void CurrentEngine::message(const Context::ContextState&) - Took 0.00071s
amarok:               BEGIN: void WikipediaEngine::update()
amarok:                 BEGIN: bool EngineController::isStream()
amarok:                 END__: bool EngineController::isStream() - Took 0.00032s
amarok:                  wiki url:  "http://pt.wikipedia.org/wiki/Jos%C3%A9%20Afonso"
amarok:               END__: void WikipediaEngine::update() - Took 0.001s
amarok:             END__: virtual void Context::ContextView::engineStateChanged(Phonon::State, Phonon::State) - Took 0.0065s
amarok:             BEGIN: virtual void Amarok::PlayPauseAction::engineStateChanged(Phonon::State, Phonon::State)
amarok:                NEWSTATE:  2 OLDSTATE:  2
amarok:             END__: virtual void Amarok::PlayPauseAction::engineStateChanged(Phonon::State, Phonon::State) - Took 0.00024s
amarok:             BEGIN: virtual void Amarok::OSD::engineStateChanged(Phonon::State, Phonon::State)
amarok:               BEGIN: void OSDWidget::show(const QString&, QImage)
amarok:               END__: void OSDWidget::show(const QString&, QImage) - Took 0.00015s
amarok:             END__: virtual void Amarok::OSD::engineStateChanged(Phonon::State, Phonon::State) - Took 0.0011s
amarok:             BEGIN: virtual void MainWindow::engineStateChanged(Phonon::State, Phonon::State)
amarok:               [MainWindow] Phonon state:  2
amarok:             END__: virtual void MainWindow::engineStateChanged(Phonon::State, Phonon::State) - Took 0.00033s
amarok:              returning bookmarkcurrenttrack action
amarok:             BEGIN: virtual void ProgressWidget::engineStateChanged(Phonon::State, Phonon::State)
amarok:             END__: virtual void ProgressWidget::engineStateChanged(Phonon::State, Phonon::State) - Took 0.00012s
amarok:              returning bookmarkcurrenttrack action
amarok:              returning bookmarkcurrenttrack action
amarok:           END__: void EngineSubject::stateChangedNotify(Phonon::State, Phonon::State) - Took 0.12s
amarok:           BEGIN: void Playlist::PrettyListView::scrollToActiveTrack()
amarok:             [Playlist::PrettyListView] skipping scroll? true
amarok:           END__: void Playlist::PrettyListView::scrollToActiveTrack() - Took 0.00081s
amarok:           BEGIN: virtual void ProgressWidget::engineNewTrackPlaying()
amarok:             BEGIN: virtual void ProgressWidget::engineTrackLengthChanged(long int)
amarok:                new length:  206
amarok:                slider enabled!
amarok:                here 1
amarok:                here 2
amarok:                [ERROR!] GREPME MySQL query failed! Table 'amarok.bookmarks' doesn't exist  on  "SELECT id, parent_id, name, url, description, custom FROM bookmarks WHERE url LIKE '%ZmlsZTovLy9kYXRhL01QMy9Kb3NlLkFmb25zby5Db2xlY3RhbmVhLigyMDAxKS4yQ0RzQDE5MmticHMuYnkuQ2FubmVsb25pL0pvcyVDMyVBOSUyMEFmb25zby9Kb3MlQzMlQTklMjBBZm9uc28lMjAlNUJEaXNjbyUyMDIlNUQvMTUlMjAtR3IlQzMlQTJuZG9sYSwlMjBWaWxhJTIwTW9yZW5hLm1wMw=%'"
amarok:             END__: virtual void ProgressWidget::engineTrackLengthChanged(long int) - Took 0.00077s
amarok:           END__: virtual void ProgressWidget::engineNewTrackPlaying() - Took 0.0011s
amarok:           BEGIN: virtual void ProgressWidget::engineNewTrackPlaying()
amarok:             BEGIN: virtual void ProgressWidget::engineTrackLengthChanged(long int)
amarok:                new length:  206
amarok:                slider enabled!
amarok:                here 1
amarok:                here 2
amarok:                [ERROR!] GREPME MySQL query failed! Table 'amarok.bookmarks' doesn't exist  on  "SELECT id, parent_id, name, url, description, custom FROM bookmarks WHERE url LIKE '%ZmlsZTovLy9kYXRhL01QMy9Kb3NlLkFmb25zby5Db2xlY3RhbmVhLigyMDAxKS4yQ0RzQDE5MmticHMuYnkuQ2FubmVsb25pL0pvcyVDMyVBOSUyMEFmb25zby9Kb3MlQzMlQTklMjBBZm9uc28lMjAlNUJEaXNjbyUyMDIlNUQvMTUlMjAtR3IlQzMlQTJuZG9sYSwlMjBWaWxhJTIwTW9yZW5hLm1wMw=%'"
amarok:             END__: virtual void ProgressWidget::engineTrackLengthChanged(long int) - Took 0.0007s
amarok:           END__: virtual void ProgressWidget::engineNewTrackPlaying() - Took 0.00093s
amarok:           BEGIN: virtual void TimecodeObserver::engineNewTrackPlaying()
amarok:              curent track name:  "Grândola, Vila Morena"
amarok:              Track timecodeable
amarok:           END__: virtual void TimecodeObserver::engineNewTrackPlaying() - Took 0.0002s
amarok:            returning bookmarkcurrenttrack action
amarok:         END__: void EngineController::slotNewTrackPlaying(const Phonon::MediaSource&) - Took 0.16s
amarok:       END__: void EngineController::playUrl(const KUrl&, uint) - Took 0.17s
amarok:     END__: void EngineController::play(const Meta::TrackPtr&, uint) - Took 0.17s
amarok:   END__: void Playlist::Actions::play(quint64, bool) - Took 0.17s
amarok: END__: void Playlist::PrettyListView::trackActivated(const QModelIndex&) - Took 0.17s
amarok: BEGIN: void EngineController::slotStateChanged(Phonon::State, Phonon::State)
amarok:   BEGIN: void EngineSubject::stateChangedNotify(Phonon::State, Phonon::State)
amarok:     BEGIN: virtual void StatusBar::engineStateChanged(Phonon::State, Phonon::State)
amarok:     END__: virtual void StatusBar::engineStateChanged(Phonon::State, Phonon::State) - Took 0.00024s
amarok:     BEGIN: virtual void ProgressWidget::engineStateChanged(Phonon::State, Phonon::State)
amarok:     END__: virtual void ProgressWidget::engineStateChanged(Phonon::State, Phonon::State) - Took 9.2e-05s
amarok:     BEGIN: virtual void Context::ContextView::engineStateChanged(Phonon::State, Phonon::State)
amarok:       BEGIN: virtual void LyricsEngine::message(const Context::ContextState&)
amarok:       END__: virtual void LyricsEngine::message(const Context::ContextState&) - Took 9.5e-05s
amarok:       BEGIN: virtual void CurrentEngine::message(const Context::ContextState&)
amarok:       END__: virtual void CurrentEngine::message(const Context::ContextState&) - Took 0.0012s
amarok:     END__: virtual void Context::ContextView::engineStateChanged(Phonon::State, Phonon::State) - Took 0.0015s
amarok:     BEGIN: virtual void Amarok::PlayPauseAction::engineStateChanged(Phonon::State, Phonon::State)
amarok:        NEWSTATE:  1 OLDSTATE:  2
amarok:     END__: virtual void Amarok::PlayPauseAction::engineStateChanged(Phonon::State, Phonon::State) - Took 0.0002s
amarok:     BEGIN: virtual void Amarok::OSD::engineStateChanged(Phonon::State, Phonon::State)
amarok:     END__: virtual void Amarok::OSD::engineStateChanged(Phonon::State, Phonon::State) - Took 0.00016s
amarok:     BEGIN: virtual void MainWindow::engineStateChanged(Phonon::State, Phonon::State)
amarok:       [MainWindow] Phonon state:  1
amarok:     END__: virtual void MainWindow::engineStateChanged(Phonon::State, Phonon::State) - Took 0.00024s
amarok:      returning bookmarkcurrenttrack action
amarok:     BEGIN: virtual void ProgressWidget::engineStateChanged(Phonon::State, Phonon::State)
amarok:     END__: virtual void ProgressWidget::engineStateChanged(Phonon::State, Phonon::State) - Took 0.0012s
amarok:      returning bookmarkcurrenttrack action
amarok:   END__: void EngineSubject::stateChangedNotify(Phonon::State, Phonon::State) - Took 0.0071s
amarok: END__: void EngineController::slotStateChanged(Phonon::State, Phonon::State) - Took 0.0074s
amarok: BEGIN: void EngineController::slotStateChanged(Phonon::State, Phonon::State)
amarok:   BEGIN: void EngineSubject::stateChangedNotify(Phonon::State, Phonon::State)
amarok:     BEGIN: virtual void StatusBar::engineStateChanged(Phonon::State, Phonon::State)
amarok:        LoadingState: clear text
amarok:     END__: virtual void StatusBar::engineStateChanged(Phonon::State, Phonon::State) - Took 0.0025s
amarok:     BEGIN: virtual void ProgressWidget::engineStateChanged(Phonon::State, Phonon::State)
amarok:     END__: virtual void ProgressWidget::engineStateChanged(Phonon::State, Phonon::State) - Took 0.00011s
amarok:     BEGIN: virtual void Context::ContextView::engineStateChanged(Phonon::State, Phonon::State)
amarok:     END__: virtual void Context::ContextView::engineStateChanged(Phonon::State, Phonon::State) - Took 9.5e-05s
amarok:     BEGIN: virtual void Amarok::PlayPauseAction::engineStateChanged(Phonon::State, Phonon::State)
amarok:        NEWSTATE:  0 OLDSTATE:  1
amarok:     END__: virtual void Amarok::PlayPauseAction::engineStateChanged(Phonon::State, Phonon::State) - Took 0.0003s
amarok:     BEGIN: virtual void Amarok::OSD::engineStateChanged(Phonon::State, Phonon::State)
amarok:     END__: virtual void Amarok::OSD::engineStateChanged(Phonon::State, Phonon::State) - Took 0.00047s
amarok:     BEGIN: virtual void MainWindow::engineStateChanged(Phonon::State, Phonon::State)
amarok:       [MainWindow] Phonon state:  0
amarok:     END__: virtual void MainWindow::engineStateChanged(Phonon::State, Phonon::State) - Took 0.00016s
amarok:      returning bookmarkcurrenttrack action
amarok:     BEGIN: virtual void ProgressWidget::engineStateChanged(Phonon::State, Phonon::State)
amarok:     END__: virtual void ProgressWidget::engineStateChanged(Phonon::State, Phonon::State) - Took 0.00012s
amarok:      returning bookmarkcurrenttrack action
amarok:   END__: void EngineSubject::stateChangedNotify(Phonon::State, Phonon::State) - Took 0.028s
amarok: END__: void EngineController::slotStateChanged(Phonon::State, Phonon::State) - Took 0.028s
amarok: BEGIN: void EngineController::slotStateChanged(Phonon::State, Phonon::State)
amarok:   [EngineController] [WARNING!] Phonon failed to play this URL. Error:  "10:13:40: input_file: File not found: >file:///data/MP3/Jose.Afonso.Colectanea.(2001).2CDs/Jos%C3%A9%20Afonso/Jos%C3%A9%20Afonso%20%5BDisco%202%5D/15%20-Gr%C3%A2ndola,%20Vila%20Morena.mp3<
"
Comment 1 Mikko C. 2009-09-03 11:23:29 UTC
amarok:   [EngineController] [WARNING!] Phonon failed to play this URL. Error: 
"10:13:40: input_file: File not found:
>file:///data/MP3/Jose.Afonso.Colectanea.(2001).2CDs/Jos%C3%A9%20Afonso/Jos%C3%A9%20Afonso%20%5BDisco%202%5D/15%20-Gr%C3%A2ndola,%20Vila%20Morena.mp3<"


Reassigning to Phonon, but please make sure to specify which backend you use.
Xine is the preferred one.
Comment 2 Marcos David 2009-09-03 11:29:46 UTC
Tried it with Xine and GStreamer.

Gstreamer debug output:

amarok: BEGIN: void ScanManager::startIncrementalScan()
amarok:   BEGIN: QStringList ScanManager::getDirsToScan()
amarok:   END__: QStringList ScanManager::getDirsToScan() - Took 0.032s
amarok:    GOING TO SCAN:
amarok:    Scanning nothing, return.
amarok:   BEGIN: void ScanManager::writeBatchIncrementalInfoFile()
amarok:   END__: void ScanManager::writeBatchIncrementalInfoFile() - Took 0.0017s
amarok: END__: void ScanManager::startIncrementalScan() - Took 0.037s
amarok: BEGIN: void EngineController::playPause()
amarok:   [EngineController] PlayPause: phonon state 0
amarok:   BEGIN: void EngineController::play()
amarok:     BEGIN: void Playlist::Actions::play(quint64, bool)
amarok:       BEGIN: void EngineController::play(const Meta::TrackPtr&, uint)
amarok:         [EngineController] Just a normal, boring track... :-P
amarok:         BEGIN: void EngineController::playUrl(const KUrl&, uint)
amarok:           BEGIN: void EngineController::slotStopFadeout()
amarok:           END__: void EngineController::slotStopFadeout() - Took 0.0001s
amarok:           [EngineController] URL:  "file:///data/MP3/Jose.Afonso.Colectanea.(2001).2CDs/Jos%C3%A9%20Afonso/Jos%C3%A9%20Afonso%20%5BDisco%202%5D/15%20-Gr%C3%A2ndola,%20Vila%20Morena.mp3"
amarok:           BEGIN: void EngineController::slotNewTrackPlaying(const Phonon::MediaSource&)
amarok:             [EngineController] Using gain of -0.285 with relative peak of -4.82945
amarok:             BEGIN: void EngineSubject::stateChangedNotify(Phonon::State, Phonon::State)
amarok:             END__: void EngineSubject::stateChangedNotify(Phonon::State, Phonon::State) - Took 0.00011s
amarok:             BEGIN: virtual void Dynamic::EchoNestBias::engineNewTrackPlaying()
amarok:             END__: virtual void Dynamic::EchoNestBias::engineNewTrackPlaying() - Took 0.00018s
amarok:             BEGIN: virtual void TimecodeObserver::engineNewTrackPlaying()
amarok:             END__: virtual void TimecodeObserver::engineNewTrackPlaying() - Took 0.0001s
amarok:             BEGIN: void Playlist::PrettyListView::scrollToActiveTrack()
amarok:               [Playlist::PrettyListView] skipping scroll? false
amarok:             END__: void Playlist::PrettyListView::scrollToActiveTrack() - Took 0.00023s
amarok:             BEGIN: virtual void ProgressWidget::engineNewTrackPlaying()
amarok:               BEGIN: virtual void ProgressWidget::engineTrackLengthChanged(long int)
amarok:                  new length:  206
amarok:                  slider enabled!
amarok:                  here 1
amarok:                  here 2
amarok:                  [ERROR!] GREPME MySQL query failed! Table 'amarok.bookmarks' doesn't exist  on  "SELECT id, parent_id, name, url, description, custom FROM bookmarks WHERE url LIKE '%ZmlsZTovLy9kYXRhL01QMy9Kb3NlLkFmb25zby5Db2xlY3RhbmVhLigyMDAxKS4yQ0RzQDE5MmticHMuYnkuQ2FubmVsb25pL0pvcyVDMyVBOSUyMEFmb25zby9Kb3MlQzMlQTklMjBBZm9uc28lMjAlNUJEaXNjbyUyMDIlNUQvMTUlMjAtR3IlQzMlQTJuZG9sYSwlMjBWaWxhJTIwTW9yZW5hLm1wMw=%'"
amarok:               END__: virtual void ProgressWidget::engineTrackLengthChanged(long int) - Took 0.00068s
amarok:             END__: virtual void ProgressWidget::engineNewTrackPlaying() - Took 0.001s
amarok:             BEGIN: virtual void ProgressWidget::engineNewTrackPlaying()
amarok:               BEGIN: virtual void ProgressWidget::engineTrackLengthChanged(long int)
amarok:                  new length:  206
amarok:                  slider enabled!
amarok:                  here 1
amarok:                  here 2
amarok:                  [ERROR!] GREPME MySQL query failed! Table 'amarok.bookmarks' doesn't exist  on  "SELECT id, parent_id, name, url, description, custom FROM bookmarks WHERE url LIKE '%ZmlsZTovLy9kYXRhL01QMy9Kb3NlLkFmb25zby5Db2xlY3RhbmVhLigyMDAxKS4yQ0RzQDE5MmticHMuYnkuQ2FubmVsb25pL0pvcyVDMyVBOSUyMEFmb25zby9Kb3MlQzMlQTklMjBBZm9uc28lMjAlNUJEaXNjbyUyMDIlNUQvMTUlMjAtR3IlQzMlQTJuZG9sYSwlMjBWaWxhJTIwTW9yZW5hLm1wMw=%'"
amarok:               END__: virtual void ProgressWidget::engineTrackLengthChanged(long int) - Took 0.00053s
amarok:             END__: virtual void ProgressWidget::engineNewTrackPlaying() - Took 0.00073s
amarok:           END__: void EngineController::slotNewTrackPlaying(const Phonon::MediaSource&) - Took 0.0066s
amarok:         END__: void EngineController::playUrl(const KUrl&, uint) - Took 0.0081s
amarok:       END__: void EngineController::play(const Meta::TrackPtr&, uint) - Took 0.0083s
amarok:     END__: void Playlist::Actions::play(quint64, bool) - Took 0.0085s
amarok:   END__: void EngineController::play() - Took 0.0087s
amarok: END__: void EngineController::playPause() - Took 0.009s
Comment 3 Dario Andres 2009-09-04 02:04:08 UTC
This could be related to bug 198008 / bug 190885 (gstreamer and xine)
Thanks
Comment 4 Marcos David 2009-09-10 13:36:03 UTC
Just tested out something.
If I open xine with the above URL:
xine "file:///data/MP3/Jose.Afonso.Colectanea.(2001).2CDs/Jos%C3%A9%20Afonso/Jos%C3%A9%20Afonso%20%5BDisco%202%5D/15%20-Gr%C3%A2ndola,%20Vila%20Morena.mp3"

It also crashes. error message: 
---------------------- (ERROR) ----------------------
- xine engine error -

Input plugin failed to open mrl 'file:///data/MP3/Jose.Afonso.Colectanea.(2001).2CDs/José Afonso/José Afonso [Disco 1]/01 -Canção De Embalar.mp3'

------------------ (END OF ERROR) -------------------

Is this a problem with phonon or the way Amarok is encoding URLs?
Comment 5 Martin Sandsmark 2009-09-16 22:36:01 UTC
Can you check what your locale is set to?
Comment 6 Martin Sandsmark 2009-09-16 22:37:18 UTC
Ah, and what filesystem are these files on, and what encoding is it using?
Comment 7 Marcos David 2009-09-17 11:20:35 UTC
Hi, the filesystem is ext3 (how can I check the encoding?).

Locale (in KDE) is set to Portuguese.

Relevant environment variables:
LANG=pt_PT.UTF-8                                                                                                                                               
LAN=pt_PT.UTF-8                                                                                                                                                             
LC_CTYPE=pt_PT.UTF-8                                                                                                                                                        
LC_MONETARY=pt_PT                                                                                                                                                           
LC_NUMERIC=pt_PT                                                                                                                                                            
LC_PAPER=pt_PT                                                                                                                                                              
LC_TIME=pt_PT
Comment 8 Martin Sandsmark 2009-09-17 15:07:41 UTC
Does Dolphin (or your file manager of choice) display the filenames correctly? Does `ls` display them correctly?

How were the files created?
Comment 9 Marcos David 2009-09-17 16:32:59 UTC
hmmm,
I copied them from an NTFS filesystem with an iso-8859-15 encoding.
They only get displayed correctly in konqueror/konsole if I set the font encoding to iso-8859-15.

The same thing on a standard shell.
Comment 10 Martin Sandsmark 2009-09-17 16:38:12 UTC
So the names are stored with iso-8859-15 on a filesystem with default encoding set to UTF-8 (most probably) and locale set to UTF-8-ish-stuff.

I can recommend using the tool “convmv” to fix the filenames of your files, at least until this is fixed.
Comment 11 Myriam Schweingruber 2009-10-17 13:21:43 UTC
*** Bug 210813 has been marked as a duplicate of this bug. ***
Comment 12 gidantribal 2009-10-17 21:40:28 UTC
i have the same problem as well. audio files are stored in a NTFS file system.
Comment 13 Nati B. 2009-11-03 09:46:57 UTC
Happens to me as well. Really bothering.
I have Ext3 file system. Using Xine.
Comment 14 hans 2009-11-04 02:13:51 UTC
Same here;

mounted mp3-collection with nfs.

double click on the mp3 opens gxine=>everything ok
klick on this play-button in dolphin=>nothing

backend=xine
distri=slackware64-current (kde 4.3.2, amarok 2.2.0 build from sources with lastfm support)

locale=en_US

with en_US.utf8 it's the same... output from dolphin:

bash-3.1$ LC_ALL=en_US.utf8 dolphin
bash-3.1$ QLayout: Attempting to add QLayout "" to PhononWidget "", which already has a layout
xine is asking to seek behind the end of the data stream
xine is asking to seek behind the end of the data stream
Comment 15 montag.fire 2009-11-18 21:50:11 UTC
Same problem here: Amarok, Kaffeine and Dolphin preview can't play a file with the "#" in its filename, while i.e. Vlc plays it normally.

Amarok 2.2.1
Kubuntu 9.10 Karmic with Kde 4.3.3
Backend: Xine
Filesystem: Ext3
Locale:
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

I also tried converting one sample problematic file with convmv, but it detects no conversion needed.

Very annoying, if I could help in some way, just ask.
Comment 16 Marcos Dione 2009-11-19 11:22:58 UTC
can you test again? there have been some changes lately in the backends about
strange chars in filepaths.
Comment 17 Myriam Schweingruber 2009-12-08 22:54:11 UTC
*** Bug 217909 has been marked as a duplicate of this bug. ***
Comment 18 Myriam Schweingruber 2009-12-11 10:37:25 UTC
*** Bug 218205 has been marked as a duplicate of this bug. ***
Comment 19 hyper_ch 2009-12-13 18:59:39 UTC
I can't play files neither that have a # in the path (haven't tried with the filename).

Path was created using EasyTag so it should be UTF-8 (but I'm willing to check)
Comment 20 Marcos Dione 2009-12-13 22:02:03 UTC
hyper_ch: are you running cvs? I comited some patches which supposedly fixed this for the xine and gstreamer backends, but seems that it won't be released soon.
Comment 21 hyper_ch 2009-12-13 22:05:01 UTC
I run git with phonon.
Comment 23 hyper_ch 2009-12-13 22:21:47 UTC
I don't compile kde from git/svn. Only amarok, strigi and nepomuk.
Comment 24 Marcos Dione 2009-12-13 22:35:00 UTC
then you'll have to wait till your distro catches up with the patches :|
Comment 25 Alan Ezust 2009-12-18 22:01:07 UTC
I can confirm this currently, when using debian squeeze with gstreamer backend.
But if I switch to xine backend, then the problem goes away. So that's my workaround for now.

I guess there is still a phonon-gstreamer bug that needs to be fixed.
Comment 26 hyper_ch 2009-12-22 22:38:20 UTC
I just updated my Kubuntu Karmic install to KDE 4.4 Beta 2 and those tracks with a # in the path name are being played now. So I guess KDE 4.4 fixes it.
Comment 27 Marcos Dione 2009-12-24 20:14:00 UTC
@hyper_ch: you said you installed KDE SC 4.4beta2. from which repo? I would like to see what patches they might have applied.

@alan ezust: most probably the bug fix will take some time to reach debian testing.
Comment 28 Marcos Dione 2010-01-14 00:33:00 UTC
I tested several times with local files and works now.
Comment 29 Marco.Munderloh 2010-03-12 14:58:30 UTC
I'm using KDE 4.4.1 with phonon 4.3.80 and 4.4.0 on openSUSE 11.2 and I'm still not able to play files with special characters:

amarok:   [EngineController] [WARNING!] Phonon failed to play this URL. Error:  "14:44:29: input_file: File not found: >file:///mp3/deutsch/J.B.O./laut!/Die_Schei%C3%9Fe.mp3<
"

So was the patch lost on the way?
Comment 30 Thierry MONNEREAU 2010-05-01 15:34:23 UTC
I'm on debian testing and have the same problem "Phonon failed to play this URL. Error:  "15:18:55: input_file: Fichier non trouv?: >file:///donnees/sonores/chansons/G%C3%A9rald..."
Comment 31 Thierry MONNEREAU 2010-06-06 12:44:26 UTC
I've just update my debian testing... I've again the same problem... :(

For information :
sudo dpkg -l | grep phono
ii  libphonon4                           4:4.6.0really4.4.1-2           the core library of the Phonon multimedia framework
ii  phonon                               4:4.6.0really4.4.1-2           metapackage for the Phonon multimedia framework
ii  phonon-backend-xine                  4:4.6.0really4.4.1-2           Phonon Xine 1.1.x backend
ii  phonon-dbg

If I can help...
Comment 32 Myriam Schweingruber 2010-06-07 00:17:04 UTC

*** This bug has been marked as a duplicate of bug 172242 ***