alright. we've connected via ssh. I have some of these groups hidden on my libreelec's…
- User
alright. we've connected via ssh. I have some of these groups hidden on my libreelec's kodi 21, but they are still shown. i want to somehow reload this IPTV Simple Client so that it won't show channels from these hidden groups. What commands do I send there via SSH? Clear cache, something like that. Keep the settings, but make it reload everything with these settings as if this is new. It's OK to delete locally stored playlist. I just can't - these hidden (via System -> PVR and TV) groups are seen.
Assistant
Okay, let's try to get IPTV Simple Client to reload and respect your hidden group settings. Here's a step-by-step approach you can try via SSH, keeping your settings (as much as possible) and aiming for a clean refresh:
1. Stop Kodi:
This is crucial to prevent Kodi from interfering with the data manipulation and ensuring a clean restart of the addon.
systemctl stop kodi2. Remove the IPTV Simple Client's Cache and Stored Playlist:
This is the most likely culprit. IPTV Simple Client often caches playlist information. Deleting the cache forces it to reload the playlist based on your current settings (including the hidden groups). The cache directory might be in a different location, but it will always be inside Kodi's userdata directory.
Here are common locations, try the first and then the second if the first does not work, etc:
rm -rf /storage/.kodi/userdata/addon_data/pvr.iptvsimpleorrm -rf /home/kodi/.kodi/userdata/addon_data/pvr.iptvsimpleThis command recursively deletes the
pvr.iptvsimpledirectory and all its contents, effectively clearing the cache, settings cache and any local playlist stored there. If that doesn't exist, check for an older addon ID:rm -rf /storage/.kodi/userdata/addon_data/pvr.iptvsimple.gitor ```bash rm -rf /home/kodi/.kodi/userdata/addon_data/pvr.iptvsimple.git
**Important:** Double-check the path *very carefully* before running `rm -rf`. Mistyping could lead to deleting important Kodi data. You can use `ls -l` to list the directory contents before deleting anything to verify you're in the right place. For example: ```bash ls -l /storage/.kodi/userdata/addon_data/or
ls -l /home/kodi/.kodi/userdata/addon_data/Look for the
pvr.iptvsimpleorpvr.iptvsimple.gitfolder in the listing.3. Clear Kodi's Channel Data (Optional, but potentially helpful):
Kodi maintains its own channel database. Clearing this might help ensure everything is rebuilt according to the latest IPTV Simple Client configuration. This is a more drastic step, so try the above steps first.
rm -rf /storage/.kodi/userdata/Database/TV*.dbor
rm -rf /home/kodi/.kodi/userdata/Database/TV*.dbThis command will delete all files starting with "TV" and ending with ".db" in the Database directory. This removes Kodi's internal TV database, forcing it to rebuild when you start Kodi and IPTV Simple Client.
4. Restart Kodi:
After deleting the cache and/or TV database, start Kodi.
systemctl start kodi5. Wait for Kodi and IPTV Simple Client to Load:
Give Kodi a few minutes to start up and IPTV Simple Client to load and process your playlist. It will likely be slower than usual on the first start after clearing the cache.
6. Check Your Channels:
Go into the TV section of Kodi and see if the hidden groups are now properly hidden.
Important Considerations and Troubleshooting:
- Playlist URL: Ensure your playlist URL in IPTV Simple Client is still correct after the restart. It should automatically reload from the configured URL, but double-check.
- IPTV Simple Client Settings: While the cache is deleted, your main settings (playlist URL, EPG settings, etc.) should be preserved. However, it's always good to double-check them if things aren't working. Go to Add-ons -> My Add-ons -> PVR clients -> IPTV Simple Client -> Configure.
- Kodi Version: Although you're on Kodi 21, ensure IPTV Simple Client itself is up-to-date. Sometimes older versions have bugs related to group hiding. Update it via the Add-on browser if needed.
- Logging: If the problem persists, enable debugging in Kodi and IPTV Simple Client. This will create detailed logs that might give clues as to why the groups aren't being hidden. Post the logs on a Kodi forum for more specific help. The relevant logs are typically located in
/storage/.kodi/temp/kodi.logor/home/kodi/.kodi/temp/kodi.log. - Permissions: In rare cases, file permissions can be the issue. After deleting the cache, you could try changing the ownership of the
pvr.iptvsimpledirectory to thekodiuser, but this is usually not necessary. If you suspect permissions are the issue, let me know, and I'll provide the commands.
Summary of Commands (Safest to Most Aggressive):
systemctl stop kodirm -rf /storage/.kodi/userdata/addon_data/pvr.iptvsimple(or/home/kodi/.kodi/...)systemctl start kodi- (If still doesn't work)
systemctl stop kodirm -rf /storage/.kodi/userdata/Database/TV*.db(or/home/kodi/.kodi/...)systemctl start kodi
Remember to verify the paths carefully before using
rm -rf! Start with the least aggressive steps and work your way up if needed. Good luck!
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.