Kodi Community Forum

Full Version: IPTVSimple PVR-addon with XMLTV EGP
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2013-09-04, 07:26)afedchin Wrote: [ -> ]@traflaz,

Your m3u8 isn't stream and the xbmc can't play it as stream so this is reason why do not work urls like plugin://

I don't this is correct and XBMC does support it.
Here are two streams that works just fine with IPTVSimple:
http://audio.glz.co.il/glz-a-zixief.m3u8
http://audio.glgltz.co.il/glgltz-a-zixief.m3u8
The streams are basically the same as the one of traflaz, a dynamically update index of short ts segments.

https://developer.apple.com/library/ios/...cture.html
http://help.adobe.com/en_US/flashmediase...-8000.html

@traflaz,
Consider trying Gotham alpha7, it looks like it handles streams better than Frodo.
(2013-09-04, 09:24)dhead Wrote: [ -> ]I don't this is correct and XBMC does support it.
Here are two streams that works just fine with IPTVSimple:
http://audio.glz.co.il/glz-a-zixief.m3u8
http://audio.glgltz.co.il/glgltz-a-zixief.m3u8
The streams are basically the same as the one of traflaz, a dynamically update index of short ts segments.

https://developer.apple.com/library/ios/...cture.html
http://help.adobe.com/en_US/flashmediase...-8000.html

@traflaz,
Consider trying Gotham alpha7, it looks like it handles streams better than Frodo.
Alright, I upgraded to Gotham Alpha7. But still, no dice.

btw I know my links works because I can load the playlist, copy the link in the "main" playlist and play them it XBMC.

And I concur, I'm pretty sure you can have a link towards another m3u8 file. The two examples you give works. But I think the problem is on my server side. From the debug log, I can see XBMC opens my playlist correctly the first time, but tries again 10 times afterwards, with an error each time. Maybe it's a "keep-alive" type thing, I'll have to check this out.

If anyone has an idea, please let me know!

(2013-09-04, 07:26)afedchin Wrote: [ -> ]@traflaz,

This concept will not work because the pvr manager waits for an url of stream from addon or waits for the addon will handle stream. Your m3u8 isn't stream and the xbmc can't play it as stream so this is reason why do not work urls like plugin://

I'm not too sure I follow you. Are you saying "plugin://" links should work? I tried, they don't. Or maybe I don't have the right syntax....
@traflaz,
If I remember correctly m3u8 is supported through ffmpeg, so it may be related to ffmpeg version.
It worth trying a XBMC build with ffmpeg 1.2, I'm not sure which version is used in Gotham, if you've got a Raspberry Pi then you can try one of Rbej's builds.
On my machine I got my own build of XBMC with ffmpeg 1.2 (Arch Linux) so I could test your stream, but not before next week as I'm away due to holidays.
Is it just me or is there something wrong with the latest alpha7 build for iOS?
I updated my ATV2 with alpha7 and the PVR.Simple-iptv is still version 1.8.0 not 1.8.1, so my EPG is missing again Sad

Does anyone have a compiled version of the pvr addon for iOS Gotham?
(2013-09-02, 20:19)traflaz Wrote: [ -> ]...

So far, by snooping around the iplayer plugin code, I was able to dynamically generate a "iplayer.m3u8" playlist with php. As far as I can tell, the link I generate and the one created by the iplayer plugin is the same (except the authorization code thing of course).

But... it doesn't work. Confused And I don't know why, I'm stuck.

My "main" playlist:
Code:
#EXTM3U
#EXTINF:-1 tvg-shift=0 tvg-id="I56.2080.microsoft.com" tvg-name="BBC_One" tvg-logo="bbc_one" group-title="UK",BBC One
http://192.168.1.120/iplayer.m3u8
#EXTINF:-1 tvg-shift=0 tvg-id="I2.751869.microsoft.com" tvg-name="France_3" tvg-logo="france3" group-title="France",France 3
mms://wm.live.tv-radio.com/bouygues/all/channel2.wmv
#EXTINF:-1 tvg-shift=0 tvg-id="I40.751873.microsoft.com" tvg-name="i_Télé" tvg-logo="i_tele" group-title="France",i>Télé
http://chunk-output-1.live.tv-radio.com/canalplus/android/index/1200/02.m3u8

...

Tested with my own updated Gotham build on Linux that compiled with FFMPEG 2.0.1 (somehow I believed I had version 1.2).

The first stream doesn't work, the other two working flawlessly, I've used the m3u playlist as you provided with no changes.
Just to make sure I was playing the last stream (Télé) over 20 minutes and had no issue.
Has anyone complied a playlist of live channels and would like to share?
(2013-09-08, 01:00)dhead Wrote: [ -> ]
(2013-09-02, 20:19)traflaz Wrote: [ -> ]...

