I'm using 2 tvheadends in diferent pcs and trying to pass streams from one to the other using IPTV network. Everything works if i don't use authentication but i can't connect if i use a username and password created by me.
PC1 - tvheadend 4.3-1233 with dvb-c ( created a "test" username and password )
PC2 - tvheadend 4.3-1231 gets the streams from PC1 using automatic IPTV Network
On PC2 i created a new automatic IPTV Network, added the m3u file file:///home/badbyte/channels.m3u, the muxes are created ok.
this is how i have my m3u file
#EXTM3U
#EXTINF:-1 tvg-id="07be507d6b3f5200c60364796dda0958" tvg-chno="8",CMTV
http://test:password@IP:9981/stream/channelid/2102443527
When i force scan on PC2 this i what i get:
[ INFO] subscription: 0005: "scan" subscribing to mux "test", weight: 6, adapter: "IPTV #1", network: "abc", service: "Raw PID Subscription"
[ INFO] mpegts: test in abc - scan no data, failed
I tested using vlc on PC2 to connect to PC1 using the same m3u file and works fine. i can see in the log of PC1 that PC2 is login in using the "test" username and the stream is passed and everything works.
If i change my m3u file to this
#EXTM3U
#EXTINF:-1 tvg-id="07be507d6b3f5200c60364796dda0958" tvg-chno="8",CMTV
http://IP:9981/stream/channelid/2102443527
Tvheadend on PC2 can connect and receive the stream from PC1 without problems, i assume using the "*" username to login.
Is my authentication line wrong?
From what i see in other posts the line is suposed to be
http://username:password@IP:9981 but i can't get it to work for some reason.
Any ideas?