[solved] Improved MBID Search for Artist and Album (3 Viewers)

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    16,062
    11,144
    Kyiv
    Home Country
    Ukraine Ukraine
    Yes, this dependency makes sense. If an artist is not registered in the MB DB then also no albums from him can exist in the MB DB since an artist MBID is required to register new albums in MB DB. Therefore, if an artist record doesn't exist then in the MB DB it doesn't make senso to search for albums.
    This is not the case, we are looking for an artist, the site returns an incorrect result. For example, we are looking for Frank Sina and we get Frank Sinatra (I encountered a similar case when using alternative names, such as GNR and etc.).
    If in this case we are looking for an album by artist ID and album name, we will not get the desired ID for the album because Frank Sinatra has no such album.
    But when we search by name, artist Frank Sina, album Album, the site will return the correct result. :coffee:
     

    horned_reaper

    Test Group
  • Team MediaPortal
  • January 7, 2011
    1,233
    461
    Munich
    Home Country
    Germany Germany
    That's true, the condition for precise searches is correct file metadata (tags).

    Let's see how the album MBID search works with your planned change tonight.
    I think giving the MBID search priority will help.
     

    horned_reaper

    Test Group
  • Team MediaPortal
  • January 7, 2011
    1,233
    461
    Munich
    Home Country
    Germany Germany
    Interesting!

    Could you please nevertheless add the MBID search provider option?
    I make changes, add new Advanced settings in FanartHandler.xml like:
    - Additional settings for MBID search Providers. (FanartHandler.xml)
    XML:
      <section name="MBID">
        <entry name="ArtistProviders">TheAudioDB|LastFM|MusicBrainz</entry>
        <entry name="AlbumProviders">TheAudioDB|LastFM|MusicBrainz</entry>
      </section>
    - Allows you to change the priority of the search MBID by providers, as well as turn off the necessary ones (remove from the list).

    If it works out, I’ll collect a test version of the plugin after a while, if not, then in the evening. :)
     

    horned_reaper

    Test Group
  • Team MediaPortal
  • January 7, 2011
    1,233
    461
    Munich
    Home Country
    Germany Germany
    Within a short playback time for 4 known albums wrong thumbs have been downloaded, although their artist, album artist and album title names match with MB DB records.
    But the artist thumb download works fine.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,062
    11,144
    Kyiv
    Home Country
    Ukraine Ukraine
    I added, you can change the search order by providers and turn off unnecessary ones, all through the configuration file.

    --
    WBR, ajs :):whistle::coffee:
     

    horned_reaper

    Test Group
  • Team MediaPortal
  • January 7, 2011
    1,233
    461
    Munich
    Home Country
    Germany Germany
    Hmm, still the wrong album image is downloaded:
    07-May-2020 20:11:24 Debug [ Scraper]: --- Thumb --- Frank Sinatra - My Way: The Best Of Frank Sinatra ---
    07-May-2020 20:11:24 Debug [ Scraper]: Trying to find Thumbs for Artist/Album: Frank Sinatra - My Way: The Best Of Frank Sinatra
    07-May-2020 20:11:24 Debug [ Scraper]: Common: MusicBrainz DB ID: 197450cd-0124-4164-b723-3c22dd16494d
    07-May-2020 20:11:24 Debug [ Scraper]: Fanart.TV: Trying to find pictures for Artist/Album (Thumbs): Frank Sinatra - My Way: The Best Of Frank Sinatra - 197450cd-0124-4164-b723-3c22dd16494d.
    07-May-2020 20:11:24 Debug [ Scraper]: Extract URL - [albumcover] URLs Found: 3
    07-May-2020 20:11:24 Debug [ Scraper]: Fanart.TV Download: Artist/Album (Thumbs): Frank Sinatra - My Way: The Best Of Frank Sinatra - 197450cd-0124-4164-b723-3c22dd16494d - 254347 - https://assets.fanart.tv/fanart/music/197450cd-0124-4164-b723-3c22dd16494d/albumcover/frank-sinatra-sings-for-only-the-lonely-5c2ee3e8ede6f.jpg

    But the new setting is active:
    07-May-2020 20:10:59 Debug [ Utils]: MBID Providers for Artist: [MusicBrainz], for Albums: [MusicBrainz]

    Do you know why for the the album the same MBID as for the artist is returned?
    07-May-2020 20:11:20 Debug [ Scraper]: --- Fanart --- Frank Sinatra ---
    07-May-2020 20:11:20 Debug [ Scraper]: Trying to find Fanart for Artist: Frank Sinatra
    07-May-2020 20:11:20 Debug [ Scraper]: Common: MusicBrainz DB ID: 197450cd-0124-4164-b723-3c22dd16494d

    It acually is a artist-list instead of a release-group-list MBID!
    1588875746634.png


    This URL would return the correct result:
    http://musicbrainz.org/ws/2/release-group/?query=artist:"Frank Sinatra" AND release:"My Way: The Best Of Frank Sinatra"
    1588876003642.png


    Could you please (temporarily) add the album search URL to the log file to allow debugging? I'm really curious for the problem cause!
    Your support is highly appreciated.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,062
    11,144
    Kyiv
    Home Country
    Ukraine Ukraine
    You have MBID in DB, if MBID present in DB, FH not seaarch MBiD on sites...

    Common: MusicBrainz DB ID: 197450cd-0124-4164-b723-3c22dd16494d

    --
    WBR, ajs :):whistle::coffee:
     

    Users who are viewing this thread

    Top Bottom