Skip to content

Autoconfigure IPTV Simple Client fails #107

Open
@jimd80

Description

@jimd80

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!

Activity

peno64

peno64 commented on Mar 19, 2023

@peno64
Collaborator
jimd80

jimd80 commented on Mar 20, 2023

@jimd80
Author

@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!

peno64

peno64 commented on Mar 20, 2023

@peno64
Collaborator

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

jimd80

jimd80 commented on Mar 20, 2023

@jimd80
Author

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

peno64

peno64 commented on Mar 20, 2023

@peno64
Collaborator

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

cyr06

cyr06 commented on Apr 1, 2023

@cyr06

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

gbstan

gbstan commented on Sep 29, 2023

@gbstan

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

michielvg

michielvg commented on Oct 5, 2023

@michielvg

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

michielvg commented on Oct 5, 2023

@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

moeenio

moeenio commented on Oct 25, 2023

@moeenio

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.

peno64

peno64 commented on Nov 23, 2023

@peno64
Collaborator

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.

moeenio

moeenio commented on Nov 28, 2023

@moeenio

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

24 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Autoconfigure IPTV Simple Client fails · Issue #107 · add-ons/service.iptv.manager