Bug 201806 - phonon xine is unabled to play files with '#' in the name
Summary: phonon xine is unabled to play files with '#' in the name
Status: RESOLVED DUPLICATE of bug 172242
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: Xine backend (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Matthias Kretz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-28 20:28 UTC by Bernd Buschinski
Modified: 2010-01-05 23:02 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
"04 - EMA#_13_C.mp3" testfile (672.12 KB, audio/mpeg)
2009-08-27 09:09 UTC, Bernd Buschinski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Buschinski 2009-07-28 20:28:27 UTC
Version:           4.3.1 (using KDE 4.2.4)
Compiler:          gcc-4.4.1 
OS:                Linux
Installed from:    Gentoo Packages

Phonon xine is unabled to play files with '#' in the name.
Once I removed the # from the filename it plays fine.

Additional Information:
There is also a '#' in the ID-Tag but it does not affect the situation, only the filename changes anything.

I tested with dragonplayer and amarok, amarok devs told me it had to be an phonon-xine bug.

xine-lib-1.1.16.3
phonon-4.3.1 with kde-4.2.4
Comment 1 Raphael Kubo da Costa 2009-08-27 03:33:43 UTC
I've tried to reproduce it here with a WMV file and everything worked fine with Dragon Player.

Can you still reproduce it? If so, what format are you trying to play? Can you attach a sample file?
Comment 2 Bernd Buschinski 2009-08-27 09:09:11 UTC
Created attachment 36484 [details]
"04 - EMA#_13_C.mp3" testfile

still reproduceable for me
with kde-4.3.0, phonon-4.4_pre20090520, xine-lib-1.1.16.3 and dragonplayer
plays fine if I remove the '#'

$ file 04\ -\ EMA#_13_C.mp3
04 - EMA#_13_C.mp3: Audio file with ID3 version 2.3.0, contains: MPEG ADTS, layer III, v1, 320 kbps, 44.1 kHz, Stereo
Comment 3 Dario Andres 2009-09-01 01:43:08 UTC
The testcase file renamed to "04 - EMA#_13_C.mp3" plays for me using Phonon-Xine on:

Qt: 4.5.2 (KDE-Qt git commit 5b7a2eb42acfdea07c6075556cb43e2c95852145
        Date:   Tue Jul 28 14:10:47 2009 -0300)
KDE: 4.3.66 (KDE 4.3.66 (KDE 4.4 >= 20090828))
kdelibs svn rev. 1016955 / kdebase svn rev. 1016955
xine-lib 1.1.16.3
on ArchLinux i686 - Kernel 2.6.30.5
Comment 4 Bernd Buschinski 2009-09-02 23:19:51 UTC
and your phonon version is?
it still does not work here with kde-4.3.1 and phonon-4.4_pre20090520
It is also interessting that dragonplayer has (nearly no) debug output while playing normal files, but I get this when I try to play a file with a '#'


dragonplayer(22383)/phonon (KDE plugin) Phonon::KioMediaStream::KioMediaStream:
dragonplayer(22383)/phonon (KDE plugin) Phonon::KioMediaStream::reset:
dragonplayer(22383)/phonon (KDE plugin) Phonon::KioMediaStream::reset:
dragonplayer(22383)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///home/buscher/04 - EMA%23_13_C.mp3")
dragonplayer(22383)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-buscher/dragonplayerv22383.slave-socket"
dragonplayer(22383)/phonon (KDE plugin) Phonon::KioMediaStreamPrivate::_k_bytestreamSeekDone: 0
dragonplayer(22383)/phonon (KDE plugin) Phonon::KioMediaStreamPrivate::_k_bytestreamFileJobOpen: 688256
xine is asking to seek behind the end of the data stream
dragonplayer(22383)/phonon (KDE plugin) Phonon::KioMediaStream::seekStream: 688128  =  688128
dragonplayer(22383)/phonon (KDE plugin) Phonon::KioMediaStream::seekStream: 0  =  0
dragonplayer(22383)/phonon (KDE plugin) Phonon::KioMediaStreamPrivate::_k_bytestreamData: seeking: do nothing
dragonplayer(22383)/phonon (KDE plugin) Phonon::KioMediaStreamPrivate::_k_bytestreamSeekDone: 688128
dragonplayer(22383)/phonon (KDE plugin) Phonon::KioMediaStreamPrivate::_k_bytestreamSeekDone: 0
dragonplayer(22383)/phonon (KDE plugin) Phonon::KioMediaStream::enoughData:
dragonplayer(22383)/phonon (KDE plugin) Phonon::KioMediaStream::enoughData:

maybe its of any use
Comment 5 Dario Andres 2009-09-02 23:29:41 UTC
I'm using Phonon from trunk, so it was also svn rev. 1016955.
Comment 6 Ivo Anjo 2009-09-03 12:59:21 UTC
I think this might be a duplicate of #194889 .
Comment 7 Raphael Kubo da Costa 2009-09-03 13:32:00 UTC
Hmm, it definitely looks so. Apparently the fix was done in bug 172242, so I'm marking this one as a duplicate of it.

Bernd, can you please either update your Phonon version or change your encoding to UTF-8 (apparently it is currently set to something else)?

*** This bug has been marked as a duplicate of bug 172242 ***
Comment 8 Raphael Kubo da Costa 2009-09-03 13:32:38 UTC
Oh, and thank you very much, Ivo :)
Comment 9 Bernd Buschinski 2009-09-03 17:35:41 UTC
updated to current phonon svn and works fine, thx :)
Comment 10 Xwang 2010-01-05 23:02:45 UTC
I've kubuntu 9.10 with kde 4.3.2.
The problem is still present and no file containing # in the name or in the path can be played with whatever software which use xine-lib.

xine-lib 1.1.16.3-0ubuntu4