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.
(2014-01-08, 11:57)Maniac Wrote: [ -> ]v1.9.3
- added setting to disable cache m3u/epg
- added support <icon src=""/> for programme in epg
- added possibility to specify logo path as URL
- changed tvg-logo should contains full logo filename (with extention)
- changed don't try download xmltv if it doesn't load after 3 attempt.

Yay! Smile
How do we get to show this element in a skin? Is it saved under "plotOutline" or some other property?
It is saved under epg icon property. If a skin supports this then icon will be show at epg timeline or epg item info.

(2014-01-08, 17:47)fouad796 Wrote: [ -> ]anything about Regex expression , is it possible in m3u ?
I don't understand. How do you want use regex or for what?
+1 for the regex support,

Reason is for dynamic URLs, for example where you need to calculate some value
(2014-01-08, 18:09)badway Wrote: [ -> ]+1 for the regex support,

Reason is for dynamic URLs, for example where you need to calculate some value
Please, provide an example.
I personally use an IPTV provider who uses dynamic links, which means I need to query a page with my login details to get the latest url before I can use the video link.

thanks
(2014-01-08, 18:15)afedchin Wrote: [ -> ]
(2014-01-08, 18:09)badway Wrote: [ -> ]+1 for the regex support,

Reason is for dynamic URLs, for example where you need to calculate some value
Please, provide an example.

<item>
<title>Test</title>
<link>$doregex[rtmp] playpath=$doregex[path] swfUrl=$doregex[swf] pageUrl=http://castalba.tv swfVfy=true live=true timeout=10</link>

<regex>
<name>rtmp</name>
<expres>'streamer': '([^']*)<expres>
<page>http://castalba.tv/embed.php?cid=19045</page>
<referer> http://canhome1a.blogspot.com/</referer>
</regex>

<regex>
<name>path</name>
<expres>'file': '([^']*)<expres>
<page>http://castalba.tv/embed.php?cid=19045</page>
<referer> http://canhome1a.blogspot.com/</referer>
</regex>

<regex>
<name>swf</name>
<expres>'flashplayer': "([^"]*)<expres>
<page>http://castalba.tv/embed.php?cid=19045</page>
<referer> http://canhome1a.blogspot.com/</referer>
<agent></agent>
</regex>

</item>
we can have something like :

