An easy way for Channels DVR to watch YouTube Live vids

@jkister

Is there a way to string multiple together using @UserName like you can with video ID. I tried adding the & symbol between two. It didnt quiet work out. The example URL i was trying is https://kister.net/mpl/yt2m3u8?v=@SuperSimpleSongs&@msrachel . Or is linking to the @UserName can I only do 1 per source? Or to get multiples going do I need to make it a m3u file.
I figured I would try to get clarification before i spend a lot of time.

Should work if you Add a v= after that & sign and before the second username

https://kister.net/mpl/yt2m3u8?v=@SuperSimpleSongs&v=@msrachel

3 Likes

Awesome. Ill try making some playlist tonight.

Why doesn't this live channel work:

https://kister.net/mpl/yt2m3u8?v=t_WOTDtM9x8

Hmm, to test this out, I just added this channel, and it's working for me. Not sure why it isn't working for you. Anyone else?

What is "429 Too many requests" error I am getting?
Simply had to turn off vpn. Working fine now.

2 Likes

@jkister Want to thank you again for creating this.
I use it 15+ times/week and it works flawlessly.

Just gave hlstube the boot as it has become unreliable lately with 403 Forbidden errors on the same source that your method works perfectly on.

2 Likes

Should this livestream work? It has some special ascii characters in the title. Maybe it is puking on that. Also the description is super long. The error is Could not fetch playlist: kister.net...

:red_circle:LIVE Plane Spotting at Los Angeles International Airport (LAX) - YouTube

That's not a livestream anymore, it's a recording. The Kister Method only works with YouTube live videos.

Thanks for bringing this up. I've been having HLSTube issues for weeks and hadn't thought much about it, but setting up the Kister Method seems to have alleviated all of that!

That said, one of thing I liked with the HLSTube method was naming the stations and giving them custom logos. Is there any way to do that with the Kister method?

JP_ScreenShot_2023_08_16_$(hh}_20_35
Example Comparing HLSTube vs. Kister Stations

1 Like

hmm. not yet. it would get messy passing in data like that though because the extra data would have to be URL encoded. e.g spaces would have to be %20 and slashes %2F

so instead of grabbing the logo from the youtube stream, you'd want to specify a logo & tv-guide name on the URL like:
https://kister.net/mpl/yt2m3u8?v=@ai-peter,tvg-name=Family%20 Guy,logo=wherever.com%2Fyourimage.jpg

?

EDIT: edited just about everything

Yeah, something like that could work, except I think we'd also need to be able to do the logos like tvg-logo=%2Fdvr%2Fuploads%2F107%2Fcontent to use the uploaded images (not sure if we'd have to have the double quotes around that or not).

If you feel like going more/less crazy, the ability to add any valid m3u tag as a comma separated list could work just fine, too. For instance, instead of the custom variable ph=3600, just let users add tvc-guide-placeholders=3600.

ok so that's hooked in. not too well tested so if LMK if anyone who's been using this for a while has sudden weird issues with the guide.

I changed the channel names, so they're not the crazy yt2m3u8-8KGXSjtS5pk on the guide screen -- it now detects it from youtube.

it also allows much tags to be specified as comma-separated parameters that will override default behavior:

channel-id
channel-number
tvg-logo
tvg-name
tvc-guide-title
tvc-guide-description
tvc-guide-art
tvc-guide-tags
tvc-guide-genres
tvc-guide-categories
tvc-guide-placeholders
tvc-guide-stationid

each one also has a two or thee letter alias (so the url doesnt have to get too long). they're predictable, like channel-id = ci, channel-number = cn, tvc-guide-genres = tgg.

there's also a special logos tag that will set both tvg-logo and tvc-guide-art to the same value.

remember these parameters need to be url encoded. He has a URL Encoding Functions thing where you can paste a regular string and it gives you back the encoded.

you can get unexpected results duplicating channel-number and channel-id. don't do that.

https://kister.net/mpl/yt2m3u8?v=rxBBRLWF0mM,tn=My%20own%20guide%20name,tgl=https%3A%2F%2Ftinyurl.com%2Fzw9bd6mp

4 Likes

Cool, where would that be? On the TV client or in the web admin? I've already seen proper channel names on AppleTV in the guide. But where I'd really like to see them is in the web admin, in the Source channel listing:

and also in the Channel Collections page:

I also just refreshed the M3U, but don't see any changes. Am I looking in the wrong place?

odd, my source channel listing shows the new fancy names. I tried one of yours too:

maybe some sort of caching issue somewhere??? sounds lame but i'd give it a day.

or maybe create a new Source just for testing for a minute-- use the same URL (but different channel-numbers).... if they all show up right on your testing Source then it's just caching something somewhere and will probably auto-fix.

Yep, I didn't change anything, but when my m3u update ran it looks like it got some new names:

image

However, note the one at the bottom. Looks like the Live Stream went down at some point so it returned a "field", I guess?

My first test worked beautifully!

I put in one stream with an hourly guide, a name override, a guide title override, and a locally uploaded logo:

