Display MoreCodethe patcher only works successfully if my softcam.key file is in the path 0:/etc/tuxbox/config/ while the operation of the cmd line first indicates that the softcam.key file is not found in the oscamicam folder (which is logical, because softcam.key is not there) and then indicates that this file has been successfully patched)) everything is ok, the AFN package has started and works, but there is another problem, the channels encoded in biss do not open because the softcam.key file is not in the oscamicam folder, how in this case to make AFN patched and the channels encoded in biss opened ? alerts this message in the logs: "unable to resolve user address port, error: name or service not known"?
There are two possible solutions for decoding error:
- Convert your SoftCam.key file to UTF-8 and save it on the receiver. You can use Notepad++ on Windows or any other tool. See screenshot attached.
- Replace key_patcher.py line 161 fragment line.decode('utf-8')): with line.decode('utf-8', errors='ignore')):
Updated key_patcher.py attached.Hello
Is it possible to make this script for other forums?
Yes, sure. For which one, for example?
Posts by taras-ua
-
-
Code
the patcher only works successfully if my softcam.key file is in the path 0:/etc/tuxbox/config/ while the operation of the cmd line first indicates that the softcam.key file is not found in the oscamicam folder (which is logical, because softcam.key is not there) and then indicates that this file has been successfully patched)) everything is ok, the AFN package has started and works, but there is another problem, the channels encoded in biss do not open because the softcam.key file is not in the oscamicam folder, how in this case to make AFN patched and the channels encoded in biss opened ? alerts this message in the logs: "unable to resolve user address port, error: name or service not known"?
There are two possible solutions for decoding error:
- Convert your SoftCam.key file to UTF-8 and save it on the receiver. You can use Notepad++ on Windows or any other tool. See screenshot attached.
- Replace key_patcher.py line 161 fragment line.decode('utf-8')): with line.decode('utf-8', errors='ignore')):
Updated key_patcher.py attached.Hello
Is it possible to make this script for other forums?
Yes, sure. For which one, for example?
-
The script is running perfectly. Any idea why there are always 8 lines of eacht key at the end of SoftCam.Key ? Should 1 of each be sufficient ;-) ?
P FFFF0066 00 B381E9AAB6E0B2 ; added by PowerVU KeyPatcher 2023-09-25 20:02:52.310729
P FFFF0067 00 B381E9AAB6E0B2 ; added by PowerVU KeyPatcher 2023-09-25 20:02:52.311296
P FFFF0068 00 B381E9AAB6E0B2 ; added by PowerVU KeyPatcher 2023-09-25 20:02:52.311544
P FFFF0069 00 B381E9AAB6E0B2 ; added by PowerVU KeyPatcher 2023-09-25 20:02:52.311855
P FFFF006A 00 B381E9AAB6E0B2 ; added by PowerVU KeyPatcher 2023-09-25 20:02:52.312094
P FFFF006B 00 B381E9AAB6E0B2 ; added by PowerVU KeyPatcher 2023-09-25 20:02:52.312327
P FFFF006C 00 B381E9AAB6E0B2 ; added by PowerVU KeyPatcher 2023-09-25 20:02:52.312607
P FFFF006D 00 B381E9AAB6E0B2 ; added by PowerVU KeyPatcher 2023-09-25 20:02:52.312859
P FFFF0066 01 F905CC8E8D7808 ; added by PowerVU KeyPatcher 2023-09-25 20:02:52.313128
P FFFF0067 01 F905CC8E8D7808 ; added by PowerVU KeyPatcher 2023-09-25 20:02:52.313459
P FFFF0068 01 F905CC8E8D7808 ; added by PowerVU KeyPatcher 2023-09-25 20:02:52.313788
P FFFF0069 01 F905CC8E8D7808 ; added by PowerVU KeyPatcher 2023-09-25 20:02:52.314034
P FFFF006A 01 F905CC8E8D7808 ; added by PowerVU KeyPatcher 2023-09-25 20:02:52.314268
P FFFF006B 01 F905CC8E8D7808 ; added by PowerVU KeyPatcher 2023-09-25 20:02:52.314499
P FFFF006C 01 F905CC8E8D7808 ; added by PowerVU KeyPatcher 2023-09-25 20:02:52.314788
P FFFF006D 01 F905CC8E8D7808 ; added by PowerVU KeyPatcher 2023-09-25 20:02:52.315029
A second question is in respect to rebooting oscam. Doing so is very inconvient, because it will halt temporarily the connected local 2 clients. Tried to restart/reload only the emu-reader, but no succes... Is there another way to do this without disturbing the other viewers ? Do you run an other instance of oscam only serving the SoftCam.Key or ..... I'm curious to know.
The script uses specific channels only.
-
Maybe already mentioned before, but I run my own local oscam server on a Pi. Want to use this script, but you can't ftp to yourself ;-). Did anybody succeed in achieving this by adapting this script or can this script be adapted to we have an option like --local (yes/no). I'm not a (python) programmer so I can't do it myself
"but you can't ftp to yourself"
Definitely, you can :-) Use 127.0.0.1 IP as a localhost, or provide proper IP if FTP server runs on the dedicated interface.Ok, I will give it a try again. Will check if an FTP server is running (don't know yet). Maybe the login details used were not necessary.. Thanks for the help!
Script updated with argument --oscam-local true. Please download from the first message.
-
Maybe already mentioned before, but I run my own local oscam server on a Pi. Want to use this script, but you can't ftp to yourself ;-). Did anybody succeed in achieving this by adapting this script or can this script be adapted to we have an option like --local (yes/no). I'm not a (python) programmer so I can't do it myself
"but you can't ftp to yourself"
Definitely, you can :-) Use 127.0.0.1 IP as a localhost, or provide proper IP if FTP server runs on the dedicated interface. -
00: 3CA54111FC24FB
01: 36BCFF41BAA165
-
01: AB7E094DDEC7CE
-
00: 1BD8C11115650F
01: 41891915124A6F
-
00: B4DE27263CE269
01: EC0E16C5FF813E
-
00: 8E3CD601A802CA
01: D4C0BAE47F9A20
-
00: 09DEC80BF78BA7
01: 66799E85606E1C
-
-
I downloaded oscam.config from your post and in disablecrccws_only_for is added 0E00 for AFN as global. Try to change it
with some other softcam.key who must be also copied in oscamicam folder. But now you have problem with AU. I don't see the
reason why oscamicam can't make AU for AFN ? For watching skyde you must have some servers who will add in oscam.server
or what is better install freeserver plugin. I have installed oscam emu by samur v. 11718 im my image and it works both , AFN with AU
and skyde , but with freezes of picture. You decision is now , keep oscamicam or install oscam emu by samur.
In case you still do not have AU just try to add these lines at the end of your SoftCam.Key
Code
Display MoreP 90066 00 B5FE9DDAD3519C ;AFN|prime Atlantic - 9.0E 11804 V P 90066 01 EFEF64BC83EB3E ;AFN|prime Atlantic - 9.0E 11804 V P 90067 00 B5FE9DDAD3519C ;AFN|news - 9.0E 11804 V P 90067 01 EFEF64BC83EB3E ;AFN|news - 9.0E 11804 V P 90068 00 B5FE9DDAD3519C ;AFN|sports - 9.0E 11804 V P 90068 01 EFEF64BC83EB3E ;AFN|sports - 9.0E 11804 V P 90069 00 B5FE9DDAD3519C ;AFN|Prime Pasific - 9.0E 11804 V P 90069 01 EFEF64BC83EB3E ;AFN|Prime Pasific - 9.0E 11804 V P 9006A 00 B5FE9DDAD3519C ;AFN|spectrum - 9.0E 11804 V P 9006A 01 EFEF64BC83EB3E ;AFN|spectrum - 9.0E 11804 V P 9006B 00 B5FE9DDAD3519C ;AFN|sports 2 - 9.0E 11804 V P 9006B 01 EFEF64BC83EB3E ;AFN|sports 2 - 9.0E 11804 V P 9006C 00 B5FE9DDAD3519C ;AFN|family - 9.0E 11804 V P 9006C 01 EFEF64BC83EB3E ;AFN|family - 9.0E 11804 V P 9006D 00 DF7B04BE9F3242 ;AFN|movie - 9.0E 11804 V P 9006D 01 7E7CC83BA9756F ;AFN|movie - 9.0E 11804 V
And remove all lines like P 0009FFFF ....
-
01: DB5C4B945A8BDC
-
Code
the patcher only works successfully if my softcam.key file is in the path 0:/etc/tuxbox/config/ while the operation of the cmd line first indicates that the softcam.key file is not found in the oscamicam folder (which is logical, because softcam.key is not there) and then indicates that this file has been successfully patched)) everything is ok, the AFN package has started and works, but there is another problem, the channels encoded in biss do not open because the softcam.key file is not in the oscamicam folder, how in this case to make AFN patched and the channels encoded in biss opened ? alerts this message in the logs: "unable to resolve user address port, error: name or service not known"?
There are two possible solutions for decoding error:
- Convert your SoftCam.key file to UTF-8 and save it on the receiver. You can use Notepad++ on Windows or any other tool. See screenshot attached.
- Replace key_patcher.py line 161 fragment line.decode('utf-8')): with line.decode('utf-8', errors='ignore')):
Updated key_patcher.py attached. -
In the first screenshot, you have a typo in command pytho3 instead of python3.
Just try to run python3 --version
Codereceiver ustym4kpro operating system-enigma2 openATV 7.3 my oskam ikam version: 11725-V9-Kitte888-V26, also 11718-emu-icam from samur 0:/usr/script/ - this path does not run the command when the file "python3 key_patcher.py" is located here 0:/usr/lib/python3.11/ - this path also does not launch the command when the file "python3 key_patcher.py" is located here 0:/home/root/ - this is the only way to start the command when the "python3 key_patcher.py" file downloaded from the forum is here with the final result shown on the screen..
You should provide receiver FTP credentials in the command line if they differ from default root:
python3 key_patcher.py --ip 192.168.0.101 --login <FTP_LOGIN> --password <FTP_PASSWORD>
Be also aware that for receiver ustym4kpro you should set up login/password for FTP after clean image installation.
-
In the first screenshot, you have a typo in command pytho3 instead of python3.
Just try to run python3 --version
-
00: 28C03CC52B02FD
01: 92D35AFD824BE8
-
00: 9B4F8DFC650408
01: 586204155AFE5D
-
00: 6586537E6691A4
01: 09EB7E04FDAD2F