Win Unable to play catchup streams properly, whereas rewinding the live channel works
#1
Hi,

I wrote a proxy to access the IPTV channels and catchup service of my ISP provider, Movistar Spain, movistar-u7d, with flussonic enabled clients.

In the past, with older Kodi versions, I used a binary addon movistartv, which although it had some nice features, it also had lots of usability issues, which are completely gone with my proxy.

I use my proxy with regular flussonic clients like TiviMate and OTT Navigator IPTV, as well as VLC or mpv. All of them work without any trouble.

For Kodi plus iptvsimple I've adapted the m3u channel list, with all the KODIPROPS I found could be useful. Sadly, iptvsimple is unable to parse the same headers which work with those Android clients, namely:
 
Quote:#EXTM3U name="MovistarTV" catchup="flussonic" catchup-days=8 dlna_extras=mpeg_ps_pal url-tvg="http://192.168.1.1:8888/guide.xml"

Besides that, I can play live channels and rewind them but I'm unable to play a program directly from the catchup. Kodi simply hangs. I've had the most success with this m3u format:
 
Quote:#EXTM3U name="MovistarTV" catchup="flussonic" catchup-days=8 dlna_extras=mpeg_ps_pal url-tvg="http://192.168.1.1:8888/guide.xml"
#EXTINF:-1 tvg-chnum="1" tvg-id="2543.movistar.tv" group-title="IPTV - TDT Movistar.es" tvg-logo="http://192.168.1.1:8888/Logos/2543.jpg" catchup-source="http://192.168.1.1:8888/2543/{utc}-{duration}.ts",La 1 HD
#KODIPROP:inputstream=inputstream.ffmpegdirect
#KODIPROP:inputstream.ffmpegdirect.is_realtime_stream=true
#KODIPROP:inputstream.ffmpegdirect.mime_type=video/mp2t
#KODIPROP:inputstream.ffmpegdirect.stream_mode=timeshift
http://192.168.1.1:8888/2543/live
#EXTINF:-1 tvg-chnum="2" tvg-id="4455.movistar.tv" group-title="IPTV - TDT Movistar.es" tvg-logo="http://192.168.1.1:8888/Logos/4455.jpg" catchup-source="http://192.168.1.1:8888/4455/{utc}-{duration}.ts",La 2 HD
#KODIPROP:inputstream=inputstream.ffmpegdirect
#KODIPROP:inputstream.ffmpegdirect.is_realtime_stream=true
#KODIPROP:inputstream.ffmpegdirect.mime_type=video/mp2t
#KODIPROP:inputstream.ffmpegdirect.stream_mode=timeshift
http://192.168.1.1:8888/4455/live

Here you can see verbose Kodi logs, doing what I just described. I start playing a live channel, then I rewind it, all without issues. After that, I stop it and try to play a program from the catchup, in the same channel I had just played, at that point Kodi fails to play anything else until I force close it.

At some point in the past I was able to use Kodi 19 with iptvsimple sucessfully on Android TV, but I was never able to do the same on Windows. Right now I'm using a bare install with scoop on which I install only the iptvsimple addon.

If you have any ideas, I'd love to get it working well.
Reply
#2
I was able to edit my original post. I did not see the option earlier.
Reply
#3
You specify your channels as catchup but then force the inputstream into timeshift mode.

Just remove all the KODIPROPS and it should work. Also, for a catchup type of flussonic you should not specify catchup-source. Everything gets derived from the channel URL.

What from here does not work?
txt:

#EXTM3U name="MovistarTV" catchup="flussonic" catchup-days=8 dlna_extras=mpeg_ps_pal url-tvg="http://192.168.1.1:8888/guide.xml"
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#4
I wish that was true. I just checked all possible combinations again.

I first removed all KODIPROPS and playing live channels works but I cannot rewind. Playing a catchup program directly from the EPG still fails.

Then I reset the addon settings. Without enabling any catchup or timeshift option I get nothing but the live channels. The EPG does not even show the green color indicating catchup is available.

Enabling the catchup and set as Flussonic, changes nothing, it behaves as if I did not enable anything.

Setting it to Default, I get the green colors, but the result is the same. I still cannot rewind live channels and I cannot play any catchup program directly.

As I said earlier, the closest I got to a working state is by having all those KODIPROPS, plus enabling the catchup option in the addon settings, set to Default, enabling Playing from the EPG in timeshift mode and enabling the Timeshift option too. With all that then I can then watch live channels and rewind them. I can't find any way to play the catchup programs directly.

This is in Windows. I have to test again in Android and in desktop Linux where, at some point, I could play catchup programs too, although with often crashes.

There's something the addon does not like about the streams it gets from my proxy, but I cannot fathom what. I haven't checked the code itself, though. The weirdest part is with my current configuration I can play live channels and rewind them without any issue, it works fantastically, no crashes at all either.

Again, the curent m3u as is has offered the most compatibility with different clients so far. Both KODIPROPS and the catchup-source are there exclusively for Kodi. The other players I've tried are happy with the catchup="flussonic" header.
Reply
#5
I've now tried on Android TV too, on a Nvidia Shield.

I uninstalled Kodi and started fresh. I simply installed the iptv simple addon.

Without enabling any catchup in its settings, I see no catchup available. Enabling it and set to Flussonic, exactly the same. Setting it to Default, I see the catchup is available but I cannot play any catchup program, just like in Windows.

With the KODIPROPS in the m3u I can rewind the live channels, without them I cannot, only live viewing works. Whatever I try I still cannot play anything directly from the catchup.

With the KODIPROPS rewinding works like a charm, it is fast and it does not seem to hang from the quick tests I've done.
Reply
#6
Can you share an M3U/xmltv with me to test with? If you are ok with doing this and it’s not Geo locked (I’m in Ireland) I can see if I can get it to work.

I do remember there was an issue with some flussonic proxies in the past. If that’s the case it would be great to get it fixed wherever the problem lies.

Sharing via gitter.im is probably the easiest way (I have the same username) if you are ok with that.
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#7
I've sent you a PM.
Reply

Logout Mark Read Team Forum Stats Members Help
Unable to play catchup streams properly, whereas rewinding the live channel works0