https://kister.net/mpl/yt2m3u8?v=@KittenAcademy,ph=3600,tvg-name=It's%20a%20Kitty%20Test,tvc-guide-title=Kitty%20Guide%20Test,tvg-logo=%2Fdvr%2Fuploads%2F102%2Fcontent

Everything came out exactly as expected and the station played normally:

image

image

I'll do some more messing around later and get things set up with a bunch of streams; I'll let you know if I run into any issues. So far, though, couldn't be happier!

As you can see, I didn't really try this, but I'm the type of coder who prefers long names, anyway. If there any limit to the tags that can be used?

1 Like

Okay, I did some more testing and had a blast getting things looking good. I ran into no issues whatsoever and even made my life a lot easier by creating a spreadsheet to put together the entire link for me.

Expand to see test results...

image

Click here to download an Excel spreadsheet to generate your own massively long Kister link...

1 Like

I made a bug while making code to account for the tvg-name being blank. heh. fixed.

no specific limits but there are two issues with all the data, #1 is eventually the url will be too long for the webserver to understand. #2 is adding too many &v= parameters will make Channels time out getting the data because my code takes too long to answer. but then a retry will work.

That's pretty cool. You scripted my script to script.

1 Like

Do you know how many characters that is? I could do something in the Excel to cut off and create a second link if that is the case. Also, I suppose I should get over myself and use the shortened tags if I want to limit the number of characters! :stuck_out_tongue_closed_eyes:

Do you know how many that is, as well? I could do something about that, too.

I have come to realize I have been waaaaay overthinking this!

I took a look at the m3u8 your website generated and I realized I could just put the same text directly in Channels. For instance, this is now my Custom Station lineup (mixing Kister/YouTube and other streaming stations):

#EXTM3U

#EXTINF:-1 channel-id="Cust80000" tvg-chno="80000" tvg-id="" tvg-name="" tvg-language="" tvg-logo="/dvr/uploads/102/content" tvg-country="US" tvg-url="" group-title="Animals",Providence Peregrine Live Stream
https://asori-hls.streamguys1.com/asori/live-500/chunks.m3u8

#EXTINF:-1 channel-id="Kister81000" channel-number="81000" tvc-guide-art="/dvr/uploads/103/content" tvc-guide-description="Enjoy the antics of rescued southern sea otters as they romp, tumble and wrestle live (7 a.m.-7 p.m. Pacific time) from the Monterey Bay Aquarium's Sea Otter Exhibit. Watch them participate in fun enrichment activities with artificial kelp, ice and other toys—it all helps keep them healthy and stimu" tvc-guide-placeholders="7200" tvc-guide-title="Live Sea Otter Cam - Monterey Bay Aquarium" tvg-logo="/dvr/uploads/103/content" tvg-name="Live Sea Otter Cam - Monterey Bay Aquarium",Live Sea Otter Cam - Monterey Bay Aquarium
https://kister.net/mpl/yt2m3u8?w=hHbp9hG61CQ

#EXTINF:-1 channel-id="Kister81001" channel-number="81001" tvc-guide-art="/dvr/uploads/107/content" tvc-guide-description="Discord: https://discord.gg/dragonballai -- (OPEN A TICKET ON DISCORD AFTER YOUR DONATION) -- Donations: https://streamlabs.com/dragonball_ai/tip -- Tiktok: Tiktok.com/@dragonball_ai -- AI generated Dragonball series. Topics through discord." tvc-guide-placeholders="7200" tvc-guide-title="AI Stream - Dragon Ball" tvg-logo="/dvr/uploads/107/content" tvg-name="AI Stream - Dragon Ball",AI Stream - Dragon Ball
https://kister.net/mpl/yt2m3u8?w=@dragonball_ai

#EXTINF:-1 channel-id="Kister81002" channel-number="81002" tvc-guide-art="/dvr/uploads/108/content" tvc-guide-description="" tvc-guide-placeholders="7200" tvc-guide-title="AI Stream - Family Guy" tvg-logo="/dvr/uploads/108/content" tvg-name="AI Stream - Family Guy",AI Stream - Family Guy
https://kister.net/mpl/yt2m3u8?w=@ai-peter

#EXTINF:-1 channel-id="Kister81003" channel-number="81003" tvc-guide-art="/dvr/uploads/111/content" tvc-guide-description="If there is nothing going on, you can rewind the stream up to 12 hours to see action. --  -- Is there something we should know about? Do you have a question for us? Email us at [email protected] or tweet at us @kitten_academy.  If you want to chat with us and the other viewers, there's a 24/7 chat" tvc-guide-placeholders="7200" tvc-guide-title="Kitten Academy" tvg-logo="/dvr/uploads/111/content" tvg-name="Kitten Academy",Kitten Academy
https://kister.net/mpl/yt2m3u8?w=@KittenAcademy

I think I was just missing the obvious that I could do a Kister link with the ?w= instead of the ?v= to get the video stream directly. With that in mind, I can just use that and put in all the m3u tags that I desire directly in Channels without having to burden your website or worry about character lengths and timeouts.

Thanks for doing all that, though; it helped me figure out what was going on and how to do it myself!

2 Likes