LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-25-2020, 01:15 PM   #1
wdarledge
Member
 
Registered: Nov 2017
Location: Dallas, TX (North Dallas)
Distribution: Slackware 14.2
Posts: 56
Blog Entries: 6

Rep: Reputation: Disabled
flash on Linux, download mp3s from smile.Amazon.com, tar site recommendations


ok...

just went to amazon to buy a mp3 album. typically, i sample the songs to see if i want the whole album or just the song i heard on local radio. i have found many excellent albums this way.

that was then... this is now!

the sample player built in to the .html is probably flash. so, i'm 1). not sure if flash supports linux (adobe) and 2). i'm completely out of touch with tarballs.

so, is Amazon just gone for me now?
and...
if not, what is a good site to download a tar that supports flash?

'preciate it~!! )
odin
 
Old 01-25-2020, 01:19 PM   #2
Tonus
Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-current
Posts: 628
Blog Entries: 3

Rep: Reputation: 162Reputation: 162
flash on Linux, download mp3s from smile.Amazon.com, tar site recommendations

What browser are you using? Any extension?
 
Old 01-25-2020, 01:29 PM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,845

Rep: Reputation: 6497Reputation: 6497Reputation: 6497Reputation: 6497Reputation: 6497Reputation: 6497Reputation: 6497Reputation: 6497Reputation: 6497Reputation: 6497Reputation: 6497
I doubt that Amazon uses Flash to play these album snippets. I tried one album sample here and it looks like a HTML5 player is used. So any modern browser should support the playback.
By the way, your post does not explicitly mention that you can NOT play music on the Amazon web site. So what exactly is your problem? Try to give details and let people come to a conclusion instead of making assumptions.
 
2 members found this post helpful.
Old 01-25-2020, 01:32 PM   #4
xor_ebx_ebx
LQ Newbie
 
Registered: Mar 2019
Location: USA
Distribution: Slackware
Posts: 28

Rep: Reputation: Disabled
If you're talking about the sample player on an album's store page, it works fine with Slackware's Firefox package out-of-box. No flash needed

The actual Amazon Music browser app is a different story. I sorta got it to work with the Google Chrome package from /extra It will log in and download music but not play it in browser. The app doesn't appear to be using flash at all, so I doubt that's the problem
 
Old 01-27-2020, 11:42 AM   #5
wdarledge
Member
 
Registered: Nov 2017
Location: Dallas, TX (North Dallas)
Distribution: Slackware 14.2
Posts: 56

Original Poster
Blog Entries: 6

Rep: Reputation: Disabled
firefox 45.2.0, no extensions

Tonus,

amazon.com is the starting point.

search for artist》mp3

then., the album... once there, there are songs listed in album order, a play arrow is to the left.

when I click on the arrow it spins but does not play. this is the point of failure.

could be a permission error, will chk /etc/group for audio permission.
 
Old 01-27-2020, 11:49 AM   #6
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Posts: 1,358

Rep: Reputation: 538Reputation: 538Reputation: 538Reputation: 538Reputation: 538Reputation: 538
Flash is dead (or should have been killed years ago). There may be one off sites that use it but I would avoid it at all costs unless absolutely necessary since it is a security nightmare.

And correct: Amazon music does not require flash - I have used their service to play music on both Linux and FreeBSD and I have never had flash installed.
 
Old 01-27-2020, 01:29 PM   #7
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 2,598

Rep: Reputation: 634Reputation: 634Reputation: 634Reputation: 634Reputation: 634Reputation: 634
Use your web inspector to dig them out. Or parse the scripts on the page with something.

This one.
https://www.amazon.com/Greatest-Numb...0148088&sr=8-1

