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.
@afedchin,
If I remember correctly your project is a 2012 one.
The xbmc-pvr-addons project will open on visual c++ express 2010 but missing 2 headers and zlib.lib.

p.s. why don't you downgrade the pvr api for v0.1.3, it looks to be working for me on windows and linux x86-64 (I got some channels update issues and it doesn;t work well with tvheadend).
(2013-05-11, 15:31)afedchin Wrote: [ -> ]
(2013-05-11, 09:55)Maniac Wrote: [ -> ]First you need to have Sdk installed, for windows its Visual Studio. Then the plugin needs to be compiled together with the xbmc source.
There was a tutorial on wiki, but I never managed to pull it off.

@afedchin, are we soon going to see any compiled versions that work nicely with 12.2?
The lastest version (0.1.1 or 0.1.2) of addon (link at the first page) works with 12.2 correctly. The bug with switching channels is xbmc's bug not addon's. Read this
My mistake is what I waited for the PVR api will be changed in 12.2, so 0.1.3 version works with 13.0 nightly builds but the version 13.0 have same bug with switching channels.

Thanks.

(2013-05-11, 08:29)numa001 Wrote: [ -> ]
(2013-05-03, 11:45)pedro01 Wrote: [ -> ]Yes, I know.

I have downloaded all files from github, unzip them, and and launch buildzip.bat.
In the generated zip, there is no DLL.

Where is my error ?

Same problem for me
You need to install the Visual C++ Express 2010. Please read README at github.

Visual C++ Express 2010 is installed on my PC
(2013-05-12, 18:04)numa001 Wrote: [ -> ]Visual C++ Express 2010 is installed on my PC
Please check that env variable %VS100COMNTOOLS% point to the valid tools directory or open the file project/VS2010Express/xbmc-addon-iptvsimple.sln with VC++ 2010 Express and complile solution. The dll will be placed into addons/pvr.iptvsimple folder.

Thanks.
Thank you, I managed to compile the extension but unfortunately I have an error message when I activate the addon:

Code:
07:17:26 T:412  NOTICE: PVRManager - starting up
07:17:26 T:3968  NOTICE: Thread PVR manager start, auto delete: false
07:17:26 T:3300  NOTICE: Thread PVR add-on updater start, auto delete: false
07:17:26 T:3300   ERROR: ADDON: Dll PVR IPTV Simple Client - Client returned bad status (6) from Create and is not usable
07:17:26 T:3300 WARNING: PVR::CPVRClients::UpdateAndInitialiseClients - failed to create add-on PVR IPTV Simple Client, status = 6
07:17:26 T:3300 WARNING: PVR::CPVRClients::UpdateAndInitialiseClients - failed to load the dll for add-on PVR IPTV Simple Client, disabling it
07:17:26 T:4972  NOTICE: Thread CAddonStatusHandler:pvr.iptvsimple start, auto delete: true
07:17:33 T:4380  NOTICE: Storing total System Uptime
07:17:33 T:4380  NOTICE: Saving settings
07:17:33 T:4380  NOTICE: stop all
07:17:33 T:4380  NOTICE: PVRManager - stopping
For android only exist version simple addPVR add-on 0.1.1 (pvr.iptvsimple.0.1.1.android-arm.zip, date Feb 24). Version 0.1.2 for android exist only as source to compile?
(2013-02-15, 23:39)Maniac Wrote: [ -> ]Image


Hey,

can your share your feeds, looks like exactly what I need Smile

Thanks
(2013-05-14, 18:55)numa001 Wrote: [ -> ]Thank you, I managed to compile the extension but unfortunately I have an error message when I activate the addon:

Code:
07:17:26 T:412  NOTICE: PVRManager - starting up
07:17:26 T:3968  NOTICE: Thread PVR manager start, auto delete: false
07:17:26 T:3300  NOTICE: Thread PVR add-on updater start, auto delete: false
07:17:26 T:3300   ERROR: ADDON: Dll PVR IPTV Simple Client - Client returned bad status (6) from Create and is not usable
07:17:26 T:3300 WARNING: PVR::CPVRClients::UpdateAndInitialiseClients - failed to create add-on PVR IPTV Simple Client, status = 6
07:17:26 T:3300 WARNING: PVR::CPVRClients::UpdateAndInitialiseClients - failed to load the dll for add-on PVR IPTV Simple Client, disabling it
07:17:26 T:4972  NOTICE: Thread CAddonStatusHandler:pvr.iptvsimple start, auto delete: true
07:17:33 T:4380  NOTICE: Storing total System Uptime
07:17:33 T:4380  NOTICE: Saving settings
07:17:33 T:4380  NOTICE: stop all
07:17:33 T:4380  NOTICE: PVRManager - stopping

