Cron XBMC - Support Thread

  Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Julipo Offline
Junior Member
Posts: 26
Joined: Mar 2015
Reputation: 0
Post: #76
It still crashes in Linux.
(This post was last modified: 2015-03-31 20:17 by Julipo.)
find quote
marcopasha Offline
Junior Member
Posts: 2
Joined: Jul 2015
Reputation: 0
Post: #77
I got IPTV simple client using remote path
I try pkscout code did some change
<job name="Update tv Library" expression="0 2 * * *" command="UpdateLibrary(tv)" show_notification="false" />

it works but nothing change in livetv what is the correct command to work?
find quote
meowmoo Offline
Senior Member
Posts: 258
Joined: Jul 2013
Reputation: 14
Location: on a tree
Post: #78
(2015-03-31 20:09)Julipo Wrote:  It still crashes in Linux.

Still crash on openelec with Kodi 15, can't edit any jobs also, need to do it in the XML file

[Image: watched-fanart.jpg]
find quote
pkscout Offline
Posting Freak
Posts: 1,318
Joined: Jan 2011
Reputation: 27
Location: Honolulu, HI
Post: #79
(2015-10-12 00:26)meowmoo Wrote:  
(2015-03-31 20:09)Julipo Wrote:  It still crashes in Linux.

Still crash on openelec with Kodi 15, can't edit any jobs also, need to do it in the XML file

I suspect a debug log with the crash would help troubleshooting. Without it there's really nothing anyone can do but have sympathy for you.
find quote
meowmoo Offline
Senior Member
Posts: 258
Joined: Jul 2013
Reputation: 14
Location: on a tree
Post: #80
You are right, I'm sorry, here are the logs
Your debug kodi.log: http://xbmclogs.com/pe2gqwe1b
Your debug kodi.old.log: http://xbmclogs.com/pwstos7ex

[Image: watched-fanart.jpg]
find quote
robweber Offline
Posting Freak
Posts: 1,079
Joined: Sep 2009
Reputation: 32
Post: #81
Just saw these, I'll look it over tomorrow.....stay tuned.
find quote
robweber Offline
Posting Freak
Posts: 1,079
Joined: Sep 2009
Reputation: 32
Post: #82
Ok, looking through the logs I see these lines:

Code:
21:31:16 T:140330070439680  NOTICE: service.cronxbmc-0.0.4 : running command Artist slidshow helper
21:31:16 T:140330070439680  NOTICE: service.cronxbmc-0.0.4 : Artist slidshow helper will run again on 10-13-2015 21:32
21:31:16 T:140330697402240   ERROR: ExecuteAsync - Not executing non-existing script artistslideshow-helper

You are trying to run an addon using the "RunAddon()" built in function right? The arg for that function has to be the full addon id. I think this is the addon you are going for: https://github.com/pkscout/script.artist...ow-helper. The id for that addon is actually "script.artistslideshow-helper". Try putting that in your RunAddon() function and see what happens.
find quote
pkscout Offline
Posting Freak
Posts: 1,318
Joined: Jan 2011
Reputation: 27
Location: Honolulu, HI
Post: #83
Just to confirm, that ID is correct. I run AS Helper in my CronXBMC jobs with this:

Code:
<job name="AS Helper" expression="30 4 * * *" command="RunAddon(script.artistslideshow-helper)" show_notification="false" />

That works fine for me.
(This post was last modified: 2015-10-18 08:45 by pkscout.)
find quote
meowmoo Offline
Senior Member
Posts: 258
Joined: Jul 2013
Reputation: 14
Location: on a tree
Post: #84
Thanks, but that's not the problem.

Cron kills Kodi, when I try exit it.

I go to app, open cronxbmc, the gui show up, I can add a command, I can not edit any existing command, and when I'm pressing back, the gui starts fading out but Kodi freez and reboot.

Your debug kodi.log: http://xbmclogs.com/pfqaryh7t
Your debug kodi.old.log: http://xbmclogs.com/poknwjiwq


Your debug kodi.log: http://xbmclogs.com/psgr9zhew
Your debug kodi.old.log: http://xbmclogs.com/pzfpeqav5

[Image: watched-fanart.jpg]
find quote
robweber Offline
Posting Freak
Posts: 1,079
Joined: Sep 2009
Reputation: 32
Post: #85
The GUI killing Kodi on exit is a known issue. I've stated here multiple times in this thread that I'm not a GUI guy. I've written the service part of the addon and the interface was written by a user named Kr0nZ. I've made shout outs for someone to update it multiple times and it's never happened.That is probably the main reason I've never submitted this to the official Kodi repo. If you want to update the cron file you'll have to do it manually - or submit a patch to fix the GUI Smile

Probably not the answer you wanted but the service runs fine when you edit the files by hand. The GUI could be made a lot better and more intuitive but that takes a different type of skillset from the one I have. I'll happily patch the code if anyone steps up.
find quote
Morphy99 Offline
Senior Member
Posts: 148
Joined: Jan 2013
Reputation: 0
Post: #86
Is there a command to update addons? I've had a look in List_of_built-in_functions (wiki) but can't see anything relevant.
find quote
toasterboy1 Offline
Junior Member
Posts: 30
Joined: Nov 2013
Reputation: 0
Post: #87
This add on is what I need, now if I can only get it to work. I setup a Raspberry Pi 2 with OSMC. My movies play fine from the menu. I setup a job but the video never starts.
My cron.xml
Code:
<?xml version="1.0" ?>   <cron>   <job command="PlayMedia(/home/osbmc/Movies/English_CPR.m4v)" expression="*/4 * * * *" name="English_CPR" show_notification="True"/>   </cron>
Am I missing something?

Solved:
Typed the folder path wrong. Typing error it is "osmc", not "osbmc. Thanks for a great add on.
(This post was last modified: 2016-01-20 01:40 by toasterboy1.)
find quote
Post Reply