Lunatixz / KODI_Addons

https://kodi.tv/addons/omega/author/lunatixz/
126 stars 105 forks source link

Its time to update Pluto.tv app, issues with channels and episodes, cant start movies and such #230

Open orfeous1 opened 1 year ago

orfeous1 commented 1 year ago

Many issues with the Pluto.tv app. Needs some overhauling.

Cant play some movies that works via web browser for example. Cant find series/shows etc that are shown on pluto website Ads are shown

I wish that there were a filter of some kind. Since Pluto.tv took over Viafree.se i want to filter to only show viafree.se content for example. For now some of them are visible via "On Demand"

Unusable for me at it state its in now. Using the website for now until this app gets updated and fixed.

Lunatixz commented 1 year ago

From my understanding it is still a functional plugin. However, some on demand content will not load. We are in agreement that an update is needed... when I have some free time I will finalize my updates and push a release.

I'm not familiar with Viafree.se, if Pluto.TV api allows filtering then I'll be more than happy to add it when I can.

JunesBug commented 1 year ago

I haven't been able to get any movies to play on Pluto for the last week on any of my devices.

ilikenwf commented 1 year ago

This appears to be the fix for yt-dlp @Lunatixz - seems using the amazon URI works. That said, the SSL cert is then invalid.

https://github.com/yt-dlp/yt-dlp/issues/6780#issuecomment-1504235534

ilikenwf commented 1 year ago

It appears adding this in playVOD fixes it, around line 658:

url = url.replace("siloh.pluto.tv", "silo-hybrik.pluto.tv.s3.amazonaws.com").replace("https", "http")

ilikenwf commented 1 year ago

Well, it worked once briefly and then stopped... but my ISP sucks so I'm not sure if it's that or a bug.

ilikenwf commented 1 year ago

Ok, so to get that working, then, we either need to choose the "best" stream possible ourselves, or just work our way from hls_2400.m3u8:

This should work for most videos...but it may be more prudent to fetch the master.m3u8 and choose the highest quality option manually?

url = url.replace("siloh.pluto.tv", "silo-hybrik.pluto.tv.s3.amazonaws.com").replace("https", "http").replace("master.m3u8", "hls_2400.m3u8")

ilikenwf commented 1 year ago

@Lunatixz I'd put in a PR but the code isn't open on github, but the above does let me play any/all of the on demand videos...

Would this justify fixing the broken category/filtering options that come up empty and maybe adding search? ❤️

Lunatixz commented 1 year ago

Thanks... I'm waiting for some API changes to finish over @ Pluto.TV... Otherwise I have a working update with new API parsing parameters. Updates are coming soon... THX

https://cordcuttersnews.com/pluto-tv-has-a-new-improved-app-coming-next-month/

Rferreira2k commented 1 year ago

Ok, so to get that working, then, we either need to choose the "best" stream possible ourselves, or just work our way from hls_2400.m3u8:

This should work for most videos...but it may be more prudent to fetch the master.m3u8 and choose the highest quality option manually?

url = url.replace("siloh.pluto.tv", "silo-hybrik.pluto.tv.s3.amazonaws.com").replace("https", "http").replace("master.m3u8", "hls_2400.m3u8")

I added this line, the videos even run, but it freezes in the first few seconds. Anything else to do?

Thanks!

gottahackit commented 1 year ago

you also need to change: if len(urls) != 0 and isinstance(urls, list): urls = [url['url'] for url in urls if url['type'].lower() == 'hls'][0] # todo select quality

for on demand categories with only series in them around line 325

3052 commented 6 months ago

silo-hybrik.pluto.tv.s3.amazonaws.com is not ideal, as it sends the content as is regardless of accept-encoding. with siloh-fs.plutotv.net you can request gzip response, which should result in a faster download. note you have to be careful with siloh-fs.plutotv.net because it returns a strange 403 OK response