--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: mt-daapd: doesn't index more than one itunes.xml file
- From: Neil Spring <nspring@cs.umd.edu>
- Date: Mon, 24 Dec 2007 01:45:03 -0500
- Message-id: <E73EDF73-4C43-4FE6-AC71-3A1636FB7FEE@cs.umd.edu>
Package: mt-daapd
Version: 0.9~r1586-1
Severity: minor
mt-daapd incorrectly processes the second 'iTunes Music Library.xml'
file that it scans, with the symptom of having the second set of
playlists be present, but empty of songs.
After some investigation, the scanner misinterprets the second xml file
because it is looking to substitute the same prefix in the second file
as it did in the first. This is because scan_xml_translate_path in
src/scan-xml.c has static variables that assume that once the correct
transform on filenames has been found, it is good.
The fix is to move the "path_found" variable to be a proper global and
reset it when scan_xml_file is set. I ended up testing
an uglier fix that doesn't have much value as a patch. That function
doesn't seem to have changed upstream.
-neil
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.18ns (PREEMPT)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages mt-daapd depends on:
ii adduser 3.105 add and remove users and
groups
ii avahi-daemon 0.6.16-5 Avahi mDNS/DNS-SD daemon
ii libavahi-compat-howl0 0.6.21-4 Avahi Howl compatibility
library
ii libavcodec1d 0.cvs20070307-6 ffmpeg codec library
ii libavformat1d 0.cvs20070307-6 ffmpeg file format library
ii libavutil1d 0.cvs20070307-6 ffmpeg utility library
ii libc6 2.7-4 GNU C Library: Shared
libraries
ii libflac8 1.2.1-1 Free Lossless Audio Codec
- runtim
ii libid3tag0 0.15.1b-10 ID3 tag reading library
from the M
ii libogg0 1.1.3-2 Ogg Bitstream Library
ii libsqlite3-0 3.4.2-2 SQLite 3 shared library
ii libtagc0 1.4-8+b1 TagLib Audio Meta-Data
Library (C
ii libvorbis0a 1.2.0.dfsg-2 The Vorbis General Audio
Compressi
ii libvorbisfile3 1.2.0.dfsg-2 The Vorbis General Audio
Compressi
ii zlib1g 1:1.2.3.3.dfsg-6 compression library -
runtime
mt-daapd recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: mt-daapd
Source-Version: 0.9~r1696-6
We believe that the bug you reported is fixed in the latest version of
mt-daapd, which is due to be installed in the Debian FTP archive:
mt-daapd_0.9~r1696-6.diff.gz
to pool/main/m/mt-daapd/mt-daapd_0.9~r1696-6.diff.gz
mt-daapd_0.9~r1696-6.dsc
to pool/main/m/mt-daapd/mt-daapd_0.9~r1696-6.dsc
mt-daapd_0.9~r1696-6_amd64.deb
to pool/main/m/mt-daapd/mt-daapd_0.9~r1696-6_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 457645@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Julien BLACHE <jblache@debian.org> (supplier of updated mt-daapd package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sat, 13 Sep 2008 15:13:50 +0200
Source: mt-daapd
Binary: mt-daapd
Architecture: source amd64
Version: 0.9~r1696-6
Distribution: experimental
Urgency: low
Maintainer: Julien BLACHE <jblache@debian.org>
Changed-By: Julien BLACHE <jblache@debian.org>
Description:
mt-daapd - iTunes-compatible DAAP server
Closes: 457645
Changes:
mt-daapd (0.9~r1696-6) experimental; urgency=low
.
* debian/patches/07_xml_scan_fix.dpatch:
+ Added; fix indexing multiple XML files. Fix by Neil Spring
<nspring@cs.umd.edu> (closes: #457645).
Checksums-Sha1:
997633c6cc4002b3743cc1dac1e802c72294aedc 1200 mt-daapd_0.9~r1696-6.dsc
a9258ebcad6045f5d88a42d001c2534e0317bccd 9236 mt-daapd_0.9~r1696-6.diff.gz
f76aa4aa0454f08e3f4efae4f5fa2d087d725a8f 618236 mt-daapd_0.9~r1696-6_amd64.deb
Checksums-Sha256:
702b4b4ffe43710e2441453c347adeb3fdf320092269236de5e0da8b4761e228 1200 mt-daapd_0.9~r1696-6.dsc
61324f68b57871a6b50a6d62258dec1263375322d3c49730be9203bf896f309f 9236 mt-daapd_0.9~r1696-6.diff.gz
09505cf2201370b71a211a412226393f706d8a9195a7b863b7042a45233e3ad6 618236 mt-daapd_0.9~r1696-6_amd64.deb
Files:
c028113e1db9d454578baf3baa84453e 1200 sound optional mt-daapd_0.9~r1696-6.dsc
85d93325c1ffb4542bc617d0de0a7625 9236 sound optional mt-daapd_0.9~r1696-6.diff.gz
147efa9dd82f5c0da8dd3acfa82b8959 618236 sound optional mt-daapd_0.9~r1696-6_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFIy8KZzWFP1/XWUWkRAlT0AKCajUgYBpdrpa+ru+4rbPFuhLrn0QCfdLVz
x2CBVy8+P9/o8EVsKLFZkwU=
=parg
-----END PGP SIGNATURE-----
--- End Message ---