Solved

Nonexistent favorite album when querying Deezer API


Some album links doesn't work anymore. Eg.

http://deezer.com/album/581217 - I have this one in favourite albums. I can hit play, and it starts playing, but clicking album link shows "Page not found".

I can find new link when navigating through artist page: https://www.deezer.com/en/album/53358892.

Faulty link is also returned when querying deezer API.

Will this be fixed? Can I somehow track progress of this issue?
icon

Best answer by Rudi 20 March 2019, 18:26

Ok @ptys

I've got feedback from the right team here and they've said that it's normal for the albums to change url. Labels frequently remove streaming rights from some albums and deliver other versions. So unfortunately as a workaround you need to find the new version of it (as you're doing) and favour that one instead. The team was able to test and reproduce what you've been experience but that was the reason for it. Essentially it has to do with what I've said before - the distributors control the way the content is made available.

I hope this clarifies things and I'm sorry it has an impact on your experience.

View original

5 replies

Userlevel 6
Badge +3
Hi there @ptys

If the second link you showed us has the same album, it was probably how the distributors arranged that to be. If an album ceases to exist and you can't find another version, this could be due to territorial restrictions. But send me the link(s) and I can have a look for you 😉
Dear @Rudi ,

Even though I hate, when an album or a song disappears, I can understand, that legal issues are sometimes complicated...

Deezer's relationship with the distributors however is not the point of my question.

My question was about, why faulty links are connected to my account in the deezer database. Why I get faulty album id's, when I query the deezer api? Why am I redirected to "Page not Found", when navigating from favorite albums page? Why is this so inconvenient for me? Deezer itself can somehow resolve faulty links by itself - as I said hitting play button on an album cover on albums page works fine. But displaying albums webpage itself does not work at all!

And there are no territorial restrictions, as I can access albums through artists page.

Another example would be :
https://www.deezer.com/en/album/6540114
and
https://www.deezer.com/en/album/52650232
I didn't have a time to go through all my albums, but I occasionally get this error.

I'm sorry to say that, but when I read your answer, I feel like it is not related to my issue at all 😞 I feel like you answer the "My album is missing, what should I do?" question. I ask about faulty links in albums page and retrieved from API...

As I understand you (perhaps not personally, but as a company) have all the data, needed to reproduce and investigate my problem. I imagine that even a little investigation should yield a different answer...
Userlevel 6
Badge +3
Hi again @ptys

Thanks for explaining things a bit better since your first comment. I'll get in touch with the right team at Deezer to look into this for you.
The only way to track progress will be this topic, I'm afraid. I'll keep you updated once I get any feedback 😉
Userlevel 6
Badge +3
Ok @ptys

I've got feedback from the right team here and they've said that it's normal for the albums to change url. Labels frequently remove streaming rights from some albums and deliver other versions. So unfortunately as a workaround you need to find the new version of it (as you're doing) and favour that one instead. The team was able to test and reproduce what you've been experience but that was the reason for it. Essentially it has to do with what I've said before - the distributors control the way the content is made available.

I hope this clarifies things and I'm sorry it has an impact on your experience.
Dear @Rudi,

I hate to admit it, but your answer doesn't entirely satisfy me.

Deezer seems to know this problem impacts robustness of it's service. I can see there is a workaround in your code, that tries to mitigate this problem. As I mentioned before - your play button seems to be able to find music to play even though the album link is dead.

After a bit of investigation, I found that fallback information arrives to the browser.

In a response requesting alb_id=581217 track list:
code:
 gw-light.php?method=song.getListByAlbum&input=3&api_version=1.0 

request, I can find fallback album id:
code:
data[0].FALLBACK.ALB_ID: 53358892

This is exactly the information I'm looking for! Is it possible to retrieve this information using Deezer API? Album object, as described in your documentation (https://developers.deezer.com/api/album), should have the 'alternative' provided. Sadly An API request to

returns
code:
{"error":{"type":"DataException","message":"no data","code":800}}


It's super annoying. Not the fact, that streaming rights change. The fact, that Deezer recognizes this problem, tries to do something about this, but doesn't share the results with users 😞

Reply