4
4
4ixpaR2014-09-02 14:38:12
linux
4ixpaR, 2014-09-02 14:38:12

Why doesn't XBMC want to be friends with my handler?

Good day. The task is to make your own request handler for artist and album information for XBMC. In general, the task is completed, the server and client parts are ready, All information about the artist comes correct to XBMC, but there is a problem with albums: XBMC always counts one CRC + Hex from the sum of "artist + album", or more precisely, it considers them empty and takes it from "unknown", as a result, all album images are cached into one file, and when entering the media library, all albums have one image. Everything is written to the database correctly, since when opening the "Album Information", XBMC takes the correct CRC + Hex and downloads the correct image of this album, the link to which was recorded in its database.
If you take standard scrapers, then everything works correctly for them. Tried to do the data representation in XML and JSON - the result is the same. The artists are fine, but the albums have the same image.
PS The problem was nevertheless solved by the crutch method, editing one file in the source code and rebuilding the package. But somehow I don’t want to do this every time when I upgrade the XBMC version.
PSS The data comes in UTF-8, I don't think it's an encoding problem.
For any hints - thanks in advance)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question