Bug#529459: It does not seem to rename the file

Dominique Brazziel dbrazziel at snet.net
Thu Sep 2 07:55:17 UTC 2010


	It seems that this problem stems from iceweasel
not renaming the downloaded playlist (.m3u) from 
'tmpname.m3u.part' to 'playlist.m3u'.  This is 100%
reproducible in the case of using package 
'libapache2-mod-musicindex' and selecting only one or
a few files, then 'Play selected'.  The m3u playlist
is built and downloaded but iceweasel thinks it is only
a partial playlist and thus never performs a rename.
Since iceweasel never sees a file with the .m3u extension
it prompts for an application to handle the file.  

	When I say to stream an entire directory the 
playlist is much larger and the rename is done.  I 
attached strace output for both instances (.trace files).

	I traced the HTTP flow with wireshark and noticed that
the 'Content Disposition' hint is not present in the
small playlist, while the larger list contains the 
'filename=playlist.m3u' hint.  At first I thought
that was the problem but then tested a single file
playlist with epiphany and had no problem.  Wireshark
traces are attached as '.pcap' files.

	Might there be a size threshold (i.e. 8192, 16384)
which iceweasel is using to decide if the download is finished
or not?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icesingle_external.trace.gz
Type: application/octet-stream
Size: 27340 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mozilla-maintainers/attachments/20100902/ca542b70/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icestream_external.trace.gz
Type: application/octet-stream
Size: 86874 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mozilla-maintainers/attachments/20100902/ca542b70/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: musicindex.pcap.gz
Type: application/octet-stream
Size: 991 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mozilla-maintainers/attachments/20100902/ca542b70/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: musicindex_steamdir.pcap.gz
Type: application/octet-stream
Size: 1266 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mozilla-maintainers/attachments/20100902/ca542b70/attachment-0007.obj>


More information about the pkg-mozilla-maintainers mailing list