Issue with session based iptv connections
Added by Callum B almost 2 years ago
Hey,
I'm really new to TVheadend so sorry if this is a dumb question.
I'm having an issue with some muxes that i got from the iptv-org github - https://iptv-org.github.io/iptv/countries/us.m3u
The muxes show 'scan result' as 'failed'
I looked into the failed m3u files and i noticed they all had some sort of session based authentication (this isn't a paid service so I'm guessing its some sort of guest session that is created when i pull the initial m3u8 file?)
I pulled a shorter playlist that has issues to make the issue easier to trouble shoot.
The playlist I'm pulling for testing is
https://iptv-org.github.io/iptv/subdivisions/us-ia.m3u
within that file two channels work on TVheadend
"WOIDT1.us" and "WQADDT1.us"
The other three do not work, the two PBS channels show 403 status codes when i visit in a browser (so I'm guessing those are server related issues)
The KCCIDT1.us channel does work in VLC when I enter the 'tubiprd01,Cloudfront-KCCI.m3u8' url, it does NOT work when I enter any of the streams shown within the tubiprd01,Cloudfront-KCCI.m3u8 file directly into VLC and Neither of the files work in TVheadend.
I've tried changing the user-agent in TVheadend to the same user-agent VLC uses but that didn't work.
So I'm assuming that the issue might be related to this part of the URL
jsessionid=5D7C323688E5F1GGDA3B32B2SGB21225.csm-e-cetubiausw2live204-0378fa1158e137135.csm.tubi.video
Does anyone know of any reason why this channel fails in TVheadend? or if there is any work around to allow these sessions to be created?
Replies (1)
RE: Issue with session based iptv connections - Added by Ron L almost 2 years ago
Use a pipe through ffmpeg for that one. Change your m3u to something like this....
#EXTINF:-1 tvg-id="KCCIDT1.us" tvg-logo="https://www.lyngsat.com/logo/tv/kk/kcci8_desmoines.png" group-title="News",KCCI-TV News Des Moines IA (720p)
pipe:///usr/bin/ffmpeg -loglevel fatal -i https://live-news-manifest.tubi.video/live-news-manifest/csm/extlive/tubiprd01,Cloudfront-KCCI.m3u8 -c:v copy -c:a eac3 -mpegts_flags system_b -metadata service_name="KCCIDT1" -f mpegts pipe:1
I change the audio to eac3 to keep Kodi happy. You may be able to get away with -c:a copy
PBS stations are generally geo blocked. Possibly to the extent they only work if you are in the same city.