NoCrypt / migu

Stream anime torrents, real-time with no waiting for downloads
https://miguapp.pages.dev/
GNU General Public License v3.0
226 stars 9 forks source link

[Feature Request]: start caching the torrent using external player playback history #28

Open P0bo opened 1 month ago

P0bo commented 1 month ago

Preflight checklist

Problem Description

I use mpvkt as external player in android app and sometimes use vlc , when i play using those they save playback position , also allow external subs, customisation etc perks and some hardware codecs arent the default player doesnt support .

Most players including mpv and vlc save history of playback , but when we use the history to resume playback later after migu restart (migu is open on background) the video can not be played because sometimes cache is deleted .

Proposed Solution

If the network link of the video can start the torrent loading if the torrent isn't cached will help solve this problem.

http://127.0.0.1:11470/c4663e86d73b980954f22695e073037e66eeaae7/[SubsPlease] One Piece - 1119 (1080p) [8C4773C0].mkv?tr=tracker:udp://tracker.opentrackr.org:1337/announce&tr=tracker:udp://open.tracker.cl:1337/announce&tr=tracker:udp://open.demonii.com:1337/announce&tr=tracker:udp://open.stealth.si:80/announce&tr=tracker:udp://tracker.torrent.eu.org:451/announce&tr=tracker:udp://exodus.desync.com:6969/announce&tr=tracker:udp://tracker-udp.gbitt.info:80/announce&tr=tracker:udp://explodie.org:6969/announce&tr=tracker:https://tracker.tamersunion.org:443/announce&tr=tracker:http://tracker.ipv6tracker.org:80/announce&tr=tracker:udp://opentracker.io:6969/announce&tr=tracker:udp://open.free-tracker.ga:6969/announce&tr=tracker:udp://leet-tracker.moe:1337/announce&tr=tracker:udp://bt1.archive.org:6969/announce&tr=tracker:http://tracker2.dler.org:80/announce&tr=tracker:http://tracker1.bt.moack.co.kr:80/announce&tr=tracker:http://tr.kxmp.cf:80/announce&tr=tracker:udp://wepzone.net:6969/announce&tr=tracker:udp://ttk2.nbaonlineservice.com:6969/announce&tr=tracker:udp://tracker1.myporn.club:9337/announce&tr=tracker:http://nyaa.tracker.wf:7777/announce&tr=tracker:http://anidex.moe:6969/announce&tr=tracker:http://tracker.anirena.com:80/announce&tr=tracker:udp://tracker.uw0.xyz:6969/announce&tr=tracker:http://share.camoe.cn:8080/announce&tr=tracker:http://t.nyaatracker.com:80/announce&tr=tracker:http://sukebei.tracker.wf:8888/announce&tr=tracker:http://tracker.minglong.org:8080/announce&tr=tracker:http://tracker.acgnx.se/announce&tr=tracker:http://ehtracker.org/3033889/announce&tr=tracker:http://ehtracker.org/3034891/announce&tr=tracker:http://ehtracker.org/3033890/announce&tr=tracker:http://ehtracker.org/3033148/announce&tr=tracker:http://ehtracker.org/3033425/announce&tr=tracker:udp://tracker.tiny-vps.com:6969/announce&tr=tracker:udp://tamas3.ynh.fr:6969/announce&tr=tracker:udp://p4p.arenabg.com:1337/announce&tr=tracker:udp://new-line.net:6969/announce&tr=tracker:udp://tracker.tryhackx.org:6969/announce&tr=dht:ac309f94f66b67fbbbea2ccf940ecd74bfb0c345

stremio allows using the same link to start playback or loading the torrent (with or with out trackers ) if not cached which helps greatly when using the external player . and also help using the app as a sever in mobile and use android tv player since they lack a lot of processing power and most of the time have slow cache , if the cache and torrent server is run elsewhere it will be able to play vides a lot smoother weak devices .

NoCrypt commented 1 month ago

Migu_tOWXwamjks

Can you check if this option fixed your issue or not?