Bug 192761 - can't play files with # in filename
Summary: can't play files with # in filename
Status: RESOLVED NOT A BUG
Alias: None
Product: amarok
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-15 13:51 UTC by Alexander Potashev
Modified: 2009-06-01 18:17 UTC (History)
1 user (show)

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


Attachments
result of "amarok --debug &> amarok.log" (81.21 KB, text/plain)
2009-05-15 13:54 UTC, Alexander Potashev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Potashev 2009-05-15 13:51:06 UTC
Version:           2.1-SVN (r967907) (using Devel)
Compiler:          gcc (Gentoo 4.4.0 p1.0) 4.4.0 
OS:                Linux
Installed from:    Compiled sources

1. 'filename.mp3' plays well
2. copy 'filename.mp3' into 'file#name.mp3'
3. add both files into playlist
4. can't play 'file#name.mp3' (Amarok can't even try reading id3 tags, it says
'Unknown' (album / artist))

    Screenshot: http://www.mypicx.com/uploadimg/531564811_05152009_1.png

5. Amarok crashes when 'filename.mp3' ends up and 'file#name.mp3' is going to
start playing.
Comment 1 Alexander Potashev 2009-05-15 13:54:44 UTC
Created attachment 33680 [details]
result of "amarok --debug &> amarok.log"
Comment 2 Seb Ruiz 2009-05-15 14:39:31 UTC
Hi Alexander,
Unfortunately I can't reproduce your problem - I am successfully able to play a song with # in the title.

Perhaps you could make the file you are having trouble with available to me so I can test with it. Perhaps it is the version of xine you have installed.
Comment 3 Alexander Potashev 2009-05-15 14:59:07 UTC
(In reply to comment #2)
> Hi Alexander,
> Unfortunately I can't reproduce your problem - I am successfully able to play a
> song with # in the title.
> 
> Perhaps you could make the file you are having trouble with available to me so
> I can test with it. Perhaps it is the version of xine you have installed.

I have problems not with the only file, but one of them is publicly available here: http://www.ru-bl.ru/audio/download/29/Doshirak.mp3

By the way, my processor arch is x86_64, I wondered why I haven't been asked during the bug report submission.

Now Amarok doesn't crash before switching to file#name.mp3 (but I don't know what could have changed!)
Comment 4 Seb Ruiz 2009-05-16 08:30:52 UTC
> http://www.ru-bl.ru/audio/download/29/Doshirak.mp3

This file doesn't have a # in it. Infact it doesn't have meta data.
Comment 5 Mark Kretschmann 2009-05-16 08:48:34 UTC
Indeed. Closing report again then.

Alexander, please don't reopen it yourself. You can also comment on closed bug reports, and if we think it's valid, we'll decide about its state.
Comment 6 Alexander Potashev 2009-05-16 08:50:34 UTC
(In reply to comment #4)
> > http://www.ru-bl.ru/audio/download/29/Doshirak.mp3
> 
> This file doesn't have a # in it. Infact it doesn't have meta data.

Right, it doesn't have metadata. You need to copy it to another file with # in filename (exactly as I have written in this bug report)
Comment 7 Tjalling 2009-05-24 01:38:22 UTC
Hi, I'm the submitter of the original bug report 159411. It's a bit of a fringe case and I'm not too bothered about it but I sincerely thank you all for looking into it. 

Thanks to the age of the original report many of the screenshots I posted can't be retrieved anymore. I resubmit one in particular: it's the screenshot of the playlist where the inconsistent behavior showed. Again: this is a screenshot from the original report and therefore an old version of Amarok. I'm still on a 1.4 version of Amarok but if any can be reproduced in Amarok 2 it's at least intriguing, I guess. 
http://img156.imageshack.us/img156/3360/amarokbug.png

I've fixed the problematic songs in the example so I can't see where they differ anymore. Seeing the inconsistency, it doesn't have to be something caused by Amarok but by a filesystem or permission issue or so. IIRC the problematic songs could be played by Kaffeine though.
Comment 8 Mikko C. 2009-06-01 18:17:08 UTC
I have the same problem, but Dragon Player can't play files with # either.
So it's a bug in Phonon, I've opened this bug: https://bugs.kde.org/show_bug.cgi?id=194889