![]() |
Forcing mythfilldatabase from Kodi - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167) +---- Forum: MythTV (https://forum.kodi.tv/forumdisplay.php?fid=170) +---- Thread: Forcing mythfilldatabase from Kodi (/showthread.php?tid=255837) |
Forcing mythfilldatabase from Kodi - jfabernathy - 2016-01-09 I would like to run mythfilldatabase to update the Channel listings from Schedules Direct from within Kodi. Most of the time, the mythbackend updates every 24 hours and that works, but occasionally, like today, I see a lot of sports programming not right, so I fixed it by ssh'ing to the backend and running it manually. But I had to exit Kodi, get out the keyboard to do the ssh. I'd love to be able to force this within Kodi using my remote. Any ideas? RE: Forcing mythfilldatabase from Kodi - nickr - 2016-01-12 SSH can be scripted, so what I would do is write an add-on that ran a short python script to SSH into the backend and run mythfilldatabase. You'd need to set up password less login via keys. RE: Forcing mythfilldatabase from Kodi - nickr - 2016-01-12 In fact I have never written an add-on and may have a play. RE: Forcing mythfilldatabase from Kodi - jfabernathy - 2016-01-12 (2016-01-12, 06:41)nickr Wrote: SSH can be scripted, so what I would do is write an add-on that ran a short python script to SSH into the backend and run mythfilldatabase. You'd need to set up password less login via keys. Are there references to writing scripts in python for Kodi laying around? I wouldn't mind experimenting with it. I need a project since I've already solved all the rest of the world's problems ![]() RE: Forcing mythfilldatabase from Kodi - raptorjr - 2016-01-12 Wouldn't it be better to have the automatic run of mythfilldatabase closer to the time were most sport events are? I understand that if mythfilldatabase runs in the middle of the night that the times maybe change a bit for later that day. But if you run mythfilldatabase during the afternoon or something, maybe the times would be more correct? Don't know when most sport is, but I'm guessing afternoon/evening. I think it is always nice to have a system that manages itself. Otherwise, if you setup a recording rule to record something and you are not at home and can update the EPG manually you would maybe miss the beginning/end. RE: Forcing mythfilldatabase from Kodi - nickr - 2016-01-12 You could also use cron to schedule it whenever you like, even every 15 minutes, although I am not sure whether SD imposes any limits or quotas. RE: Forcing mythfilldatabase from Kodi - jfabernathy - 2016-01-12 Thanks for all the help. I think I'll start with forcing the updates automatically at a better time for me. |