Comments (10)
The homepage's Recently Played uses com.amazon.musicensembleservice.MusicEnsembleService.getHome
with the standard parameters, plus:
options=populateRecentlyPlayed,requestShowContent
requestContent=PRIME
This returns a set of blocks
for the homepage. [2]
is a VerticalTileGroup
containing sub-blocks for recently played. Not tracks, unfortunately, but albums/stations/playlists (and individual tracks, maybe)? It does include a timestamp of when it was played, though:
{
"__type": "VerticalTile:http://internal.amazon.com/coral/com.amazon.layout.music.model/",
"blockRef": "1|T|0|1|Q3A1166NJA4M7X48VP51|0|0|0|B01JNQ7KTA|-1|null",
"hint": {
"__type": "AlbumHint:http://internal.amazon.com/coral/com.amazon.layout.music.model/",
"albumArtImageUrl": "https://m.media-amazon.com/images/I/91UGw8AzU5L.jpg",
"artistAsin": "B001E77YC0",
"artistName": "Green Day",
"asin": "B01JNQ7KTA",
"isInLibrary": null,
"isMusicSubscription": true,
"isPrime": true,
"isRecommended": null,
"languagesOfPerformance": null,
"recentlyPlayedEntityType": "ALBUM",
"timeStamp": 1531232643930,
"title": "Revolution Radio"
},
"image": "https://m.media-amazon.com/images/I/91UGw8AzU5L.jpg",
"playbackTarget": "https://music.amazon.co.uk/home?do=play&albumAsin=B01JNQ7KTA",
"subTitle": "Green Day",
"subTitleTarget": "https://music.amazon.co.uk/artists/B001E77YC0",
"text": "",
"tileTarget": "https://music.amazon.co.uk/albums/B01JNQ7KTA",
"title": "Revolution Radio",
"titleTarget": "https://music.amazon.co.uk/albums/B01JNQ7KTA"
}
There is a page giving Recently Played Tracks too. Just need to find out what's underpinning it.
from amazon-music.
Green Day yeah! ;D
from amazon-music.
No it doesn't. It can only work if the amazon API support this.
from amazon-music.
Do you know if the Amazon API supports this? If it does then maybe support could be added here too.
from amazon-music.
I don't know it. @Jaffa is very busy and i'm not a reverse engineering pro. Maybe you could create a PR?
from amazon-music.
I may have some time tomorrow to look into it. @dufferzafar - if you can find a way of looking at your history in the web client, that may give us a starting point. When you log in, I think there's a "Recently played", which might help.
When you say "along with their time stamps", do you mean durations, or the exact time you played them?
from amazon-music.
from amazon-music.
The datetime when it was played.
from amazon-music.
Hey, any updates on this? I'm relatively free now, if there's some help you need, please let me know.
All I want to build is a Python script that would use requests
to fetch all recently played tracks and dump them into a text file.
from amazon-music.
from amazon-music.
Related Issues (20)
- Having trouble playing album HOT 3
- Trouble with VLC launch HOT 14
- Cannot get past captcha HOT 3
- Raspberry Jukebox playing Amazon music
- PlayAlbum Example not working HOT 1
- Unable to authenticate for users outside US HOT 5
- Support downloading tracks I've bought? HOT 1
- Unable to find appConfig HOT 2
- Error opening album if originalReleaseDate is of unexpected type
- Import playlists/tracks into Amazon Music?
- API out of date HOT 1
- error in AmazonMusic initialization HOT 1
- No longer working? HOT 1
- Not working
- 'Track' object has no attribute 'getUrl'
- raise Exception("Unable to find appConfig in {}".format(r.content)) HOT 2
- IndexError: list index out of range
- CONTENT_NOT_VALID HOT 1
- Can I search music with track name and artist name?
- Does this change anything? Amazon Music Device API preview HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amazon-music.