Rating system can cause Exaile to not be able to play tracks in 0.2.11

Bug #154089 reported by Adam Olsen
2
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Critical
Adam Olsen

Bug Description

In xl/library.py, save_track_to_db, the user_rating field in the database is set to track.rating. track.rating returns a string with containing an asterisk (*) for each rating number. Once that track is read from the db, it's internal rating will be set to a string, and anything other than an integer will cause the track to be unplayable.

Revision history for this message
Adam Olsen (arolsen) wrote :

I'm attaching a patch for 0.2.11 that fixes this.

Changed in exaile:
assignee: nobody → arolsen
importance: Undecided → Critical
milestone: none → 0.2.11
status: New → Confirmed
Adam Olsen (arolsen)
Changed in exaile:
status: Confirmed → Fix Committed
Revision history for this message
reacocard (reacocard) wrote :

Updating old bug.

Changed in exaile:
status: Fix Committed → Fix Released
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.