Try "NONE" and force legacy ..browse to your network path and add location then change settings to smb1 again
Posts by Mario77
-
-
-
rename .txt to .zip and install as addon
-
Try and make a service addon...
Made you one to try..just build on it and edit where you need..
Just rename file ext from .txt to .zip and install and restart...give it a try..
-
That helped a lot!
- Yes, its a RPI
- I changed my plan of an alarm clock, but use a wifi socket to enable the power for my RPI. So finally I need to start the process after boot.
- I created the shell file and tried it --> works perfectly
- However, CRON works only after I restart it manually via SSH. Otherwise I get an error message regarding a time disparity:
● cron.service - Cron daemon
Loaded: loaded (/usr/lib/systemd/system/cron.service; disabled; vendor preset Active: active (running) since Thu 2019-04-11 18:28:53 CEST; 2 years 2 months Process: 226 ExecStartPre=/bin/mkdir -p /storage/.cache/cron/crontabs (code=ex Main PID: 230 (crond) Memory: 204.0K CGroup: /system.slice/cron.service └─230 /sbin/crond -f -S
Apr 11 18:28:52 XXX systemd[1]: Starting Cron daemon...
Apr 11 18:28:53 XXX systemd[1]: Started Cron daemon.
Jul 10 23:01:51 XXX crond[230]: time disparity of 1182512 minutes det
So at the moment the command @reboot bash /storage/Test.sh doesn't work, whereas when I restart CRON e.g. the code 0 0 * * * bash /storage/Test.sh works properly. I found a post SOLVED cron won't work which describes the same problem, but I wasn't able to figure out how to solve the problem... May you help one more time?
Just ssh
after playing around or adding cron timers to /storage/.cache/cron/crontabs/root
Also you don't need that bash in your commands
just
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..
-
Thanks, that was very helpful!
I managed to set up SSH.
Autoexec is out of date as I tried and read.
Thus, I created a python script containing your code (with set video ID) and uploaded it as "autoexec.py" in the userdata folder. This doesn't seem to work. So what is the mistake?
Furthermore, as I want to adjust volume after some time as well as brightness, is there a reference manual or tutorial where commands are collected and explained?
Thanks a lot!!!
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..
-
Hi,
can someone please help me with a step by step tutorial how to mount my Fritz.NAS - Drive to Libreelec 9.2.7?
I want to use it for recording in the THHeadend server.
The "HowTo"-Links I found are all dead:
The drive is located at
//192.168.0.1/FritzNAS/Seagate_Portable_Drive/TV Aufnahmen
Please help me!
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.
Code
Display More[Unit] Description=cifs mount script Requires=network-online.service After=network-online.service Before=kodi.service [Mount] What=//192.168.0.1/FritzNAS/Seagate_Portable_Drive/TV Aufnahmen Where=/storage/recordings Options=username=nas_username,password=nas_pasword,rw Type=cifs [Install] WantedBy=multi-user.target
If you go this way you need something like this..
-
I also have problems with RPi Tools. For me the GPIO pins don't hold their state uninterrupted. I'll ask the dev's to recompile that add-on.
Da Flex are you still on LE 9.2.6 as I don't have any issues?
-
Don't connect fan directly to gpio..use gpio to control relay/transistor for on/off or pwm whatever you need to achieve..
-
Or output to a file instead of console for testing script..
-
Latest version of DVBViewer Client from LibreELELC repository
Why do you need that if you r using tvheadend server?
I think you need to have a look how to setup tvheadend server and scan for channels then you use htsp client to view your channels..
-
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..
-
Have you've been successful meanwhile ?
When you say 43%, can you report the SNR ? (in tvheadend's interface, status/stream).
For your reference, in average I have:
cable - SNR 36.3 dBm ; Signal strength 51.0 dBm.
sat - SNR 15. dBm ; -30.5 dBm.Using a TBS 5520 SE combo receiver.
SNR 28 db
strenght -78 dBm
-
I was testing this on Rpi3..