Comments (3)
The issue with the first link is that you probably wrongly escaped the magnet link. In the first link magnet can't have ?
symbol.
Ideally, you shouldn't generate links manually - use UI and copy links from UI.
from torrent-stream-server.
The issue with the first link is that you probably wrongly escaped the magnet link. In the first link magnet can't have
?
symbol.Ideally, you shouldn't generate links manually - use UI and copy links from UI.
tested it again, it seems to be working the same. i'm currently only using it through the terminal.
i tried it again, like this , this is working.
mpv "http://example.com/stream?torrent=magnet:?xt=urn:btih:E5A04AF69BE755F3578214D020B9D94FCF1B0C3F"
(+) Video --vid=1 () (h264 1280x720 29.970fps)
(+) Audio --aid=1 () (aac 2ch 48000Hz)
AO: [wasapi] 48000Hz stereo 2ch float
VO: [gpu] 1280x720 yuv420p
AV: 00:00:03 / 01:53:09 (0%) A-V: 0.000 Dropped: 5 Cache: 49s/19MB
and using it like this gets parse torrent error .
https://example.com/stream/magnet:?xt=urn:btih:DEFC39C97728D03DE03407DE8B1EB1B92D3D6DFB
{"error":"Cannot parse torrent: Invalid torrent identifier, link: magnet:"}
and using only the hash, it works but using the magnet:?xt=urn:btih: gives off parse error.
mpv "https://example.com/stream/DEFC39C97728D03DE03407DE8B1EB1B92D3D6DFB"
(+) Video --vid=1 () (h264 1280x720 29.970fps)
(+) Audio --aid=1 () (aac 2ch 48000Hz)
AO: [wasapi] 48000Hz stereo 2ch float
VO: [gpu] 1280x720 yuv420p
AV: 00:00:02 / 01:22:22 (0%) A-V: 0.000 Dropped: 2 Cache: 30s/11MB
it's not a big deal for i'm able to use the hash.
from torrent-stream-server.
That is the issue when trying to manually construct a URL. Try something like https://www.freeformatter.com/url-parser-query-string-splitter.html:
As you can see parsed URL has:
Path: /stream/magnet:
How the correct URL should look:
from torrent-stream-server.
Related Issues (20)
- Add torlook.info tracker HOT 5
- What kind of engine is used? HOT 2
- Wrong torrent name when downloading with wget HOT 5
- Detect un-escaped streaming URLs and redirect to correctly escaped equivalents HOT 3
- Download as zip HOT 1
- MKV videos does not work on iOS HOT 1
- Remember me feature in UI when using password HOT 1
- Demo page
- Magnet links do not work when using 0 upload speed
- Deta One-Click deployment HOT 2
- Show latest logs in UI dashboard
- UI subtitles support
- Torrent search rework HOT 1
- Specify default torrents in the config file and show them in UI home page
- Deployment on Heroku does not work when using 17 NodeJS HOT 2
- heroku deployment not working HOT 1
- Use webtorrent-hybrid instead of webtorrent
- okteto button not working? HOT 1
- please update pages providers torrents HOT 2
- "no peers found" error for torrent that definitely has peers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from torrent-stream-server.