service.iptv.manager icon indicating copy to clipboard operation
service.iptv.manager copied to clipboard

Autoconfigure IPTV Simple Client fails

Open bigjim80 opened this issue 1 year ago • 23 comments

I have a Nokia 8010 streaming box with Android 11. I did a fresh install with the latest Kodi. I exactly followed the installation guide for IPTV Manager When I try to autoconfigure IPTV Simple, I got a successful confirmation. However, IPTV Simple is not configured at all. I get the message EPG file path is not configured. This is the log when running the autoconfigure IPTV Simple: https://ibb.co/ThX4b9S

Any idea? Thanks!

bigjim80 avatar Mar 16 '23 11:03 bigjim80

See https://www.facebook.com/groups/kodivlaanderen for a work-around

peno64 avatar Mar 19 '23 19:03 peno64

@peno64 Thanks for the update! On Android 11 there is the additional issue that you can't perform this workaround. The dialog for choosing the paths in IPTV Simple does not allow you to browse to the Kodi data folder (I guess this is due to increased security on Android 11)

However I found that IPTV Simple is using a config file named "instance-settings-1.xml" instead of "settings.xml". IPTV Manager is writing into the last one.

I hope this can help for a bugfix.

I've renamed settings.xml to instance-settings-1.xml (overwrite) and now it works!

bigjim80 avatar Mar 20 '23 16:03 bigjim80

@bigjim80 On kodi 19 the used file is also instance-settings-1.xml and there it works so that is why I kept this name.

Overwriting this file could work also but is not something everybody can do...

peno64 avatar Mar 20 '23 17:03 peno64

Thx for the info! I mentioned the overwrite method just as another workaround. So the bug is that on Kodi 20 IPTV Manager adjusts settings.xml instead of instance-settings-1.xml

bigjim80 avatar Mar 20 '23 18:03 bigjim80

I have more the impression that both files are ok because I don't have to overwrite instance-settings-1.xml I just have to choose it...

peno64 avatar Mar 20 '23 19:03 peno64

I've renamed settings.xml to instance-settings-1.xml (overwrite) and now it works! works too thanks, I used : mv /storage/.kodi/userdata/addon_data/pvr.iptvsimple/settings.xml /storage/.kodi/use rdata/addon_data/pvr.iptvsimple/instance-settings-1.xml

This is on a fresh install of libreeelc 11.0.0 that comes with nexus with catchup TV plugin

cyr06 avatar Apr 01 '23 08:04 cyr06

@peno64 Thanks for the update! On Android 11 there is the additional issue that you can't perform this workaround. The dialog for choosing the paths in IPTV Simple does not allow you to browse to the Kodi data folder (I guess this is due to increased security on Android 11)

However I found that IPTV Simple is using a config file named "instance-settings-1.xml" instead of "settings.xml". IPTV Manager is writing into the last one.

I hope this can help for a bugfix.

I've renamed settings.xml to instance-settings-1.xml (overwrite) and now it works!

Same issue. The problem is that on embarked systems such as Google TV, you can't rename settings.xml to instance-settings-1.xml! What would be the workaround for setting Kodi and IPTV Simple on Google TV?

gbstan avatar Sep 29 '23 12:09 gbstan

Same issue. The problem is that on embarked systems such as Google TV, you can't rename settings.xml to instance-settings-1.xml! What would be the workaround for setting Kodi and IPTV Simple on Google TV?

@gbstan

I ran into the same issue as you. You can access the profile data via kodi itself (settings > File manager > Profile directory > addon_data > pvr.iptvsimple) and rename the files. I renamed instance-settings-1.xml to instance-settings-2.xml before renaming settings.xml to instance-settings-1.xml This gave me two 'enabled' configs for iptv ... so I removed the one were it was still looking for remote paths.

Hope this helped.

michielvg avatar Oct 05 '23 11:10 michielvg

By the way, my first idea was to look where the settings.xml gets created:

Here

        # Configure IPTV Simple
        output_dir = kodiutils.addon_profile()

