Bug 197401 - Amarok doesn't playback files, if filepath contain spaces or non-Latin symbols
Summary: Amarok doesn't playback files, if filepath contain spaces or non-Latin symbols
Status: RESOLVED DUPLICATE of bug 189898
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-21 18:14 UTC by Pavel Zheltobryukhov
Modified: 2009-06-21 19:37 UTC (History)
0 users

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 Pavel Zheltobryukhov 2009-06-21 18:14:07 UTC
Version:            (using KDE 4.2.90)
OS:                Linux
Installed from:    SuSE RPMs

Amarok
Version 2.1.1
Use KDE 4.2.90 (KDE 4.2.90 (KDE 4.3 Beta2)) "release 138"

Amarok doesn't play files, if filepath contain 'spaces' or non-Latin symbols. If I replace ' ' with '_', the file playback well. But problem with cyrillic names without spaces still persist.

For example, file 'Mr_Artist-The_Song.mp3' playback well, but 'Mr_Artist-Песня.mp3' or 'Mr. Artist - The Song.mp3' doesn't play anyway.
Comment 1 Pavel Zheltobryukhov 2009-06-21 19:25:25 UTC
Debug output:

amarok: BEGIN: virtual bool SqlPodcastProvider::possiblyContainsTrack(const KUrl&) const                                     
amarok: END__: virtual bool SqlPodcastProvider::possiblyContainsTrack(const KUrl&) const - Took 0.00047s                     
amarok:  [CUEFILE]:  "/media/MY BOOK/MUSIC/Mr.Snow - Informer.cue"  - Shoot blindly and missed, searching for other cue files.                                                                                                                            
amarok:  [CUEFILE]: - Didn't find any matching cue file.                                                                     

