Skip to content

Commit f85d78f

Browse files
committedAug 26, 2018
Adding BeatDrop playlist support
Playlists can now be exported as a lighter BeatDrop playlist JSON file as well as the ZIP containing all files.
1 parent c655a0a commit f85d78f

File tree

5 files changed

+92
-5
lines changed

5 files changed

+92
-5
lines changed
 

‎beatDropThumbnail.jpg

19.2 KB
Loading

‎spotify.html

+5-2
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,11 @@
4949
</div>
5050

5151
<div style="padding-top:60px">
52-
<button id="btnSpotifyAuth" onclick="spotifyAuth()" class="w3-button w3-round w3-border w3-green w3-hide-small" style="float: right; margin-right: 5%; margin-top: 1.6em;">Login with Spotify for full playlist</button>
52+
<h1 class="w3-hide-small" style="text-align: center; padding-right: 300px">Spotify Playlist</h1>
53+
<h1 class="w3-hide-medium w3-hide-large" style="text-align: center;">Spotify Playlist</h1>
54+
<button id="btnSpotifyAuth" onclick="spotifyAuth()" class="w3-button w3-round w3-border w3-green w3-hide-small" style="float: right; margin-right: 5%; margin-top: 0.8em;">Login with Spotify for full playlist</button>
5355
<div style="text-align: center; margin-top: 1em;" id="divBtnSpotifyAuthM"><button id="btnSpotifyAuthM" onclick="spotifyAuth()" class="w3-button w3-round w3-border w3-green w3-hide-medium w3-hide-large">Login with Spotify for full playlist</button></div>
54-
<h1 style="text-align: center;">Spotify Playlist</h1>
56+
<h3 id="playlistInfo" style="text-align: center;">Playlist - "" Owner - ""</h3>
5557
<div id="content">
5658
<div id="spotifyWarningSpace"></div>
5759
<div id="alertSpace"></div>
@@ -66,6 +68,7 @@ <h1 style="text-align: center;">Spotify Playlist</h1>
6668
</table>
6769
</div>
6870
<button id="btnDownloadAll" onclick="downloadAll()" class="w3-button w3-round w3-border w3-green" style="float: right; margin-right: 5%;" disabled><i class="fa fa-download"></i> Download All</button>
71+
<button id="btnDownloadBeatDrop" onclick="downloadBeatDrop()" class="w3-button w3-round w3-border w3-green" style="float: right; margin-right: 3px;" disabled><i class="fa fa-download"></i> Download BeatDrop</button>
6972
</div>
7073
</div>
7174
<p style="text-align: center; padding-bottom: 20px;">&nbsp;</p>

‎spotify.js

+42
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎youtube.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050

5151
<div style="padding-top:60px">
5252
<h1 style="text-align: center;">Youtube Playlist</h1>
53+
<h3 id="playlistInfo" style="text-align: center;">Playlist - "" Owner - ""</h3>
5354
<div id="content">
5455
<div id="alertSpace"></div>
5556
<div class="w3-responsive">
@@ -62,7 +63,8 @@ <h1 style="text-align: center;">Youtube Playlist</h1>
6263
</tr>
6364
</table>
6465
</div>
65-
<button id="btnDownloadAll" onclick="downloadAll()" class="w3-button w3-round w3-border w3-red" style="float: right; margin-right: 5%;"><i class="fa fa-download"></i> Download All</button>
66+
<button id="btnDownloadAll" onclick="downloadAll()" class="w3-button w3-round w3-border w3-red" style="float: right; margin-right: 5%;" disabled><i class="fa fa-download"></i> Download All</button>
67+
<button id="btnDownloadBeatDrop" onclick="downloadBeatDrop()" class="w3-button w3-round w3-border w3-red" style="float: right; margin-right: 3px;" disabled><i class="fa fa-download"></i> Download BeatDrop</button>
6668
</div>
6769
</div>
6870
<p style="text-align: center; padding-bottom: 20px;">&nbsp;</p>

‎youtube.js

+42-2
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.