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



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to