amarok: [CollectionManager] Creating MetaFile::Track 
amarok:  "Read metadata from file for: Informer"     
amarok: BEGIN: void Playlist::Controller::slotFinishDirectoryLoader(const Meta::TrackList&) 
amarok:   BEGIN: void Playlist::Controller::insertOptioned(Meta::TrackList, int)            
amarok:     BEGIN: void Playlist::Controller::insertionHelper(int, Meta::TrackList&)        
amarok:       BEGIN: void Playlist::PrettyListView::itemsAdded(int)                         
amarok:         [Playlist::PrettyListView] index has row:  0                                
amarok:       END__: void Playlist::PrettyListView::itemsAdded(int) - Took 0.00052s         
amarok:     END__: void Playlist::Controller::insertionHelper(int, Meta::TrackList&) - Took 0.0027s 
amarok:     [Playlist::Controller] engine state:  0                                                 
amarok:     BEGIN: void Playlist::Actions::play(quint64, bool)                                      
amarok:       BEGIN: void EngineController::play(const Meta::TrackPtr&, uint)                       
amarok:         BEGIN: void EngineController::playUrl(const KUrl&, uint)                            
amarok:           BEGIN: void EngineController::slotStopFadeout()                                   
amarok:           END__: void EngineController::slotStopFadeout() - Took 0.00018s                   
amarok:           [EngineController] URL:  "file:///media/MY%20BOOK/MUSIC/Mr.Snow%20-%20Informer.mp3" 
amarok:           BEGIN: void EngineController::slotNewTrackPlaying(const Phonon::MediaSource&)       
amarok:             [EngineController] Using gain of 0 with relative peak of 0                        
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.00058s 
amarok:               BEGIN: virtual void Context::ContextView::engineStateChanged(Phonon::State, Phonon::State)      
amarok:               END__: virtual void Context::ContextView::engineStateChanged(Phonon::State, Phonon::State) - Took 0.00019s                                                                                                                          
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.00033s       
amarok:                returning bookmarkcurrenttrack action                                                                 
amarok:               BEGIN: virtual void Amarok::PlayPauseAction::engineStateChanged(Phonon::State, Phonon::State)          
amarok:                  NEWSTATE:  0 OLDSTATE:  0                                                                           
amarok:               END__: virtual void Amarok::PlayPauseAction::engineStateChanged(Phonon::State, Phonon::State) - Took 0.0013s                                                                                                                        
amarok:               BEGIN: virtual void Amarok::OSD::engineStateChanged(Phonon::State, Phonon::State)                      
amarok:               END__: virtual void Amarok::OSD::engineStateChanged(Phonon::State, Phonon::State) - Took 0.0002s       
amarok:               BEGIN: virtual void ProgressWidget::engineStateChanged(Phonon::State, Phonon::State)                   
amarok:                  slider disabled!                                                                                    
amarok:               END__: virtual void ProgressWidget::engineStateChanged(Phonon::State, Phonon::State) - Took 0.00041s   
amarok:             END__: void EngineSubject::stateChangedNotify(Phonon::State, Phonon::State) - Took 0.017s                
amarok:             BEGIN: void Playlist::PrettyListView::scrollToActiveTrack()                                              
amarok:               [Playlist::PrettyListView] skipping scroll? false                                                      
amarok:             END__: void Playlist::PrettyListView::scrollToActiveTrack() - Took 0.018s                                
amarok:             BEGIN: virtual void TimecodeObserver::engineNewTrackPlaying()                                            
amarok:                curent track name:  "Informer"                                                                        
amarok:                Track timecodeable                                                                                    
amarok:             END__: virtual void TimecodeObserver::engineNewTrackPlaying() - Took 0.00015s                            
amarok:             BEGIN: virtual void ProgressWidget::engineNewTrackPlaying()                                              
amarok:               BEGIN: virtual void ProgressWidget::engineTrackLengthChanged(long int)                                 
amarok:                  new length:  268                                                                                    
amarok:                  slider enabled!                                                                                     
amarok:                  here 1                                                                                              
amarok:                  here 2                                                                                              
amarok:                 BEGIN: static BookmarkList PlayUrlRunner::bookmarksFromUrl(KUrl)                                     
amarok:                    query:  "SELECT id, parent_id, name, url, description, custom FROM bookmarks WHERE url LIKE '%ZmlsZTovLy9tZWRpYS9NWSUyMEJPT0svTVVTSUMvTXIuU25vdyUyMC0lMjBJbmZvcm1lci5tcDM%'"                                                   
amarok:                    [ERROR!] GREPME MySQLe query failed! Table 'amarok.bookmarks' doesn't exist  on  "SELECT id, parent_id, name, url, description, custom FROM bookmarks WHERE url LIKE '%ZmlsZTovLy9tZWRpYS9NWSUyMEJPT0svTVVTSUMvTXIuU25vdyUyMC0lMjBJbmZvcm1lci5tcDM%'"                                                                                                       
amarok:                 END__: static BookmarkList PlayUrlRunner::bookmarksFromUrl(KUrl) - Took 0.00044s                     
amarok:               END__: virtual void ProgressWidget::engineTrackLengthChanged(long int) - Took 0.00082s                 
amarok:             END__: virtual void ProgressWidget::engineNewTrackPlaying() - Took 0.001s                                
amarok:           END__: void EngineController::slotNewTrackPlaying(const Phonon::MediaSource&) - Took 0.04s                 
amarok:         END__: void EngineController::playUrl(const KUrl&, uint) - Took 0.047s                                       
amarok:       END__: void EngineController::play(const Meta::TrackPtr&, uint) - Took 0.047s                                  
amarok:     END__: void Playlist::Actions::play(quint64, bool) - Took 0.047s                                                 
amarok:   END__: void Playlist::Controller::insertOptioned(Meta::TrackList, int) - Took 0.051s                               
amarok: END__: void Playlist::Controller::slotFinishDirectoryLoader(const Meta::TrackList&) - Took 0.051s                    
X Error: BadWindow (invalid Window parameter) 3                                                                              
  Major opcode: 20 (X_GetProperty)                                                                                           
  Resource id:  0x2e00f3c                                                                                                    
