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

Multiple issues with services, 404 and EPG data #23

Open
Starslayer74 opened this issue Nov 20, 2024 · 13 comments
Open

Multiple issues with services, 404 and EPG data #23

Starslayer74 opened this issue Nov 20, 2024 · 13 comments

Comments

@Starslayer74
Copy link

I went through and tested all of the available services and found the following issues:

Channels do not show up at all: Samsung

Channels show up but do not play, and no EPG data: Pluto

Channels show up and play, but no EPG data: Roku, PBS Kids, Plex, Stirr

Channels show up, play but screen is blank and only audio, and no EPG data: PBS

I'm using the US region for all, and I deployed the code today for all of them.

@dtankdempse
Copy link
Owner

Which code did you use?

@Starslayer74
Copy link
Author

Which code did you use?

The code from https://github.com/dtankdempse/free-iptv-channels/blob/main/code.gs

@dtankdempse
Copy link
Owner

I redeployed the exact code from code.gs without any issues. My question is: when deploying your Google App Script, are you selecting 'Anyone' as the access level? Additionally, which application are you using to load the playlist?

Google Deployment
gas_anyone

PlutoTV
PlutoTV

SamsungTVPlus
SamsungPlusTV

EPG Data seems to be updating as you can see here.

@Starslayer74
Copy link
Author

I did choose anyone on the deployment.

I'm using the Kodi IPTV-Simple addon from the official Kodi repo.

@dtankdempse
Copy link
Owner

Alright, I'll test my deployment with Kodi to see if I can reproduce the issue.

@dtankdempse
Copy link
Owner

dtankdempse commented Nov 20, 2024

Yeah, I loaded SamsungTVPlus, and while the channels and guide did load, they aren't playing. Honestly, if you're using Kodi, you should probably stick to the SlyGuy Addon. My script only converts Matt's Kodi Addons into M3U8 playlists, but his service was specifically designed for Kodi.

Here is the URL: https://github.com/matthuisman/slyguy.addons

Install Instructions: https://www.matthuisman.nz/2020/02/slyguy-kodi-repository.html

I haven't loaded these playlists into Kodi before, so I'm not sure why the streams aren't playing. I'll continue looking into it.

SamsungTVPlus Kodi
kodi

@Starslayer74
Copy link
Author

Thank you, I was able to get it working. I had tried the slyguy stuff before but had some issues, I was able to frankenstein something together using the stuff in slyguy with the EPG data from this project.

@Starslayer74
Copy link
Author

Yeah, I loaded SamsungTVPlus, and while the channels and guide did load, they aren't playing. Honestly, if you're using Kodi, you should probably stick to the SlyGuy Addon. My script only converts Matt's Kodi Addons into M3U8 playlists, but his service was specifically designed for Kodi.

Here is the URL: https://github.com/matthuisman/slyguy.addons

Install Instructions: https://www.matthuisman.nz/2020/02/slyguy-kodi-repository.html

I haven't loaded these playlists into Kodi before, so I'm not sure why the streams aren't playing. I'll continue looking into it.

SamsungTVPlus Kodi kodi

I decided to try out Channels DVR and I'm getting the shows but the EPG data isn't importing.... is there something I'm missing?

@dtankdempse
Copy link
Owner

I haven't used Channels DVR myself, do they let you manually enter an EPG URL? If they do, you can open the playlist in your browser to download it. The EPG URL will be displayed at the top of the playlist.

#EXTM3U url-tvg="EPG_URL_HERE"

@Fofer
Copy link

Fofer commented Nov 22, 2024

I haven't used Channels DVR myself, do they let you manually enter an EPG URL?

yes, they do:

SCR-20241121-sime

If they do, you can open the playlist in your browser to download it. The EPG URL will be displayed at the top of the playlist.

#EXTM3U url-tvg="EPG_URL_HERE"

Thanks for this, I was able to add Roku and Stirr to Channels DVR via this script. Much appreciated!

@Fofer
Copy link

Fofer commented Nov 26, 2024

As a Channels DVR user I can report that when I use the publicly shared URL for this script and the Roku source as an example, the file is recognized, and 163 channels are loaded into Channels DVR just fine. I'm also able to integrate the guide data via the tip above. However, I wish to follow your advice and deploy it as a Google Apps Script, rather than relying on the publicly shared URL long-term.

When I tried that, unfortunately, the resulting M3U URL doesn't work with Channels DVR as a custom source, the error reported is "invalid source url: malformed M3U provided."

I tried the long URL from my web app deployment, and I also tried with a tinyURL as the Github page suggested, adding the strings at the end as instructed to both. Neither worked. I get the same error with every attempt.

I noticed that the name of the downloaded file from the shared URL is roku.m3u8
and the name of the downloaded file deployed by Google Web App is echo.txt

Can that naming discrepancy explain the issue I'm experiencing? Since the contents of both files are identical.

Thanks for any feedback...

@dtankdempse
Copy link
Owner

@Fofer Open your deployed URL in a private browser window where you're not logged into Google. If it prompts you to log in, that's the issue. To fix it, redeploy the script and ensure you select 'Anyone' for the 'Who has access' setting during the deployment process. This will make the app accessible without requiring authentication.

If the channels load properly, the problem is likely with the Channel DVR not following the redirect when fetching the playlist. Let me know if that's the case, and I can add an option to download the file instead of just displaying it.

@Fofer
Copy link

Fofer commented Nov 26, 2024

Thanks! I could have sworn I selected "Anyone" when deploying, I watched the tutorial video closely. Alas, you're correct, I re-deployed and tried again, and now it's working. I appreciate the quick assist, and also for all the work you've done to share these great scripts. Much appreciated!

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

3 participants