Bug 172414

Summary: Amarok cannot play files with square brackets [ ] in name
Product: [Frameworks and Libraries] phonon-backend-gstreamer Reporter: Radoslaw Szkodzinski <astralstorm>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jensbw, m.deege, martin.sandsmark, myriam, periliocastrol
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Radoslaw Szkodzinski 2008-10-08 20:58:02 UTC
Version:           2.0-SVN Oct 7 2008 (using Devel)
Compiler:          gcc (Gentoo 4.3.1-r1 p1.1) 4.3.1  ~x86 CXXFLAGS="-march=core2 -O2 -fomit-frame-pointer -mfpmath=sse -fvisibility-inlines-hidden"
OS:                Linux
Installed from:    Compiled sources

Amarok 2 cannot play files which have filenames with [] in them. Example:
/mnt/store/music/Clutch/Clutch - Pure Rock Fury [2001] {By Morn}/Clutch - Pure Rock Fury [2001]/Clutch - Pure Rock Fury - 02 - Pure Rock Fury.mp3

It stops playback on such files. I suspect some missing string escape before passing to the shell, thus qualifying as a security bug too.
Comment 1 Radoslaw Szkodzinski 2008-10-10 02:11:13 UTC
Happens only with gstreamer Phonon backend.
Comment 2 Mark Kretschmann 2008-10-12 14:37:56 UTC
*** Bug 172664 has been marked as a duplicate of this bug. ***
Comment 3 Matthias 2009-02-25 21:09:50 UTC
I have the same problem over here, but with both GStreamer and Xine backend. It is not restricted to AmaroK 2.0.1 but will also happen with other apps relying on Phonon (such as Dragon Player).

Other characters causing AmaroK to stop playing are e.g. German Umlauts
Comment 4 Mark Kretschmann 2009-02-27 17:33:11 UTC

*** This bug has been marked as a duplicate of bug 173789 ***
Comment 5 Myriam Schweingruber 2011-04-27 21:14:44 UTC
reassigning to the new bugzilla product for better bug tracing of the various backends. Sorry for the noise.