Last.FM Rework and Auto DJ mode (3 Viewers)

jameson_uk

Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    Yeah you need to trigger the error for the extra logging
    Here we go.
    Logs only show a couple of different errors (one was not being able to connect to the internet).
    Can you try running it again to see if we can catch this XmlException ?
     

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    49
    ::1
    Home Country
    Netherlands Netherlands
    Can you try running it again to see if we can catch this XmlException ?
    Sure, didn't really look into the logs, so hadn't noticed. Saw it was big and full of errors :D
    I'll let it run again today, so let's hope we have the XML issue logged tonight ;)
     

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    49
    ::1
    Home Country
    Netherlands Netherlands
    Well, i tried to let it run whole day, but off course i ran into an error as soon as i closed the door behind me this morning :(
    But... it might help you out! It broke AutoDJ function (so music stopped playing), it doesn't CTD MP and i can reproduce it with the same song, so attached the logs.

    Let me know if you need more info, then i'll let it run again this night.
     

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    49
    ::1
    Home Country
    Netherlands Netherlands
    Finally got it (after 9 hours...) :)
    Code:
    [2013-05-15 17:18:04,669] [Log	] [Announce/Auto DJ] [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.
     

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    Finally got it (after 9 hours...) :)
    Code:
    [2013-05-15 17:18:04,669] [Log	] [Announce/Auto DJ] [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.
    OK thanks. It is last.fm that is at fault.

    XML:
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html>
      <head>
    	<title>503 Service Unavailable</title>
      </head>
      <body>
    	<h1>Error 503 Service Unavailable</h1>
    	<p>Service Unavailable</p>
    	<h3>Guru Meditation:</h3>
    	<p>XID: 3424409197</p>
    	<hr>
    	<p>Varnish cache server</p>
      </body>
    </html>
    They are returning invalid xml (should be <hr /> for xhtml)
    Will see if I can cope with this a little cleaner
     

    PrplHaz4

    Portal Pro
    August 9, 2007
    57
    6
    Boston, MA
    Home Country
    United States of America United States of America
    OK I can't see anything odd here but there have been some changes to other parts around this that may make a difference.
    A new build will be added shortly to the first posts here, can you try that and see if you still get the issue? (I have added a little extra debugging to try and locate any issue)

    Updated to the new build, and it seems to be working fine.

    Could this problem have anything to do with the skin I was using? I had used both Titan and StreamedMP in 1.3, but with this newest build I've only been using Titan.
     

    IchBinsShort

    Portal Pro
    January 3, 2008
    683
    54
    Home Country
    Germany Germany
    Is it possible that we get a version which is based on MediaPortal 1.4? Or this is already the case in V5? My concern is because with MediaPortal 1.4 finally the HDMI / display resolution problem solved.
     

    IchBinsShort

    Portal Pro
    January 3, 2008
    683
    54
    Home Country
    Germany Germany
    Okay, I've installed your new version after I have the new MediaPortal Version 1.4 installed. Unfortunately, the AutoDJ fashion seems to have stopped working. He finds no similar title. But scrobbling works fine.
     

    Users who are viewing this thread

    Top Bottom