If there is no add-onn object provided for the addon_profile() call it falls back to xbmcaddon.Addon(); seen that we have an addon object from earlier in the code and it is used to create the settings I wanted to try to add it to the call.

        # Configure IPTV Simple
        output_dir = kodiutils.addon_profile(addon)

I couldn't get the package installed on my chromecast to comfirm if this resolves the issue. And then I found the file manager in Kodi for the before described work around. So I gave up on installing a custom build.

Perhaps someone else can see if I was thinking in the right direction.

WKR

michielvg avatar Oct 05 '23 12:10 michielvg

By the way, my first idea was to look where the settings.xml gets created:

Here

        # Configure IPTV Simple
        output_dir = kodiutils.addon_profile()

I'm new to Kodi and as far as I understand, output_dir seems to be used in order to write the playlist and epg to the service.iptv.manager directory. Actual configuration of IPTV Simple seems to be done via addon.setSetting() which I assume writes to pvr.iptvsimple/settings.xml as a default.

locness3 avatar Oct 25 '23 20:10 locness3

I created an addon to fix the IPTV Manager installation issues. No more need to manually copy files or change permissions. The addon is doing it for you. See https://github.com/peno64/script.IPTVManager.Fix how to install and execute the addon.

peno64 avatar Nov 23 '23 13:11 peno64

@peno64 Thanks but please consider contributing a fix for this issue to IPTV Manager directly, if you can.

locness3 avatar Nov 28 '23 15:11 locness3

@locness3 Maybe with the knowledge I acquired during the development of the addon it can be done also on IPTV Manager directly. I will take a look at it.

peno64 avatar Nov 28 '23 15:11 peno64

I created a PR to integrate the work-around in the addon immediatly. @michaelarnauts can you approve the PR. For some reason the addon was still targeting pre-matrix versions. I also made a PR for this.

peno64 avatar Nov 28 '23 22:11 peno64

Nice.

locness3 avatar Dec 01 '23 23:12 locness3

The addon is updated but I have no idea how to push it to the standard kodi repo. @michaelarnauts can you provide me information how to do this?

peno64 avatar Dec 02 '23 16:12 peno64

Release v0.2.4 can be installed manually to have this fix

peno64 avatar Dec 02 '23 18:12 peno64

Release v0.2.4 can be installed manually to have this fix

No, it can't, because the dependancy xbmc.python version 2.26 can't be satisfied.

stemy2 avatar Dec 12 '23 21:12 stemy2

@stemy2 I guess you are on kodi 19 or newer. Did you then use the zip service.iptv.manager-0.2.4+matrix.1.zip ?

peno64 avatar Dec 12 '23 21:12 peno64

Ok, thanks. I installed the 0.2.4 and followed the procedure again, but it didn't fixed anything, the channels list in the TV section is still empty.

stemy2 avatar Dec 12 '23 21:12 stemy2

@stemy2 Did you open IPTV Manager such that it opens the settings, then in IPTV Simple, did you choose Configure IPTV Simple auotmtically and then in Channels did you choose Refresh channels and guide now and then restarted Kodi?

peno64 avatar Dec 12 '23 22:12 peno64

I forgot to reboot, it's working now.

stemy2 avatar Dec 12 '23 22:12 stemy2

Hello,

Just sharing my fix with the Nvidia Shield and the IPTV simple client was not working... The issue : the local file configuration m3u + epg was not configured and bigger issue, I could not explore the folders to point to the local folder through the kodi interface...

Solution : modify the instance-settings-1.xml file by hand using adb in order to add the m3u8 and epg file location. the solution is partially shared here for nvidia shield you just have to do it by hand... I recommend changing the settings first in the interface to point to a random file (so that you know then which lines to modify), Quit Kodi, recover your file through adb. modify it with your pc : special://userdata/addon_data/service.iptv.manager/playlist.m3u8 special://userdata/addon_data/service.iptv.manager/epg.xml

emilic14 avatar Mar 15 '24 09:03 emilic14