Closed doko-desuka closed 5 years ago
Im getting
Error Type: <type 'exceptions.ImportError'>
Error Contents: No module named lambdascrapers
Traceback (most recent call last):
File "/home/i/.kodi/addons/script.module.lambdascrapers/CleanupService.py", line 11, in <module>
from lambdascrapers import getAllHosters
ImportError: No module named lambdascrapers
Is this working for you as is?
I had to change line 32 from:
if line.split('.', 1)[1] in currentProviders:
to:
if line.split ('.')[-1].split('" ')[0] in currentProviders:
to get it to work.
@I-A-C thanks for testing, I was on a computer without Kodi.
1) It wasn't finding the lambdascrapers package, so loading it directly from the folder seems to work. 2) It uses the builtin XML module to parse the settings file now, it's more future-proof. New commit pushed.
Works great!!
Variation on that cleanup-service thing:
Note: needs testing.