#EXTM3U
"^#EXT-X-STREAM-INF:-1,channel name ,rtmp='streamer': '([^']*) ,path='file': '([^']*) ,swf='flashplayer': "([^"]*)"
$doregex[rtmp] playpath=$doregex[path] swfUrl=$doregex[swf] pageUrl=http://castalba.tv swfVfy=true live=true timeout=10

this is just an non working example but we need the add-on to support the regex expression to get it working

a tutorial on regex
http://www.regular-expressions.info/tutorial.html and/or http://regexone.com/
@afedchin
Hi Anton,

Firstly, thanks a lot for your fantastic addon! It's exactly what I've been looking for.

A couple of questions/suggestions:

1. Both filmon links, and udp links of the type [number]/udp/[number] don't seem to work, although they are online and work in VLC. Is there a chance to make them work? Especially filmon would be a big win. Filmon links work smoothly in the f.t.v. plugin, so assume it's technically possible (?)

2. For radio, m3u8 but no m3u or pls playlists work (e.g. the BBC). Is there a workaround?

3. Is there a time frame yet for implementing a recording function? Smile

4. I'm using xbmc on ios, so right now, I'm relying on the precompiled addon coming with gotham alpha. Will the addon be automatically updated with future versions?

Cheers!
@afedchin; where to download latest version of pvr.iptvsimple 1.9.3.zip for windows? I am looking around and can`t find it....
(2014-01-08, 18:01)afedchin Wrote: [ -> ]
(2014-01-08, 11:57)Maniac Wrote: [ -> ]v1.9.3
- added setting to disable cache m3u/epg
- added support <icon src=""/> for programme in epg
- added possibility to specify logo path as URL
- changed tvg-logo should contains full logo filename (with extention)
- changed don't try download xmltv if it doesn't load after 3 attempt.

Yay! Smile
How do we get to show this element in a skin? Is it saved under "plotOutline" or some other property?
It is saved under epg icon property. If a skin supports this then icon will be show at epg timeline or epg item info.
Understand, but where is it saved in the epg database in xbmc? Is there a column called icon?
(2014-01-09, 11:58)Bayern Wrote: [ -> ]@afedchin; where to download latest version of pvr.iptvsimple 1.9.3.zip for windows? I am looking around and can`t find it....

Build it yourself or download a nightly after this PR will be merged.
@fouad79,
This is not trivial so I think it will not be soon implemented.

@dertyp0815,
1. Please, provide debug log file.
2. IPTVSimple addon positioning as very simple pvr addon without backend. Recording possible at the backend side only.
3. Yes, it will be automatically updated with future versions.

@Bayern,
Please, read my post at first page. There is the url there you can download lastest versions for windows https://docs.google.com/folder/d/0B42OdY...hYR0U/edit

@Maniac,
hm.. I've investigated the xbmc sources and didn't find where icon path stored. So, I think that icon doesn't stored into db.
(2014-01-09, 14:48)afedchin Wrote: [ -> ]@Maniac,
hm.. I've investigated the xbmc sources and didn't find where icon path stored. So, I think that icon doesn't stored into db.

I thinik this lines are not ok,for my version
Code:
CStdString strTitle;
    CStdString strCategory;
    CStdString strDesc;

    GetNodeValue(pChannelNode, "title", strTitle);
    GetNodeValue(pChannelNode, "category", strCategory);
    GetNodeValue(pChannelNode, "desc", strDesc);

    CStdString strIconPath;
    xml_node<> *pIconNode = pChannelNode->first_node("icon");
    if (pIconNode != NULL)
    {
      if (!GetAttributeValue(pIconNode, "src", strIconPath))
      {
        strIconPath = "";
      }
    }
I think this will work,And the evants Icons will be written from epg.xml for every title
Code:
CStdString strTitle;
    CStdString strCategory;
    CStdString strDesc;
    CStdString strIconPath;

    GetNodeValue(pChannelNode, "title", strTitle);
    GetNodeValue(pChannelNode, "category", strCategory);
    GetNodeValue(pChannelNode, "desc", strDesc);
    GetNodeValue(pChannelNode, "icon", strIconPath);

this is my atempt to see pictures from EPG,please @afedchin try something like this.
Excample of one EPG Title ,here is the adres of pictures icon src=
Code:
"<programme channel=""France Ô (Fr)"" stop=""20140110214100 +0100"" start=""20140110204500 +0100"">
<sub-title lang=""fr"">Knock with me - Rock with me</sub-title>
<desc lang=""fr"">Le voisinage est très choqué par la réaction de la police qui a....</desc>
<credits>
<director>Anthony Hemingway</director>
<actor>David Morse</actor
<writer>David Simon</writer>
</credits>
<category lang=""fr"">Série dramatique</category>
<[b]icon src=""http://tv.voila.fr/images/programmes/large/2014/01/08/17047455_169_42959064.jpg[/b]""/>
<episode-num system=""onscreen""> saison 3 - épisode 1/10</episode-num>
<video>
<aspect>16:9</aspect>
</video>
</programme>"
how can l watch iptv on apple tv1 l load xbmc and simple tv plugin but l dont know how to add m3u and other files pls help
Bought a MaaxTV for my parents who have come to stay with me. I wanted them to have an environment they were familiar with. They regularly watch Arabic shows and since they knew little English, I wanted them to watch the shows they were accustomed to seeing at home. But this was not to be. It is a very slow connection and they cannot see the Arabic programs because pictures come after a long time and truncated into parts which makes viewing impossible. Not only that, I have browsed through their channel bouquet and found out that not all channels are included.
Hello

I have the latest Gotham 13:11 I think, but i'm not able to find the IPTVSimple add on in the repositorys at all?

So decided to try the manual route, and when I try to compile the latest source from Github it makes and compiles but I get error on making the zip file.

I'm kind of stuck at the moment
Any ideas?
(2014-01-15, 00:15)Slaith Wrote: [ -> ]Hello

I have the latest Gotham 13:11 I think, but i'm not able to find the IPTVSimple add on in the repositorys at all?

So decided to try the manual route, and when I try to compile the latest source from Github it makes and compiles but I get error on making the zip file.

I'm kind of stuck at the moment
Any ideas?

you need to go to add-ons/enabled add-ons/pvr add-ons to find Iptv simple add-on