Jump to content


s3n0

Member Since 28 Dec 2016
Offline Last Active Today, 09:43
-----

#1484696 Favourite channel

Posted by s3n0 on 24 September 2022 - 17:13

As @WanWizard wrote before me - the right question is how did you turn off your set-top box. Do you mean the power switch on the set-top box ? Or did you simply switch the set-top box to standby mode with the help of the RCU (with the help of Enigma2 / GUI) ? Or another way to turn it off - for example, through a terminal connection or through the OpenWebif interface ?

 

It also depends on what or what style you have edited your list of favorite channels. Did you edit this channel list directly in Enigma2 / GUI, with the help of RCU ? If so, this list is saved only during certain events. Otherwise, the list remains only in the data area of the Enigma2 memory, but not on the internal disk. If I'm not mistaken, only when you use the standby mode of the set-top box, only then is the modified list of your channels saved on the internal disk.




#1484520 Favourite channel

Posted by s3n0 on 24 September 2022 - 10:10

What do you mean by "thanks" ? :)

 

Write how you proceeded... or what exactly you want advice on - helping with some app ? editing files in a text editor ? or what exactly you want help with ?

 

Or have you already solved it ? :P




#1479240 delate language

Posted by s3n0 on 6 September 2022 - 09:23

And this wouldn't work ? - https://forums.openp...e-2#entry309825

 

I don't have time to look at the current OpenPLi source code right now, but maybe it's already fixed... so that after deleting the unnecessary .po files (language translation) as well as .png files (country flag), the OpenPLi system doesn't crash.

 

Normally, it would be enough to delete unnecessary languages from:
/usr/share/enigma2/po/ --- for languages
/usr/share/enigma2/skin_default/countries/ --- for flags
...but then probably OpenPLi won't boot... from what I've read in other discussions on the internet. So I don't know if the OpenPLi code has already been modified so that it doesn't freeze after deleting the mentioned files.

 

BTW, when I searched the OpenPLi discussion forum, there are a lot of questions about deleting unnecessary language translations. However, OpenPLi has language translations hardwired into the code. It is therefore necessary to modify the entire code (if it still hasn't happened) so that OpenPLi does not freeze, after deleting unnecessary translation files (.po) and also images with flags (.png).




#1478336 Adding an init script ..

Posted by s3n0 on 2 September 2022 - 14:28

Yes. "Init.d" script is not a standard script, but a script that requires input argument processing. In the case of Enigma2 distributions in lightweight Linux systems, at least the following arguments (parameters) are used:

start | stop | restart

 

The "start" argument is sent to the "init.d" script when a specific service run through init.d is starting (for example, when booting a Linux system).

The "stop" argument is invoked when the Linux system reboots / shuts down. Therefore, these basic arguments (parameters) must be captured there.

 

In some cases, the return value (error code) from the "init.d" script also plays an important role ! Be careful, don't confuse it with the "status" arguments for the init.d script. If "status" argument is requested through some "init.d" script, then the return values represent the "status code" of the service, and they are different codes than in the case of "exit code".

 

Many additional arguments for "init.d" scripts, in the case of Enigma2 set top boxes, are not needed or are not implemented (it varies depending on which Linux system is used and whether it is a light version or a full version of the Linux system).

 

You can find more information on the internet... for example, here:

https://refspecs.lin...niscrptact.html

https://www.novell.c...ml/ch13s04.html

 

With some script-examples:

https://bash.cyberci...ide//etc/init.d

https://unix.stackex...d-start-at-boot




#1476564 nCam

Posted by s3n0 on 24 August 2022 - 21:52

Ok
But usr/script I can't find it!

Inviato dal mio SM-G990B utilizzando Tapatalk

 

 

Hi.

 

You can use my universal softcam "init.d" script :) ... if you really can't find it in the IPK package :).

 

CODE: https://github.com/s.../master/softcam

RAW: https://github.com/s.../master/softcam

 

In my script, you have to modify several variables (they are located at the beginning of the script, after the instructions) - for the NCam.

 

Edit the name of the binary file according to the one you have in the /usr/bin folder - probably ncam (instead of oscam). So in my softcam script you modify the binary name variable (BINFILENAME), so that it refers to the binary name "ncam" instead of "oscam".

 

Do not forget to assign startup attributes (chmod a+x /directory-path/file). For binary file (in the /usr/bin folder) and also for the script (in the /etc/init.d folder)

 

