[solved] No Fanart when playing (1 Viewer)

horned_reaper

Test Group
  • Team MediaPortal
  • January 7, 2011
    1,233
    461
    Munich
    Home Country
    Germany Germany
    With all requests, the necessary characters are converted (URL Encoding) through the system function. :)

    You're right, actually the URL is converted. But in case of the & character it fails. Example:
    http://musicbrainz.org/ws/2/artist/?query="Blank & Jones"
    Resolved to (wrong): http://musicbrainz.org/ws/2/artist/?query="Blank & Jones"
    Result:
    1589521588523.png


    http://musicbrainz.org/ws/2/artist/?query="Blank %26 Jones"
    Resolved to (correct): http://musicbrainz.org/ws/2/artist/?query="Blank & Jones"
    1589521621230.png

    I can remove artist: from artist search, all other already in FH ...

    I really would like to give it a try and do a beta test. If it doesn't work we can revert this change.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,069
    11,153
    Kyiv
    Home Country
    Ukraine Ukraine
    You're right, actually the URL is converted. But in case of the & character it fails. Example:
    http://musicbrainz.org/ws/2/artist/?query="Blank & Jones"
    FH make request like browser IE:
    Code:
    http://musicbrainz.org/ws/2/artist/?query=artist:%22Blank%20%26%20Jones%22
    Chrome:
    Code:
    http://musicbrainz.org/ws/2/artist/?query=artist:%22Blank%20&%20Jones%22
    But both request return the some ...
    XML:
    <metadata xmlns="http://musicbrainz.org/ns/mmd-2.0#" xmlns:ns2="http://musicbrainz.org/ns/ext#-2.0" created="2020-05-15T06:17:29.437Z">
    <artist-list count="1" offset="0">
    <artist id="6606c527-376a-47b4-bb35-748d01e14f6d" type="Group" type-id="e431f5f6-b5d2-343d-8b36-72607fffb74b" ns2:score="100">
    <name>Blank & Jones</name>
    <sort-name>Blank & Jones</sort-name>
    <country>DE</country>
    XML:
    <metadata xmlns="http://musicbrainz.org/ns/mmd-2.0#" xmlns:ns2="http://musicbrainz.org/ns/ext#-2.0" created="2020-05-15T06:17:29.437Z">
    <artist-list count="1" offset="0">
    <artist id="6606c527-376a-47b4-bb35-748d01e14f6d" type="Group" type-id="e431f5f6-b5d2-343d-8b36-72607fffb74b" ns2:score="100">
    <name>Blank & Jones</name>
    <sort-name>Blank & Jones</sort-name>
    <country>DE</country>
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,069
    11,153
    Kyiv
    Home Country
    Ukraine Ukraine
    I really would like to give it a try and do a beta test. If it doesn't work we can revert this change.
    I would not want to remove the Artist: from the survey, a very inaccurate search is obtained, I checked on my artists for more false positives. I can only add an OR Alias:.
     

    horned_reaper

    Test Group
  • Team MediaPortal
  • January 7, 2011
    1,233
    461
    Munich
    Home Country
    Germany Germany
    And this search return correct result ...
    Code:
    http://musicbrainz.org/ws/2/artist/?query=artist:"Marina & The Diamonds"
    Because there are more questions than answers, can it be easier to spell the right tags in the music?

    The spelling is like it is written on the cover:
    1589523458262.png


    And also MusicBrainz returns "Marina And The Diamonds" as an alias for this album:
    1589523619312.png


    I think better make request like this
    Code:
    http://musicbrainz.org/ws/2/artist/?query=artist:"Marina And The Diamonds" OR alias:"Marina And The Diamonds"
    http://musicbrainz.org/ws/2/artist/?query=artist:"Guns N'Roses" OR alias:"Guns N'Roses"

    Good idea!!!
    This would solve this issue.

    But please replace the & character as it leads to wrong search results e. g.:
    Wrong result:
    Code:
    http://musicbrainz.org/ws/2/artist/?query=artist:"DJ Sakin & Friends" OR alias:"DJ Sakin & Friends"
    Correct result:
    Code:
    http://musicbrainz.org/ws/2/artist/?query=artist:"DJ Sakin %26 Friends" OR alias:"DJ Sakin %26 Friends"
     

    horned_reaper

    Test Group
  • Team MediaPortal
  • January 7, 2011
    1,233
    461
    Munich
    Home Country
    Germany Germany
    Very good! Then, if you add the alias to the artist search query the issue is solved perfectly.
    I really would appreciate this change!
     

    horned_reaper

    Test Group
  • Team MediaPortal
  • January 7, 2011
    1,233
    461
    Munich
    Home Country
    Germany Germany
    It works! Really great!!! (y)
    Thank you very much, my friend! :)

    Question: Is it intended to have all Fanarts stored twice in this case?
    1589529269571.png
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,069
    11,153
    Kyiv
    Home Country
    Ukraine Ukraine
    In this case, yes, this is a fix of some old problem, I don’t remember anymore, but I don’t want to search the forum.

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

    Users who are viewing this thread

    Top Bottom