kevin-vigor / clamz

Automatically exported from code.google.com/p/clamz
0 stars 0 forks source link

New breakage as of my 9/17 purchase, though I think it was working on 9/14 #36

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. buy something
2. download the amz
3. run clamz on it

I really expected to see it download the songs, as it has done reliably for 
years.  Instead it just did nothing.  Curious, I switched to the terminal and 
ran it by hand.

bash$ clamz /tmp/Amazon-MP3-0000000.amz
1 of 1 AMZ files downloaded successfully.

There's ... ahh ... like 20 songs on that CD and none of them downloaded. :(

Using version 0.5.

Could be just me, or just this disk... hard to say, but I can't seem to 
download this disk, despite repeated tries.  I cat-ed the logfile from ~/.clamz 
and it had 0 bytes in it.  I tried in verbose mode and got this...

Playlist: /tmp/Amazon-MP3-000000000.amz
* Title:    Cloud Player Download
1 of 1 AMZ files downloaded successfully.

Original issue reported on code.google.com by jett...@voltar.org on 17 Sep 2012 at 3:57

GoogleCodeExporter commented 9 years ago
Seeing the same thing. Latest version of pymazon in pip fails too. It seems 
like Amazon is serving up bogus amz files... Maybe it's transient? Or could it 
have something to do with Amazon officially dropping Linux?

Original comment by y...@hjfreyer.com on 17 Sep 2012 at 6:54

GoogleCodeExporter commented 9 years ago
Yup, Amazon is serving bogus AMZs to Linux clients. I changed my user agent to 
windows and downloaded the AMZ again, and it had the correct data in it.

I sincerely hope this is an accident not a total "Fuck You" to Linux users.

Original comment by y...@hjfreyer.com on 17 Sep 2012 at 7:00

GoogleCodeExporter commented 9 years ago
No, it's a total fuck you.  They noticed we were enjoying their store 
regardless of their original fuck yous and they stuck it to us harder.  I 
complained to customer support and they said: we don't support linux. 

I said: thanks, switching to google music.

Original comment by jett...@voltar.org on 17 Sep 2012 at 7:12

GoogleCodeExporter commented 9 years ago
I can confirm the same behavior here: it works normally if your user-agent is 
MSIE; if your user-agent is Iceweasel it will send you an empty amz file.  
(Dunno about the "0000000" timestamp, that sounds like something else went 
wrong.)

As I noted on issue #35, the Cloud Player also now refuses to let you download 
multiple files at a time if it thinks you're using Linux.

Here's hoping this is a mistake and will soon be fixed.

Cross-reference: https://code.google.com/p/pymazon/issues/detail?id=52

Original comment by Benjamin...@gmail.com on 17 Sep 2012 at 7:24

GoogleCodeExporter commented 9 years ago
Unbelievable.  I'm switching to google too.

Original comment by cpdn...@gmail.com on 18 Sep 2012 at 3:38

GoogleCodeExporter commented 9 years ago
I highly recommend you contact them about this also.  They're not going to stop 
it until the realize they're intentionally insulting customers.

Original comment by jett...@voltar.org on 18 Sep 2012 at 4:13

GoogleCodeExporter commented 9 years ago
I contacted them.  Ranted and asked for a refund for the mp3 album I'd just 
purchased, and told them I'd be re-purchasing it elsewhere.  They replied; I 
received the refund, but the reply was less than satisfying.  It gave me 
instructions on how to download multiple files at once with Windows.

They did mention the word "linux" one time, later in the reply, and stated 
multiple times that they'd be forwarding my concerns along to the appropriate 
teams because they "value our customers' satisfaction and convenience above all 
else".  So who knows what that means.  :)

Original comment by cpdn...@gmail.com on 18 Sep 2012 at 8:54

GoogleCodeExporter commented 9 years ago
Personally, I suggested the forward the complaint up.  It's still to think that 
the person answering the mail cares, but some of the devs will (if it gets to 
them).  Some of those devs developed a native GUI client afterall -- so some of 
them are linux users, but their pointy haired bosses told them it was a waste 
of time.

