Now playing artist/song not always updated (1 Viewer)

jameson_uk

Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    OK, this will not do anything except produce some logs. This is some code I have been playing with for something else but should help out here.

    Put the two files in
    C:\Program Files (x86)\Team MediaPortal\MediaPortal\plugins\process

    Next time you then see the wrong details can you attach logs. Also can you provide details of the time this happened, the previous track, the current track (that is showing the wrong details)

    Obviously this needs to be using BASS player and some of the setting that trigger the bug (I still can not replicate this on three machines I have)
     

    Attachments

    • LastFMScrobblerTest.zip
      9.6 KB

    CypherMK

    MP Donator
  • Premium Supporter
  • March 11, 2009
    1,735
    617
    Home Country
    Netherlands Netherlands
    Hi,

    Do I have to start mediaportal in debug mode. If no, where can I find these logs. :D
     

    CypherMK

    MP Donator
  • Premium Supporter
  • March 11, 2009
    1,735
    617
    Home Country
    Netherlands Netherlands
    Settings:

    Bass player, gapless playback enabled, fade in on start disabled.

    What I did:

    16.19 Start MP
    16.19 Start playback of music
    Song: Beatles - While my guitar gently weeps.
    16.24 Next song is played and the bug is there
    Song: The soca boys - Follow the leader
    (Made a screenshot of this moment/bug)
    16.28 Next song is played, bug is gone.
    Song: Queen - Action this day
    16.29: Stop playback of music and exit MP

    Hope this helps :)
     

    Attachments

    • 16-24-48.png
      16-24-48.png
      1.1 MB

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    Brilliant. That is just what I thought was happening
    Code:
    2012-03-24 16:24:42.529826 [Info.][MPMain(1)]: g_Player.OnStarted()  media:Music
    2012-03-24 16:24:42.529826 [Debug][MPMain(1)]: GUIMusicPlayingNow: g_Player_PlayBackStarted for 
    2012-03-24 16:24:42.530826 [Debug][MPMain(1)]: GUIMusicPlayingNow: adding image to container - C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Music\Albums\The Soca Boys-Hitzone 3L.jpg
    2012-03-24 16:24:42.531826 [Debug][MPMain(1)]: I.F.C.: --> onStarted
    2012-03-24 16:24:42.531826 [Debug][MPMain(1)]: I.F.C.: filename: 
    2012-03-24 16:24:42.532826 [Debug][MPMain(1)]: I.F.C.: --> startThread
    2012-03-24 16:24:42.532826 [Debug][MPMain(1)]: I.F.C.: <-- onStarted
    2012-03-24 16:24:42.532826 [Info.][MPMain(1)]: [MIKE] OnPlayBackStarted: Music : 
    2012-03-24 16:24:42.533826 [Info.][Scrobbler event(39)]: Audioscrobbler plugin: Unknown track:

    For some reason the filename of the track is not being passed. Normally you would have
    2012-03-24 16:19:53.757309 [Debug][MPMain(1)]: PlayerFactory: Successfully created player instance for file - E:\Mp3\Top 750 Albums\070 - Beatles - 1968 - The White Album (The Beatles)\1968 - The White Album (The Beatles) (2009 Mono Remastered)\107 - While My Guitar Gently Weeps.flac
    2012-03-24 16:19:54.275339 [Info.][MPMain(1)]: BASS: playback started
    2012-03-24 16:19:54.281339 [Info.][MPMain(1)]: g_Player.OnStarted() E:\Mp3\Top 750 Albums\070 - Beatles - 1968 - The White Album (The Beatles)\1968 - The White Album (The Beatles) (2009 Mono Remastered)\107 - While My Guitar Gently Weeps.flac media:Music
    2012-03-24 16:19:54.287339 [Debug][MPMain(1)]: I.F.C.: --> onStarted
    2012-03-24 16:19:54.287339 [Debug][MPMain(1)]: I.F.C.: filename: E:\Mp3\Top 750 Albums\070 - Beatles - 1968 - The White Album (The Beatles)\1968 - The White Album (The Beatles) (2009 Mono Remastered)\107 - While My Guitar Gently Weeps.flac
    2012-03-24 16:19:54.288340 [Debug][MPMain(1)]: I.F.C.: --> startThread
    2012-03-24 16:19:54.289340 [Debug][MPMain(1)]: I.F.C.: <-- onStarted
    2012-03-24 16:19:54.291340 [Info.][MPMain(1)]: [MIKE] OnPlayBackStarted: Music : E:\Mp3\Top 750 Albums\070 - Beatles - 1968 - The White Album (The Beatles)\1968 - The White Album (The Beatles) (2009 Mono Remastered)\107 - While My Guitar Gently Weeps.flac

    That said, I do not know what causes this so off to look now...
     

    CypherMK

    MP Donator
  • Premium Supporter
  • March 11, 2009
    1,735
    617
    Home Country
    Netherlands Netherlands
    Thx for your time.

    If you need more info/testing/logs etc... let me know :)
     

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    Could you try the attached?

    I don't think it can be this simple but it definitely looks like a timing issue and I think this may solve it.

    Rename the existing core.dll in the MP Program Files folder and place the one in the zip there
     

    Attachments

    • Core.zip
      1.1 MB

    CypherMK

    MP Donator
  • Premium Supporter
  • March 11, 2009
    1,735
    617
    Home Country
    Netherlands Netherlands
    Ok. I will try later on. The kids have occupied my htpc :) I will report back.
     

    CypherMK

    MP Donator
  • Premium Supporter
  • March 11, 2009
    1,735
    617
    Home Country
    Netherlands Netherlands
    Do you need logs when I try this file?
     

    Users who are viewing this thread

    Top Bottom