torrents.php,torrent-player

Torrent player

Torrents peer player that able to search on popular russian torrent trackers download and play Movies / TV show / Cartoons / Anime.

In addional to this it able to cast video using dlna protocol or serve as dlna media server.

It also support remote controle from mobile or browser and automaticaly transcode video stream using ffmpeg.

Can be runned as web server or desktop application(electron version)

Download

Checkout Release for prebuilded binaries

Build and run

install dependencies

yarn

cd client && yarn

cd ../server && yarn

build and run as electron application

yarn start

build and run as web server

yarn server

build ui

cd client && yarn build

build electron binaries

yarn build

it will produce zip archives for linux(x64, armv7) and window platforms into directory

build/out/electron

Transcoding

Player use ffmpeg for transcoding. Binaries already included in a repo and contains in a tools directory. If you want use system ffmpeg just remove this directory.

RuTracker setup

Create a file in root-dir folder with name rutracker-session. Copy bb_session value from rutracker site cookie into this file.

MPV Integration

Electron version use MPV.js plugin see repo https://github.com/Kagami/mpv.js/ for information about how to install mpvlib

Arguments

--root-dir - path to directory configuration store. default: $HOME/webtorrents

--no-dlna - disable dlna media server

--no-dlna-renderers - disable lookup for dlna media rendrers

--dlna-port - dlna media server port

--dlan-uid - dlna media server id: defult: uuid()

--dlan-name - dlna media server name

--web-port - web server port: defualt: 8080

--no-transcoding - disable transcoding

Electron only

--cast-screen - start with ui that can be controlet only remote

--windowed - start in windowed mode

--no-mpv - disable mpv plugin

--dev-tools - enable developer tools

Electron sortcuts

F5 - reload UI

F11 - toggle fullscreen

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值