Kodi Community Forum

Full Version: Use PVR-VuPlus add-onover Internet
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,
First thanks for this great plugin, I'm using it at home on a raspberry Pi 2 with a dreambox 500HD, it's working very well!! When we have a good connection to the box!

My problem is that I wanted to use the plugin over internet, so I use a linux server to transcode the stream of my DM500HD :

DM500HD --> Linux Server --> Raspi (Running Kodi)

Add-on ask for channels and everything to the linux server, and linux server transfer all http requests to DM500HD and when the command zap is received i start the stream using vlc :

cvlc -vvv --http-host=192.168.1.4 --http-port=8001 http://192.168.1.11/web/stream.m3u?ref=$CURRENT_SERVICE --sout "#transcode{scale=0.5}:http{mux=ps, dst=/$CURRENT_SERVICE}"

192.168.1.4 is my linux server
192.168.1.11 is the dreambox HD
$CURRENT_SERVICE is the service reference
(For now I'm only testing it on my local network)

When I change channel on Kodi the stream is started on the correct URL (I can check that it's working using vlc on another computer), but kodi does not seem to read the stream ....

Is there a problem for kodi reading this transcoded stream ?


PS : I checked that the PVR addon is configured with correct IP and correct streaming port

Thanks for any answer!
I just want to add something...

Looking at the logfile it seems that "CCurlFile" is trying to open URL just after clicking on channel....

---------------------------------------
19:36:24 82278.570312 T:1588589632 ERROR: CCurlFile::Stat - Failed: Couldn't connect to server(7) for http://192.168.1.4:8001/1:0:19:245A:440:1:C00000:0:0:0
19:36:24 82278.578125 T:1588589632 ERROR: CCurlFile::FillBuffer - Failed: Couldn't connect to server(7)
19:36:24 82278.578125 T:1588589632 ERROR: CCurlFile::Open failed with code 0 for http://192.168.1.4:8001/1:0:19:245A:440:1:C00000:0:0:0
19:36:24 82278.578125 T:1588589632 ERROR: Open - failed to open source <http://192.168.1.4:8001/1:0:19:245A:440:1:C00000:0:0:0>
19:36:24 82278.578125 T:1588589632 ERROR: CDVDInputStreamPVRManager::Open - error opening [http://192.168.1.4:8001/1:0:19:245A:440:1:C00000:0:0:0]

-----------------------------------------

How can I add some delay to make this process trying to open URL some seconds after ? I think after it should work...



Thanks
I've found a solution....

When I receive the zap command on the server, i start the stream and after 5 seconds I answer to the zap http request.... This cause kodi delaying the play of the stream giving the time to vlc to start the stream (with 2 seconds delay it's working).


If it can help somebody one day....