So far, by snooping around the iplayer plugin code, I was able to dynamically generate a "iplayer.m3u8" playlist with php. As far as I can tell, the link I generate and the one created by the iplayer plugin is the same (except the authorization code thing of course).

But... it doesn't work. Confused And I don't know why, I'm stuck.

My "main" playlist:
Code:
#EXTM3U
#EXTINF:-1 tvg-shift=0 tvg-id="I56.2080.microsoft.com" tvg-name="BBC_One" tvg-logo="bbc_one" group-title="UK",BBC One
http://192.168.1.120/iplayer.m3u8
#EXTINF:-1 tvg-shift=0 tvg-id="I2.751869.microsoft.com" tvg-name="France_3" tvg-logo="france3" group-title="France",France 3
mms://wm.live.tv-radio.com/bouygues/all/channel2.wmv
#EXTINF:-1 tvg-shift=0 tvg-id="I40.751873.microsoft.com" tvg-name="i_Télé" tvg-logo="i_tele" group-title="France",i>Télé
http://chunk-output-1.live.tv-radio.com/canalplus/android/index/1200/02.m3u8

...

Tested with my own updated Gotham build on Linux that compiled with FFMPEG 2.0.1 (somehow I believed I had version 1.2).

The first stream doesn't work, the other two working flawlessly, I've used the m3u playlist as you provided with no changes.
Just to make sure I was playing the last stream (Télé) over 20 minutes and had no issue.

Yeah, the first one shouldn't work for you. That link points to my sever, on my own LAN.
The last one, iTélé, is what I had in mind when I started this. But now I think I see the difference. In the debug log, you can see that ffmpeg takes care of it because of the mime-type passed (hls,applehttp and tsmpeg).... I think.
Code:
14:37:21 T:3740   DEBUG: PVRManager - PVR::CPVRManager::OpenLiveStream - opening live stream on channel 'i>Télé'
14:37:21 T:3740   DEBUG: opening live stream on url 'http://chunk-output-1.live.tv-radio.com/canalplus/android/index/1200/02.m3u8'
14:37:21 T:3740   DEBUG: PVRFile - XFILE::CPVRFile::Open - playback has started on filename pvr://channels/tv/All TV channels/10.pvr
14:37:21 T:3740   DEBUG: CDVDInputStreamPVRManager::Open - stream opened: http://chunk-output-1.live.tv-radio.com/canalplus/android/index/1200/02.m3u8
14:37:21 T:3740  NOTICE: Creating Demuxer
14:37:21 T:3740   DEBUG: ffmpeg[E9C]: Using network protocols without global network initialization. Please use avformat_network_init(), this will become mandatory later.
14:37:21 T:4396   DEBUG: Previous line repeats 1 times.
14:37:21 T:4396   DEBUG: ------ Window Init (DialogBusy.xml) ------
14:37:21 T:3740   DEBUG: ffmpeg[E9C]: Using network protocols without global network initialization. Please use avformat_network_init(), this will become mandatory later.
14:37:21 T:3740   DEBUG: Previous line repeats 1 times.
14:37:21 T:3740   DEBUG: ffmpeg[E9C]: [h264] Current profile doesn't provide more RBSP data in PPS, skipping
14:37:22 T:3740   DEBUG: ffmpeg[E9C]: [mpegts] Estimating duration from bitrate, this may be inaccurate
14:37:22 T:3740   DEBUG: CDVDDemuxFFmpeg::Open - avformat_find_stream_info starting
14:37:22 T:3740   DEBUG: ffmpeg[E9C]: [hls,applehttp] Estimating duration from bitrate, this may be inaccurate
14:37:22 T:3740   DEBUG: CDVDDemuxFFmpeg::Open - av_find_stream_info finished
14:37:22 T:3740    INFO: ffmpeg[E9C]: Input #0, hls,applehttp, from 'http://chunk-output-1.live.tv-radio.com/canalplus/android/index/1200/02.m3u8':
14:37:22 T:3740    INFO: ffmpeg[E9C]:   Duration: 00:00:00.14, start: 10682.791422, bitrate: 38 kb/s
14:37:22 T:3740    INFO: ffmpeg[E9C]:   Program 0
14:37:22 T:3740    INFO: ffmpeg[E9C]:     Metadata:
14:37:22 T:3740    INFO: ffmpeg[E9C]:       variant_bitrate : 0
14:37:22 T:3740    INFO: ffmpeg[E9C]:     Stream #0:0: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuvj420p, 480x270 [SAR 86:85 DAR 1376:765], 25 tbr, 90k tbn, 180k tbc
14:37:22 T:3740    INFO: ffmpeg[E9C]:     Stream #0:1: Audio: aac ([15][0][0][0] / 0x000F), 32000 Hz, stereo, fltp, 39 kb/s

Whereas in my case, it doesn't check. It seems like it just tries to open "iplayer.m3u8" as a video, which of course doesn't work. Also, the iTélé example is passing several segmented ts files, whereas I wanted to pass a single swf type link.