Ncam uses the default configuration directory /var/tuxbox/config and not /etc/tuxbox/config/oscam. If you want to change the default configuration directory, then you use an additional argument in the adjustable parameters (BINARGS) in my softcam script:

BINARGS="-b -r 2"

...to the following (as example):

BINARGS="-b -r 2 -c /etc/tuxbox/config/ncam"

 

NCam also uses ncam.* configuration file names (e.g. ncam.conf) rather than OScam's oscam.* (e.g. oscam.conf).

 

How to install the softcam script is stated directly in the guide - inside the softcam script, at its beginning.

 

The name of the script-file in the /etc/init.d folder, I recommend renaming it from softcam to softcam.NCam and activating / running it via Enigma2 / GUI. Another symbolic link to /etc/init.d/softcam will then be created, and you do not have to create a "run-level" launcher according to the instructions in my script - by creating a special symbolic link to the /etc/rc3.d folder.




#1452321 Bootlogo (splash_cfe_auto.bin / splash_cfe_auto.bmp)

Posted by s3n0 on 19 May 2022 - 09:01

Hi all.

 

The guy had OpenATV installed and this Enigma2 (this OpenATV) unfortunately overwrites the original Splash Screen with a new one, produced in the OpenATV team.

 

But that doesn't mean we can't help this guy :). There is a problem with the set-top box, not with the Enigma2 itself.

 

In the case of my Vu+ Solo SE V2, I can't use 720x576 resolution because the bootloader doesn't read this image size. I don't know why I have to use a resolution of 720 x 480 and consequently, this image is automatically stretched to a different resolution.

 

I haven't detected a bootloader algorithm principle, but it's probably checking the correct file size. If it is incorrect, it will not be displayed at all. If the file was smaller (850 kB), it was not displayed at all. Instead of a splash-screen, I only saw a black screen. However, if the image was around 980 kB - 1100 kB, then it worked.

 

Step by step:

 

1. you need a BMP-image (.bmp file)
2. it should have 720x480 resolution and 24 bit colors (RGB = 3 x 8 bit, no "Alpha" byte)
3. when the BMP image is ready, it must be renamed to the file name "splash_cfe_auto.bin"
4. copy the file to a USB key (FAT32 formatted) in the following folder, depending on the shortcut name of your set-top box:

"/vuplus/your_box/"
(example: "/vuplus/solose/splash_cfe_auto.bin")

A note:

Of course, just use this one splash....bin file ! Do not use the firmware file ! Otherwise, the entire firmware would flash into the set-top box again :).
5. You can now flash your set-top box from the USB key as usual when flashing the set-top box

 

If you want ... you can try my boot splash-screen. Unfortunately, my original Vu+ splash was also deleted / replaced when flashing the OpenATV image. Therefore, I use this alternative (new) logo for my Vu+ device. BTW, the directory on the USB key, must be renamed according to your set-top-box name.

Attached Files




#1431397 Softcam script

Posted by s3n0 on 18 February 2022 - 17:21

Exactly so.

 

Enigma2 usually takes into account and checks the script files /etc/init.d/softcam and /etc/init.d/softcam.<softcam-name>

 

The original "init.d" script apparently changed during the Enigma2-OpenPLi update. If you use Oscam installed as an IPK from the OpenPLi feed server, then with the new Oscam version, this softcam script will also be overwritten (or will be added) as the new updated "init.d" softcam script.

 

So... the new "init.d" script will be added to Enigma2 again, after Enigma2 updating, and there will be two "init.d" softcam scripts :) (one of your own and one original after its update), for the same Oscam.

 

It would be better to use the manual Softcam installation method. Do not use the IPK package to install Softcam. And you will solve your problem. See also my instructions, in my softcam script: https://github.com/s3n0/e2scripts (because I don't want to describe the whole thing here again ... sorry). In this case, you don't even have to rename this file ... you can leave the name "softcam". It will not be updated by Enigma2 and therefore will not be overwritten by a new - ie updated script.




#1418398 Terminal in OpenWebif

Posted by s3n0 on 9 January 2022 - 09:22

It can be installed... normally you can install the original OpenWebif from the GitHub server.

 

As the first, when Enigma2 is stopped (which you stop with the init 4 command in the linux shell), you need to uninstall the OpenWebif - through the package manager (opkg in the linux shell). Then, through the package manager, you will disable updates from the feed (opkg flag hold enigma2-plugin-extensions-openwebif), just for this OpenWebif, so that your new OpenWebif with updates from the Internet - from the OpenPLi source - will not be overwritten. And then you install / download the source code OR ipk package - the full version of OpenWebif. You can find the procedure directly on Github here: https://github.com/E...lugin-OpenWebif (scroll down with the mouse wheel).

 

