Giter VIP home page Giter VIP logo

pvr.iptvsimple's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pvr.iptvsimple's Issues

black screens

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.

Favorite list

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.

Channel zapping slow

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

Kodi 18 Nightly/pvr.iptvsimple 3.0.2

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.

tvg-id - assigned to more than one channel

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.

[Feature Request] Record TV (DVR feature) save video stream to local disk

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.

Unable to install

Install button would not activate or enable...
kodi on android tv box.
how can i fix it?

Setting Rytec EPG Downloader

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

Does not build in Debian 8.3 (branch: Isengard)

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.

Incorrect time in EPG

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.

Sound BUG!

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

This is unstable software!

"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?

Inputstream Dash and IPTV Simple Client

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)

http://zdf1314-lh.akamaihd.net/i/de14_v1@392878/master.m3u8

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

.zip for iOS and OpenElec?

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.

Add second pvr.iptvsimple

Hi,

Is there any way that i can add additional pvr.iptvsimple in kodi. Btw i'm using linux mint .

Thanks.

does not build under Archlinux

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".

m3u tvg-logo not working with full url

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.

Zapping to a URI of type plugin://

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

Multi m3u playlist support?

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!

EpisodeName Support

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

Feature request: Setting buffering time.

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%.

channel number

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.

untimely break

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

pvr.iptvsimple.so: undefined symbol: IsTimeshifting

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

Latest version for ARM Openelec & Raspberry Pi

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.

How to display channel list while video playing on my own addon ?

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

Feature Request: Add a new `tvg-number` field in the M3U

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.

How do I install this on Android?

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.

Wrong times in EPG

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.

View channels of other stream types other than http/rtmp

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.

IGMP version

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

Base URL/path required for logos

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.

Slow channels zapping with some IPTV providers

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

build for kodi 15.2

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

GetCachedFileContents has hidden DDOS functionality

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.