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

The_Stig

Retired Team Member
  • Premium Supporter
  • April 5, 2005
    2,176
    428
    I am on the train now but I an fairly sure you are not running the latest version of the plugin. Please update it via MPEI
    Erm...I was dead sure I did...but: seems that I only did on test notebook, and not on htpc. Sorry for bugging you!!! :whistle:
     

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    I had a crashing MP with Last.FM and Musicinfohandler. This is what @Sebastii did for me and it works now in MP (at least no crashes anymore):

    About The_Stig crash, it happen on : filter = filter.Replace("{dir}", "'" + Path.GetDirectoryName(tag.FileName) + "'"); in mediaportal\ProcessPlugins\LastFMScrobbler\LastFMScrobbler.cs. Der Pfad hat ein ungültiges Format / The path is not in legal form. Surely related to culture info Adding try / catch solve the crash but not the root cause lol
    I really need to get logs here to fix properly. The workaround Seb has put in is just stopping the errors appearing not from happening.


    Can you install the latest version of this (V7 in first post) and capture me this error with logs set to debug level please
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Yep, i just catch it to avoid MP CTD, the error (from memory) is 'the path is not in legal form'
    I know homey get it too, i can't test (not @ home) but when testing i didn't get this error but need to retry because i get duplicate track in playlist (very often)
     

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    49
    ::1
    Home Country
    Netherlands Netherlands
    Yep, i just catch it to avoid MP CTD, the error (from memory) is 'the path is not in legal form'
    I know homey get it too, i can't test (not @ home) but when testing i didn't get this error but need to retry because i get duplicate track in playlist (very often)

    This 1?
    Code:
    [2013-07-07 12:39:36,614] [Log  ] [AutoDJ  ] [DEBUG] - Applying filter failed: and strGenre not like '%| Holiday |%', exception System.ArgumentException: The path is not of a legal form.
      at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
      at System.IO.Path.NormalizePath(String path, Boolean fullCheck)
      at System.IO.Path.GetDirectoryName(String path)
      at MediaPortal.ProcessPlugins.LastFMScrobbler.LastFMScrobbler.BuildAutoDJFilter(String filterMask, MusicTag tag)
    https://forum.team-mediaportal.com/...-and-auto-dj-mode.116452/page-20#post-1010034
     

    The_Stig

    Retired Team Member
  • Premium Supporter
  • April 5, 2005
    2,176
    428
    Can you install the latest version of this (V7 in first post) and capture me this error with logs set to debug level please

    No, can't. I just tried and cannot reproduce the error again. Sorry. Its weird because I had a crashing MP both on Notebook and HTPC. Will check if I have the old logs somewhere still around.

    EDIT: Found it. Should be the one after Sebastii added the catch. Maybe it helps?
     
    Last edited:

    olli14

    Portal Pro
    December 17, 2008
    740
    35
    Home Country
    Germany Germany
    Hi,
    I wanted to try Auto DJ Mode and therefore I downloaded the file "MP_lastfm_V7.zip". Inside this ZIP file I found "MediaPortalSetup_1.3.100_2013-05-22-22-37.exe". Is that OK? I can not imagine that I have to install Auto DJ Mode with this exe file?

    olli14
     

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    Hi,
    I wanted to try Auto DJ Mode and therefore I downloaded the file "MP_lastfm_V7.zip". Inside this ZIP file I found "MediaPortalSetup_1.3.100_2013-05-22-22-37.exe". Is that OK? I can not imagine that I have to install Auto DJ Mode with this exe file?

    olli14
    This is a full Mediaportal installer. This is a testing version not a plugin.
     

    MrCrabs

    Portal Pro
    January 21, 2010
    884
    129
    Braunschweig
    Home Country
    Germany Germany
    Is there a Chance of this becoming part of 1.5? I would love to have the features again, though I don't want to run this version on my living room pc.
     

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    Is there a Chance of this becoming part of 1.5? I would love to have the features again, though I don't want to run this version on my living room pc.
    No. This will not be included in 1.5. I will update this to a 1.5 build when I get time.
     

    Users who are viewing this thread

    Top Bottom