Last.FM Rework and Auto DJ mode (1 Viewer)

IchBinsShort

Portal Pro
January 3, 2008
683
54
Home Country
Germany Germany
Would be nice to have only the necessary dlls instead a complete MP package (if possible ofc) ;)
This way it could be tested w/o loosing latest changes in the 1.4.0 Pre-Release Testing thread ;)

Yes this would be very nice
 

jameson_uk

Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    Would be nice to have only the necessary dlls instead a complete MP package (if possible ofc) ;)
    This way it could be tested w/o loosing latest changes in the 1.4.0 Pre-Release Testing thread ;)
    Too big a change really. The build I have just posted is current master (as of an hour ago anyway...) plus these changes.
    Creating a build of master and including this and other fixes is a pretty simple thing to do but for testing 1.4 I would suggest we do not include things like this that might affect the testing. (the changes here are relatively isolated but widespread)
     

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    49
    ::1
    Home Country
    Netherlands Netherlands
    Mike, been testing BASS (had it run whole day without a crash :D), but just noticed that i had the XML Error again:
    Code:
    [2013-05-13 16:43:50,272] [Log	] [27	  ] [ERROR] - Exception: System.Xml.XmlException: Unexpected XML declaration. The XML declaration must be the first node in the document, and no white space characters are allowed to appear before it. Line 2, position 3.
      at System.Xml.XmlTextReaderImpl.Throw(Exception e)
      at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
      at System.Xml.XmlTextReaderImpl.ParsePI(BufferBuilder piInDtdStringBuilder)
      at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
      at System.Xml.XmlTextReaderImpl.Read()
      at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
      at System.Xml.Linq.XDocument.Parse(String text, LoadOptions options)
      at System.Xml.Linq.XDocument.Parse(String text)
      at MediaPortal.LastFM.LastFMLibrary.GetXml(String querystring, String httpMethod, Boolean useHttps)
      at MediaPortal.LastFM.LastFMLibrary.GetSimilarTracks(String track, String artist)
      at MediaPortal.GUI.Music.GUIMusicPlayingNow.UpdateSimilarTrackWorker(String filename, MusicTag tag)  Message: Unexpected XML declaration. The XML declaration must be the first node in the document, and no white space characters are allowed to appear before it. Line 2, position 3.  Site  : Void Throw(System.Exception)  Source : System.Xml  Stack Trace:	 at System.Xml.XmlTextReaderImpl.Throw(Exception e)
      at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
      at System.Xml.XmlTextReaderImpl.ParsePI(BufferBuilder piInDtdStringBuilder)
      at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
      at System.Xml.XmlTextReaderImpl.Read()
      at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
      at System.Xml.Linq.XDocument.Parse(String text, LoadOptions options)
      at System.Xml.Linq.XDocument.Parse(String text)
      at MediaPortal.LastFM.LastFMLibrary.GetXml(String querystring, String httpMethod, Boolean useHttps)
      at MediaPortal.LastFM.LastFMLibrary.GetSimilarTracks(String track, String artist)
      at MediaPortal.GUI.Music.GUIMusicPlayingNow.UpdateSimilarTrackWorker(String filename, MusicTag tag)
    Looks like is has something to do with special characters:
    Code:
    [2013-05-13 16:43:22,406] [Log	] [BASS X-FadeEnded] [DEBUG] - BASS: Disposing Music Stream \\Server\flac\Eric Clapton\Backtrackin' (1984)\109. Badge.flac
    [2013-05-13 16:43:50,263] [Error  ] [27	  ] [ERROR] - Error getting similar tracks in now playing

    Logs attached ;)
     
    Last edited:

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    Looks like is has something to do with special characters:
    Code:
    [2013-05-13 16:43:22,406] [Log	] [BASS X-FadeEnded] [DEBUG] - BASS: Disposing Music Stream \\Server\flac\Eric Clapton\Backtrackin' (1984)\109. Badge.flac
    [2013-05-13 16:43:50,263] [Error  ] [27	  ] [ERROR] - Error getting similar tracks in now playing

    Logs attached ;)
    That is the previous song that has finished. It failed when looking up similar tracks for
    Code:
    [2013-05-13 16:43:18,783] [Log	] [Announce/Auto DJ] [INFO ] - Submitted last.fm now playing update for: Luciano Pavarotti - Ave Maria
    Which has not special characters.
    Can you try and play that file again and see if it is actually anything to do with the file or whether it is just random
     

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    49
    ::1
    Home Country
    Netherlands Netherlands
    Can you try and play that file again and see if it is actually anything to do with the file or whether it is just random
    Bah... file is playing fine, so does look extremely random :(
     
    Last edited:

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    Can you try and play that file again and see if it is actually anything to do with the file or whether it is just random
    Bah... file is playing fine, so does look extremely random :(
    That is what I thought.
    Can you please try the attached debug binary. It won't help at all but will log some extra details that will help
     

    Attachments

    • LastFMLibrary.zip
      36.8 KB
    Last edited:

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    49
    ::1
    Home Country
    Netherlands Netherlands
    Can you please try the attached debug binary. It won't help at all but will log some extra details that will help
    Used the same song. Or should the error be 'reprodcued' for the extra info? (Then i'll need to leave it run tonight)
     
    Last edited:

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    Can you please try the attached debug binary. It won't help at all but will log some extra details that will help
    Used the same song. Or should the error be 'reprodcued' for the extra info? (Then i'll need to leave it run tonight)
    Yeah you need to trigger the error for the extra logging
     

    Users who are viewing this thread

    Top Bottom