Re: patch: Handle gtk-gnutella's stupid filenames
Ben Winslow <[email protected]>
| Newsgroups | gmane.comp.multimedia.xmms.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 2003-07-20 at 18:13, Mike Schiraldi wrote:
> gtk-gnutella has an annoying "feature" in the way it names files. When you
> are first downloading "foo.mp3", it will be properly named "foo.mp3" on your
> machine. If you shut down before getting the whole file, it will properly
> still be named "foo.mp3".
>
> Here's the annoying part: if the download completes, it will be renamed to
> "foo.mp3.OK". And if you're getting it from multiple sources, you could get
> names like "foo.mp3.01.OK" or "foo.mp3.OK.01".
>
> The following patch will allow xmms to play these files.
Wouldn't it be a better idea to just turn on this option, right by some
of your patched code?
if(mpg123_cfg.detect_by_content)
return (mpg123_detect_by_content(filename));
--
Ben Winslow <[email protected]>
signature.asc
(application/pgp-signature, 900 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Fingerprint: 17F8 0D02 A7DA 7C7F A661 183D 6E2A 04FD 410A 2DCF iQIVAwUAPxswA24qBP1BCi3PAQJzARAAj4Qdbus+eo0aDOASLKBY65dsuU3x0r6P nhxjC/2Q7a60sgu7wXjf2S+LtCpHMrMj59gny/fofHU36hNDK0vXuKkvatU0x2Bf gpsLw8bOj1eF42rhBXxE8750n+rAncz9jCFcV27DMcc+tUgW3jTrN9rjyjMfBB8S fCSPhZ01BAEFVRsNjJ8WF4F+h5Oj76VtjIGjlo6dzkM0ZQGofKxdufuZidrDwJ0v qZKrMhXS+fkJ7LoK6H10N6rpJ/au5cr/qyc6d1Vntb0GB2e37O6Xa/23hfcKXD3U 5gKv5gNyusVd/6ZaMR+b6rtSE9+2mSEiu6sqI/YiL2JfPlSr4Is15be+DjzcFCiW gW6OWpxEh9tTzzpvEV9uFMBEgRC+OA75LUbE+RPZHvf2jSmoOZRM8GP574f8yLig sG3WJ3Tz3yoxMin5edGkZ0vPcSRrsVXZjRFueGqswqd7hRds/BZotH34Zo5JoFBS bR4a1a1C7/Euo+p/qrraJE6NyNbIzEE7D66oPmmMdFTNRl1Zwz3hQaFiisO4t5sW mwHoeIaFZUFyMWUn0BzGo6EMPuoZOs7Bc6OhtmILeSHSDXmPd0GSebpCeMLUllnY UrFpQofbRmBg94QKl99tlZxJqwQJAJCurdUQ2+MsVyceBj3er2WLiAzttPEr/0BL TdEPurGcOK0= =l86w -----END PGP SIGNATURE-----