Posts by Mario77

    Just ssh

    Code
    systemctl restart cron

    after playing around or adding cron timers to /storage/.cache/cron/crontabs/root

    Also you don't need that bash in your commands

    just

    Code
    0 0 * * * /storage/Test.sh

    Are you trying to make the script start at boot instead of alarm/cron?

    As for recording locally and transfering: I will have a hard time figuring out the post processing of TVHeadend. The wiki was not very self explaining. I checked it, because I was planed on converting to .mpg4 after recordings and deleting the .TS. But holy $§%" is that complicated. I quickly gave up.

    I wonder why TVHeadend is so narrow/vanilla/basic regardings the configuration. E.g. the pathlink to the recording folder first of all. Why can't it just offer a GUI-based folder navigation to enter the path?

    Also post processing coman´ds? Often used usecases (mpg-convert, moving after recording, etc..) should definately be possible with drop downs/checkboxes etc. !!!

    Well that's part of the fun to get complicated but once you get used to it it's not that bad...to be honest it took me months to build my post processing script to my needs changing here and there but once you r satisfied and it does what you need you ll forget about it..

    If you decide to try ask here and you ll get some help..you have ffmpeg to convert your videos after recording is done and rsync to move it and tvheadend api to change tvheadend path to your moved recording if you still want it to show in tvheadend recordings..

    Not sure why you need autoexec?do you want the video to start when kodi starts or as an alarm while kodi is already running?

    What hardware are you using?is it a rpi?

    here are some commands.

    Bash
    #!/bin/sh
    kodi-send --action="SetVolume(100)" # set desired volume to 100 = 100%
    kodi-send --action="PlayMedia(plugin://plugin.video.youtube/?action=play_video&videoid=your_youtube_video_id)"
    sleep 30  # keep volume at 100% for 30 seconds
    kodi-send --action="SetVolume(0)" # set volume to 0 = 100%
    sleep 30  # keep volume at 0% for 30 seconds
    kodi-send --action="SetVolume(100)" # set volume to 100 again = 100%

    You save that as alarm.sh and test from ssh then set cron to run that script at your convenience ..

    brightness I have no idea if it can be set..

    You need to ssh t your libreelec box..use something like Winscp for windows..

    For your youtube video to start as alarm make a small script and run with cron..

    something like this works fine..

    Code
    kodi-send --action="SetVolume(100)" # set desired volume 100 = 100%
    kodi-send --action="PlayMedia(plugin://plugin.video.youtube/?action=play_video&videoid=your_youtube_video_id)"

    While it's easy enough to mount a share for tvheadend recordings I prefer to record locally and use rsycn in a small script post-processor command from tvheadend just in case network to your server fails during recording..especially it your server is away from home.


    If you go this way you need something like this..

    Hi,

    I have installed LibreELEC 9.2.0 on my RPI4B and when I'm trying to streem my DBT (Raspberry Pi TV HAT) to Web browser there is only audio.

    In log I've found this message:

    Code
    2019-12-03 13:10:03.005 transcode: 000C: Unable to find libx264 encoder

    Any idea what can I do?

    Many thanks.

    If you r using ffmpeg just use "h264" transcoding or "h264_omx" in command..I don't think there is any libx264 in default ffmpeg addon..and even if you do your own ffmpeg libx264 needs lots of cpu and rpi would crash..at least my rpi2...I tried it before and it uses 3 to 4 times more cpu in rpi..maybe the 4 might work not sure..

    On this thread there is a version of ffmpeg and if I m not mistaken it got libx264 if you wanna try here

    Well ... assuming those are DVB-C signals, I will suggest you to try a different connection.

    do you have a way to connect to 1 of the first cable wall plugs ?

    Or even directly in the cable that enters your home ?

    (just to make sure you are not getting a big signal drop in your home cabling, and assure that that is not the reason for your breaks)

    This is DVB t signal from antenna in the Uk..problem is server is 3000km away so can't play much with cables..I do all trough ssh and vnc.

    I don't really get any breaks while streaming or on recordings both sd and hd work fine..not that I really need transcoding..was more of some experimenting..as I spend more time faffing around then watching TV :) errors are only with ffmpeg..

    I am running LibreELEC 9.95.2 on RPi4.

    Have setup autostart.sh to load some scripts upon boot.

    It would take about 30 to 45 seconds to complete.

    Thought it might be good to display the status on TV.

    Wondering if it is possible to output text on LibreELEC boot screen.

    Do you mean you r stuck on boot for 45 seconds for your script to run?

    Is it necessary for your script to run before kodi UI?


    Wondering if it is possible to output text on LibreELEC boot screen.

    I doubt it...but don't think so..but you ll never know..maybe someone comes up with a solution..notifications only show when kodi starts..