get_track throws an exception if the tracknumber is non integer

Bug #245059 reported by AnthonyWaters
2
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Undecided
Unassigned
Nominated for 0.3.x by AnthonyWaters

Bug Description

If the tag for tracknumber contains a non-integer it throws an exception when it tries to convert it to an integer

patch just adds a try/catch around this and if it throws then it returns -1 (on a side note why does get_track have to return an integer?)

Revision history for this message
AnthonyWaters (awaters1) wrote :
Changed in exaile:
assignee: nobody → awaters1
Revision history for this message
AnthonyWaters (awaters1) wrote :

works now

Changed in exaile:
assignee: awaters1 → nobody
status: New → Fix Committed
reacocard (reacocard)
Changed in exaile:
milestone: none → 0.3.0
reacocard (reacocard)
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.