But then there will no longer be 100% compatibility from the creator of the distribution of the specific Enigma2 (i.e. OpenPLi). For example, new OpenWebif may require an SSL library for 2022, but OpenPLi will still have the old SSL library from 2021. It is, of course, just a fictional possible example of incompatibility. Possible incompatibilities could occur elsewhere. Possibly at the next update sometime later (a year later).




#1418014 OpenPLi develop

Posted by s3n0 on 8 January 2022 - 14:49

Hi.

 

Do you mean Plugin-MENU in Enigma2-GUI ? How is it possible ? Did you do something ? I don't know the OpenPLi firmware very well, but it is possible that OpenWebif is a built-in component in the firmware and is not listed in the plugin list. Try using the package manager (opkg). Uninstall the entire OpenWebif and then install it again :).

First of all, try this:

init 3     # stop the Enigma2
opkg update
opkg install --force-reinstall enigma2-plugin-extensions-openwebif
reboot

If does not work, then try the following procedure... however, it is a risky procedure... and you need to know what you're doing:

init 3    # stop the Enigma2
opkg update
opkg remove --force-remove enigma2-plugin-extensions-openwebif
opkg install --force-reinstall enigma2-plugin-extensions-openwebif
reboot

Which Enigma2 do you use ? The original Enigma2 OpenPLi image ? Isn't this a modified OpenPLi image ? There may have been a failure of feed server resources, as you do not see some packages (openwebif) in the Plugin-MENU.




#1414790 Auto select audio language is not working

Posted by s3n0 on 30 December 2021 - 13:24

Are you writing about automatic audio track selection, in case of DVB (S / T / IP) stream or in case of media player during offline video playback ? Or are you writing about language selection in some standalone multimedia plugin ?

 

There could also be a problem in prefering the AC3 audio track. If there is AC3 audio track in the source (stream) and you have set AC3 to prefering above all, then the AC3 audio track is selected  (regardless of language).

 

The second problem could be if you set your own language manually (when watching DVB - S / T / IP) after pressing the yellow button on the RCU. This language has been saved and retained for a specific DVB station and will always be used / preferred. Or does it work badly on all DVB sources (channels) ?

 

(I'm just estimating the possible cause of the problem.)




#1411546 GDPR cookie issue

Posted by s3n0 on 18 December 2021 - 14:56

WanWizard my friend, you really couldn't be a hacker or an internet security expert :). But that's just good. The less people know the possibilities of misusing private data, the better for this world. But one time the time will come when he will master these details about the IT environment, every second person. Today, however, only 2 people out of 100 people in total know that it can be abused.

 

Cookies can also be misused legally. For example, by targeted advertising. If the OpenPLi website knows where I am, what content I am interested in, what comments I write, how often and at what time I visit the OpenPLi portal, etc. etc. etc. ... so then, based on that, it can display a relevant ad, which means a higher profit from the ad. But I'm not here to make money for someone else. I'm not a slave. If someone wants to make money on targeted advertising to me, then I want a small percentage of advertising profits ! Otherwise, the ads may die. I really don't need them. I've been helping people for free - all my life. I only make money at work - in a commercial environment. However, in my home environment, advertising and commerce have nothing to do !

 

Money is the scourge of humanity. There will come a time when humanity collapses through money / currency. Philosophers can invent a world in which human civilization would function differently. But not on the principle of money. Money is a very bad journey and brings humanity to 100% perdition. But it doesn't belong here. This is a discussion portal about Linux set-top boxes or their Enigma2 graphical extension :). Anyway ... I don't want to contribute to the destruction of humanity through this money.




#1411294 GDPR cookie issue

Posted by s3n0 on 17 December 2021 - 21:47

@WanWizard

 

Cookies are used to obtain information about the user. The website can store this information directly on your PC. However, the next time you connect to this website, cookies will be processed again. It's an invasion of privacy.

 

For example, if you visit porn sites, thanks to cookies, the entire porn portal can know what interests you :). Then, based on that, the ad is displayed.

 

As for PrivacyBadget, it is created especially for this purpose.

 

The uBlockOrigin addon is also a great thing. Successfully blocks all annoying ads while playing YouTube videos. It also blocks many ads from Facebook and other websites.

 

 

@ccs

 

But I already explained it to you. Just what I wrote.




#1402726 AUTO UPDATE CHANNEL