Code:
curl -LI "https://d28julafmv4ekl.cloudfront.net/64%2F30%2F231290457_S64.mp3\
?response-content-type=audio%2Fmpeg&Expires=1580234611\
&Signature=RgZIhbZnFLNZ3EyTgbrROheXyUT1j0q5n5LVFDj0aihD3kuQDb2BIliN9Nk\
YrE3dta5B-rV4oUlLht~Mxb49LhzsrFEqADrSRsOr7oVxvssydep4HiE1O84bllGJrhNxt\
Z6GJILzusvcPQO6N6Fw~0bjvVvJa~zpBCn~NzNdyvs_&Key-Pair-Id=APKAJVZTZLZ7I5\
XDXGUQ"

HTTP/1.1 200 OK
Content-Type: audio/mpeg
Content-Length: 978118
Connection: keep-alive
Date: Mon, 27 Jan 2020 18:11:30 GMT
Last-Modified: Sun, 23 Jun 2019 03:00:25 GMT
ETag: "91bb96ca54f0d6586b587126d7e9bf7b"
x-amz-meta-indigo-md5-checksum: 91bb96ca54f0d6586b587126d7e9bf7b
Cache-Control: no-cache
x-amz-meta-indigo-unencrypted-length: 978118
x-amz-meta-indigo-sha1-checksum: 6a2b6a43e710fe725ec03c3373c42fbfb077a20d
x-amz-meta-indigo-sha256-checksum: 3a7a5096c5cc18b49931f54eb3adb791c0b5d3b4291ea8d6a97fe3b769552c0a
Accept-Ranges: bytes
Server: AmazonS3
X-Cache: RefreshHit from cloudfront
Via: 1.1 f00150800d85fddf0ee58a684f3d570f.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: YTO50-C2
X-Amz-Cf-Id: xh2gdCgx36Grx0fZ1_yXpCXPnjd1acBDAj3sMEoB-08gAimVVFMVqg==
Not that hard.
Here is the mp3
https://d28julafmv4ekl.cloudfront.ne...290457_S64.mp3

If you notice they are time sensitive. &Expires=1580234611

And you need a generated sig
Signature=xxxxxx&Key-Pair-Id=APKAJVZTZLZ7I5XDXGUQ

Code:
mplayer https://d28julafmv4ekl.cloudfront.net...<snip>
...
libavformat version 58.29.100 (external)
Audio only file format detected.
Clip info:
 Title: I Walk the Line
 Artist: Johnny Cash & The Tennessee Tw
 Album: The Greatest: The Number Ones
 Year: 2012
 Comment: Amazon.com Song ID: 23129045
 Track: 1
 Genre: Unknown
==========================================================================
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
AUDIO: 44100 Hz, 2 ch, s16le, 256.0 kbit/18.14% (ratio: 32000->176400)
Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:  20.8 (20.7) of 30.0 (30.0)  0.5%
 
Old 02-01-2020, 10:58 PM   #8
Framu
LQ Newbie
 
Registered: Dec 2019
Posts: 20

Rep: Reputation: Disabled
Quote:
Originally Posted by wdarledge View Post
so, is Amazon just gone for me now?
I installed Slackware Current AKA pre-15.0 and I can play Amazon's audio snippets just fine without flash.

Very few sites require flash anymore (one that does is Xfinity streaming), because flash was such a massive vector for viruses it made the Wuhan wet market look like a bleach factory.
 
Old 02-02-2020, 03:46 AM   #9
Petri Kaukasoina
Member
 
Registered: Mar 2007
Posts: 438

Rep: Reputation: 296Reputation: 296Reputation: 296
Install http://www.slackware.com/~alien/slac..._64-1alien.txz for slackware64-14.2 or http://www.slackware.com/~alien/slac...586-1alien.txz for the 32-bit slackware-14.2.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 03:48 AM
BackUp & Restore with TAR (.tar / .tar.gz / .tar.bz2 / tar.Z) asgarcymed Linux - General 5 12-31-2006 03:53 AM
How do I un tar a .tar, .tar.z, .tar.gz file vofkid Linux - Newbie 4 03-15-2002 03:54 PM
rippers, mp3s and mp3s.... (?) bxb32001 Linux - General 0 07-14-2001 01:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration