GNOME Bugzilla – Bug 388425
two quick fixes for magnatune plugin
Last modified: 2007-01-13 05:07:15 UTC
Please describe the problem: 1 - better handling of year field - there are 2 date-related fields in song_info.xml. The year the album was released (year), and the date it was put on magnatune (launchdate). Some albums (mostly classical I think) have year 0, so previously, the plugin always used launchdate. This fixes it to use year unless it is <= 0. 2 - change buy_track and purchase_track to *_album - the method names don't describe their functions very well. These names are slightly better Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Created attachment 78760 [details] [review] year fix
Created attachment 78762 [details] [review] method name cleanup (since you can't buy individual tracks)
Committed to svn. I had to modify the year fix a bit - it was trying to use the year as a julian date, so most things were showing up as being from the year 6.