cabernetwork / cabernet

Cabernet allows control of IPTV streams. Plugins supports DaddyLive, Pluto TV, XUMO, M3U/XMLTV.XML files (SamsungTV, STIRR, DistroTV, Plex TV)
https://cabernetwork.github.io
MIT License
154 stars 22 forks source link

Pluto + m3u plugins URL corruption... #129

Closed siliconhippy closed 5 months ago

siliconhippy commented 6 months ago

Continued from #127.

Edit: Jan 10'24: I am assuming here that Cabernet will autostart streamlink when configured with it- no systemd unit needed to enable/run streamlink?

  1. So after a week+ of effort, I diagnosed the problem with m3u8redirect streamtype only streaming. And streamlink-args having no effect.

Although I had installed Pluto.tv first and then m3u plugin, after Pluto.tv testing with m3u8redirect, I have found out that VLC shows m3u URLs to be also in Pluto RTP format:

http://IP:5004/M3U/watch/ch# with use of streamtype= streamlinkproxy.

A couple of Pluto TV channels got mixed up in this list (how?) and played fine under streamlinkproxy, with their RTP URLs: E.g.,

EXTINF:-1 channelID='5c12ba66eae03059cbdc77f2' tvg-num='0' tvg-chno='0' tvg-name='Pluto TV Cars 2' tvg-id='5c12ba66eae03059cbdc77f2' tvg-logo='https://images.pluto.tv/channels/5c12ba66eae03059cbdc77f2/colorLogoPNG.png' group-title='PlutoTV',Pluto TV Cars 2

https://cfd-v4-service-channel-stitcher-use1-1.prd.pluto.tv/stitch/hls/channel/5c12ba66eae03059cbdc77f2/master.m3u8?advertisingId=&appName=web&appVersion=unknown&architecture=&buildVersion=&clientTime=&deviceDNT=0&deviceId=unknown&deviceLat=40.8200&deviceLon=-74.4500&deviceMake=Chrome&deviceModel=Chrome&deviceType=web&deviceVersion=unknown&includeExtendedEvents=true&marketingRegion=US&sid=2AFFF0E6-A6C1-11EE-9069-AD32EBE3E77373&userId=

(But my original online m3u stream URLs are mostly HLS, including youtube live channels.)

  1. So I uninstalled the Pluto plugin, restarted, but /data/config.ini was still mixed up. So I rebooted, then cleaned up config.ini to remove all Puto references, and rebooted again.

Still I see the same RTP URLs in VLC for the m3u_default instance !

Using http://ip:6077/channels.m3u in VLC Network Stream, but VLC error window shows the above format RTP URLs, and not being resolved.

Your input can't be opened: VLC is unable to open the MRL 'http://IP:5004/M3U/watch/1'. Check the log for details.

  1. I uninstalled the M3U plugin, cleared all config,ini m3u references, re-installed m3u plugin only, typed in m3u online link, assigned streamlinkproxy, enabled, restarted, rebooted. But the m3u URLs still have the same RTP format as above , for all 252 channels !

Is there a cache issue that doesn't get fixed by restarts/reboots. Or coding error ? Or could this issue arise from special characters in m3u stream URLs, which need ' ' or " " for shell commands. But Python should be able to resolve these strings ?

stale[bot] commented 5 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.