Songs are not read after being deleted and reincluded to the database

Bug #635335 reported by Irwin J. Céspedes B on 2010-09-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Medium
RJ Skerry-Ryan

Bug Description

When you delete a song from the database and you want to reinclude it to the database appears this strange error. It happens also in the Playlist tab. To overcome this I need to erase the entire ".mixxx" folder or the file "mixxxdb.sqlite" to keep the BPM Scheme file in Linux. Few examples here: http://www.mixxx.org/forums/viewtopic.php?f=1&t=1624

RJ Skerry-Ryan (rryan) wrote :

Tracked this down to WTrackTableView::dropEvent.

When dealing with the QUrl's that are dropped, a QFileInfo is created with QUrl::toString(), which gives a file:///foo/bar/baz style URL. QFileInfo does not support URL's, even with the file:// scheme. My fix for this is to use QUrl::toLocalFile() instead of QUrl::toString().

It fixes the problem for me. Albert, you've made similar changes before. Do you see any issues with this?

Changed in mixxx:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → RJ Ryan (rryan)
milestone: none → 1.8.0
Albert Santoni (gamegod) wrote :

We think we've fixed this problem over the last two days... (iirc)

Changed in mixxx:
status: Confirmed → Fix Committed
RJ Skerry-Ryan (rryan) on 2010-10-05
Changed in mixxx:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers