Skip to content

Instantly share code, notes, and snippets.

@lnaia
Created September 30, 2016 16:35
Show Gist options
  • Save lnaia/63eae920c696e482b7e4a00e7a84dc63 to your computer and use it in GitHub Desktop.
Save lnaia/63eae920c696e482b7e4a00e7a84dc63 to your computer and use it in GitHub Desktop.
AngularConnect 2016 - Playlist
[{
"artist": "St. Lucia",
"music": "Before The Dive",
"album": "St. Lucia"
}, {
"artist": "Savoir Adore",
"music": "Dreamers",
"album": "Dreamers - EP"
}, {
"artist": "Little Dragon",
"music": "Feather",
"album": "Machine Dreams"
}, {
"artist": "Electric Guest",
"music": "Awake",
"album": "Mondo"
}, {
"artist": "Jungle",
"music": "Time",
"album": "Jungle"
}, {
"artist": "Broken Bells",
"music": "After the Disco",
"album": "After the Disco"
}, {
"artist": "Chairlift",
"music": "Take It Out On Me",
"album": "Something"
}, {
"artist": "The Shins",
"music": "40 Mark Strasse",
"album": "Port Of Morrow"
}, {
"artist": "Dan Black",
"music": "Wonder",
"album": "Un"
}, {
"artist": "Ladytron",
"music": "Ace of Hz",
"album": "Ace of Hz [EP]"
}, {
"artist": "Daft Punk Julian Casablancas",
"music": "Instant Crush",
"album": "Random Access Memories"
}, {
"artist": "Phantogram",
"music": "Black Out Days",
"album": "Voices"
}, {
"artist": "St. Lucia",
"music": "Closer Than This",
"album": "St. Lucia"
}, {
"artist": "Future Islands",
"music": "Back in the Tall Grass",
"album": "Singles"
}, {
"artist": "HAIM",
"music": "Falling",
"album": "Days Are Gone (Deluxe Edition)"
}, {
"artist": "Theme Park",
"music": "Jamaica",
"album": "Theme Park"
}, {
"artist": "NZCA LINES",
"music": "Okinawa Channels",
"album": "NZCA/LINES (Spotify Deluxe Edition)"
}, {
"artist": "Blood Orange",
"music": "Chamakay",
"album": "Cupid Deluxe"
}, {
"artist": "La Roux",
"music": "Sexotheque",
"album": "Trouble In Paradise"
}, {
"artist": "alt-J",
"music": "Left Hand Free",
"album": "This Is All Yours"
}, {
"artist": "tUnE-yArDs",
"music": "Water Fountain",
"album": "nikki nack"
}, {
"artist": "Friends",
"music": "Friend Crush",
"album": "Manifest!"
}, {
"artist": "Santigold",
"music": "L.E.S. Artistes",
"album": "Q - The Album"
}, {
"artist": "Equateur",
"music": "Haunted",
"album": "Zappruder Collection #1"
}, {
"artist": "Grimes",
"music": "Oblivion",
"album": "Visions"
}, {
"artist": "Hot Chip",
"music": "Ready For The Floor",
"album": "Made In The Dark"
}, {
"artist": "Arcade Fire",
"music": "We Exist",
"album": "Reflektor"
}, {
"artist": "HAIM",
"music": "Forever",
"album": "Days Are Gone (Deluxe Edition)"
}, {
"artist": "TV On The Radio",
"music": "Happy Idiot",
"album": "Seeds"
}, {
"artist": "Metric",
"music": "Satellite Mind",
"album": "Fantasies"
}, {
"artist": "Purity Ring",
"music": "Fineshrine",
"album": "Shrines"
}, {
"artist": "Phantogram",
"music": "Don't Move",
"album": "Nightlife"
}, {
"artist": "Jessie Ware",
"music": "Want Your Feeling",
"album": "Tough Love"
}, {
"artist": "Carousel",
"music": "My New Friend",
"album": "My New Friend"
}, {
"artist": "St. Lucia",
"music": "The Old House Is Gone",
"album": "St. Lucia"
}, {
"artist": "BØRNS",
"music": "Electric Love",
"album": "Candy"
}, {
"artist": "Miami Horror Cleopold",
"music": "Love Like Mine",
"album": "Love Like Mine"
}, {
"artist": "PAWWS",
"music": "Give You Love",
"album": "Sugar"
}, {
"artist": "Giorgio Moroder Sia",
"music": "Déjà vu",
"album": "Déjà vu"
}, {
"artist": "We Have Band",
"music": "Someone",
"album": "Movements"
}, {
"artist": "Black Light Dinner Party",
"music": "Gold Chain",
"album": "Sons and Lovers"
}, {
"artist": "Wild Belle",
"music": "Shine",
"album": "The Way Way Back - Music From The Motion Picture"
}, {
"artist": "Kleerup Susanne Sundfør",
"music": "Let Me In",
"album": "As If We Never Won"
}, {
"artist": "Jakil",
"music": "Istanbul",
"album": "Istanbul"
}, {
"artist": "Tesla Boy",
"music": "Fire",
"album": "The Tesla Boy EP"
}, {
"artist": "Ou Est Le Swimming Pool",
"music": "Dance the Way I Feel",
"album": "Dance the Way I Feel"
}, {
"artist": "Hot Chip",
"music": "Don't Deny Your Heart",
"album": "In Our Heads"
}, {
"artist": "Saint Motel",
"music": "My Type",
"album": "My Type EP"
}, {
"artist": "The 2 Bears",
"music": "Warm & Easy",
"album": "Be Strong"
}, {
"artist": "MUNA",
"music": "Winterbreak",
"album": "Winterbreak"
}, {
"artist": "Christine and the Queens",
"music": "Tilted",
"album": "Tilted"
}, {
"artist": "Chela",
"music": "Zero",
"album": "Zero"
}, {
"artist": "Christine and the Queens",
"music": "The Loving Cup",
"album": "Christine and The Queens"
}, {
"artist": "EL VY",
"music": "Return To The Moon (Political Song for Didi Bloome to Sing, with Crescendo)",
"album": "Return To The Moon (Political Song for Didi Bloome to Sing, with Crescendo)"
}, {
"artist": "Seinabo Sey",
"music": "Pistols At Dawn",
"album": "Pistols At Dawn"
}, {
"artist": "Tei Shi",
"music": "Bassically",
"album": "Bassically"
}, {
"artist": "Mini Mansions",
"music": "Death Is A Girl",
"album": "The Great Pretenders"
}, {
"artist": "Major Lazer Amber of Dirty Projectors",
"music": "Get Free (feat. Amber of Dirty Projectors)",
"album": "Free The Universe"
}, {
"artist": "Broken Bells",
"music": "Holding on for Life",
"album": "After the Disco"
}, {
"artist": "Yeasayer",
"music": "Madder Red",
"album": "Odd Blood"
}, {
"artist": "Shura",
"music": "White Light",
"album": "White Light"
}, {
"artist": "Brandon Flowers",
"music": "Can't Deny My Love",
"album": "The Desired Effect"
}, {
"artist": "Chairlift",
"music": "Moth to the Flame",
"album": "Moth"
}, {
"artist": "Stepdad",
"music": "My Leather, My Fur, My Nails",
"album": "Wildlife Pop (Deluxe Edition)"
}, {
"artist": "Broken Bells",
"music": "It's That Talk Again",
"album": "It's That Talk Again"
}, {
"artist": "Vulfpeck",
"music": "Back Pocket",
"album": "Thrill of the Arts"
}, {
"artist": "Air",
"music": "Cherry Blossom Girl",
"album": "Talkie Walkie"
}, {
"artist": "Yeasayer",
"music": "Silly Me",
"album": "Amen & Goodbye"
}, {
"artist": "Tame Impala",
"music": "The Less I Know The Better",
"album": "Currents"
}, {
"artist": "Future Islands",
"music": "Doves",
"album": "Singles"
}, {
"artist": "The Shins",
"music": "The Rifle's Spiral",
"album": "Port Of Morrow"
}, {
"artist": "Red Hot Chili Peppers",
"music": "The Getaway",
"album": "The Getaway"
}, {
"artist": "Susanne Sundfør",
"music": "Fade Away",
"album": "Ten Love Songs"
}, {
"artist": "Hanne Kolstø",
"music": "The Urge To Repeat",
"album": "Forever Maybe"
}, {
"artist": "Best Coast",
"music": "California Nights",
"album": "California Nights"
}, {
"artist": "Future Islands",
"music": "Seasons (Waiting On You)",
"album": "Singles"
}, {
"artist": "St. Lucia",
"music": "All Eyes on You",
"album": "When The Night"
}, {
"artist": "Metronomy",
"music": "The Bay",
"album": "The English Riviera"
}, {
"artist": "The Knife",
"music": "Heartbeats",
"album": "Deep Cuts"
}, {
"artist": "Yeasayer",
"music": "I Am Chemistry",
"album": "Amen & Goodbye"
}, {
"artist": "LCD Soundsystem",
"music": "Dance Yrself Clean",
"album": "This Is Happening"
}, {
"artist": "Grimes",
"music": "Genesis",
"album": "Visions"
}, {
"artist": "Discovery",
"music": "Swing Tree",
"album": "LP"
}, {
"artist": "Arcade Fire",
"music": "Reflektor",
"album": "Reflektor"
}, {
"artist": "Electric Guest",
"music": "This Head I Hold",
"album": "Mondo"
}, {
"artist": "Tame Impala",
"music": "Let It Happen",
"album": "Currents"
}, {
"artist": "Field Music",
"music": "Disappointed",
"album": "Commontime"
}, {
"artist": "Siobhan Donaghy",
"music": "Ghosts",
"album": "Ghosts"
}, {
"artist": "Death In The Afternoon",
"music": "Let's Talk",
"album": "Let's Talk"
}, {
"artist": "Shuggie Otis",
"music": "Strawberry Letter 23",
"album": "Freedom Flight"
}, {
"artist": "Nina K Nina Kinert",
"music": "Impossible",
"album": "Impossible"
}, {
"artist": "Starwalker",
"music": "Everybody’s Got Their Own Way",
"album": "Starwalker"
}, {
"artist": "Air",
"music": "Alpha Beta Gaga",
"album": "Talkie Walkie"
}, {
"artist": "MUNA",
"music": "So Special",
"album": "The Loudspeaker EP"
}, {
"artist": "TV On The Radio",
"music": "Could You",
"album": "Seeds"
}, {
"artist": "Metric",
"music": "Gimme Sympathy",
"album": "Fantasies"
}, {
"artist": "Kavinsky",
"music": "Nightcall",
"album": "Nightcall"
}, {
"artist": "Friends",
"music": "I'm His Girl",
"album": "I'm His Girl"
}, {
"artist": "Maximum Balloon Aku",
"music": "Tiger",
"album": "Maximum Balloon"
}, {
"artist": "Robyn",
"music": "Indestructible",
"album": "Body Talk"
}, {
"artist": "Autre Ne Veut",
"music": "Counting",
"album": "Anxiety"
}, {
"artist": "Kelis",
"music": "Acapella",
"album": "Acapella"
}, {
"artist": "The Presets",
"music": "Ghosts - Original",
"album": "Ghosts (Remixes)"
}, {
"artist": "Everything Everything",
"music": "Don't Try",
"album": "Arc (Deluxe)"
}, {
"artist": "Ratatat",
"music": "Loud Pipes",
"album": "Classics"
}, {
"artist": "Frank Ocean",
"music": "Swim Good",
"album": "Swim Good"
}, {
"artist": "Bo Saris",
"music": "She's On Fire",
"album": "She's On Fire"
}, {
"artist": "Tesla Boy",
"music": "Fantasy",
"album": "Fantasy"
}, {
"artist": "Pendulum",
"music": "The Other Side",
"album": "In Silico"
}, {
"artist": "Ladyhawke",
"music": "My Delirium",
"album": "Ladyhawke (Deluxe Edition)"
}, {
"artist": "Hooray For Earth",
"music": "Say Enough",
"album": "RACY"
}, {
"artist": "Shiny Toy Guns",
"music": "Somewhere to Hide",
"album": "III (Deluxe)"
}, {
"artist": "Echosmith",
"music": "Cool Kids",
"album": "Talking Dreams (Deluxe Version)"
}, {
"artist": "Lia Ices",
"music": "Thousand Eyes",
"album": "Ices"
}, {
"artist": "Fever Ray",
"music": "When I Grow Up - D.Lissvik",
"album": "When I Grow Up"
}, {
"artist": "Laura Groves",
"music": "Dream Story",
"album": "Committed Language"
}, {
"artist": "Brandon Flowers",
"music": "Can't Deny My Love",
"album": "The Desired Effect"
}, {
"artist": "Maximo Park",
"music": "Leave This Island",
"album": "Too Much Information (Bonus Version)"
}, {
"artist": "Kimbra",
"music": "Miracle",
"album": "The Golden Echo"
}, {
"artist": "Public Service Broadcasting",
"music": "Go!",
"album": "The Race For Space"
}, {
"artist": "The Dø",
"music": "Keep Your Lips Sealed",
"album": "Shake Shook Shaken"
}, {
"artist": "Frankie Rose",
"music": "Night Swim",
"album": "Interstellar"
}, {
"artist": "Poolside",
"music": "Next to You",
"album": "Pacific Standard Time"
}, {
"artist": "Belle & Sebastian",
"music": "The Party Line",
"album": "The Party Line"
}, {
"artist": "Lucius",
"music": "Turn It Around",
"album": "Wildewoman"
}, {
"artist": "Stepdad",
"music": "My Leather, My Fur, My Nails",
"album": "Ordinaire EP"
}, {
"artist": "Flight Facilities",
"music": "Stand Still",
"album": "Stand Still (Remixes)"
}, {
"artist": "EZA",
"music": "High & Low",
"album": "Means of Escape"
}]
Before The Dive - St. Lucia - St. Lucia
Dreamers - Savoir Adore - Dreamers - EP
Feather - Little Dragon - Machine Dreams
Awake - Electric Guest - Mondo
Time - Jungle - Jungle
After the Disco - Broken Bells - After the Disco
Take It Out On Me - Chairlift - Something
40 Mark Strasse - The Shins - Port Of Morrow
Wonder - Dan Black - Un
Ace of Hz - Ladytron - Ace of Hz [EP]
Instant Crush - Daft Punk Julian Casablancas - Random Access Memories
Black Out Days - Phantogram - Voices
Closer Than This - St. Lucia - St. Lucia
Back in the Tall Grass - Future Islands - Singles
Falling - HAIM - Days Are Gone (Deluxe Edition)
Jamaica - Theme Park - Theme Park
Okinawa Channels - NZCA LINES - NZCA/LINES (Spotify Deluxe Edition)
Chamakay - Blood Orange - Cupid Deluxe
Sexotheque - La Roux - Trouble In Paradise
Left Hand Free - alt-J - This Is All Yours
Water Fountain - tUnE-yArDs - nikki nack
Friend Crush - Friends - Manifest!
L.E.S. Artistes - Santigold - Q - The Album
Haunted - Equateur - Zappruder Collection #1
Oblivion - Grimes - Visions
Ready For The Floor - Hot Chip - Made In The Dark
We Exist - Arcade Fire - Reflektor
Forever - HAIM - Days Are Gone (Deluxe Edition)
Happy Idiot - TV On The Radio - Seeds
Satellite Mind - Metric - Fantasies
Fineshrine - Purity Ring - Shrines
Don't Move - Phantogram - Nightlife
Want Your Feeling - Jessie Ware - Tough Love
My New Friend - Carousel - My New Friend
The Old House Is Gone - St. Lucia - St. Lucia
Electric Love - BØRNS - Candy
Love Like Mine - Miami Horror Cleopold - Love Like Mine
Give You Love - PAWWS - Sugar
Déjà vu - Giorgio Moroder Sia - Déjà vu
Someone - We Have Band - Movements
Gold Chain - Black Light Dinner Party - Sons and Lovers
Shine - Wild Belle - The Way Way Back - Music From The Motion Picture
Let Me In - Kleerup Susanne Sundfør - As If We Never Won
Istanbul - Jakil - Istanbul
Fire - Tesla Boy - The Tesla Boy EP
Dance the Way I Feel - Ou Est Le Swimming Pool - Dance the Way I Feel
Don't Deny Your Heart - Hot Chip - In Our Heads
My Type - Saint Motel - My Type EP
Warm & Easy - The 2 Bears - Be Strong
Winterbreak - MUNA - Winterbreak
Tilted - Christine and the Queens - Tilted
Zero - Chela - Zero
The Loving Cup - Christine and the Queens - Christine and The Queens
Return To The Moon (Political Song for Didi Bloome to Sing, with Crescendo) - EL VY - Return To The Moon (Political Song for Didi Bloome to Sing, with Crescendo)
Pistols At Dawn - Seinabo Sey - Pistols At Dawn
Bassically - Tei Shi - Bassically
Death Is A Girl - Mini Mansions - The Great Pretenders
Get Free (feat. Amber of Dirty Projectors) - Major Lazer Amber of Dirty Projectors - Free The Universe
Holding on for Life - Broken Bells - After the Disco
Madder Red - Yeasayer - Odd Blood
White Light - Shura - White Light
Can't Deny My Love - Brandon Flowers - The Desired Effect
Moth to the Flame - Chairlift - Moth
My Leather, My Fur, My Nails - Stepdad - Wildlife Pop (Deluxe Edition)
It's That Talk Again - Broken Bells - It's That Talk Again
Back Pocket - Vulfpeck - Thrill of the Arts
Cherry Blossom Girl - Air - Talkie Walkie
Silly Me - Yeasayer - Amen & Goodbye
The Less I Know The Better - Tame Impala - Currents
Doves - Future Islands - Singles
The Rifle's Spiral - The Shins - Port Of Morrow
The Getaway - Red Hot Chili Peppers - The Getaway
Fade Away - Susanne Sundfør - Ten Love Songs
The Urge To Repeat - Hanne Kolstø - Forever Maybe
California Nights - Best Coast - California Nights
Seasons (Waiting On You) - Future Islands - Singles
All Eyes on You - St. Lucia - When The Night
The Bay - Metronomy - The English Riviera
Heartbeats - The Knife - Deep Cuts
I Am Chemistry - Yeasayer - Amen & Goodbye
Dance Yrself Clean - LCD Soundsystem - This Is Happening
Genesis - Grimes - Visions
Swing Tree - Discovery - LP
Reflektor - Arcade Fire - Reflektor
This Head I Hold - Electric Guest - Mondo
Let It Happen - Tame Impala - Currents
Disappointed - Field Music - Commontime
Ghosts - Siobhan Donaghy - Ghosts
Let's Talk - Death In The Afternoon - Let's Talk
Strawberry Letter 23 - Shuggie Otis - Freedom Flight
Impossible - Nina K Nina Kinert - Impossible
Everybody’s Got Their Own Way - Starwalker - Starwalker
Alpha Beta Gaga - Air - Talkie Walkie
So Special - MUNA - The Loudspeaker EP
Could You - TV On The Radio - Seeds
Gimme Sympathy - Metric - Fantasies
Nightcall - Kavinsky - Nightcall
I'm His Girl - Friends - I'm His Girl
Tiger - Maximum Balloon Aku - Maximum Balloon
Indestructible - Robyn - Body Talk
Counting - Autre Ne Veut - Anxiety
Acapella - Kelis - Acapella
Ghosts - Original - The Presets - Ghosts (Remixes)
Don't Try - Everything Everything - Arc (Deluxe)
Loud Pipes - Ratatat - Classics
Swim Good - Frank Ocean - Swim Good
She's On Fire - Bo Saris - She's On Fire
Fantasy - Tesla Boy - Fantasy
The Other Side - Pendulum - In Silico
My Delirium - Ladyhawke - Ladyhawke (Deluxe Edition)
Say Enough - Hooray For Earth - RACY
Somewhere to Hide - Shiny Toy Guns - III (Deluxe)
Cool Kids - Echosmith - Talking Dreams (Deluxe Version)
Thousand Eyes - Lia Ices - Ices
When I Grow Up - D.Lissvik - Fever Ray - When I Grow Up
Dream Story - Laura Groves - Committed Language
Can't Deny My Love - Brandon Flowers - The Desired Effect
Leave This Island - Maximo Park - Too Much Information (Bonus Version)
Miracle - Kimbra - The Golden Echo
Go! - Public Service Broadcasting - The Race For Space
Keep Your Lips Sealed - The Dø - Shake Shook Shaken
Night Swim - Frankie Rose - Interstellar
Next to You - Poolside - Pacific Standard Time
The Party Line - Belle & Sebastian - The Party Line
Turn It Around - Lucius - Wildewoman
My Leather, My Fur, My Nails - Stepdad - Ordinaire EP
Stand Still - Flight Facilities - Stand Still (Remixes)
High & Low - EZA - Means of Escape
(function() {
// html collection of tr taken from: https://play.spotify.com/user/vickycarmichael/playlist/6NzPTIj7wEXmp0XDaGHK1t
var trs = document.getElementsByClassName('tracklist-playlist')[0].children[1].children;
var musics = [];
var playlist = [];
var i, tds, music, artist, album, item, str;
for (i = 0; i < trs.length; i += 1) {
tds = trs[i].children;
music = tds[2].innerText.replace("\n", '');
artist = tds[3].innerText.replace("\n", '');
album = tds[4].innerText.replace("\n", '');
if (music.length > 1 && artist.length > 1 && album.length > 1) {
str = '' + music + ' - ' + artist + ' - ' + album;
musics.push({
artist: artist,
music: music,
album: album
});
playlist.push(str);
console.log(str);
}
}
window.musics = musics;
window.playlist = playlist;
console.log('Playlist saved in window.musics');
console.log('Playlist string array saved in window.playlist');
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment