OpenViX / vix-core

OpenViX Core plugin
GNU General Public License v2.0
16 stars 17 forks source link

Softcam config file locations #44

Closed EGGMANCAN closed 5 years ago

EGGMANCAN commented 5 years ago

If you use OpenATV then your oscam folder location is: /etc/tuxbox/config/oscam/ but if you use OpenViX then the location is: /usr/keys/oscam/ Can we support BOTH locations on OpenViX to prevent file/folder duplications?

Also on OpenATV your CCcam.cfg location is: /usr/keys/CCcam.cfg and OpenViX is: /etc/CCcam.cfg Can we add support for both locations?

EGGMANCAN commented 5 years ago

Would this work? SoftcamManager.py: line 232: if not path.exists('/etc/CCcam.cfg'): to if not path.exists('/etc/CCcam.cfg') or ('/usr/keys/CCcam.cfg'):

line 291: if selectedcam.lower().startswith('cccam') and path.exists('/etc/CCcam.cfg') == True: to if selectedcam.lower().startswith('cccam') and path.exists('/etc/CCcam.cfg') or ('/usr/keys/CCcam.cfg') == True:

ViX-Sicilian commented 5 years ago

Use the forum.

EGGMANCAN commented 5 years ago

Use the forum.

use the forum for what? why do we need 2+ directories for the same files? why does ViX have to use /usr/keys/oscam/ and OpenATV use /etc/tuxbox/config/oscam/? why not support both locations? it would be a simple fix...

AbuBaniaz commented 5 years ago

You are mistaken. We don't use the keys folder for Oscam.