I also linked them to this page.

Honestly, we (linux nerds) take care of ourselves.  We don't need help, but 
being actively plotted against, like intentionally, ... that causes problems 
and aggressive feelings.

Original comment by jett...@voltar.org on 18 Sep 2012 at 10:27

GoogleCodeExporter commented 9 years ago
Yeah I hope they forwarded it along.  I just mean "who knows" whether they 
actually did :)

And in my notes to them I very explicitly stated that we (linux nerds) didn't 
expect hand-holding, only that we should not be actively discriminated against 
via User-Agent header chicanery :)  Hope that finds its way to someone who 
cares!

Original comment by cpdn...@gmail.com on 19 Sep 2012 at 12:48

GoogleCodeExporter commented 9 years ago
Anyone try it lately?  Are they still sending those fake/empty amz files?  I'd 
like to buy some mp3s today, but I'm not going to if they're still doing that.

Original comment by jett...@voltar.org on 23 Sep 2012 at 11:43

GoogleCodeExporter commented 9 years ago
Just tried it with a free album in Germany: worked fine here.

Original comment by sven.kro...@gmail.com on 23 Sep 2012 at 1:46

GoogleCodeExporter commented 9 years ago
Confirming that it still works on amazon.de — I just downloaded an album 
without any issue.

Original comment by devuran...@gmx.net on 24 Sep 2012 at 10:38

GoogleCodeExporter commented 9 years ago
I just bought a song and everything worked fine.  No spurious amz file or 
anything, default user agent, US servers.

Original comment by jett...@voltar.org on 25 Sep 2012 at 5:22

GoogleCodeExporter commented 9 years ago
Yesterday I bougth an album from amazon.de, using Google Chrome on Ubuntu 
12.04. I could download the *.amz-File. Clamz tries to Download the titles but 
"ERROR: Error downloading file: The requested URL returned error: 400" (5 Tries 
for each title) I couldn't download any title...

Original comment by a.buschatz on 26 Sep 2012 at 12:50

GoogleCodeExporter commented 9 years ago
That may be a different problem, though I can't imagine what.  I just bought a 
whole album and clamz did its thing in the expected way.

Original comment by jett...@voltar.org on 26 Sep 2012 at 12:58

GoogleCodeExporter commented 9 years ago
I'm still getting bogus .amz that will do nothing with Clamz and getting the 
'linux not supported... only one song at a time' BS from the web based player. 

Any new news? how do you change your user agent?

Original comment by GIX....@gmail.com on 27 Sep 2012 at 10:24

GoogleCodeExporter commented 9 years ago
I don't use the cloud player, personally.  The ads on the right bother me too 
much.   But I'm surprised they're doing the user agent thing there still.  Why 
would they do that?  There are a number of Firefox and Chrome plugins to 
quickly switch user agent strings.  Most have IE as a default or as a download. 

Original comment by jett...@voltar.org on 28 Sep 2012 at 12:04

