GNOME Bugzilla – Bug 650184
Importing a xspf-playlist has no effect at all
Last modified: 2011-08-18 21:33:45 UTC
simply nothing happens... the list was previously exported by banshee of the same version but on a different computer... but music-file structure was the same.
Same issue here with banshee 2.0 in Ubuntu Natty Narwhal, banshee debug is at https://launchpadlibrarian.net/72815675/log
Created attachment 190082 [details] [review] Fix for this bug Mono.Media: Fix Xspf Playlist importing Error (bgo#650184) (LP#791418) This fix parses the date tag of an xspf file in the right way. It converts the millisecond value regardless of culture into a short integer. In some configurations the parser removed the leading point. Therefore, the result was an high integer value, which caused an ArgumentOutOfRangeException.
(In reply to comment #2) > Created an attachment (id=190082) [details] [review] > Fix for this bug > > Mono.Media: Fix Xspf Playlist importing Error (bgo#650184) (LP#791418) > > This fix parses the date tag of an xspf file in the right way. > It converts the millisecond value regardless of culture into a short integer. > > In some configurations the parser removed the leading point. > Therefore, the result was an high integer value, which caused an > ArgumentOutOfRangeException. Hey Snorri thanks for the patch, looks good! For the record, can you attach also the log that banshee generates (where it sends the ArgumentOutOfRangeException) when this fix is not in place? Also: knowing your complete name (instead of just an alias) would be good, to put you in the list of contributors.
Created attachment 190105 [details] the banshee log file last entry is interesting for this section
Fix style (no more than 120 char on a line) and commit your patch. Thanks for patch.