That's it. Thanks.
LibreELEC Addons \ Program Addons \ FFmpeg Tools
and it installs ffmpeg to
/storage/.kodi/addons/tools.ffmpeg-tools/bin/ffmpeg
That's it. Thanks.
LibreELEC Addons \ Program Addons \ FFmpeg Tools
and it installs ffmpeg to
/storage/.kodi/addons/tools.ffmpeg-tools/bin/ffmpeg
ffmpeg seems to have gone missing in version 9.0.0.
I have a few Kodi addons that rely on it.
Any ideas where it has gone?
I've added a Device Settings Wizard to my WebGrab+Plus Configurator addon to set the correct paths for this addon in LibreELEC.
WebGrab+Plus Configurator
awiouy I replied to your pm. Thanks.
No one in the LibreELEC team is working on such a port.I too have a Nvidia Shield, using SPMC as Kodi fork works just fine for me. And I like to play the odd Android game every now and then.
It's behaving ok with an ESS Sabre DAC. It must just be very picky about older USB DACs.
No one in the LibreELE team is working on such a port.
Thanks.
Do you know if it is possible or if there are any showstoppers?
The USB Audio on Android is really stuttery and unusable. LibreELEC has been rock solid on my Android amlogic box and rpi so far.
Aha. The missing link. Thanks.
I'm missing some magic.
I can see the three places the settings are defined and used but I don't understand how they get from the settings.xml file to the webgrabplus.start file.
Search · wgp_on_act · GitHub
Display More
Hello all,I have added a system.d timer to the addon.
By default, the webgrabplus.run shell script will run:
- 300 seconds after the service is started, and
- daily at 03:00These settings can be changed via the addon settings (add-ons/my add-ons/service/WebGrab+Plus/settings):
--on-active:
Specifies a delay in seconds.
If left blank, webgrabplus.run will not be run when the service is started.--on-calendar:
Specifies a calendar event (see here for the syntax).Preview versions:
- for LE 7
- for LE 8Thank you for testing
I can't get to a LibreELEC device right now. The kids have taken over the TV.
I can't see where the settings get from settings.xml to webgrabplus.start in those zip files.
Is anyone working on a port of LibreELEC for the Nvidia Shield?
Display More
Hello all,I have added a system.d timer to the addon.
By default, the webgrabplus.run shell script will run:
- 300 seconds after the service is started, and
- daily at 03:00These settings can be changed via the addon settings (add-ons/my add-ons/service/WebGrab+Plus/settings):
--on-active:
Specifies a delay in seconds.
If left blank, webgrabplus.run will not be run when the service is started.--on-calendar:
Specifies a calendar event (see here for the syntax).Preview versions:
- for LE 7
- for LE 8Thank you for testing
Excellent. Thanks.
Are you referring to guide.xml or another guide_*.xml file?
guide.xml is only updated once, by a cp at the end of processing, which should be quite short.
You are right: I'm accessing the intermediate guide xml file. I'll set up the correct one.
It still seems to be too much for my crappy little amlogic mxq box with things going on in the background though.
I would feel a lot happier with the processing happening at night, just once a day.
Call the service/timer anything you like, eg webgrabplus.service/timer, as long as it is not service.webgrabplus.service.
Try it manually first
I'm actually trying to modify your addon so that it can be flexible. This isn't my addon.
When the time that it is running webgrab corresponds to a time I am using a TV Guide, it stops the TV Guide loading.
I'm trying to make it configurable so webgrab can run in the middle of the night when nobody is awake and using the box.
Hi primaeval!
LE automatically:
a) enables/starts service.webgrabplus.service at system startup
b) runs default.py at Kodi startupModify one or the other to enable your timer. In any case, the service called by the timer should not be named service.webgrabplus.service.
To enable a service/timer:
systemctl enable path-to-the-service-unit/service-unitI hope this will help you. Keep me posted.
Thanks.
As far as I can see the .timer has to start a service called the same name .service in the same folder.
If I can't call it .service because it gets started automatically by LE, do you know what I should call it?
systemd.timer
I can see why people get frustrated by system.d now.
awiouy I've had a go at adding a configurable system.d Timer to the service but have got stuck. Please help.
I can't work out how LibreELEC is triggering the system.d services. I tried to start the timer in the default.py file but it doesn't work.
On reboot it runs the .service file even though it should start the .timer file.
I added a user setting for the system.d timer's OnCalendar field to make it as flexible as possible and a random delay to be nice to the servers.
The code so far is here:
GitHub - primaeval/service.webgrabplus
Does anyone know how to get tvheadend to play from the end of a ts stream.
The BBC streams have a rewind period of 3 or 4 hours. There are hundreds of 8 second ts stream segments in the m3u file. When tvheadend plays the stream it plays from the start which is 3 or 4 hours ago.
eg
bbc_one_hd-pa4=128000-video=1604000.m3u8
Players like Kodi, vlc, ffmpeg will play from the end in real time.
Feel free to submit a PR
What about removing the system.d service altogether, and using this in default.py, instead?
This would fit in Kodi/LE more naturally than cron or a system.d timer.
That looks promising. Thanks.
From my addon's point of view that would allow me to schedule webgrab in windows and generic linux.
But I don't know if there is a LibreELEC way to do things?
Sometimes there is a bigger picture.
You're on your own, now
I think it would be nice to have more control over the service schedule if possible.
I still live in the crontab world but it looks like the system.d timers unit gives all the scheduling permuations that cron does.
systemd/Timers - ArchWiki
A couple of day/hour/minute values in a settings.xml file, an update to service.webgrabplus.service and a service restart should do it.
Thanks indeed I don't suppose you or anyone knows of a way to point a different libreelec install at that location? I have two libreelec installs that I would like to point at the same guide.xml. Workaround currently is to install this addon on both installs and generate their own guide xml but it's not ideal.
Do you mean seperate devices or seperate installations on the same machine?
If you mean devices just make sure smb is enabled and point to guide.xml from the second device.
[EDIT] awiouy beat me to it. Fast work.