mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-08-14 22:53:59 +00:00
fix: incorrect path encoding
This commit is contained in:
parent
696e2c2193
commit
5abd6faa7a
2 changed files with 2 additions and 2 deletions
|
|
@ -263,7 +263,7 @@ export default class TorrentClient extends WebTorrent {
|
|||
}
|
||||
this.current = found
|
||||
if (data.data.external && this.player) {
|
||||
this.playerProcess = spawn(this.player, [encodeURI('http://localhost:' + this.server.address().port + found.streamURL)])
|
||||
this.playerProcess = spawn(this.player, [encodeURI('' + new URL('http://localhost:' + this.server.address().port + found.streamURL))])
|
||||
this.playerProcess.stdout.on('data', () => {})
|
||||
const startTime = Date.now()
|
||||
this.playerProcess.once('close', () => {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Miru",
|
||||
"version": "5.1.10",
|
||||
"version": "5.1.11",
|
||||
"private": true,
|
||||
"author": "ThaUnknown_ <ThaUnknown@users.noreply.github.com>",
|
||||
"description": "Stream anime torrents, real-time with no waiting for downloads.",
|
||||
|
|
|
|||
Loading…
Reference in a new issue