DOWNLOAD IPTV addon for Kodi 19 + only

Status
Not open for further replies.

FireTVGuru

Well-known member
VIP Member
Joined
Apr 15, 2021
Messages
110
Awards
4
Offline
hello, thanks for the plugin. it works perfectly on one subscription but I have a problem on a second subscription with the series only.
vod and live tv works
Do you have a solution to solve the problem?
here is the error in the logs
T:10128 INFO <general>: CPythonInvoker(68, C:\Users\laure\AppData\Roaming\Kodi\addons\plugin.video.iptvxc\default.py): script successfully run
2022-04-23 08:52:00.121 T:10128 INFO <general>: Python interpreter stopped
2022-04-23 08:52:01.492 T:11308 INFO <general>: initializing python engine.
2022-04-23 08:52:01.879 T:11308 WARNING <general>: xbmc.translatePath is deprecated and might be removed in future kodi versions. Please use xbmcvfs.translatePath instead.
2022-04-23 08:52:03.154 T:11308 ERROR <general>: Skipped 6 duplicate messages..
2022-04-23 08:52:03.154 T:11308 ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'TypeError'>
Error Contents: can only concatenate str (not "int") to str
Traceback (most recent call last):
File "C:\Users\laure\AppData\Roaming\Kodi\addons\plugin.video.iptvxc\default.py", line 805, in <module>
series_cats(url)
File "C:\Users\laure\AppData\Roaming\Kodi\addons\plugin.video.iptvxc\default.py", line 192, in series_cats
tools.addDir(cat['category_name'],player_api+'&action=get_series&category_id='+cat['category_id'],25,icon,background,'')
TypeError: can only concatenate str (not "int") to str
-->End of Python script error report<--
if you could message me I can better debug, reason being ill need a test line to test. Telegram @FireTVGuru
 

sedyo

New member
Joined
Sep 2, 2021
Messages
1
Offline
This is a fully working Kodi 19 IPTV addon, this will not work on 18 or below nor will I make it work. We should be moving forward not stuck in the past....

By default meta data is turned off go to - settings to turn on

Includes my AutoConfig for advanced settings (no need to guess it figures it out for you)

To set up the pvr tv guide go to - extras and either install simple pvr or set up guide if already installed and follow the prompts
This will also make a m3u for the guide even if your provider doesn't allow it ( and no they wont know your did )

Any issues or additions you want please let me know

Edit:
Updated to 3.1.2
fixed error when no meta is provided for some Series and VOD titles

Edit:
Updated to 3.1.3

fixed error when date is formatted incorrectly for catchup times

Edit:
Updated to 3.1.4

fixed error where series season numbers were left in the loop

View attachment 1762

Also dont obfuscate my addon and upload it here, ill just undo your work and add it to this thread....
File: *** Hidden text: cannot be quoted. ***
thanks
 

fonzy

New member
Joined
May 1, 2022
Messages
5
Offline
Hi FireTVGuru,

I'm new on this forum so first excuse me if I ask stupid/know questions.
I just would like to find a Kodi 19.xx plugin which work for IPTV, not only enigma but all other which propose M3U files containing :
- tv channels from all around the world,
- VOD in many languages
- Series in many languages

The M3U file is available via an http URL, login and password and is very big (~80 Mbytes)
The URL for the M3U should be configurable and the format is the following :
http://<Base URL[:port]>?username=<userName>&password=<password>&output=ts&type=m3u_plus

You will say that I can do it with PVR IPTV Simple Client, that's right, unfortunately, there is so many TV channels on the server that KODI finish to freeze when parsing the M3U ... I have to unplug my RPI4 then restart it ... !

What I would like is to filter the medias to import.
All the names of the medias contained in this M3U file are prefixed by the language code followed by the character "|" (pipe).
Ex: english TV ==> EN|
French movies ==> FR|
As there is all around the world medias, it represent a very big number of channels, movies and series to parse, that cause KODI to freeze.

So, I need to find a KODI plugin that can filter M3U to only get selected languages and not all.
By example, if I would like only french and dutch channel, I have to filter on this: "FR|" and "NL|".

As you made a pretty good plugin performing most of the work and as your'e open to suggestion, do you think possible to extend your plugin to make it compatible with my system (and by the way, for others members too) ?

For the rest, I'm Java developper, I don't know python but if I can help you anyway, it will be my pleasure !

Fonzy.
 

berkhornet

New member
Joined
Nov 17, 2021
Messages
9
Awards
1
Offline
Hi FireTVGuru,

I'm new on this forum so first excuse me if I ask stupid/know questions.
I just would like to find a Kodi 19.xx plugin which work for IPTV, not only enigma but all other which propose M3U files containing :
- tv channels from all around the world,
- VOD in many languages
- Series in many languages

The M3U file is available via an http URL, login and password and is very big (~80 Mbytes)
The URL for the M3U should be configurable and the format is the following :
http://<Base URL[:port]>?username=<userName>&password=<password>&output=ts&type=m3u_plus

You will say that I can do it with PVR IPTV Simple Client, that's right, unfortunately, there is so many TV channels on the server that KODI finish to freeze when parsing the M3U ... I have to unplug my RPI4 then restart it ... !

What I would like is to filter the medias to import.
All the names of the medias contained in this M3U file are prefixed by the language code followed by the character "|" (pipe).
Ex: english TV ==> EN|
French movies ==> FR|
As there is all around the world medias, it represent a very big number of channels, movies and series to parse, that cause KODI to freeze.

