kodi-pvr / pvr.iptvsimple Goto Github PK
View Code? Open in Web Editor NEWIPTV Simple client for Kodi PVR
License: GNU General Public License v2.0
IPTV Simple client for Kodi PVR
License: GNU General Public License v2.0
I use philips 50 android tv to stream.
only when I use live tv on kodi with the PVR IPTV SIMPLE
I get black screens once every 1 or 2 mins.
when I open the live tv trough add-ons with PVR IPTV SIMPLE off
I have no black screens and no issues but it is less comftable using.
This feature is really missing. Any chance it could be implemented?
Hi is there possible to implement function which will be able to use any external playlist with TV channels and to create customized favorite list of channels which have changed token? At the moment we can create our own group of channels but after restart of kodi this group disappears. Thats why my suggestion is to use just keywords from the link to remember the items in the list and just update this list with new links which have changed its tokens.
Hi, anyone know how the zapping channel is very slow? 10-15 sec.
List m3u with mpegts with hls it's good but some provider not allow.
Problem with all platoform
This client does not work with Kodi 17 or 18. There are no errors, it just won't load. OS Ubuntu 16.04. Just this 1 small indicator...
15:53:58.476 T:140559507248896 ERROR: ADDON: Dll PVR IPTV Simple Client - Client returned bad status (6) from Create and is not usable 15:54:00.992 T:140559507248896 ERROR: UpdateAddons - failed to create add-on PVR IPTV Simple Client, status = 6
Nevermind...Sry, just realized the IPTV site I had is down.
Can you please create a release tag (looks like it should be "v3.0.1" based on the contents of https://github.com/kodi-pvr/pvr.iptvsimple/blob/master/pvr.iptvsimple/addon.xml.in )?
That would really help distributions (in my case, Gentoo) package this add-on.
Thanks!
Hey,
When i try to assign tvg-id ( the same ID i.e) I have a chan in SD, and HD and want the guide data to come from the same XMLTV chan ID for both chans - it does not seem to work.
I like to make a feature suggestion, and that is the add a recording functionality into this PVR client addon.
The ability to "record to disk" from a user experince. In function be able act a DVR (Digital Video Recorder), to save individual video streams to local disk directory/folder. Preferably even save as video files in MPEG-TS (.TS) format just like real DVRs.
This ability to record can also add more features which have dependency on recording, like the ability to "Pause" and "rewind" Live TV if could add the possibility to continusly record to a series of temporary files in a look, again just like a read DVR.
All such a function is normally located and dependent in the PVR backend instead of the PVR client addon, but this PVR client addon is somewhat unique in that it connects to the content streams directly, streaming directly from, so it does not go through a third-party PVR backend which can bring such recording functionality. And in addition it would be very nice to have the ability for the video files to be saved locally directlly on an Android device instead of on the PVR backend.
Install button would not activate or enable...
kodi on android tv box.
how can i fix it?
Good morning folks.. I am a new kodi user and I was wondering is someone could assist me with an issue I am having everytime l login on kodi. I keep getting a pop-up window: " Setting Rytec EPG Downloader" I keep hiting ok but it keeps coming back. How can I stop this window from popping again next time I loging to Kodi... Thanks in advance
Ivan
I use those commands for building
BUILD_DIR=`pwd`
git clone --depth=50 --branch=Isengard https://github.com/kodi-pvr/pvr.iptvsimple.git
git clone --depth=1 https://github.com/xbmc/xbmc.git
cd pvr.iptvsimple ; mkdir build ; cd build
cmake -DADDONS_TO_BUILD=pvr.iptvsimple -DADDON_SRC_PREFIX=$BUILD_DIR \
-DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=$BUILD_DIR/xbmc/addons \
-DPACKAGE_ZIP=1 $BUILD_DIR/xbmc/project/cmake/addons && \
make || exit 1
And I got this error message:
[ 95%] Performing build step for 'pvr.iptvsimple'
make[3]: *** No targets specified and no makefile found. Stop.
CMakeFiles/pvr.iptvsimple.dir/build.make:107: recipe for target 'pvr.iptvsimple-prefix/src/pvr.iptvsimple-stamp/pvr.iptvsimple-build' failed
make[2]: *** [pvr.iptvsimple-prefix/src/pvr.iptvsimple-stamp/pvr.iptvsimple-build] Error 2
CMakeFiles/Makefile2:123: recipe for target 'CMakeFiles/pvr.iptvsimple.dir/all' failed
make[1]: *** [CMakeFiles/pvr.iptvsimple.dir/all] Error 2
Makefile:76: recipe for target 'all' failed
make: *** [all] Error 2
Thanks in advance.
If I am correct an incorrect time is displayed in the EPG.
For example. I have generated an EPG XMLTV as follows: http://epg.cheapwhisky.nl/guide.xml. You can see that for the most program information there is a UTC offset displayed:
<programme start="20150811133000 +0200" stop="20150811143000 +0200" channel="Sky Sport 1 HD">
All the information with a offset +0200
are grabbed from the source tvgids.tv
which is in a UTC offset of +0200. Which is correct. I am also located in UTC offset +0200 (CEST). So my Kodi will show me that the starttime/stoptime would not change.
I also grab some information from the source tvguide.co.uk
, like:
<programme start="20150811140000 +0100" stop="20150811150000 +0100" channel="YESTERDAY">
This source site is in UTC offset +0100. Which is one hour behind my local time. So the EPG should be added 1 extra hour to display it all correct. It seems like the IPTV Simple Client isn't adding this extra hour.
When using the addon going from stereo to dd5.1 channels everything works. But when doing the opposite from dd5.1 to stereo there are no sound on the stereo channels. You have to reset box to get stereo sound again. passtrough is enabled when this happens. Switching passtrough of, you have sound on all channels without problem but only stereo wich doesnt come in handy when you want to switch and watch movies inside kodi instead. Somehow addon does not switch audio streams properly. This is going from dd5.1 source to stereo source. Minix U1
Error log here: http://pastebin.com/2xSUGEcH
Currently using the addon settings slider we can adjust UTC offset between -12 and +12. Wikipedia states the range as -12 to +14 https://en.wikipedia.org/wiki/List_of_UTC_time_offsets
Hopefully an easy fix?
(I'm in New Zealand which is currently +13 due to daylight savings)
"This is unstable software! The authors are in no way reponsible for failed playings, incorrect EPG times, wasted hours, or any other undesired effects"
This is the message displayed in Kodi when I open the Simple IPTV through the addons list.
And that's true. Since a couple of days the addon started to play up. The list of channels is failing to load 1/3 times and guide is not loading for most of the time.
Has something been done to the plugin or maybe there was some changes in the Kod's addon architecture making the Simple IPTV unreliable?
Anyone knows what is going on?
Would it be possible to add the above functionality so that the logo specified in tvg-logo inside a m3u can loaded from a remote location ?
Thanks.
The crash happens with both 16.1 and 17.0 versions of Kodi and is easily reproducible: After two or three times switching the channel in full-screen mode, Kodi crashes with one of the attached core dumps.
When InputStream MPEG DASH is activated some streams cant be opened.
My playlist contains the following stream
EXTINF:-1 tvg-id="ZDF.de" tvg-logo="zdf.png",ZDF HD (IP)
kodi.log
23:55:35 4144.965332 T:1962205184 NOTICE: VideoPlayer: Opening: pvr://channels/tv/Alle Kanäle/pvr.iptvsimple_540930921.pvr
23:55:35 4144.965820 T:1343218592 NOTICE: Creating InputStream
23:55:35 4145.204590 T:1343218592 ERROR: AddOnLog: InputStream MPEG DASH: Could not open / parse mpdURL (http://zdf1314-lh.akamaihd.net/i/de14_v1@392878/master.m3u8)
23:55:35 4145.205078 T:1343218592 ERROR: CDVDInputStreamPVRManager::Open - error opening [http://zdf1314-lh.akamaihd.net/i/de14_v1@392878/master.m3u8]
23:55:35 4145.205078 T:1343218592 ERROR: CVideoPlayer::OpenInputStream - error opening [pvr://channels/tv/Alle Kanäle/pvr.iptvsimple_540930921.pvr]
23:55:35 4145.205566 T:1343218592 NOTICE: CVideoPlayer::OnExit()
23:55:35 4145.369629 T:1962205184 NOTICE: CVideoPlayer::CloseFile()
23:55:35 4145.369629 T:1962205184 NOTICE: VideoPlayer: waiting for threads to exit
23:55:35 4145.369629 T:1962205184 NOTICE: VideoPlayer: finished waiting
when i deactivate the addon for inputstream mpeg dash everything works fine.
i use libreelec milhouse build for kodi 17 "krypton" Apr 17 2016
Hello!
I tried to follow building instructions on main page for building zip file. Following instructions I managed to build zip. But then I managed to install it only on kodi on OSX. When I try to install it on iOS or Android I get " cannot install .zip from //path wher the zip is located" error.
Is there any differences in building zip for different platforms? What should I do to build zip for iOS, raspberry PI 2 (openElec)?
Thanks.
Hi,
Is there any way that i can add additional pvr.iptvsimple in kodi. Btw i'm using linux mint .
Thanks.
done everything as instructed, but still it complains, there is no "linux" folder there, only "windows" and "common"
-- No platform specific file /data/xbmc/project/cmake/addons/depends/linux/CMakeLists.txt found
CMake Error at CMakeLists.txt:400 (message):
pvr.iptvsimple: invalid or missing addon source directory at
/data/xbmc/project/pvr.iptvsimple
-- Configuring incomplete, errors occurred!
See also "/data/pvr.iptvsimple/build/CMakeFiles/CMakeOutput.log".
If the m3u file has the tvg-logo property with a full url this is not working as in the configuration you have to specify if logos come from a local folder or remote url, in case it's a remote you have to specify base folder of the logos, in this case as it's a full url it has the base url in it, the client should let you leave the base address blank and then use the full url provided by the m3u file and not concat the m3u file tvg-logo and the base adres you input.
Hi,
My M3U playlist contains media entries starting with plugin://
, like so:
#EXTINF: ...
plugin://plugin.video.zattoobox/?ext=PvrSync&cid=itv-1-london&mode=watch&id=itv-1-london
What I was thinking would happen is that IPTV Simple PVR would invoke the video plugin plugin.video.zattoobox
(which is present in my installation) and pass it the query-string parameters (which is what happens when the Kodi core itself encounters a URI like that).
What happens instead is that I get this error in the log:
XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.zattoobox/?ext=PvrSync&cid=itv-1-london&mode=watch&id=itv-1-london
Would it be possible for IPTV Simple PVR to handle plugin://
type of URIs?
For some background discussion on why this is needed, see this thread on the ZattooBox pull request thread: nancpasc/ZattooBox#17 (comment).
Thanks for your help.
Best regards,
Guido
Hello!
I'd like to ask, if multi m3u playlist is going to be merged with main addon?
It is very convenient for users with more than one m3u playlist sources.
Thanks!
Can you add support for EpisodeName via the xmltv file?
The value is in the sub-title field.
I was able to add support by doing the following in PVRIptvData.cpp
@@ -274,6 +274,7 @@
GetNodeValue(pChannelNode, "title", entry.strTitle);
GetNodeValue(pChannelNode, "desc", entry.strPlot);
GetNodeValue(pChannelNode, "category", entry.strGenreString);
+ GetNodeValue(pChannelNode, "sub-title", entry.strEpisodeName);
xml_node<> *pIconNode = pChannelNode->first_node("icon");
if (pIconNode == NULL || !GetAttributeValue(pIconNode, "src", entry.strIconPath))
@@ -715,7 +716,7 @@
tag.iSeriesNumber = 0; /* not supported */
tag.iEpisodeNumber = 0; /* not supported */
tag.iEpisodePartNumber = 0; /* not supported */
- tag.strEpisodeName = NULL; /* not supported */
+ tag.strEpisodeName = myTag->strEpisodeName.c_str();
tag.iFlags = EPG_TAG_FLAG_UNDEFINED;
And in PVRIptvData.h
@@ -41,6 +41,7 @@
std::string strPlot;
std::string strIconPath;
std::string strGenreString;
+ std::string strEpisodeName;
};
struct PVRIptvEpgChannel
Is there a way to increase the buffering even if cause a delay in live TV?
With the addon, the buffer is at 20% (see when pressing O)
On normal player with same url buffer is at 100%.
Hello,
I had created a topic on kodi forum a while with no solution (http://forum.kodi.tv/showthread.php?tid=208312), so I try here.
The addon generate a channel number like this : first channel in list is number 1, etc....
So you input "5" on your remote and the addon open the 5th channel in the list.
Sometimes, people know the channel numbers by heart (on your DSL box or DVB-T).
For example, BeinSport1 is number 46 on my DSL box but on the addon, it's 35 because it's the 35th channel on the list.
In the iptv m3u format, there's no tag to set the channel number.
Maybe in the channel name we could insert the channel number between two separators, I don't know.
What do you think ?
Thanks for your feedback.
regardless of the channel that one looks
reading cuts
would it be possible to quickly add a function loop player as on VLC?
please thank you
Hello, I've getting this error while starting kodi on arch linux. Is this some kind of source code problem or are there some missing build options?
15:31:15 T:140338486023936 NOTICE: PVRManager - starting up
15:31:15 T:140338364643072 ERROR: Unable to load /usr/lib/kodi/addons/pvr.iptvsimple/pvr.iptvsimple.so, reason: /usr/lib/kodi/addons/pvr.iptvsimple/pvr.iptvsimple.so: undefined symbol: IsTimeshifting
15:31:15 T:140338364643072 WARNING: UpdateAndInitialiseClients - failed to create add-on PVR IPTV Simple Client, status = 6
15:31:15 T:140338364643072 WARNING: UpdateAndInitialiseClients - failed to load the dll for add-on PVR IPTV Simple Client, disabling it
the AUR source:
https://aur.archlinux.org/packages/kodi-addon-pvr-iptvsimple-git
As noted here http://trac.kodi.tv/ticket/15918 please add a toggle switch or similar to avoid HEAD requests for crappy streaming servers. Thank you
I just noticed that the <icon-src>
from the XMLTV isn't working anymore in Kodi 15.1. IT did work in 15.0, but since 15.1 it doesn't work. I don't have any error output, but my settings are correct:
http://i.imgur.com/2uyA1SG.png
http://i.imgur.com/jcCH3yV.png
Where can I find the latest version to install on a Raspberry Pi with open elec? I have tried to compile / install the latest & it says dependencies missing, I suppose this is because it's not building for ARM, can any one share or explain how to compile project to use on a Raspberry pi?
Thanks.
please windows command for build
thank
could you explain to me how i can display and hide channel list while video playing on my own addon which is written using python not c++ ? I search a lot but couldn't find an example code on how to do it just like your own simple client addon! Looking forward for your reply.Thanks
Currently, this add-on automatically assigns a channel number based on increment.
See line 442 of PVRIptvData.cpp
channel.iChannelNumber = iChannelNum++;
This is problematic because now channel numbers cannot be synced in Kodi to be what they might actually be. For example, NBCSN is 1152 from my provider, but I cannot go to 1152 in Kodi because this add-on assigns some arbitrary channel number based on when it arrives in the M3U listing.
I propose a new M3U value be added, called "tvg-number" or something similar which takes the integer value of the channel number. Then line 442 could be changed to something like:
channel.iChannelNumber = tmpChannel.strTvgNumber;
Of course, I know it's not that simple as other things may be affected by that change, but it would be a large improvement for the add-on.
Hi,
I have an issue with version 1.11.2 of IPTV Simple Client - it isn't loading up channel logos at all both from a local folder and remote path. I wanted to install the Github version to see if it would work but don't know which folder to paste the files into. Would really appreciate it if you or someone else can guide me as to where the IPTV Simple Client folder is located so I can install the Git version. I've tried downloading the zip and installing from zip but it says the structure is incorrect.
Thank you.
Running Isengard 15 RC1.
The code in function ParseDateTime
seems not to consider time zones in EPG, as in <program start="20160727005000 +0200" etc..
` int PVRIptvData::ParseDateTime(std::string& strDate, bool iDateFormat)
{
struct tm timeinfo;
memset(&timeinfo, 0, sizeof(tm));
if (iDateFormat)
sscanf(strDate.c_str(), "%04d%02d%02d%02d%02d%02d", &timeinfo.tm_year, &timeinfo.tm_mon, &timeinfo.tm_mday, &timeinfo.tm_hour, &timeinfo.tm_min, &timeinfo.tm_sec);
else
sscanf(strDate.c_str(), "%02d.%02d.%04d%02d:%02d:%02d", &timeinfo.tm_mday, &timeinfo.tm_mon, &timeinfo.tm_year, &timeinfo.tm_hour, &timeinfo.tm_min, &timeinfo.tm_sec);
timeinfo.tm_mon -= 1;
timeinfo.tm_year -= 1900;
timeinfo.tm_isdst = -1;
return mktime(&timeinfo);
} `
I suggest to convert all times to UTC with a little algebric operation and then user can adjust ALL EPG times in user's interface with a single timeshift according to his time zone.
I really like this addon and its ui but since some channels are only available via sopcast or other and I find myself having http/rtmp streams in iptvsimple (where they should all belong) and the others live in my favorites folder like a bunch of outsiders :(
What I'm looking for is a way for this plugin to work for both so we can have different types of streams:
EXTINF:0, Unreachable TV FHD
rtmp://0.0.0.0:1234
EXTINF:0, PLUXOS TV SUFHD
plugin://plugin.video.player/?channel=9
Is this achievable? Could someone give me some guidelines?
Cheers.
Hello,
Is it possible to change the IGMP version the client is using ? Actually i see that an IGMPv3 is sent, and then after a few seconds an IGMPv2 (which works for me).
I am also wondering if it linked to the add-on or to Kodi, or it is an OS managed parameter (i think that's the answer)
Regards
i replied at this topic, http://forum.kodi.tv/showthread.php?tid=232072 problem is not only on android but also on windows for me.
i provided a log there, may i do something else?
Peppe
There are playlists that have full URLs in tvg-logo
:
#EXTM3U
#EXTINF:0 tvg-logo="http://example.com/logo.png",Example
udp://@233.252.0.1:1234
For those, there is no need to specify a base URL in settings. In that case however, the logos are not processed, since the plugin requires a base URL to be present (src/PVRIptvData.cpp
, lines 970-971):
if (m_strLogoPath.empty())
return;
I'm guessing that this requirement should either be less general or removed altogether.
Hi,
I'm using pvr.iptvsimple with Kodi 15.0 and I'm experiencing long timeouts when changing channels (10/12 seconds).
The problem is the same as reported here:
http://trac.kodi.tv/ticket/15918
I understand that fixing the IPTV server would be the correct way to fix that problem, but would be great if pvr.iptvsimple can have some override options configurable as reported in the kodi ticket:
b) pvr.iptvsimple should have a global option (that can potentially be overridden per playlist item using tags) for the MIME type, which could even default to video/mp2t since that's what real TV streams use. If someone wants to use the addon with any random collection of streams from the internet that are not MPEG-TS then that's their problem.
let me know if you need anything else
With kind regards
As far as I understand you couldn't have channels with tvg-shift=0
https://github.com/kodi-pvr/pvr.iptvsimple/blob/master/src/PVRIptvData.cpp#L422
Let me explain something: If your EPG for that channel have to be the same as it comes from the server you have to use tvg-shift=0
but if you are doing so, it becomes your global tvg-shift=1
.
Hi,
Could you please help me to build the add-on for kodi-15.2 .
The instruction from master branch works , but add-on cannot be loaded , seems due to this dep:
addon="xbmc.pvr" version="... (xbmc.pvr 1.9.6 is installed on kodi 15.2)
I did
git checkout origin/Isengard
And could not found the useful instruction for kodi-15.2
Please assist
I have this feature implemented on top of an old version of this addon - AndreyPavlenko/xbmc-addon-iptvsimple@45841de , but it's quite difficult for me to merge it into this addon.
Can we have this feature implemented in this addon?
good afternoon. kodi restarted in the playlist if there is mpegts feed
eg:
http://xxxxxxxxxx.eu/BBCEarth_HD/mpegts
http://xxxxxxxxxxxxx.eu/BBCWorld_HD/mpegts
if you disable the network at the start of the run.
then connect the network to make data cleanup in the TV menu, then everything will work until you restart.
Colud you tell me how to allow playing php redirected m3u8 urls for example:http://www.somewebsite.com/play.php?id=1234 that will redirect to real m3u8 such as http://www.externalwebsite.com/hls/video1234.m3u8?token=356888sfhjhdfuu ?currenyly your addon fails to play php urls that redirect to actual m3u8!
Can you fix PVRIptvData::GetCachedFileContents so it does not stat files that are on web and put some global error counter so it does not infinitely DDOS servers for XMLTV epg or for channel logos?
Let me explain, there are bunch of people who entered wrong XMLTV URL-s or URL-s which are not working anymore. Those URL-s stay in config and iptvsimple continues to download it for every channel every five minutes, and if there is a error it tries 2 more times. And it is doing that all day because Kodis are online nonstop (home media pc, R-pi,..).
In PVRIptvData.cpp LoadEPG(iStart, iEnd)
is called for every channel and it calls GetCachedFileContents
every time. If I have 500 channels, that is 500 GetCachedFileContents
. But there is only one XML EPG file. No need to call it 500 times, only 1 is ok.
If you call XBMC->StatFile(strFilePath.c_str(), &statOrig);
on URL, it will send HEAD request to server to see if file was changes. Server are usually missconfigured or URL is wrong. So I would make this quick fix (I'm not a C programmer, but you will get the idea):
if (bUseCache && XBMC->FileExists(strCachedPath.c_str(), false))
{
struct __stat64 statCached;
struct __stat64 statOrig;
XBMC->StatFile(strCachedPath.c_str(), &statCached);
XBMC->StatFile(strFilePath.c_str(), &statOrig);
bNeedReload = statCached.st_mtime < statOrig.st_mtime || statOrig.st_mtime == 0;
}
to
if (bUseCache && XBMC->FileExists(strCachedPath.c_str(), false))
{
struct __stat64 statCached;
struct __stat64 statOrig;
XBMC->StatFile(strCachedPath.c_str(), &statCached);
int a = (int)strFilePath.Find('://');
if( strFilePath.substr(0, a)=='http' || strFilePath.substr(0, a)=='https') // or ftp?
{
// Don't download if cache file is newer than 2 hours
// I don't know how to get current_time?, please fix this
bNeedReload = statCached.st_mtime + 7200 < current_time;
}
else
{
XBMC->StatFile(strFilePath.c_str(), &statOrig);
bNeedReload = statCached.st_mtime < statOrig.st_mtime || statOrig.st_mtime == 0;
}
}
This will solve problem of sending hundreds of HEAD requests to server every 5 minutes.
But the problem stays if server responses with error 404 or 503 or no response. File will not be cached. So GetFileContents
should remember failed URL-s and not use them for next day or more.
i want to install it on kodi (in gentoo), but i do not understand hot to make from this, an installable plugin(zip) file.
thanks :-).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.