music property issue fixed

This commit is contained in:
killer069
2022-01-04 17:49:42 +05:30
parent da91f6a1ec
commit 3ae4cea5a8
2 changed files with 4 additions and 7 deletions

View File

@@ -131,7 +131,7 @@ export class SeekStream {
this.timer.reuse();
return this.seek(sec);
}
const bytes = this.stream.seek(parseFloat(sec.toFixed(2)));
const bytes = this.stream.seek(sec);
if (bytes instanceof Error) {
this.stream.emit('error', bytes);
this.bytes_count = 0;