mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-28 05:08:00 +02:00
Initial support for offline playback
This commit is contained in:
parent
1372d87beb
commit
4353cacead
9 changed files with 116 additions and 50 deletions
|
@ -93,12 +93,12 @@ function parseUrl() {
|
|||
|
||||
function playThis(t) {
|
||||
const i = data.state.urls.indexOf(t);
|
||||
data.getSong(data.state.urls[i].url);
|
||||
data.play(data.state.urls[i]);
|
||||
}
|
||||
|
||||
function playList(a) {
|
||||
data.state.urls = a;
|
||||
data.getSong(data.state.urls[0].url);
|
||||
data.play(data.state.urls[0]);
|
||||
}
|
||||
|
||||
/* Lifestyle hooks */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue