OSCam.Maintainer
This package will scrap websites for C lines and parse them to your oscam.server
This was only tested on an rpi4 with libreelec 9.2
- Install .Net Core on your rpi4
- Activate 'Cron' on your rpi4
- Copy the files on the release to /storage/.kodi/userdata/addon_data/tools.dotnet-runtime/oscammaintainer
- Edit appsettings.json and configure URL's
~/.kodi/addons/tools.dotnet-runtime/bin/dotnet ~/.kodi/userdata/addon_data/tools.dotnet-runtime/oscammaintainer/OSCam.Maintainer.dll
crontab -e
(Paste)
50 23 * * * ~/.kodi/addons/tools.dotnet-runtime/bin/dotnet ~/.kodi/userdata/addon_data/tools.dotnet-runtime/oscammaintainer/OSCam.Maintainer.dll
51 23 * * * killall -9 oscam
Save and exit
crontab -l (just to make sure)
Wait for 23:51 and 'systemctl status cron' to check output
- Refactor for better code
- Create an API to add reader
File Location on rpi
/storage/.kodi/userdata/addon_data/tools.dotnet-runtime/oscammaintainer
/storage/.kodi/userdata/addon_data/service.softcam.oscam/config