Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Fake" channel stops grabing channels left for file. #2

Closed
dueler-x opened this issue Sep 22, 2020 · 12 comments
Closed

"Fake" channel stops grabing channels left for file. #2

dueler-x opened this issue Sep 22, 2020 · 12 comments

Comments

@dueler-x
Copy link

The script only saves the first eleven channels before NewsmaxTV, this is how the scripts shows it as fake channel:

[INFO] Grabbing EPG...
http://api.pluto.tv/v2/channels?start=2020-09-22%2018%3A00%3A00.000%2B0000&stop=2020-09-23%2002%3A00%3A00.000%2B0000
[DEBUG] Using api.pluto.tv, writing cache.json.
[INFO] Adding Slow TV channel.
[INFO] Adding TYT Network channel.
[INFO] Adding GLORY Kickboxing channel.
[INFO] Adding MST3K channel.
[INFO] Adding NASA TV channel.
[INFO] Adding Bloomberg TV channel.
[INFO] Adding Awesomeness TV channel.
[INFO] Adding Shout! Factory TV channel.
[DEBUG] Skipping 'fake' channel NewsmaxTV.

@ReenigneArcher
Copy link

@dueler-x if you're okay with running python check out my scripts here (https://github.com/ReenigneArcher/web2tv). Python 2.7 required.

@ReenigneArcher
Copy link

@evoactivity I haven't looked at the code for your script, but my python script returns a key error on the NewsmaxTV channel mentioned in this issue. It's because the json is missing the thumbnail key. I had to add error handling to ignore the key errors and make the value blank if there was a key error.

image

Where as it should contain the thumbnail\path.
image

All of these channels are missing something in at least 1 airing.
The following json key_errors were found. :[u"program title: Newsmax Live channelName: NewsmaxTV KeyError: 'thumbnail'", u"program title: The Litter channelName: Cats 24/7 KeyError: 'featuredImage'", u"program title: Are You Kitten Me? channelName: Cats 24/7 KeyError: 'featuredImage'", u"program title: Meowathon! channelName: The Pet Collective KeyError: 'featuredImage'", u"program title: Meowathon! channelName: The Pet Collective KeyError: 'featuredImage'", u"program title: Newsmax Live channelName: NewsmaxTV 2 KeyError: 'thumbnail'"]

Hope it helps!

@evoactivity
Copy link
Owner

Thanks for the investigation @ReenigneArcher

@dueler-x
Copy link
Author

@evoactivity I haven't looked at the code for your script, but my python script returns a key error on the NewsmaxTV channel mentioned in this issue. It's because the json is missing the thumbnail key. I had to add error handling to ignore the key errors and make the value blank if there was a key error.

image

Where as it should contain the thumbnail\path.
image

All of these channels are missing something in at least 1 airing.
The following json key_errors were found. :[u"program title: Newsmax Live channelName: NewsmaxTV KeyError: 'thumbnail'", u"program title: The Litter channelName: Cats 24/7 KeyError: 'featuredImage'", u"program title: Are You Kitten Me? channelName: Cats 24/7 KeyError: 'featuredImage'", u"program title: Meowathon! channelName: The Pet Collective KeyError: 'featuredImage'", u"program title: Meowathon! channelName: The Pet Collective KeyError: 'featuredImage'", u"program title: Newsmax Live channelName: NewsmaxTV 2 KeyError: 'thumbnail'"]

Hope it helps!

Thanks for the investigation @ReenigneArcher, i confirm the script has been working flawlessly for some time this error was breaking my head.

@ReenigneArcher
Copy link

@dueler-x no problem. I probably would have never known about it had all the keys been present when I wrote my script.

BTW... how are you guys playing these streams? I'm having a lot of issues using VLC/ffmpeg whenever it's time for commercials. I've been reading a lot and pretty much everyone has the same problem.

@evoactivity
Copy link
Owner

@ReenigneArcher I actually gave up trying to use these streams because of that. Pluto do something strange with the stream when ads play but I've never had the time to investigate the stream itself.

@ReenigneArcher
Copy link

@evoactivity I found a program called streamlink. It's on github. Plays pluto streams perfectly. Need to change the url though... pluto.tv/live-tv/<channel-slug>

@jesusvito
Copy link

Hello everyone! I do not intend to bother you... I just can't find any available PlutoTV m3u playlist(s) with latin american (mexican) content (channels)... I have no clue how could i ever get them in order for me to see them on any iptv app.

I've found this "all region" playlist but lacks LATAM (latin american channels)
PlutoTV: https://i.mjh.nz/PlutoTV/all.m3u8

Thank you !

@ReenigneArcher
Copy link

@jesusvito I have scripts in this repo that grab many spanish channels. M3u and epg.

https://github.com/ReenigneArcher/web2tv

@jesusvito
Copy link

@jesusvito I have scripts in this repo that grab many spanish channels. M3u and epg.

https://github.com/ReenigneArcher/web2tv

You are most kind! But i'm hopeless since i have no idea how to do it myself :/ i'm sorry. I wish you could help me getting the channels :s. Thanks you so much in advance!

@evoactivity
Copy link
Owner

evoactivity commented Dec 29, 2020

@evoactivity I found a program called streamlink. It's on github. Plays pluto streams perfectly. Need to change the url though... pluto.tv/live-tv/<channel-slug>

Interesting, I'd come across streamlink before but only looks to have added pluto this November.
It seems people do run into this same issue though streamlink/streamlink#3462

@evoactivity
Copy link
Owner

I'm going to close this issue in favour of a new one to dicuss possible work-arounds for the commercial problem #7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants