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

jameson_uk

Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    Could you do a couple of things for me please?
    • Start MP from the Debug shortcut on the start menu
    • Start last.fm stream
    • Switch to now playing
    • Let it play through five songs
    • Once playback stops close MP
    • Upload logs

    • Start MP from the Debug shortcut on the start menu
    • Start last.fm stream
    • Leave MP on the last.fm radio screen
    • Let it play through songs
    • Check if more songs are added to playlist
    • Close MP
    • Upload logs
     

    PrplHaz4

    Portal Pro
    August 9, 2007
    57
    6
    Boston, MA
    Home Country
    United States of America United States of America
    Could you do a couple of things for me please?
    • Start MP from the Debug shortcut on the start menu
    • Start last.fm stream
    • Switch to now playing
    • Let it play through five songs
    • Once playback stops close MP
    • Upload logs

    • Start MP from the Debug shortcut on the start menu
    • Start last.fm stream
    • Leave MP on the last.fm radio screen
    • Let it play through songs
    • Check if more songs are added to playlist
    • Close MP
    • Upload logs


    Here you go... _LastFmNowPlaying and _LastFmPlaylist, respectively.
     

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    Here you go... _LastFmNowPlaying and _LastFmPlaylist, respectively.
    Did you choose the "Report a bug to Team Mediaportal" option ? If not could you try it with this option as that will make it easier for me to see what is going on.

    Did radio play OK if you leave it on radio screen?
     

    PrplHaz4

    Portal Pro
    August 9, 2007
    57
    6
    Boston, MA
    Home Country
    United States of America United States of America
    No, I picked the one for plugin developers. I will try the other way, but it won't be till at least tomorrow.

    Radio plays fine, for extended periods, when I leave it on the last.fm radio screen.
     

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    49
    ::1
    Home Country
    Netherlands Netherlands
    Mike, been testing with Scythe42's build and i'm getting an error on [Announce/Auto DJ] after starting a webstream:
    Code:
    [2013-04-24 12:01:15,657] [Error  ] [Announce/Auto DJ] [ERROR] - MediaPortal: Unhandled exception occured
    [2013-04-24 12:01:15,660] [Log	] [Announce/Auto DJ] [ERROR] - Exception: System.InvalidOperationException: Sequence contains no matching element
      at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
      at MediaPortal.ProcessPlugins.LastFMScrobbler.LastFMScrobbler.AnnounceTrack(String filename)
      at MediaPortal.ProcessPlugins.LastFMScrobbler.LastFMScrobbler.<>c__DisplayClass3.<OnPlayBackStarted>b__1()
      at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
      at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
      at System.Threading.ThreadHelper.ThreadStart()  Message: Sequence contains no matching element  Site  : TSource First[TSource](System.Collections.Generic.IEnumerable`1[TSource], System.Func`2[TSource,System.Boolean])  Source : System.Core  Stack Trace:	 at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
      at MediaPortal.ProcessPlugins.LastFMScrobbler.LastFMScrobbler.AnnounceTrack(String filename)
      at MediaPortal.ProcessPlugins.LastFMScrobbler.LastFMScrobbler.<>c__DisplayClass3.<OnPlayBackStarted>b__1()
      at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
      at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
      at System.Threading.ThreadHelper.ThreadStart()
    The above error is only happening with the option 'Announce tracks to Website' enabled.


    Also 2 lines in Configuration-Error.log but not sure if they're related to Last.Fm or Music in general (maybe BASS rework)
    Code:
    [2013-04-22 15:10:06,746] [Config ] [Config Main] [ERROR] - PluginsNew: Argument Exception loading the image - GlobalSearch.Resources.Images.search_music.png, Value of 'null' is not valid for 'stream'.
    [2013-04-22 15:10:06,746] [Config ] [Config Main] [ERROR] - PluginsNew: Argument Exception loading the image - GlobalSearch.Resources.Images.search_music_disabled.png, Value of 'null' is not valid for 'stream'.
     
    Last edited:

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    49
    ::1
    Home Country
    Netherlands Netherlands
    @jameson_uk on comments on this crash?
    https://forum.team-mediaportal.com/threads/last-fm-rework-and-auto-dj-mode.116452/page-8#post-987718

    Also noticed that without the 'Announce tracks to Website' option enabled, AutoDJ isn't working.
    And a log4net (i assume) issue:
    Code:
    [2013-04-26 14:53:38,361] [Error  ] [Announce/Auto DJ] [ERROR] - Exception when updating now playing track on last.fm
    [2013-04-26 14:53:38,363] [Error  ] [Announce/Auto DJ] [ERROR] - MediaPortal: Unhandled exception occured
    [2013-04-26 14:53:38,364] [Log	] [Announce/Auto DJ] [ERROR] - Exception: System.NullReferenceException: Object reference not set to an instance of an object.
      at MediaPortal.Common.Utils.Logger.CommonLog4NetLogger.FormatException(Exception ex)
      at MediaPortal.Common.Utils.Logger.CommonLog4NetLogger.Error(CommonLogType logType, Exception ex)
      at MediaPortal.ServiceImplementations.Log4NetWrapper.Error(Exception ex)
      at MediaPortal.GUI.Library.Log.Error(Exception ex)
      at MediaPortal.ProcessPlugins.LastFMScrobbler.LastFMScrobbler.AnnounceTrack(String filename)
      at MediaPortal.ProcessPlugins.LastFMScrobbler.LastFMScrobbler.<>c__DisplayClass3.<OnPlayBackStarted>b__1()
      at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
      at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
      at System.Threading.ThreadHelper.ThreadStart()  Message: Object reference not set to an instance of an object.  Site  : System.String FormatException(System.Exception)  Source : Common.Utils  Stack Trace:	at MediaPortal.Common.Utils.Logger.CommonLog4NetLogger.FormatException(Exception ex)
      at MediaPortal.Common.Utils.Logger.CommonLog4NetLogger.Error(CommonLogType logType, Exception ex)
      at MediaPortal.ServiceImplementations.Log4NetWrapper.Error(Exception ex)
      at MediaPortal.GUI.Library.Log.Error(Exception ex)
      at MediaPortal.ProcessPlugins.LastFMScrobbler.LastFMScrobbler.AnnounceTrack(String filename)
      at MediaPortal.ProcessPlugins.LastFMScrobbler.LastFMScrobbler.<>c__DisplayClass3.<OnPlayBackStarted>b__1()
      at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
      at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
      at System.Threading.ThreadHelper.ThreadStart()
     
    Last edited:

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom

    Users who are viewing this thread

    Top Bottom