Bug#354817: amarok: duplicate titles in collection after scan

2006-03-02 Thread Florian Lohoff
On Thu, Mar 02, 2006 at 03:09:43AM +0100, Adeodato Simó wrote:
   Hmm. My best guess before forwarding upstream, and since no other user
   has reported this, is that amaroK is somehow accessing your files via
   two paths. 
 
   Can you check, in the Collection, what does Location say in the
   Edit track information dialog for both instances of a duplicate
   file?

Gotcha  Mountpoint and symlink to mountpoint given. Its interesting
that the old version somehow detected this gotcha and didnt add the
files as dupes. I am pretty shure i didnt change the collection paths
after upgrade and rescan.

Flo
-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Heisenberg may have been here.


signature.asc
Description: Digital signature


Bug#354817: amarok: duplicate titles in collection after scan

2006-03-01 Thread Florian Lohoff
Package: amarok
Version: 1.4-beta1-r511476b
Severity: normal


Hi,
after scanning the collection i have now duplicate entrys for all
titles. I tried deleteing the collection.db and rescanning. No success.

Flo


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.1
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages amarok depends on:
ii  amarok-arts [amarok-e 1.4-beta1-r511476b aRts engine for the amaroK audio p
ii  amarok-engines1.4-beta1-r511476b output engines for the amaroK audi
ii  amarok-gstreamer [ama 1.4-beta1-r511476b GStreamer engine for the amaroK au
ii  amarok-xine [amarok-e 1.4-beta1-r511476b xine engine for the amaroK audio p
ii  kdelibs4c2a   4:3.5.1-2  core libraries for all KDE applica
ii  libc6 2.3.5-13   GNU C Library: Shared libraries an
ii  libgcc1   1:4.0.2-9  GCC support library
ii  libglib2.0-0  2.8.6-1The GLib library of C routines
ii  libgpod0  0.3.0-2a library to read and write songs 
ii  libice6   6.9.0.dfsg.1-4 Inter-Client Exchange library
ii  libifp4   1.0.0.2-2  communicate with iRiver iFP audio 
ii  libmysqlclient15  5.0.18-7   mysql database client library
ii  libpng12-01.2.8rel-5 PNG library - runtime
ii  libpq48.1.2-2PostgreSQL C client library
ii  libqt3-mt 3:3.3.5-3  Qt GUI Library (Threaded runtime v
ii  libsdl1.2debian   1.2.9-0.1  Simple DirectMedia Layer
ii  libsm66.9.0.dfsg.1-4 X Window System Session Management
ii  libsqlite3-0  3.2.8-1SQLite 3 shared library
ii  libstdc++64.0.2-9The GNU Standard C++ Library v3
ii  libtag1c2a1.4-3  TagLib Audio Meta-Data Library
ii  libtunepimp2c2a   0.3.0-9.1  MusicBrainz tagging library and si
ii  libusb-0.1-4  2:0.1.11-4 userspace USB programming library
ii  libvisual0.2  0.2.0-4Audio visualization framework
ii  libx11-6  6.9.0.dfsg.1-4 X Window System protocol client li
ii  libxext6  6.9.0.dfsg.1-4 X Window System miscellaneous exte
ii  xlibmesa-gl [libgl1]  6.9.0.dfsg.1-4 Mesa 3D graphics library [X.Org]
ii  zlib1g1:1.2.3-9  compression library - runtime

Versions of packages amarok recommends:
pn  kdemultimedia-kio-plugins none (no description available)
ii  ruby  1.8.2-1An interpreter of object-oriented 

-- no debconf information


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



Bug#354817: amarok: duplicate titles in collection after scan

2006-03-01 Thread Adeodato Simó
* Florian Lohoff [Wed, 01 Mar 2006 11:17:39 +0100]:

 Hi,

Hi,

 after scanning the collection i have now duplicate entrys for all
 titles. I tried deleteing the collection.db and rescanning. No success.

  Hmm. My best guess before forwarding upstream, and since no other user
  has reported this, is that amaroK is somehow accessing your files via
  two paths. 

  Can you check, in the Collection, what does Location say in the
  Edit track information dialog for both instances of a duplicate
  file?

  You can also use the attached script (apt-get install libsqlite3-ruby1.8
  first) to print the contents of your amaroK collection.

  Cheers,

-- 
Adeodato Simó dato at net.com.org.es
Debian Developer  adeodato at debian.org
 
Listening to: María del Monte - Pasa la vida
#! /usr/bin/ruby

require 'sqlite3'

db = ARGV.first || (ENV['HOME'] + /.kde/share/apps/amarok/collection.db)
db = SQLite3::Database.new(db)

db.execute(select * from tags) do |row|
puts row[0]
end