chapas / OsCamMaintainer

Update your oscam automatically

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Name

OSCam.Maintainer

Description

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 instructions

  • 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

Run it manually:

~/.kodi/addons/tools.dotnet-runtime/bin/dotnet ~/.kodi/userdata/addon_data/tools.dotnet-runtime/oscammaintainer/OSCam.Maintainer.dll

Schedule it with 'Cron':

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

Todo

  • Refactor for better code
  • Create an API to add reader

Hints

File Location on rpi
/storage/.kodi/userdata/addon_data/tools.dotnet-runtime/oscammaintainer
/storage/.kodi/userdata/addon_data/service.softcam.oscam/config

http://www.faalsoft.com/knowledgebase/448/oscamserver.html

About

Update your oscam automatically

License:MIT License


Languages

Language:C# 100.0%