DAS v0.2 is out !
Par Gliss le mercredi, juillet 22 2009, 22:47 - Tech & Geek - Lien permanent
A few hours ago, I released the 0.2 version of DAS. I made official the support of Firefox 3.5 despite it was actually already working (but Firefox reject the extension as long as it’s not clearly specified), and the most important, I replaced the Deezer-v2 behavior with a v3-compliant one.
However, I have to apologize because this version has been made in a hurry. First of all, I am moving to Canada, and I may have no Internet access for a month or two, starting … tomorrow ! Additionally, since today, Deezer.com forces the use of its V3, then a compatible addon was compulsory. Anyway, it is working, but not the way I intended to, since I wanted to make some major changes in the code, in particular to support multiple grabbers et scrobblers.
You may notice something quite disturbing: the statusbar is updated only after about 35 sec after the song began. Actually, the HTTP transaction I am parsing to find out what is playing occurs in Deezer3 after a bunch of others, whereas it was at the very beginning before. But now, the title of your Firefox window changes to reflect the song played, and immediately, then I’ll try to use this behavior in the future (despite I still haven’t found any event thrown at a title change).
You’ll find this version on AMO as usual. It is still labeled as experimental, I’ll request a code review for the next version.
Have fun ;)
PS: for the few ones interested, here is an example of the server<->player communication catched :
(dump has been moved to http://p.acadis.org/iHPSFXmM/ since special chars were breaking RSS feeds)
Commentaires
Bon alors, quelques jours après la sortie de la v0.2, Deezer à changé à la fois l'URL (qui est passée de "www-v3" à "www") et le protocole de communication. Bilan ca ne peut plus fonctionner.
La bonne nouvelle est que les données sont désormais plus simples à retrouver (c'est maintenant du JSON au lieu du bloc incompréhensible ci-dessus).
La mauvaise c'est qu'il faut changer la façon de faire de DAS pour tirer partie de ce changement et je n'ai que quelques heures avant d'être coupé du net pour une durée indéterminée, je vais malgré tout tenter une rustine express... croisons les doigts.