AlyoshaVasilieva / luminous-ttv

Avoid Twitch ads by grabbing video playlists from Russia
GNU General Public License v3.0
108 stars 7 forks source link

Feature Request; Similar TTV LOL requests. #5

Closed Sokoloft closed 1 year ago

Sokoloft commented 1 year ago

Hello,

Twire has an option to add a proxy URL in its settings shown here. However it only seems to work with api.ttv.lol URL. I'm wondering if its possible to make this project handle requests similarly to ttv lol. I've found this project works every time. Whereas ttv lol works 50% of the time. I'd love to host this on a rpi zero on my network. Having my tablet, laptop and desktop pointing to them.

There is an edited twitch.py someone made here so it'd even work with streamlink for my laptop/desktop.

I tried changing the URL in the twitch.py file from https://api.ttv.lol to http://localhost:9595 and I received no confirmation in the luminous-ttv prompt.

Thanks.

AlyoshaVasilieva commented 1 year ago

Can you try version 0.5.0? I've attempted to add support for TTV-LOL's API.

Sokoloft commented 1 year ago

I am right now though I'm currently testing. So far it works with streamlink using the twitch.py file I linked in my original post. streamlink-twitch-gui had an error a couple times but I can't get it to reproduce it. However it won't work with twire as of yet. It could be something to do with me hosting luminous on a windows pc. Maybe something with the firewall is preventing my phone from connecting to it.

I get no indication from luminous in debug mode that its making any connection to twire on it.

AlyoshaVasilieva commented 1 year ago

You'll need to run luminous-ttv with --address 0.0.0.0 as it only listens on localhost by default, which won't allow external connections. Also point Twire to whatever your computer's IP address is. Also, yes, maybe firewall issue.

Alternatively, try pointing your phone at https://eu2.luminous.dev to test Twire. I'll see if I can remember how to build Android apps to test it myself

Sokoloft commented 1 year ago

It doesn't seem like its working unfortunately. At least for twire. I added the address parameter and I still don't see any indication that my phone is getting connection to luminous. I tried the .dev domain and I'm unsure as to if it worked either. I was still seeing the pre-roll purple screen on some streams. I have it with a stream up set to your .dev domain, waiting to see if I get an ad or not.

Sokoloft commented 1 year ago

As well as just so you know. On that reddit post I asked the person if they could make it compatible with the prior release of luminous. They did and this is the twitch.py. However now their original ttv.lol twitch.py file works with luminous as long as you change the address in the twitch.py.

AlyoshaVasilieva commented 1 year ago

The Twire PR with M3U proxy support doesn't work for me at all (can't load anything) so I unfortunately can't debug whatever's going wrong with it.

Sokoloft commented 1 year ago

I'm sorry. So I was using the release version of twire from f-droid. Which does not support video proxy. The setting I was setting was image proxy, whatever that is.

I built the ttv.lol branch found here and I seem to have the same issue you have. Gives some oops twitch's servers can't be found. This branch could be using twitchs old helix? Api that was discontinued earlier in the year iirc. That could be the issue.

Sokoloft commented 1 year ago

Well I'll close this issue. Thanks for making it work similarly to how ttv lol requests work. Sorry about the confusion with Twire. Just waiting to hear back to see if that twire fork gets fixed. I might look into it myself and fork twire, but its sort of beyond me.