KODI_Addons icon indicating copy to clipboard operation
KODI_Addons copied to clipboard

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

Open orfeous1 opened this issue 1 year ago • 11 comments

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.

orfeous1 avatar Mar 27 '23 21:03 orfeous1

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.

Lunatixz avatar Apr 12 '23 15:04 Lunatixz

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

JunesBug avatar Apr 20 '23 03:04 JunesBug

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 avatar Jun 17 '23 07:06 ilikenwf

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 avatar Jun 17 '23 08:06 ilikenwf

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 avatar Jun 17 '23 08:06 ilikenwf

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 avatar Jun 17 '23 09:06 ilikenwf

@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? ❤️

ilikenwf avatar Jun 17 '23 15:06 ilikenwf

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/

Lunatixz avatar Jun 17 '23 16:06 Lunatixz

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!

Rferreira2k avatar Jun 27 '23 20:06 Rferreira2k

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

gottahackit avatar Jul 30 '23 13:07 gottahackit

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

3052 avatar Apr 19 '24 18:04 3052