Bug 261469 - Amarok has problems playing files with a '%2F' in their filename.
Summary: Amarok has problems playing files with a '%2F' in their filename.
Status: RESOLVED DUPLICATE of bug 242168
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.4.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: 2.4.0
Assignee: Amarok Developers
URL:
Keywords:
: 268074 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-28 18:49 UTC by Jonathan Verner
Modified: 2011-03-23 20:08 UTC (History)
1 user (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 Jonathan Verner 2010-12-28 18:49:36 UTC
Version:           2.3.90 (2.4 beta 1) (using KDE 4.5.90) 
OS:                Linux

Amarok has trouble playing files which have '%2F' in their filename. It seems,
that in the url, that is passed to phonon, the '%2F' changes to a '/' (from the debugging output). When renaming the files to not contain '%2F', it starts working. 

Also, the error message is not very helpful: It just says, that 'the playlist contains too many errors' without mentioning what went wrong (e.g. saying that the file does not seem to exist...).

Reproducible: Didn't try




OS: Linux (i686) release 2.6.35-22-generic
Compiler: cc
Comment 1 Myriam Schweingruber 2011-01-04 00:18:06 UTC
Could you please paste the relevant area of the debug output?
Comment 2 Jonathan Verner 2011-02-08 16:25:56 UTC
The same behaviour is still present in released amarok 2.4 (KDE 4.6).
Here is the relevant (hopefully) area of debug output:

amarok: BEGIN: void Playlist::PrettyListView::trackActivated(const QModelIndex&)                                                                                                      
amarok:   BEGIN: void Playlist::Actions::play(const QModelIndex&)                                                                                                                     
amarok:     BEGIN: void Playlist::Actions::play(quint64, bool)                                                                                                                        
amarok:       BEGIN: void EngineController::play(Meta::TrackPtr, uint)                                                                                                                
amarok:         BEGIN: void EngineController::stop(bool)                                                                                                                              
amarok:           BEGIN: void EngineController::slotNewTrackPlaying(const Phonon::MediaSource&)                                                                                       
amarok:             [EngineController] Empty MediaSource (engine stop)                                                                                                                
amarok:           END__: void EngineController::slotNewTrackPlaying(const Phonon::MediaSource&) [Took: 0s]                                                                            
amarok:         END__: void EngineController::stop(bool) [Took: 0s]                                                                                                                   
amarok:         [EngineController] play: bounded is  QObject(0x0)  current "Self / Stay Home"                                                                                         
amarok:         [EngineController] Just a normal, boring track... :-P                                                                                                                 
amarok:         BEGIN: void EngineController::playUrl(const KUrl&, uint)                                                                                                              
amarok:           [EngineController] URL:  "file:///home/jonathan/Documents/Hudba/Shrek/Various%20-%2001%20-%20Self%20%252F%20Stay%20Home.ogg"                                        
amarok:           [EngineController] offset:  0                                                                                                                                       
amarok:           BEGIN: void EngineController::slotNewTrackPlaying(const Phonon::MediaSource&)                                                                                       
amarok:             [EngineController] Using gain of 0 with relative peak of 0                                                                                                        
amarok:             SCRIPT "SkypeMood" :  "SkypeMood: onTrackChange" 
amarok:             SCRIPT "SkypeMood" :  "SkypeMood: Engine state: 2" 
amarok:             SCRIPT "SkypeMood" :  "Length:208000" 
amarok:             SCRIPT "SkypeMood" :  "" 
amarok:             SCRIPT "SkypeMood" :  "doing isAmarokMood for " 
amarok:             SCRIPT "SkypeMood" :  "Tested Pattern: ^.* - .* (.*) - .*$" 
amarok:             SCRIPT "SkypeMood" :  "no match" 
amarok:             SCRIPT "SkypeMood" :  "got smartmood:" 
amarok:             SCRIPT "SkypeMood" :  "SkypeMood: onTrackChange: Setting smartmood" 
amarok:             SCRIPT "SkypeMood" :  "SkypeMood: Sending Various - Self / Stay Home (Shrek [OST]) - 03:28" 
amarok:             BEGIN: void Playlist::Actions::slotTrackPlaying(Meta::TrackPtr) 
amarok:               BEGIN: void StatusBar::updateTotalPlaylistLength() 
amarok:               END__: void StatusBar::updateTotalPlaylistLength() [Took: 0s] 
amarok:               BEGIN: void Playlist::PrettyListView::slotPlaylistActiveTrackChanged() 
amarok:                 BEGIN: void Playlist::PrettyListView::scrollToActiveTrack() 
amarok:                 END__: void Playlist::PrettyListView::scrollToActiveTrack() [Took: 0s] 
amarok:               END__: void Playlist::PrettyListView::slotPlaylistActiveTrackChanged() [Took: 0s] 
amarok:             END__: void Playlist::Actions::slotTrackPlaying(Meta::TrackPtr) [Took: 0s] 
amarok:             BEGIN: void TimecodeObserver::trackPlaying(Meta::TrackPtr) 
amarok:               current track name:  "Self / Stay Home" 
amarok:               Track timecodeable 
amarok:             END__: void TimecodeObserver::trackPlaying(Meta::TrackPtr) [Took: 0.002s] 
amarok:             BEGIN: void ProgressWidget::trackLengthChanged(qint64) 
amarok:               new length:  208000 
amarok:               slider enabled! 
amarok:               BEGIN: void ProgressWidget::redrawBookmarks(const QString*) 
amarok:                 found  0  timecodes on this track 
amarok:               END__: void ProgressWidget::redrawBookmarks(const QString*) [Took: 0s] 
amarok:             END__: void ProgressWidget::trackLengthChanged(qint64) [Took: 0s] 
amarok:             BEGIN: void OSDWidget::show(const QString&, QImage) 
amarok:             END__: void OSDWidget::show(const QString&, QImage) [Took: 0s] 
amarok:             SCRIPT "SkypeMood" :  "SkypeMood: playPause" 
amarok:             SCRIPT "SkypeMood" :  "SkypeMood: Engine state: 2" 
amarok:             SCRIPT "SkypeMood" :  "" 
amarok:             SCRIPT "SkypeMood" :  "doing isAmarokMood for " 
amarok:             SCRIPT "SkypeMood" :  "Tested Pattern: ^.* - .* (.*) - .*$" 
amarok:             SCRIPT "SkypeMood" :  "no match" 
amarok:             SCRIPT "SkypeMood" :  "got smartmood:" 
amarok:             SCRIPT "SkypeMood" :  "SkypeMood: Sending Various - Self / Stay Home (Shrek [OST]) - 03:28" 
amarok:           END__: void EngineController::slotNewTrackPlaying(const Phonon::MediaSource&) [Took: 0.44s] 
amarok:           [EngineController] track pos after play:  -1 
amarok:         END__: void EngineController::playUrl(const KUrl&, uint) [Took: 0.44s] 
amarok:       END__: void EngineController::play(Meta::TrackPtr, uint) [Took: 0.44s] 
amarok:     END__: void Playlist::Actions::play(quint64, bool) [Took: 0.44s] 
amarok:   END__: void Playlist::Actions::play(const QModelIndex&) [Took: 0.44s] 
amarok: END__: void Playlist::PrettyListView::trackActivated(const QModelIndex&) [Took: 0.44s] 
amarok: BEGIN: void EngineController::slotStateChanged(Phonon::State, Phonon::State) 
amarok:   [WARNING] [EngineController] Phonon failed to play this URL. Error:  "16:17:10: input_file: File not found: >file://home/jonathan/Documents/Hudba/Shrek/Various - 01 - Self %2F Stay Home.ogg<
"
Comment 3 Myriam Schweingruber 2011-02-09 13:04:13 UTC
Which Phonon backend do you use?
Comment 4 Jonathan Verner 2011-02-09 16:42:14 UTC
I am using the xine backend (phonon 4.4.4, xine 1.1.8-1)
Comment 5 Myriam Schweingruber 2011-02-10 12:44:55 UTC
Thank you for the feedback.

*** This bug has been marked as a duplicate of bug 242168 ***
Comment 6 Ilja Pavkovic 2011-03-23 20:08:16 UTC
*** Bug 268074 has been marked as a duplicate of this bug. ***