Posts by elonesna

    Although in the period 1990-2000 I dedicated ten years of my life developing applications for factories and industrial manufacturing processes, in 2019 I knew very little about Linux and since I was interested in satellite television I started with a TV Box S912 and the CoreELEC operating system. That was a discovery for me, I had finally found a very stable operating system, safe from the errors of desktop Linux operating systems, and also the discovery of docker virtual services, which allow services to be transferred from one machine or operating system, to another, without changing anything.


    When in 2020 I decided to install a home server I had no doubts: it would be a cheap mini PC with the LibreELEC operating system. I am very grateful to CoreELEC and LibreELEC for being the tool that has allowed me to learn Linux.


    I would not change LibreELEC for any other Linux x86 operating system. It is true that LE has many limitations but in return it offers you stability, my LE server has been on for 22 months, restarting automatically every day, without any problem, keeping backup copies of PCs and smartphones, managing our VPN remote access and cameras security, local and remote, saving our documents and our multimedia library and giving us impressive television services even when we are traveling.


    As the development times for stable LibreELEC updates are long, I am preparing the alternative of replacing my LE server with an Ubuntu* server with updated media drivers, ssh and samba services, and docker services exported unchanged from LE; all this works now. Since this will be a server I'm thinking of replacing Kodi with a Windows remote desktop service. Obviously, I would never install a NAS server.


    * An Ubuntu server also has bugs and errors, I have seen them in the docker service of the snap library, to solve this I always follow the installation recommendations of the software creator, and not the recommendations of third parties.


    In short, stick with LibreELEC or create your own server.

    Perhaps I am wrong in thinking that audio loss in live TV is associated with streaming errors, and not with the type of hardware. I have observed this on PlutoTV live IPTV TV streams where continuity errors are absolutely normal and predictable when inserting ads. I've tried to fix it by processing the stream inside tvheadend with ffmpeg, cvlc and streamlink (the best) pipes and while some work better than others I haven't totally solved this problem.


    Checking the logs does not solve the problem, only video and audio discontinuity errors are observed, and sometimes the audio is lost or the video works stutters. When this happens, the solution that always works is to stop the playback of the TV channel and start it again, for the audio there is also the alternative of changing and resetting the passthrough switch, it seems as if the driver had been damaged, but I do not have the knowledge necessary to restart the drivers using linux commands.


    I don't know of any player that knows how to handle discontinuity errors.

    WireGuard connman for LE is not at all flexible, on VPN connections it requires static IP addresses and tunnels all communications to the VPN server.


    How do I solve the problem when I want to do split routing?


    With LE I think there is only one solution: use ZeroTier VPN networks (through docker services) instead of WireGuard, because they allow flexible routing.


    On my CoreELEC devices I tend to use Entware WireGuard to not route all traffic to the VPN server, but this is not easy to do on LibreELEC.

    I thought it was solved but no, after a reboot wireguard and tvheadend still don't work.


    SOLVED!


    The problem seems to be some kind of incompatibility in the contents of the 'custom-cont-init.d' and 'custom-services.d' directories in the new versions of the services released by 'linuxserver'. I use these directories to launch scripts before the tvheadend service starts: install 'streamlink', install 'cvlc' and set epg collectors, all of which are lost with each update of the docker image. My workaround is to do these operations manually on every update.


    FINALLY:


    I have automated the process by creating a directory 'autostart.d' added to the docker install command as


    docker run -d \

    ...

    -v /storage/.config/dockers/tvheadend/autostart.d:/custom-cont-init.d \

    ...

    linuxserver/tvheadend


    all scripts inside 'autostart.d' will be executed before starting the 'tvheadend' service. Now everything is compatible with the 'linuxserver' requirements.

    My LE network is made up of a cheap x86_64 server and five CoreELEC clients, two at home, and three away from home in different locations and even in another country. All devices perform a daily backup on the server, a daily reboot, a playback stop when the remote is not used for three hours, two of them act as network gateways, and the possibility of shutdown is disabled so that I can do updates at any time. Everything works perfectly for me and my experience tells me that kodi restarts only with dodgy addons. Find them and uninstall them!

    Sorry, I don't understand what you are saying, I have been using the "KN Switchtimer Service" addon from the "Kodinerds Addon Repo" repository for a long time and it has always worked well for me switching TV channels. Segmentation errors are usually caused by some program defect that is corrected with a more recent version!

    What you say is nonsense, please, with a kodi-libreelec web service you will never be able to configure a docker-container-service, explain yourself better, what container do you want to configure

    I will be very attentive to the answers because this problem is the reason that my TV server LE x86_64 is still stuck on LE 9.2.6. The TVH client and server tvheadend 4.2 or 4.3 addons are not to blame, I use docker tvheadend 4.3 and the same thing happens. At the moment the only solution I have found is to change the server to Ubuntu and compile the dvb drivers myself.

    Whenever I have tried to use over-the-air EPG with tvheadend I have had problems. I have been using EPG Grabbers Modules for almost four years now, and I use many of them (12 for almost 700 terrestrial, satellite and IPTV channels), without problems

    Start by installing LibreELEC and solve the problems one by one, for the boot disk 256 GB is enough, I don't think you will ever need anything bigger, mine after a year and a half is working at 51% capacity, my storage drive is 5TB because I also use it as my private cloud.