amarok: BEGIN: void EngineController::slotNewTrackPlaying(const Phonon::MediaSource&)                                        
amarok:   [EngineController] Using gain of 0 with relative peak of 0                                                         
amarok:   BEGIN: void EngineSubject::stateChangedNotify(Phonon::State, Phonon::State)                                        
amarok:   END__: void EngineSubject::stateChangedNotify(Phonon::State, Phonon::State) - Took 7.8e-05s                        
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 TimecodeObserver::engineNewTrackPlaying()                                                      
amarok:   END__: virtual void TimecodeObserver::engineNewTrackPlaying() - Took 7.2e-05s                                      
amarok:   [Playlist::Actions] [WARNING!] engineNewTrackPlaying: "Informer" does not match what the playlist controller thought it should be                                                                                                               
amarok:   BEGIN: virtual void ProgressWidget::engineNewTrackPlaying()                                                        
amarok:     BEGIN: virtual void ProgressWidget::engineTrackLengthChanged(long int)                                           
amarok:        new length:  268                                                                                              
amarok:        slider enabled!                                                                                               
amarok:        here 1                                                                                                        
amarok:        here 2                                                                                                        
amarok:       BEGIN: static BookmarkList PlayUrlRunner::bookmarksFromUrl(KUrl)                                               
amarok:          query:  "SELECT id, parent_id, name, url, description, custom FROM bookmarks WHERE url LIKE '%ZmlsZTovLy9tZWRpYS9NWSUyMEJPT0svTVVTSUMvTXIuU25vdyUyMC0lMjBJbmZvcm1lci5tcDM%'"
amarok:          [ERROR!] GREPME MySQLe query failed! Table 'amarok.bookmarks' doesn't exist  on  "SELECT id, parent_id, name, url, description, custom FROM bookmarks WHERE url LIKE '%ZmlsZTovLy9tZWRpYS9NWSUyMEJPT0svTVVTSUMvTXIuU25vdyUyMC0lMjBJbmZvcm1lci5tcDM%'"
amarok:       END__: static BookmarkList PlayUrlRunner::bookmarksFromUrl(KUrl) - Took 0.00041s
amarok:     END__: virtual void ProgressWidget::engineTrackLengthChanged(long int) - Took 0.068s
amarok:   END__: virtual void ProgressWidget::engineNewTrackPlaying() - Took 0.068s
amarok: END__: void EngineController::slotNewTrackPlaying(const Phonon::MediaSource&) - Took 0.071s
amarok: BEGIN: void EngineController::slotStateChanged(Phonon::State, Phonon::State)
amarok:   [EngineController] [WARNING!] Phonon failed to play this URL. Error:  ""
amarok:   BEGIN: void Playlist::Actions::play(quint64, bool)
amarok:     [Playlist::Actions] [WARNING!] Invalid trackid 0
amarok:   END__: void Playlist::Actions::play(quint64, bool) - Took 0.00013s
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 7.1e-05s
amarok:     BEGIN: virtual void Context::ContextView::engineStateChanged(Phonon::State, Phonon::State)
amarok:     END__: virtual void Context::ContextView::engineStateChanged(Phonon::State, Phonon::State) - Took 7.3e-05s
amarok:     BEGIN: virtual void MainWindow::engineStateChanged(Phonon::State, Phonon::State)
amarok:       [MainWindow] Phonon state:  5
amarok:     END__: virtual void MainWindow::engineStateChanged(Phonon::State, Phonon::State) - Took 0.00014s
amarok:      returning bookmarkcurrenttrack action
amarok:     BEGIN: virtual void Amarok::PlayPauseAction::engineStateChanged(Phonon::State, Phonon::State)
amarok:        NEWSTATE:  5 OLDSTATE:  0
amarok:     END__: virtual void Amarok::PlayPauseAction::engineStateChanged(Phonon::State, Phonon::State) - Took 0.00018s
amarok:     [Playlist::Actions] [WARNING!] Error, can not play this track.
amarok:     [Playlist::Actions] [WARNING!] Failure count:  1
amarok:     BEGIN: virtual void Amarok::OSD::engineStateChanged(Phonon::State, Phonon::State)
amarok:     END__: virtual void Amarok::OSD::engineStateChanged(Phonon::State, Phonon::State) - Took 7.5e-05s
amarok:     BEGIN: virtual void ProgressWidget::engineStateChanged(Phonon::State, Phonon::State)
amarok:     END__: virtual void ProgressWidget::engineStateChanged(Phonon::State, Phonon::State) - Took 0.00022s
amarok:   END__: void EngineSubject::stateChangedNotify(Phonon::State, Phonon::State) - Took 0.015s
amarok: END__: void EngineController::slotStateChanged(Phonon::State, Phonon::State) - Took 0.016s
amarok: BEGIN: void ScanManager::startIncrementalScan()
amarok:   BEGIN: QStringList ScanManager::getDirsToScan()
amarok:   END__: QStringList ScanManager::getDirsToScan() - Took 0.00036s
amarok:    GOING TO SCAN:
amarok:    Scanning nothing, return.
amarok:   BEGIN: void ScanManager::writeBatchIncrementalInfoFile()
amarok:   END__: void ScanManager::writeBatchIncrementalInfoFile() - Took 0.00036s
amarok: END__: void ScanManager::startIncrementalScan() - Took 0.0012s
Comment 2 Pavel Zheltobryukhov 2009-06-21 19:37:30 UTC

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