I found the problem : V0.1.3 doesn't work with Frodo 12.2. It works only with Gotham Alpha version.
(2013-05-15, 07:48)numa001 Wrote: [ -> ]
(2013-05-14, 18:55)numa001 Wrote: [ -> ]Thank you, I managed to compile the extension but unfortunately I have an error message when I activate the addon:
I found the problem : V0.1.3 doesn't work with Frodo 12.2. It works only with Gotham Alpha version.
Yes, it is.

(2013-05-15, 06:24)peter200 Wrote: [ -> ]For android only exist version simple addPVR add-on 0.1.1 (pvr.iptvsimple.0.1.1.android-arm.zip, date Feb 24). Version 0.1.2 for android exist only as source to compile?
Currently, for android exists only one working version xbmcapp-armeabi-v7a-debug.apk and yes it is 0.1.1 version. As for the lastes version you need clone xbmc source, change VERSION and BASE_URL into xbmc/tools/depends/target/xbmc-pvr-addons/Makefile to this PR, and follow instructions to build xbmc for android.
No news about the possibility to access to Recordings and timers ?
I'm using this pvr on RPi - Rbey version. I have problem when switching channels. Sometimes changes ok, but more often I only hear audio with no video. After a few stop - play also video appears.
Does someone has this problem too?
(2013-02-17, 23:19)afedchin Wrote: [ -> ]Hi all. I'm the author of the IPTV Simple PVR-addon.

This addon base on pvr.demo addon but supports the m3u playlist and EPG in XMLTV format.

The lastest public build you can find at the first page of thread http://xbmc.ru/forum/showthread.php?t=3226 or here. There are versions for Window, Linux (32-bit and 64-bit). OSX (32-bit and 64-bit) and Raspberry PI.

Sources can be found at GitHub

The lastest version of addon supports:
1. m3u playlist in format (take a look at below):
Code:
#EXTM3U tvg-shift=3
#EXTINF:-1 tvg-id="id1" tvg-name="Channel_1" tvg-logo="logo1" group-title="Group 1",Channel 1
http://STREAMURL
#EXTINF:-1 tvg-id="id2" tvg-name="Channel_2" tvg-logo="logo2" group-title="Group 2",Channel 2
udp://STREAMURL
...
- tvg-id is value of channel id in EPG xml file. If the tag is absent then addon will use tvg-name for map channel to EPG;
- tvg-name is value of display-name in EPG there all space chars replaced to _ (underscore char) if this value is not found in xml then addon will use the channel name to find correct EPG.
- tvg-logo is name of channel logo file without extension (.png). If this tag is absent then addon will use channel name to find logo.
- tvg-shift is value in hours to shift EPG time. This tag can be used in #EXTM3U for apply shift to all channels or in #EXTINF for apply shift only to current channel.
- group-name is channels group name. If the tag is absent then addon will use group name from the previous channel.

2. Addon supports the EPG in XMLTV format
Code:
<?xml version="1.0" encoding="utf-8" ?>
<tv>
  <channel id="id1">
      <display-name lang="en">Channel 1</display-name>
  </channel>
  <channel id="id2">
      <display-name lang="en">Channel 2</display-name>
  </channel>
...
  <programme start="20130215080000 +0100" stop="20130215081500 +0100" channel="id1">
      <title lang="en">News</title>
  </programme>
  <programme start="20130215080500 +0100" stop="20130215083500 +0100" channel="id2">
      <title lang="en">Movie</title>
  </programme>
...
</tv>

In the future releases will be implemented support timers and posibility to pause stream.
If you have some questions about addon or how addon working then please ask me.

I'm looking for solution to how can I build add-on for iOS and Android.

You can support project.. Thanks.

Hi, Thanks for this wonderful addon, its just what i have been looking to manage my futubox playlist. I am having problems with displaying EPG. I have followed your example and still no luck. pleasehelp
(2013-05-25, 23:37)digitalp Wrote: [ -> ]Hi, Thanks for this wonderful addon, its just what i have been looking to manage my futubox playlist. I am having problems with displaying EPG. I have followed your example and still no luck. pleasehelp
Ok, let's try. Can you provide to me a short examples of your m3u playlist and xmltv?
Thanks for your reply Afedchin, after a lot of research and some hard work, i was able to resolve this issue. Thanks again for this addon.
Hi Afedchin, is it possible to change user agent of your add-on and how? Thank you
(2013-05-29, 12:32)dani12o82 Wrote: [ -> ]Hi Afedchin, is it possible to change user agent of your add-on and how? Thank you
Unfortunately, isn't possible. User agent is hard coded into xbmc.