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

PrplHaz4

Portal Pro
August 9, 2007
57
6
Boston, MA
Home Country
United States of America United States of America
I just ran the installer posted at the beginning of this thread - and selected "fresh install" on one of the initial screens. I will try extracting the individual installers and see if that works.

Ok, that seemed to work much better.

First thing I noticed when adding a user the text box still shows blank after authenticating. The authentication seemed to work fine though, and i am able to play radio...etc.

Thanks again! So glad to have it back!
 

jameson_uk

Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,257
    2,533
    Birmingham
    Home Country
    United Kingdom United Kingdom
    First thing I noticed when adding a user the text box still shows blank after authenticating. The authentication seemed to work fine though, and i am able to play radio...etc.
    Yeah that is still not finished. I need to get this to work for multiple accounts and allow users to switch accounts

    Thanks again! So glad to have it back!
    So is radio working ok for you? Is this any better / worse then before?
     

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,418
    4,717
    51
    ::1
    Home Country
    Netherlands Netherlands
    @jameson_uk my music just stopped playing :(
    Code:
    [2013-04-21 13:55:15,377] [Log	] [MPMain ] [INFO ] - g_Player.OnStarted() \\Server\flac\Rihanna\Unapologetic - Deluxe Edition (2012)\02. Diamonds.flac media:Music
    [2013-04-21 13:55:15,465] [Log	] [28	 ] [INFO ] - Last.fm scrobble: Chasing Pavements - Adele
    [2013-04-21 13:55:15,534] [Log	] [31	 ] [INFO ] - Submitted last.fm now playing update for: Rihanna - Diamonds
    [2013-04-21 13:55:18,913] [Log	] [31	 ] [INFO ] - Auto DJ: Matched 9 local songs. Attempting to add 1 tracks
    [2013-04-21 13:55:18,914] [Log	] [31	 ] [INFO ] - Auto DJ: Added to playlist: Lana Del Rey - Ride
    [2013-04-21 13:55:19,204] [Error ] [25	 ] [ERROR] - MediaPortal: Unhandled exception occured
    [2013-04-21 13:55:19,223] [Log	] [25	 ] [ERROR] - Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Site : Source : Stack Trace:
    [2013-04-21 13:55:28,510] [Log	] [PS StandbyWakeup] [DEBUG] - PS: StandbyWakeupThread triggered by check interval
     
    Last edited by a moderator:

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,523
    10,466
    France
    Home Country
    France France
    Hi,
    I can confirm the same here :) it happen randomly (the crash but always when added song it seems)
    Maybe related to BASS Rework, it seems to crash in third party DLL.
     
    Last edited:

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,257
    2,533
    Birmingham
    Home Country
    United Kingdom United Kingdom
    @jameson_uk my music just stopped playing :(
    Code:
    [2013-04-21 13:55:19,204] [Error ] [25	 ] [ERROR] - MediaPortal: Unhandled exception occured
    [2013-04-21 13:55:19,223] [Log	] [25	 ] [ERROR] - Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Site : Source : Stack Trace:
    Odd that stacktrace is completely empty :confused:
    Not entirely sure what thread this is running in (Scrobbler was thread 28, AutoDJ was thread 31 so not sure what was running no thread 25)

    The previous logs are the end of the AutoDJ and scrobbling background threads so it looks like this might be BASS related. Odd thing is that most background threads in the BASS work are named....

    Edit: Indeed previous tracks all had
    Code:
    [[2013-04-21 13:51:41,981] [Log	] [BASS X-FadeEnded] [DEBUG] - BASS: Fading of stream finished.
    [2013-04-21 13:51:41,982] [Log	] [BASS SongEnd] [DEBUG] - BASS: End of stream \\Server\flac\Ed Sheeran\+ - Deluxe Edition (2011)\02. Drunk.flac
    [2013-04-21 13:51:41,983] [Log	] [BASS SongEnd] [DEBUG] - BASS: Disposing Music Stream \\Server\flac\Ed Sheeran\+ - Deluxe Edition (2011)\02. Drunk.flac
    but that is missing here. Looks like an issue with cross fading and most likely an odd timing issue.
    (I assume you are using current BASS code from master as the code in the installer here is not quite up to date)
    @hwahrmann you aware of any issue here?
     
    Last edited:

    bribbon

    MP Donator
  • Premium Supporter
  • September 11, 2008
    469
    101
    Home Country
    Switzerland Switzerland
    Nice that you are working on last.fm. In my music collection are all album-cover stored in the id-tag. I used the old plugin to scrobble the tracks played, to load the missing artist thumbs and to naturally fill the playlist. I have the feeling that it also tracks has added to the playlist, which I don't have locally. Possible?

    I only uninstalled the MePo client and then freshly installed your version 4. I have the music section configured and then successfully in the last.fm plugin set up my account (I can see my profile thumb but no name). The scrobbling works at first attempt, but the Love / Ban functionality doesn't work for me.
    Geographically restricted: this means that I have because of the law of my country not access? because I would have an account.

    Code:
    [2013-04-21 15:25:29,860] [Log	] [MPMain   ] [DEBUG] - Window: MediaPortal.GUI.LastFMRadio.GUILastFMRadio init
    [2013-04-21 15:25:31,933] [Log	] [MPMain   ] [DEBUG] - Attempting to Tune to last.fm station: lastfm://user/bribbon_81/recommended
    [2013-04-21 15:25:31,935] [Log	] [MPMain   ] [DEBUG] - LastFM.TuneRadio: Attempting to tune radio to: lastfm://user/bribbon_81/recommended
    [2013-04-21 15:25:32,131] [Error  ] [MPMain   ] [ERROR] - Error in Tune Radio: 28 - 
    	Radio station not supported with this country/client combination
     
    [2013-04-21 15:25:32,308] [Log	] [MPMain   ] [ERROR] - Exception: MediaPortal.LastFM.LastFMException: 
    	Geographically restricted - user must be a subscriber to use this method.
     
       bei MediaPortal.LastFM.LastFMLibrary.GetXml(String querystring)
       bei MediaPortal.LastFM.LastFMLibrary.GetRadioPlaylist(List`1& tracks)  Message: 
    	Geographically restricted - user must be a subscriber to use this method.
      Site   : System.Xml.Linq.XDocument GetXml(System.String)  Source : LastFMLibrary  Stack Trace:	 bei MediaPortal.LastFM.LastFMLibrary.GetXml(String querystring)
       bei MediaPortal.LastFM.LastFMLibrary.GetRadioPlaylist(List`1& tracks)
    [2013-04-21 15:25:32,312] [Log	] [MPMain   ] [DEBUG] - WindowManager: route MediaPortal.GUI.LastFMRadio.GUILastFMRadio:56789->MediaPortal.Dialogs.GUIDialogNotify:2016
    [2013-04-21 15:25:32,313] [Log	] [MPMain   ] [DEBUG] - DialogWindow: MediaPortal.Dialogs.GUIDialogNotify init
    [2013-04-21 15:25:37,509] [Log	] [MPMain   ] [DEBUG] - WindowManager: unroute to MediaPortal.Dialogs.GUIDialogNotify:2016->MediaPortal.GUI.LastFMRadio.GUILastFMRadio:56789
    [2013-04-21 15:25:37,511] [Log	] [MPMain   ] [DEBUG] - PlaylistPlayer.Play() playlist is empty

    Another Question: it probably has little to do with this plugin. In music-view: current play, where
    the information comes as: "Artist information" and "Related title"? they are empty. in the
    configuration I have no "lookups/suggestions" disabled. I'm missing a setting?

    regards
     

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,257
    2,533
    Birmingham
    Home Country
    United Kingdom United Kingdom
    Nice that you are working on last.fm. In my music collection are all album-cover stored in the id-tag. I used the old plugin to scrobble the tracks played, to load the missing artist thumbs and to naturally fill the playlist. I have the feeling that it also tracks has added to the playlist, which I don't have locally. Possible?
    http://www.last.fm/announcements/radio2013
    Looks like Switzerland does not have radio any more :(
    If you were able to make last.fm think you were in Germany and subscribe.............

    Another Question: it probably has little to do with this plugin. In music-view: current play, where
    the information comes as: "Artist information" and "Related title"? they are empty. in the
    configuration I have no "lookups/suggestions" disabled. I'm missing a setting?
    related tracks should work. Artist information requires you to search the info manually (http://wiki.team-mediaportal.com/in...Using_MediaPortal/5_Music/Album_&_Artist_Info) there is also a plugin (https://www.team-mediaportal.com/extensions/music/musicinfohandler) which will scrape info automatically
     

    bribbon

    MP Donator
  • Premium Supporter
  • September 11, 2008
    469
    101
    Home Country
    Switzerland Switzerland
    http://www.last.fm/announcements/radio2013
    Looks like Switzerland does not have radio any more :(
    If you were able to make last.fm think you were in Germany and subscribe.............
    I think this is only a circumvention of the proxy server. I let the once. This is why I get this error message in Last.fm Radio-Plugin: "Error getting tracks. Most likely too many skips. Wait a while or try another station."?

    related tracks should work. Artist information requires you to search the info manually (http://wiki.team-mediaportal.com/index.php?title=1_MEDIAPORTAL_1/14_Using_MediaPortal/5_Music/Album_&_Artist_Info) there is also a plugin (https://www.team-mediaportal.com/extensions/music/musicinfohandler) which will scrape info automatically
    Ahh, so this is working. I thought that it loads the information from last.fm, which would be also available there.

    Can I still try something else with my configuration?
     

    Users who are viewing this thread

    Top Bottom