So, I need to find a KODI plugin that can filter M3U to only get selected languages and not all.
By example, if I would like only french and dutch channel, I have to filter on this: "FR|" and "NL|".

As you made a pretty good plugin performing most of the work and as your'e open to suggestion, do you think possible to extend your plugin to make it compatible with my system (and by the way, for others members too) ?

For the rest, I'm Java developper, I don't know python but if I can help you anyway, it will be my pleasure !

Fonzy.
I would suggest you use an m3u editor such as xeev. Some are free, others require a subscription. You will then have a manageable file for IPTV Simple client. Alternatively use the settings in IPTV Simple Client to only load the groups of channels you are interested in - see pvr.iptvsimple/README.md at Matrix · kodi-pvr/pvr.iptvsimple (github.com).
 

fonzy

New member
Joined
May 1, 2022
Messages
5
Offline
Hi berkHornet,
Thank you for your answer.

It's a good idea, unfortunately, Kodi connect directly to the server, if I should filter the m3u file, I have to put a deamon in Kodi which run one time a day to download the m3u, filter it then put it in a special folder where Kodi can grab it ... a little bit complicated isn't ?

For your second proposal, I will try, but I suspect that it will not work as to be able to filter the groups, IPTV Simple client need to load and parse the entire file ... and that's the problem: it can't cause the file is too big ...

The best is to have anything like this directly integrated in the plugin.
Anyway, I will try this second proposal tonight and come back with the results.
 

berkhornet

New member
Joined
Nov 17, 2021
Messages
9
Awards
1
Offline
The m3u editors are online tools and give you a new URL that only contains your filtered channels so no manual intervention is required. I use xeev which requires a small subscription but offer a 7 day free trial. You can easily disable groups of channels, disable specific channels within a group, edit channel names etc. There are also free online editors with similar functionality.
 

billy73

Member
Joined
Jun 4, 2021
Messages
29
Awards
1
Offline
Hi berkHornet,
Thank you for your answer.

It's a good idea, unfortunately, Kodi connect directly to the server, if I should filter the m3u file, I have to put a deamon in Kodi which run one time a day to download the m3u, filter it then put it in a special folder where Kodi can grab it ... a little bit complicated isn't ?

For your second proposal, I will try, but I suspect that it will not work as to be able to filter the groups, IPTV Simple client need to load and parse the entire file ... and that's the problem: it can't cause the file is too big ...

The best is to have anything like this directly integrated in the plugin.
Anyway, I will try this second proposal tonight and come back with the results.
Hi berkHornet,
Thank you for your answer.

It's a good idea, unfortunately, Kodi connect directly to the server, if I should filter the m3u file, I have to put a deamon in Kodi which run one time a day to download the m3u, filter it then put it in a special folder where Kodi can grab it ... a little bit complicated isn't ?

For your second proposal, I will try, but I suspect that it will not work as to be able to filter the groups, IPTV Simple client need to load and parse the entire file ... and that's the problem: it can't cause the file is too big ...

The best is to have anything like this directly integrated in the plugin.
Anyway, I will try this second proposal tonight and come back with the results.
I posted a program in .exe to convert an m3u into a .strm file which works under linux with mono... search in the thread Creates STRM-files from M3U8-file (win&linux with mono) for VOD.. for libreelec and coreelec you need the mono plugin. I have a functional one if you want to test
for live tv I posted IPTV-EDIT
 

NeoZ

New member
VIP Member
Joined
Feb 9, 2022
Messages
18
Offline
I bow down to the great and power FireTVGuru. Your a legend.
Been trying to figure this out for a long time and never had luck thank you so much.

So have you thought about a panel for this? I know one was in development previously for Kodi 18 and below but it dropped off after the Kodi 19 release.
Panel for what? It's kodi dude lol
 

Havic2u

Active member
VIP Member
Joined
Apr 15, 2021
Messages
286
Awards
3
Online
Panel for what? It's kodi dude lol
The panel is to manage the DNS so that it is totally hidden. The way it stands now you have to enter it or program it in the background. Either way that means that the DNS is exposed. Panel managed DNS would be safer.
 

Poncho

Owner
Staff member
Admin
Joined
Apr 5, 2021
Messages
1,691
Awards
5
Offline
The panel is to manage the DNS so that it is totally hidden. The way it stands now you have to enter it or program it in the background. Either way that means that the DNS is exposed. Panel managed DNS would be safer.
Ignore this fool pal
 

Poncho

Owner
Staff member
Admin
Joined
Apr 5, 2021
Messages
1,691
Awards
5
Offline
The panel is to manage the DNS so that it is totally hidden. The way it stands now you have to enter it or program it in the background. Either way that means that the DNS is exposed. Panel managed DNS would be safer.
18 panel was made and released bud, 19 is python 3 and I'd stopped using by this point so didn't develop.
FTG may be able too tho
 

ade2910

Active member
Joined
Aug 14, 2021
Messages
233
Awards
3
Offline
great add on hope ftg makes a panel it would be the icing on the kodi
 

WorldsElite

HELP WHEN I CAN
Joined
Jun 4, 2021
Messages
173
Awards
3
Offline
Working perfectly just created 8 version for multiple providers and working perfectly so far. Can't wait for the panel version
 

ade2910

Active member
Joined
Aug 14, 2021
Messages
233
Awards
3
Offline
have bought a panelled version of this just wish i could get hold of the panel as i use 2 dns and the panel version for kodi 19 is only single dns
 
Status
Not open for further replies.
Top