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

Bug #635335 reported by Irwin J. Céspedes B
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
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

Revision history for this message
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
Revision history for this message
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)
Changed in mixxx:
status: Fix Committed → Fix Released
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/5511

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.