mrxdst/webtorrent-mpv-hook

Is this supposed to happen?

Closed this issue · 6 comments

I was wondering whether it was normal for the terminal to display the lines [file] Cannot open file 'magnet:?xt=urn:btih:eb99199d9adbb77661a436ce4716e0b05913a124': Invalid argument and Failed to open magnet:?xt=urn:btih:eb99199d9adbb77661a436ce4716e0b05913a124. every time I try to play a torrent with mpv?

Select Command Prompt 4_13_2022 6_41_24 PM

z8512 commented

mpv "magnet:?xt=urn:btih:eb99199d9adbb77661a436ce4716e0b05913a124..........." understood?

mpv "magnet:?xt=urn:btih:eb99199d9adbb77661a436ce4716e0b05913a124..........." understood?

Well, that just gives me this:
webtorrent-mpv-hook 4_14_2022 2_40_42 PM

z8512 commented

@NomaanMalick It is because that torrent is old and no one seeding. Its a dead torrent. Try a healthy torrent. And use " " from next time. Understand?

I'm not quite sure what the issue is here. The red text is normal. The hook only runs if mpv fails to open the file/url internally.
Metadata downloaded should suggest that playback should begin soon. And when i test myself it does.

Note that mkv's are not fully supported for streaming in the webtorrent library. So it might need to download more data before playback can begin.

z8512 commented

Issue is he wants to play a dead torrent lmao

I'm not quite sure what the issue is here. The red text is normal. The hook only runs if mpv fails to open the file/url internally. Metadata downloaded should suggest that playback should begin soon. And when i test myself it does.

Note that mkv's are not fully supported for streaming in the webtorrent library. So it might need to download more data before playback can begin.

That's all I wanted to know. Whether it was normal for the red text to show up? Thank you for clarifying that it is normal.