1.12.0 - Again: Selected Items STILL disapper | Page 2

Discussion in 'Archive' started by briegel, August 17, 2015.

  1. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,269
    Likes Received:
    6,221
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,228 / 9
    Home Country:
    France France
    Show System Specs
    I notice compared to the posted log that on my side i didn't has a return item for lastFM and then the playlist is not update :
    Code (Text):
    1. [2015-08-18 07:41:24,858] [Log    ] [33       ] [DEBUG] - GUIMusicPlayingNow: Calling Last.FM to get similar Tracks
    2. [2015-08-18 07:41:24,948] [Log    ] [MPMain   ] [DEBUG] - internet connection detected. Can process last.fm announce or Auto DJ
    3. [2015-08-18 07:41:25,640] [Log    ] [33       ] [DEBUG] - GUIMusicPlayingNow: Number of similar tracks returned from Last.FM: 0
    4. [2015-08-18 07:41:25,640] [Log    ] [33       ] [DEBUG] - GUIMusicPlayingNow: Tracks returned after matching Last.FM results with database tracks: 0
    Compared to your log :

    Code (Text):
    1. [2015-08-18 11:41:47,599] [Log    ] [19       ] [DEBUG] - GUIMusicPlayingNow: Calling Last.FM to get similar Tracks
    2. [2015-08-18 11:41:49,216] [Log    ] [19       ] [DEBUG] - GUIMusicPlayingNow: Number of similar tracks returned from Last.FM: 250
    3. [2015-08-18 11:41:49,574] [Log    ] [19       ] [DEBUG] - GUIMusicPlayingNow: Tracks returned after matching Last.FM results with database tracks: 2
    Not sure if it's related but maybe it is :)


     
    • Agree Agree x 1
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. HomeY
    • Team MediaPortal

    HomeY Test Group

    Joined:
    February 23, 2008
    Messages:
    6,460
    Likes Received:
    2,627
    Gender:
    Male
    Occupation:
    Network Engineer
    Location:
    ::1
    Ratings:
    +4,737 / 16
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Here are the steps:

    1. With Titan as skin, start playback of a track
    2. Jump to NowPlaying (X on keyboard) and make sure the 'similar tracks' option is enabled (if not > enable it)
    13-33-01.png
    3. ESC out of NowPlaying (back to the album tracks)
    4. Start playback of another song and when it has played 10 seconds, the title on the bottom will disappear
    13-32-52.png 13-32-54.png
     
    • Thank You! Thank You! x 2
  4. HomeY
    • Team MediaPortal

    HomeY Test Group

    Joined:
    February 23, 2008
    Messages:
    6,460
    Likes Received:
    2,627
    Gender:
    Male
    Occupation:
    Network Engineer
    Location:
    ::1
    Ratings:
    +4,737 / 16
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Seb, if you want to debug this, have a look at this part of GUIMusicPlayingNow.cs:
    Code (C):
    1.  
    2.     private void UpdateSimilarTrackWorker(string filename, MusicTag tag)
    3.     {
    4.       if (tag == null) return;
    5.  
    6.       lstSimilarTracks.Clear();
    7.  
    8.       List<LastFMSimilarTrack> tracks;
    9.       try
    10.       {
    11.         Log.Debug("GUIMusicPlayingNow: Calling Last.FM to get similar Tracks");
    12.         tracks = LastFMLibrary.GetSimilarTracks(tag.Title, tag.Artist);
    13.       }
    14.       catch (Exception ex)
    15.       {
    16.         Log.Error("Error getting similar tracks in now playing");
    17.         Log.Error(ex);
    18.         return;
    19.       }
    Item disappears when the code hits:
    tracks = LastFMLibrary.GetSimilarTracks(tag.Title, tag.Artist);

    but when i disable that line, it still disappears...
     
    • Like Like x 3
  5. HomeY
    • Team MediaPortal

    HomeY Test Group

    Joined:
    February 23, 2008
    Messages:
    6,460
    Likes Received:
    2,627
    Gender:
    Male
    Occupation:
    Network Engineer
    Location:
    ::1
    Ratings:
    +4,737 / 16
    Home Country:
    Netherlands Netherlands
    Show System Specs
    @Sebastiii It looks like tracks = null when the BP is hit. When i F10 through, i get a result of 250 when i hit the } (line 13 above code)
     
    • Like Like x 3
  6. azzuro
    • Team MediaPortal

    azzuro Test Group

    Joined:
    May 10, 2007
    Messages:
    8,485
    Likes Received:
    2,543
    Occupation:
    technician HVAC
    Location:
    France - IDF
    Ratings:
    +4,215 / 13
    Home Country:
    France France
    Show System Specs
  7. HTPCSourcer
    • Team MediaPortal
    • Administrator

    HTPCSourcer MP2 Product Manager

    Joined:
    May 16, 2008
    Messages:
    10,743
    Likes Received:
    1,125
    Gender:
    Male
    Ratings:
    +2,407 / 22
    Home Country:
    Germany Germany
    Show System Specs
    I looked into it on my system: To make things worse, LastFM is not working for me at all...
     
  8. HomeY
    • Team MediaPortal

    HomeY Test Group

    Joined:
    February 23, 2008
    Messages:
    6,460
    Likes Received:
    2,627
    Gender:
    Male
    Occupation:
    Network Engineer
    Location:
    ::1
    Ratings:
    +4,737 / 16
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Nah, i can't code, but i've learned to read it a bit (and do some minimal debugging) ;)

    Does it work with Titan?
     
    • Like Like x 3
  9. HTPCSourcer
    • Team MediaPortal
    • Administrator

    HTPCSourcer MP2 Product Manager

    Joined:
    May 16, 2008
    Messages:
    10,743
    Likes Received:
    1,125
    Gender:
    Male
    Ratings:
    +2,407 / 22
    Home Country:
    Germany Germany
    Show System Specs
    No, same behavior. Now I have no idea what is wrong with LastFM on my machine... Anyway, I can't test further then.
     
  10. briegel

    briegel Portal Pro

    Joined:
    July 2, 2008
    Messages:
    86
    Likes Received:
    18
    Ratings:
    +33 / 4
    Home Country:
    Germany Germany
    Last.fm changed their internetsite.

    They write on their Internetsite:


    "Hello.
    Welcome to the new Last.fm.


    We’re excited to have you using the new site and some of the brand new features which will help you explore Last.fm in ways you haven’t been able to before.


    Hang in there while we make the switch, we’ll be bringing a lot of our usual features to the new site soon so keep checking back.


    See below for what’s new..
    ."

    (http://www.last.fm/about/whatsnew)

    and:

    "We’re currently migrating data (including scrobbles) to our new site and to minimise data disruption, we’ve temporarily suspended some functionality. Rest assured, we’re re-activating features one-by-one as soon as each data migration completes. Keep an eye on progress here."

    On my very old installation Last.fm also doesn't work any longer. I don't get any track suggestions any longer.
    Did they change the API?
     
  11. HomeY
    • Team MediaPortal

    HomeY Test Group

    Joined:
    February 23, 2008
    Messages:
    6,460
    Likes Received:
    2,627
    Gender:
    Male
    Occupation:
    Network Engineer
    Location:
    ::1
    Ratings:
    +4,737 / 16
    Home Country:
    Netherlands Netherlands
    Show System Specs
    They're in the progress of migrating the site, i can't read anything about an API change.
    Just tested the scrobbling, and that's working fine with our latest (1.12) Final release ;)
    upload_2015-8-29_10-39-30.png
     
    • Like Like x 1
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!