← Back to team overview

desktop-packages team mailing list archive

[Bug 791418] Re: Xspf Playlist Import Error

 

** Branch linked: lp:debian/experimental/banshee

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to banshee in Ubuntu.
https://bugs.launchpad.net/bugs/791418

Title:
  Xspf Playlist Import Error

Status in Banshee Music Player:
  Fix Released
Status in “banshee” package in Ubuntu:
  Fix Committed

Bug description:
  Binary package hint: banshee

  hej hej,

  I would import my xspf playlists from an earlier ubuntu system. It
  fails with the following warning:

  Caught an exception - System.ArgumentOutOfRangeException: Argument is out of range.
  Parameter name: Parameters describe an unrepresentable DateTime. (in `mscorlib')
    at System.DateTime..ctor (Int32 year, Int32 month, Int32 day, Int32 hour, Int32 minute, Int32 second, Int32 millisecond) [0x00000] in <filename unknown>:0 
    at Media.Playlists.Xspf.W3CDateTime.Parse (System.String s) [0x00000] in <filename unknown>:0 
  System.FormatException: Input is not a valid W3C or RFC822 date (in `Mono.Media')
    at Media.Playlists.Xspf.W3CDateTime.Parse (System.String s) [0x00000] in <filename unknown>:0 
    at Media.Playlists.Xspf.XmlUtil.ReadDate (System.Xml.XmlNode node, System.Xml.XmlNamespaceManager xmlns, System.String xpath) [0x00000] in <filename unknown>:0 
    at Media.Playlists.Xspf.Playlist.Load (System.Xml.XmlDocument doc) [0x00000] in <filename unknown>:0 
    at Media.Playlists.Xspf.Playlist.Load (System.IO.TextReader reader) [0x00000] in <filename unknown>:0 
    at Banshee.Playlists.Formats.XspfPlaylistFormat.Load (System.IO.StreamReader stream, Boolean validateHeader) [0x00000] in <filename unknown>:0 
    at Banshee.Playlists.Formats.PlaylistFormatBase.Load (System.IO.Stream stream, Boolean validateHeader) [0x00000] in <filename unknown>:0 
    at Banshee.Playlists.Formats.PlaylistParser.Parse (Hyena.SafeUri uri) [0x00000] in <filename unknown>:0 
    at Banshee.Playlist.PlaylistFileUtil.ImportPlaylistToLibrary (System.String path, Banshee.Sources.PrimarySource source, Banshee.Collection.Database.DatabaseImportManager importer) [0x00000] in <filename unknown>:0 

  If I delete the content of the date tag on top of the xspf file, it
  works for me!

  I'm using Ubuntu 11.04 with banshee 2.0.0-2ubuntu1 .

To manage notifications about this bug go to:
https://bugs.launchpad.net/banshee/+bug/791418/+subscriptions