[Pkg-xbmc-maintainers] Bug#711482: Fails to pick up new items during library scan

martin f krafft madduck at debian.org
Fri Jun 7 07:32:16 UTC 2013


Source: xbmc
Version: 2:12.0~git20130127.fb595f2-1
Severity: normal

The machine running XBMC has a CIFS mount at /media/tunes, containing my music
collection. I chose to using kernel-level CIFS over SMB shares within XBMC
because XBMC isn't the only consumer of those music files. However,
the following problem occurs even if nothing else is accessing the
mount, i.e., there are no other programs running.

Very often when I add a new album to an existing artist folder, or
a new artist to the top-level directory, and then initiate a library
scan through the XBMC UI, the new directory is simply ignored.
However, this is not always the case, as many albums are being
scanned properly.

When an album has been ignored, it is available through the Files
browser, but the library does not know anything about it.

Launching a new library scan doesn't change the situation.

I have of course verified that the user running XBMC can access the
new files before initiating the library scan.

I have enabled debug logging, but there are no clues. If there's
a new album added to an artist, the log will say e.g.

  DEBUG: DoScan Skipping dir '/media/tunes/artists/leonard_cohen' due to no change

I don't know how it tries to determine that, but it's wrong, and the
directory's modification time was updated.

If I add an artist folder, it's simply ignored. It seems as if XBMC
determines that the parent directory (/media/tunes/artists) is
unchanged and so doesn't look for new items. However, nothing is
logged about this.

I have poked around the SQLite databases, but I could not find any
form of reference to the missing directories.

Curiously, however, the 'path' table in the MyMusic SQLite3 database
contains no references to the parent directory or the new directory.
For instance, I just added two albums by The Byrds (there were no
previous albums by The Byrds yet), and then launched a scan. The
albums do not show up, and:

  sqlite3 MyMusic32.db "select * from path where strPath like '%byrds%'"

returns no entries.

So far I have not done more than glance at the code. Maybe someone
else has a clue to save me that effort…

-- System Information:
Debian Release: 7.0
  APT prefers stable
  APT policy: (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xbmc depends on:
ii  mesa-utils       8.0.1-2+b3
ii  python           2.7.3-4
ii  python-imaging   1.1.7-4
ii  python-support   1.0.15
ii  ttf-dejavu-core  2.33-3
ii  ttf-liberation   1.07.2-6
ii  x11-utils        7.7~1
ii  xbmc-bin         2:12.0~git20130127.fb595f2-1

xbmc recommends no packages.

xbmc suggests no packages.

-- no debconf information

-- 
 .''`.   martin f. krafft <madduck at d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digital_signature_gpg.asc
Type: application/pgp-signature
Size: 1124 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
URL: <http://lists.alioth.debian.org/pipermail/pkg-xbmc-maintainers/attachments/20130607/2e7fa101/attachment.pgp>


More information about the Pkg-xbmc-maintainers mailing list