mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-28 05:08:00 +02:00
fix: reset current time on getSong
chore: update shaka and prettier
This commit is contained in:
parent
a96d9b5c24
commit
7b18bdd9d5
3 changed files with 125 additions and 126 deletions
|
@ -30,6 +30,8 @@ export const useData = defineStore('data', () => {
|
|||
state.title = unamp(json.title);
|
||||
state.artist = unamp(json.uploader.replace(' - Topic', ''));
|
||||
state.artistUrl = json.uploaderUrl;
|
||||
player.state.currentTime = 0;
|
||||
player.setTime(0);
|
||||
player.state.duration = json.duration;
|
||||
player.state.hls = unamp(json.hls);
|
||||
player.state.streams = json.audioStreams;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue