Update allmusic.com scraper (1 Viewer)

jameson_uk

Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    United Kingdom United Kingdom
    Country flag
    Allmusic.com have updated their layout again so currently artist and album scraping inside of MP is broken.

    Attached is hopefully a fix which is https://github.com/MediaPortal/MediaPortal-1/tree/BUG_AMG_Scraper

    In C:\Program Files (x86)\Team MediaPortal\MediaPortal
    rename Databases.dll and place the following files from zip into that folder
    • Databases.dll
    • Databases.pdb
    • HTMLAgilityPack.dll
    In C:\Program Files (x86)\Team MediaPortal\MediaPortal\plugins\Windows
    rename WindowPlugins.dll and place the following files from zip into that folder
    • WindowPlugins.dll
    • WindowPlugins.pdb
    You will need to disable other scrapers (MusicInfoHandler) but scraping should then work inside of MP
     

    Attachments

    Last edited:

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    United Kingdom United Kingdom
    Country flag
    Can anyone provide any feedback as to whether this is working for them?
     

    styrsven

    Portal Pro
    January 6, 2013
    115
    51
    59
    Sweden Sweden
    Country flag
    Yes, it looks like it is doing what it is supposed to do. I tried to update as much as I could, and it fetched the info correctly. A couple of times it seemed to hang when fetching data, and when I checked the logs I saw some error printouts. I'm attaching the actual logs (didn't run in debug mode).
     

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    United Kingdom United Kingdom
    Country flag
    Yes, it looks like it is doing what it is supposed to do. I tried to update as much as I could, and it fetched the info correctly. A couple of times it seemed to hang when fetching data, and when I checked the logs I saw some error printouts. I'm attaching the actual logs (didn't run in debug mode).
    Any chance you can replicate this with debug level logs? I can stop the errors but these indicate cases where the code is not parsing the pages (might be because they are laid out differently or something) but I could really do with knowing which album / artist throw up these errors so I can check them
     

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,466
    4,635
    45
    ::1
    Netherlands Netherlands
    Country flag
    Seems to work great Mike (y)
    20-26-32.png 20-26-52.png 20-27-38.png 20-28-00.png 20-28-28.png

    But... i have 1 artist that always seems to cause problems :)
    Frédéric Chopin
    [hide]
    Code:
    [2013-08-08 20:27:04,467] [Log	] [MPMain  ] [ERROR] - Exception: System.NullReferenceException: Object reference not set to an instance of an object.
      at MediaPortal.Music.Database.MusicArtistInfo.Parse(String strUrl) in C:\Users\james_000\Documents\Code\MediaPortal-1\mediaportal\Databases\Music\InternetLookups\MusicArtistInfo.cs:line 194
      at MediaPortal.GUI.Music.GUIMusicBaseWindow.ShowArtistInfo(String artistName, String albumName) in C:\Users\james_000\Documents\Code\MediaPortal-1\mediaportal\WindowPlugins\GUIMusic\GUIMusicBaseWindow.cs:line 1283
      at MediaPortal.GUI.Music.GUIMusicBaseWindow.OnInfo(Int32 iItem) in C:\Users\james_000\Documents\Code\MediaPortal-1\mediaportal\WindowPlugins\GUIMusic\GUIMusicBaseWindow.cs:line 1464
      at MediaPortal.GUI.Music.GUIMusicGenres.OnShowContextMenu() in C:\Users\james_000\Documents\Code\MediaPortal-1\mediaportal\WindowPlugins\GUIMusic\GUIMusicGenres.cs:line 723
      at MediaPortal.GUI.Library.GUIWindow.OnAction(Action action)
      at MediaPortal.GUI.Music.GUIMusicBaseWindow.OnAction(Action action) in C:\Users\james_000\Documents\Code\MediaPortal-1\mediaportal\WindowPlugins\GUIMusic\GUIMusicBaseWindow.cs:line 493
      at MediaPortal.GUI.Music.GUIMusicGenres.OnAction(Action action) in C:\Users\james_000\Documents\Code\MediaPortal-1\mediaportal\WindowPlugins\GUIMusic\GUIMusicGenres.cs:line 336
      at MediaPortal.GUI.Library.GUIWindowManager.OnAction(Action action)
      at MediaPortalApp.OnAction(Action action)  Message: Object reference not set to an instance of an object.  Site  : Boolean Parse(System.String)  Source : Databases  Stack Trace:	 at MediaPortal.Music.Database.MusicArtistInfo.Parse(String strUrl) in C:\Users\james_000\Documents\Code\MediaPortal-1\mediaportal\Databases\Music\InternetLookups\MusicArtistInfo.cs:line 194
      at MediaPortal.GUI.Music.GUIMusicBaseWindow.ShowArtistInfo(String artistName, String albumName) in C:\Users\james_000\Documents\Code\MediaPortal-1\mediaportal\WindowPlugins\GUIMusic\GUIMusicBaseWindow.cs:line 1283
      at MediaPortal.GUI.Music.GUIMusicBaseWindow.OnInfo(Int32 iItem) in C:\Users\james_000\Documents\Code\MediaPortal-1\mediaportal\WindowPlugins\GUIMusic\GUIMusicBaseWindow.cs:line 1464
      at MediaPortal.GUI.Music.GUIMusicGenres.OnShowContextMenu() in C:\Users\james_000\Documents\Code\MediaPortal-1\mediaportal\WindowPlugins\GUIMusic\GUIMusicGenres.cs:line 723
      at MediaPortal.GUI.Library.GUIWindow.OnAction(Action action)
      at MediaPortal.GUI.Music.GUIMusicBaseWindow.OnAction(Action action) in C:\Users\james_000\Documents\Code\MediaPortal-1\mediaportal\WindowPlugins\GUIMusic\GUIMusicBaseWindow.cs:line 493
      at MediaPortal.GUI.Music.GUIMusicGenres.OnAction(Action action) in C:\Users\james_000\Documents\Code\MediaPortal-1\mediaportal\WindowPlugins\GUIMusic\GUIMusicGenres.cs:line 336
      at MediaPortal.GUI.Library.GUIWindowManager.OnAction(Action action)
      at MediaPortalApp.OnAction(Action action)
    [2013-08-08 20:27:04,471] [Error  ] [MPMain  ] [ERROR] - Exception: Object reference not set to an instance of an object. Databases	at MediaPortal.Music.Database.MusicArtistInfo.Parse(String strUrl) in C:\Users\james_000\Documents\Code\MediaPortal-1\mediaportal\Databases\Music\InternetLookups\MusicArtistInfo.cs:line 194
      at MediaPortal.GUI.Music.GUIMusicBaseWindow.ShowArtistInfo(String artistName, String albumName) in C:\Users\james_000\Documents\Code\MediaPortal-1\mediaportal\WindowPlugins\GUIMusic\GUIMusicBaseWindow.cs:line 1283
      at MediaPortal.GUI.Music.GUIMusicBaseWindow.OnInfo(Int32 iItem) in C:\Users\james_000\Documents\Code\MediaPortal-1\mediaportal\WindowPlugins\GUIMusic\GUIMusicBaseWindow.cs:line 1464
      at MediaPortal.GUI.Music.GUIMusicGenres.OnShowContextMenu() in C:\Users\james_000\Documents\Code\MediaPortal-1\mediaportal\WindowPlugins\GUIMusic\GUIMusicGenres.cs:line 723
      at MediaPortal.GUI.Library.GUIWindow.OnAction(Action action)
      at MediaPortal.GUI.Music.GUIMusicBaseWindow.OnAction(Action action) in C:\Users\james_000\Documents\Code\MediaPortal-1\mediaportal\WindowPlugins\GUIMusic\GUIMusicBaseWindow.cs:line 493
      at MediaPortal.GUI.Music.GUIMusicGenres.OnAction(Action action) in C:\Users\james_000\Documents\Code\MediaPortal-1\mediaportal\WindowPlugins\GUIMusic\GUIMusicGenres.cs:line 336
      at MediaPortal.GUI.Library.GUIWindowManager.OnAction(Action action)
      at MediaPortalApp.OnAction(Action action)
    [/hide]

    BTW: Lovin' the moods :D
     
    Last edited:

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    United Kingdom United Kingdom
    Country flag
    But... i have 1 artist that always seems to cause problems :)
    Frédéric Chopin
    OK this was because he has no discography page. New version in first post which will now check that pages exist before loading them.
    Can you try and break this again please?
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    M.Hulot After Update 1.25 internal blu-ray-player doesn't work General Support 8
    M.Hulot Interner Blu-ray-Player spielt nach Update auf 1.25 keine Discs mehr ab Allgemeines Supportforum 2
    E retaining Watch Status when updating? Newcomers Forum 1
    J Update .NET framework? Improvement Suggestions 9
    G Update von MediaPortal Installationsprobleme? 0
    morpheus_xx [Evaluate] Update to VS 2019? MediaPortal 2 4
    Golf4 Nach Windows-Updates läuft TV-Plugin nicht mehr Allgemeines Support- und Diskussionsforum 0
    B MPEM update list never completes. General Support 0
    JJDoherty Updated DTT frequencies for Ireland... Submit: EPG-Grabbers and tuningdetails 1
    Dark Eyes Updated to Windows 10, now TVServer won't work Installation, configuration support 1
    R [solved] Files moved to new location - Easy way to update database? My TVSeries 7
    M.Hulot Moving Pictures lässt sich nach Windows-Update nicht mehr öffnen Plugins & Erweiterungen 1
    R Files moved to different location - Easy way to update database? Moving Pictures 2
    k12158 [solved] Kein direkter Wechsel von TV-Kanal zu TV-Kanal mehr nach Update? Allgemeines Support- und Diskussionsforum 16
    ajs Mediaportal update to .Net 4.6.2+ MediaPortal 1 13
    Mr6686 [solved] Titan skin broken since update to 1.23 Installation, configuration support 6
    B TV-Server Auto-Update mptvdb after x hours General Support 0
    Terra LAVFilter Plugin cannot be updated (MP1.23) MediaPortal 1 Plugins 10
    TLD Windows 10 1903 feature update General Support 3
    azzuro [WiP] 5043: Update MP1 to VisualStudio 2019 MediaPortal 1 138
    A Problem Windows 10 64 bit prof. Update auf Version 1903(gelöst) Installationsprobleme? 0
    T No TV after updating Windows 10 to latest Version 1903 / OS build 18362.175 (logs attached) General Support 2
    M [solved] Updated Swedish translation for MP 1.24 Submit: Localization of MediaPortal and DeployTool 0
    framug 1.22.0 BasicHome Editor settings for DefaultWide HD skin not kept when update 1.22 3
    Neoculture Bulk file name update My TVSeries 6
    Similar threads

























    Top Bottom