mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-28 13:08:01 +02:00
fmt fixes
This commit is contained in:
parent
b023b67e04
commit
b807cf1907
6 changed files with 25 additions and 26 deletions
|
@ -62,7 +62,8 @@ async function Stream() {
|
|||
window.offline = new shaka.offline.Storage(audioPlayer);
|
||||
window.offline.configure({
|
||||
offline: {
|
||||
progressCallback: ({ appMetadata: { title, artist } }, prog) => a.add(`${title} by ${artist}: ${Math.floor(prog*100)}%`),
|
||||
progressCallback: ({ appMetadata: { title, artist } }, prog) =>
|
||||
a.add(`${title} by ${artist}: ${Math.floor(prog * 100)}%`),
|
||||
trackSelectionCallback: tracks => [
|
||||
tracks
|
||||
.sort((a, b) => a.bandwidth - b.bandwidth)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue