-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
82 lines (76 loc) · 3.63 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!--
Copyright 2018 LNFWebsite
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!doctype html>
<html>
<head>
<title>Streamly Import</title>
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto" type="text/css" />
<link rel="stylesheet" href="styles.css" type="text/css" />
<script src="//code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="//cdn.rawgit.com/zenorocha/clipboard.js/a4c8bc5bf0d9df8519e80af2c091a9ff9527e675/dist/clipboard.min.js"></script>
<script src="index.js"></script>
</head>
<body>
<a href="https://github.com/LNFWebsite/Streamly-Import" target="_blank"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"></a>
<h1>Streamly Import</h1>
<p>Import playlists to Streamly from other services</p>
<p><i>When first using Streamly Import you may need to allow pop-ups. These are used to open your playlists outside of this site. [<a href="https://support.google.com/chrome/answer/95472?hl=en" target="_blank">instructions for Chrome</a> <a href="https://support.mozilla.org/en-US/kb/pop-blocker-settings-exceptions-troubleshooting" target="_blank">and Firefox</a>]</i></p>
<h2 class="youtube">YouTube</h2>
<hr>
<p>Just open up Streamly and drag and drop or paste the URL of your playlist! Yup, it's that simple!</p>
<h2 class="audius">Audius</h2>
<hr>
<p>Paste the URL of your playlist, or the text of your Audius Playlist File:</p>
<textarea id="audiusInput"></textarea>
<h2 class="streamus">Streamus</h2>
<h3>Streamus Playlist URLs</h3>
<hr>
<form action="javascript:streamusURLInput();" method="get">
<label for="streamusURLInput">Paste your Streamus Playlist URL:</label>
<input type="textbox" id="streamusURLInput" placeholder="(eg. https://streamus.com/share/playlist/1f9edabfdeb8/tropical_house)" />
</form>
<p>A tab of the Streamus website should open.</p>
<p>Below the "Add to Streamus" button in the new tab, you should see a bunch of garbled text. Copy ALL of it, and paste it below.</p>
<form action="javascript:streamusJSONInput();" method="get">
<textarea id="streamusJSONInput"></textarea>
</form>
<h3>Streamus Playlist Files</h3>
<hr>
<p>Paste the contents of your Streamus Playlist File:</p>
<form action="javascript:streamusFileInput();" method="get">
<textarea id="streamusFileInput"></textarea>
</form>
<script>
$("#audiusInput").on("paste", function() {
setTimeout(function() {
audiusInput();
}, 0);
});
$("#streamusURLInput").on("paste", function() {
setTimeout(function() {
streamusURLInput();
}, 0);
});
$("#streamusJSONInput").on("paste", function() {
setTimeout(function() {
streamusJSONInput();
}, 0);
});
$("#streamusFileInput").on("paste", function() {
setTimeout(function() {
streamusFileInput();
}, 0);
});
</script>
</body>
</html>