Posted by s3n0 on 15 November 2021 - 13:19

Hi.

 

There are plugins that update the channel list (userbouquet files) automatically. You set the source and then download and check the timeliness of the channel list at regular intervals. If a new channel list is found, it is immediately downloaded to Enigma2 (folder "/etc/enigma2") and refreshed (reloaded) while Enigma2 is running. This can also be done, for example, via a terminal / shell, by calling functions in OpenWebif, for example:

wget -qO "/etc/enigma2/userbouquet.name-of-the-channel-list.tv" "http://www.example.com/my_channel_list"                        # download and replace new userbouquet file
wget -qO- "http://127.0.0.1/web/servicelistreload?mode=0"; sleep 2; wget -qO- "http://127.0.0.1/web/servicelistreload?mode=4"   # reload userbouquet files in Eiigma2, with the help of OpenWebif

Of course, it would also be useful to investigate error exceptions ... such as a wget failure (non-existent URL or internet unavailable) and then a possible failure to overwrite the original userbouquet file in Enigma2 (unlikely error).

 

It is also possible to write a simple shell-script that runs, for example, every hour regularly through a CRON service and verifies, that a newer userbouquet file is needed on the internet - by comparing the sizes of the current and downloaded userbouquet file (for example, temporarily stored in the "/tmp" folder). If there is a newer one, the old file in the "/etc/enigma2" folder will be overwritten and then the channel list in Enigma2 will be reloaded (on the fly).

 

One option is to use ready-made userbouquet files (channel lists), but there is not always 100% reliability. For example, channel lists from Vhannibal, the so-called "vhannibal enigma2 settings" are perfect, but they don't exist for all satellite positions or for all satellite providers.

 

-----

 

Providers could even release / support / update the userbouquet file themselves and also develop a plugin for Enigma2. Unfortunately, many providers do not support Linux / Enigma2 satellite receivers, due to the spread of pirated card sharing through SoftCAMs. Therefore, many providers do not even solve this.

 

Also, as someone mentioned above, there is a possibility to quickly download channels from the satellite transponder, via the FastScan auto-scan function. This is a download of the complete channel list, directly from the satellite transponder, in the form of digital data. Unfortunately, this FastScan feature is not supported by every satellite provider. Only some satellite providers allow you to "download" and use the FastScan "channel-table". There is a FastScan plugin for this purpose (or it is already part of the basic Enigma2 firmware).




#1394446 Picons for iptv streams

Posted by s3n0 on 16 October 2021 - 17:00

Hi.

 

If you are from Europe, try using the CholousekPicons plugin.

 

It should also be available on the OpenPLi feed-server, and if not, you can find it on my GitHub here: https://github.com/s...cholousekPicons

 

However, it is only used for picons whose file names are based on the SRC (Service-Reference-Code) and not according to the SRN (Service-Reference-Name). Alternatively, modify your IPTV in the userbouquest by inserting a specific SRC code before the URL. EPGs will also operate on the basis of SRC compliance. Then, the ChocholousekPicons plugin will automatically download these icons for IPTV according to the SRC values in the userbouquest files. That is, only if the plugin finds the appropriate SRC values in the userbouquet files. All you have to set is in the plugin configuration - selection of satellite positions (Europe only) that you use (to download the appropriate picon packages and unpack them).




#1347635 OpenPLi 8.0 and mgcamd

Posted by s3n0 on 9 May 2021 - 16:33

Yes, it is quite possible. Backward compatibility is not guaranteed with new versions of system libraries. Symbolic links are therefore not always 100% successful. It only depends on which functions a particular code from a system library uses. In the new libraries of the system, old algorithms / functions can be modified, with which the code of the new binary will not be able to work.

 

Many functions can be modified in the new system libraries, with which the binary file may no longer be able to work 100%. Just some little nonsense added to the system library. For example, instead of a return code from a function in the library, more error codes are passed than just -1 and 0 ... - only a fictitious example ! But when the Mgcamd source code assumes that there are multiple return values, such as -1, 0, 1, then a smaller / larger comparison operator is used in the test condition (if ret_code < 1), of course the execution of this algorithm fails because it needs to test the value as well number 1. Or instead of 3 values, some function can return up to 4 values, which the old Mgcamd code did not assume and its process fails. There are many examples to come up with.

 

I recommend using Oscam. It should work anytime, anywhere, because it is very popular and programmers are constantly working on it. If it does not work, it is often just a configuration error or the inability to decode the appropriate DVB encryption system.