So close, yet so far.... Sad

I haven't tried with ffmpeg 2.0. Do you know if there's a windows build available somewhere? My testing machine is win7, and I don't want to mess with my xbmcbuntu setup.
(2013-09-09, 20:41)traflaz Wrote: [ -> ]Yeah, the first one shouldn't work for you. That link points to my sever, on my own LAN.

Yep, somehow I missed that Smile.

(2013-09-09, 20:41)traflaz Wrote: [ -> ]whereas I wanted to pass a single swf type link.

Did you tried to add a direct link to the stream in the m3u, like the following
Code:
rtmp://fms3.mediacast.co.il/liveradio playpath=102.stream swfUrl=http://radio.mediacast.co.il/players/fp325/flowplayer-3.2.5.swf?0.2779204686896638 pageUrl=http://face.mediacast.co.il/102fm/audio/
Or maybe this isn't possible as the link is dynamically created ?
I can't help much more as the BBC stream is geo-restricted.

(2013-09-09, 20:41)traflaz Wrote: [ -> ]I haven't tried with ffmpeg 2.0. Do you know if there's a windows build available somewhere? My testing machine is win7, and I don't want to mess with my xbmcbuntu setup.

I don't think you can find such build.
I tried today playing the Télé stream on my Raspberry Pi with the latest Rbej's Gotham build with no luck, it starting to play the stream but stuck on the first image.
I'll probably give it another look later this week on the Raspberry Pi with different builds.
You sure what your url is correct? It has space chars in random places. I think it should be urlencoded.
(2013-09-10, 08:55)dhead Wrote: [ -> ]Did you tried to add a direct link to the stream in the m3u, like the following
Code:
rtmp://fms3.mediacast.co.il/liveradio playpath=102.stream swfUrl=http://radio.mediacast.co.il/players/fp325/flowplayer-3.2.5.swf?0.2779204686896638 pageUrl=http://face.mediacast.co.il/102fm/audio/
Or maybe this isn't possible as the link is dynamically created ?
(2013-09-10, 15:08)afedchin Wrote: [ -> ]You sure what your url is correct? It has space chars in random places. I think it should be urlencoded.

Yes, if XBMC like this link in strm file it should like it also when it passed through iptvsimple. Smile

p.s.
IPTVSimple finally merged into Frodo, is this means we will have 12.3 ?

Any ETA on the feature "Set remote path for logos folder" ?
12.3... maybe, who knows...

As for remote path for logos I can't provide an ETA now. But as a temporary solution you can change the following line into resources/settings.xml
Code:
<setting id="logoPath" type="folder" label="30031" default="" />
to
Code:
<setting id="logoPath" type="text" label="30031" default="" />
And set remote path for logos (http://server/path/ with '/' at the end of path). I think this should work.

(2013-09-10, 15:36)dhead Wrote: [ -> ]p.s.
IPTVSimple finally merged into Frodo, is this means we will have 12.3 ?

Any ETA on the feature "Set remote path for logos folder" ?
Thanks afedchin, this does work nicely and it looks like XBMC also caching the images and doesn't redownload them.
(2013-09-10, 15:36)dhead Wrote: [ -> ]
(2013-09-10, 15:08)afedchin Wrote: [ -> ]You sure what your url is correct? It has space chars in random places. I think it should be urlencoded.

Yes, if XBMC like this link in strm file it should like it also when it passed through iptvsimple. Smile

A strm file, I haven't thought of that! But I tried it and still it doesn't work.

I can set my server as a video source, and the strm file will play without problems.
But with the IPTVSimple plugin there's still the same problem: I can't have a double playlist type setup. It seem the links in the main playlist needs to point directly to the media, not another playlist.

I'm seeing maybe two solutions here:
a) Tell the XBMC CPlayerSelectionRule "this is a playlist, reopen it". Not sure how to do that...
b) Add an option in IPTVSimple to read the content of .strm files instead of just passing the link. This is extra work for afedchin, which I wanted to avoid.

(2013-09-10, 08:55)dhead Wrote: [ -> ]Did you tried to add a direct link to the stream in the m3u, like the following
Code:
rtmp://fms3.mediacast.co.il/liveradio playpath=102.stream swfUrl=http://radio.mediacast.co.il/players/fp325/flowplayer-3.2.5.swf?0.2779204686896638 pageUrl=http://face.mediacast.co.il/102fm/audio/
Or maybe this isn't possible as the link is dynamically created ?
I can't help much more as the BBC stream is geo-restricted.

Yeah, your link works if I add it. Similarly, I can copy paste my link after generation and that works too. But only for a little while of course, then I need to generate a new one.
If you want to try without geoblocking, there's a plugin "somewhere" by Mikey1234.
Does anyone have tamil channels using IPTV?
hello,

where i can found compiled version for raspberry?

thanks in advance