GoogleCodeExporter commented 9 years ago
I changed the User Agent to 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 
6.1)' with the Firefox Addon 'User Agent Switcher' and have set the cookie. But 
the cloud player always sends me the Amazon Downloader EXE File and I couldn't 
download the AMZ File :( 

Can someone help to download the AMZ file ?

Original comment by reiterma...@gmail.com on 28 Sep 2012 at 6:45

GoogleCodeExporter commented 9 years ago
.. right, you have to convince it you already have the downloader installed.  I 
forget the details precisely, but if you hunt around, you'll eventually find a 
link like "I already have the downloader."

Original comment by jett...@voltar.org on 28 Sep 2012 at 12:16

GoogleCodeExporter commented 9 years ago
Yeah, it's not working for me, either.  They detecting the user agent override? 
I'm not even seeing a link for the mp3 downloader for Windows/Mac anymore.  Did 
they totally discontinue it? 

Original comment by garputhe...@gmail.com on 28 Sep 2012 at 3:36

GoogleCodeExporter commented 9 years ago
I have yet to recreate this null file. However in my working with amazon I have 
come to find if you have the appropriate cookie set (referenced on the clamz 
main page 
http://www.amazon.com/gp/dmusic/after_download_manager_install.html?AMDVersion=1
.0.9 ) it will allow you to download the file when purchasing it normally. The 
lacking bit is if you are using the cloud player you *MUST* change your user 
agent to download an album. I suggest User Agent Switcher for firefox. Amazon 
works with IE user agents as well as Mac OS X (Safari, etc) user agents.

God bless

Original comment by root.pac...@gmail.com on 2 Oct 2012 at 6:38

GoogleCodeExporter commented 9 years ago
Amazon is now actively filtering Linux clients by examining the 
navigator.platform property in Javascript. If that property contains "Linux" 
then it only allows single-song downloading regardless of the user agent.

I was able to get around this using IceWeasel (Firefox) by adding a 
general.platform.override parameter in about:config with the value "Win 32" 
then using the usual cookie/user agent technique. This isn't a fix, obviously, 
but posting it here in case someone stumbles on this bug report while looking 
for the solution like I did.

Original comment by jlef...@gmail.com on 14 Jan 2013 at 9:56

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
The User Agent Changer plugin will set the platform override for you, but you 
have to tell it what you want.  Go to the Tools menu and bring up the cascade 
for the agent changer.  Choose Edit User Agents.  Select the one you want to 
use.  This allows you edit not only the agent string itself, but several 
associated items that apparently override Javascript settings.  Fill in what 
you like for the Platform field.  When you switch to that user agent, the 
plugin will also set the platform override to that value.

Original comment by e.p.dowd...@gmail.com on 22 Feb 2013 at 5:57

GoogleCodeExporter commented 9 years ago
This script works, too: http://userscripts.org/scripts/show/159269

I installed it using Tampermonkey for Chrome, and do not have to set a 
user-agent or the navigator.platform override.

Before buying an album, I still see the info below the 1-Click button, that I 
will only be able to download tracks separately from the Cloud Player, but 
after I bought it, I see a download link to the AMZ file, which works without 
trouble.

Alternatively, Stackoverflow describes how to replace the navigator.platform 
property: http://stackoverflow.com/questions/2166540/ -- I assume that could 
also be done using a userscript.

Original comment by devuran...@gmx.net on 6 Mar 2013 at 1:58

GoogleCodeExporter commented 9 years ago
Rather than changing the user agent, we need to tell Amazon to support Linux 
customers.  If we keep changing the user agents to Windows, they'll see a 
Windows user downloading their music and it will show them that very few Linux 
users download their music.

Original comment by cornflak...@gmail.com on 30 Mar 2013 at 9:39

GoogleCodeExporter commented 9 years ago
It seems that they have changed things again.  All I can find is a link to 
amazoncloudplayer://launch which of course does nothing.  It doesn't seem to 
matter if the music is a newly purchased album or a selection of stuff from the 
cloud player.  Does anybody know of a way to get the .amz file these days (in 
the US). 

Original comment by adr...@cam.cornell.edu on 24 Sep 2013 at 6:05

GoogleCodeExporter commented 9 years ago
This script still works here (DE): http://userscripts.org/scripts/show/159269

Original comment by devuran...@gmx.net on 24 Sep 2013 at 8:48

GoogleCodeExporter commented 9 years ago
No luck on the user script mentioned frequently (US)

Original comment by alex.lah...@gmail.com on 9 Oct 2013 at 3:32

GoogleCodeExporter commented 9 years ago
Mirror for the (currently working) script from issue #35: 
http://floe.butterbrot.org/external/unfuck_amazon_cloud_player.js

Original comment by florian....@gmail.com on 7 Jun 2014 at 12:43