[RELEASE] - The Scheduler

  Thread Rating:
  • 2 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Slipass Offline
Member
Posts: 99
Joined: Sep 2012
Reputation: 0
Post: #31
How i can take an auto export from the video library.

The build in code from xbmc is: exportlibrary(video,true,false,false)

But nothing happens
(This post was last modified: 2013-01-09 22:02 by Slipass.)
find quote
Slipass Offline
Member
Posts: 99
Joined: Sep 2012
Reputation: 0
Post: #32
It works.

For separate export:
exportlibrary(video,true,true,false,false)

Important:
disable and re-enable the addon
find quote
Ghostdivision Offline
Posting Freak
Posts: 754
Joined: Jan 2012
Reputation: 0
Post: #33
How to specify where to export the library to?
find quote
Slipass Offline
Member
Posts: 99
Joined: Sep 2012
Reputation: 0
Post: #34
XBMC specify this structure.
He copy the files in the folder where the movies are saved.

With the first true exportlibrary(video,true..... you say xbmc, that he export the data seperate. With false exportlibrary(video,false..... you say xbmc, that he want to export an single file
find quote
slandells Offline
Member
Posts: 58
Joined: Jun 2012
Reputation: 0
Post: #35
(2013-01-07 01:38)Martijn Wrote:  
(2013-01-07 01:37)Slipass Wrote:  Hello,
is it possible to run the ArtworkDownloader automatically with this script?

No

So can I not run a scheduled instance of Artwork Downloader even tho I've donated and regularly contribute to the site??

Everything on my XBMC is automated, even to the point of the wife being able to watch a trailer, decide she likes it, have it added to couch potato, download when available and add to the library.

The only thing I can't do is Artwork Downloader...
find quote
shivanair Offline
Junior Member
Posts: 30
Joined: Sep 2011
Reputation: 0
Post: #36
is there any way to power off my Synology DS413j NAS using the scheduler? I wanted to power of the NAS box as well when I shut down XBMC on the HTPC. (am using Openelec)

Thanks a lot.
find quote
Ghostdivision Offline
Posting Freak
Posts: 754
Joined: Jan 2012
Reputation: 0
Post: #37
I accidentally had a time issue, i had to resync windows time, the scheduler just would not work, so i had to manually uninstall it and reinstall it?

How does it track time? I was quite surprised after i properly resynced the time on my pc and it showed in xbmc everything was correct, but the scheduler still would not work until i uninstalled and reinstalled
find quote
giftie Offline
Skilled Python Coder
Posts: 2,364
Joined: Mar 2010
Reputation: 54
Location: Calgary, Alberta
Post: #38
(2013-01-20 13:35)Ghostdivision Wrote:  I accidentally had a time issue, i had to resync windows time, the scheduler just would not work, so i had to manually uninstall it and reinstall it?

How does it track time? I was quite surprised after i properly resynced the time on my pc and it showed in xbmc everything was correct, but the scheduler still would not work until i uninstalled and reinstalled

I'm surprised that adjusting the time caused a problem.. I have no clue, though a debug log might have shed some light.

The script pulls the time through a python function. It checks during every cycle based on the sleep interval you specify in settings.

Also you don't need to uninstall and reinstall, you would only need to disable then enable. or restart XBMC.

[Image: e4f63e45ba34fe4695b3bb08eb2499d8e4ee484e...4c076g.jpg]
For troubleshooting and bug reporting please make sure you read this first you can also use XBMC Log Uploader Script.
Cinema Experience
Cinema Experience Wiki
cdART Manager
fanart.tv


find quote
RavenNL Offline
Fan
Posts: 317
Joined: Jul 2011
Reputation: 2
Location: Netherlands
Post: #39
I'm think this add-on is causing my xbmc to lockup, sometimes when i play a movie/tv show i notice that that movie starts but I get no video but I do hear sound. When I try to exit or skip forward then nothing response and all I can do is bring up task manager and kill the process. But this does not happen all the time sometimes it just works fine.

I did some testing by starting several movies/tv after each other and it locked up, then I turned off this addon and was able to start about 20 movies without a problem. Then I turned it back on again the first movie I started immediately went to a black screen and can only hear the sound.

Anyone else got this problem?

Some debuglogs:
http://xbmclogs.com/show.php?id=29831
http://xbmclogs.com/show.php?id=29832
http://xbmclogs.com/show.php?id=29834

[Image: watched-fanart.jpg]
(This post was last modified: 2013-01-23 21:40 by RavenNL.)
find quote
shivanair Offline
Junior Member
Posts: 30
Joined: Sep 2011
Reputation: 0
Post: #40
Team,

Any help on this front is much appreciated:

is there any way to power off my Synology DS413j NAS using the scheduler? I wanted to power of the NAS box as well when I shut down XBMC on the HTPC. (am using Openelec)

Thanks a lot.
find quote
giftie Offline
Skilled Python Coder
Posts: 2,364
Joined: Mar 2010
Reputation: 54
Location: Calgary, Alberta
Post: #41
(2013-01-27 17:25)shivanair Wrote:  Team,

Any help on this front is much appreciated:

is there any way to power off my Synology DS413j NAS using the scheduler? I wanted to power of the NAS box as well when I shut down XBMC on the HTPC. (am using Openelec)

Thanks a lot.

Not at the moment. Two reasons. First, the script does not perform scheduled tasks upon shutdown of XBMC. This was to make sure that the script doesn't hang XBMC at shutdown.
Second, I don't know of a built-in method that would allow this to happen. I will add the ability to make your own python functions. Which then you can practically do anything.

[Image: e4f63e45ba34fe4695b3bb08eb2499d8e4ee484e...4c076g.jpg]
For troubleshooting and bug reporting please make sure you read this first you can also use XBMC Log Uploader Script.
Cinema Experience
Cinema Experience Wiki
cdART Manager
fanart.tv


find quote
jmh2002 Offline
Fan
Posts: 305
Joined: Dec 2008
Reputation: 2
Location: FRA, ITA, UKR,
Post: #42
(2013-01-05 19:10)jmh2002 Wrote:  Great AddOn, thank you! Smile

I see a lot of functions and AddOns that already update 'at Startup' but would it be possible to add an option to run certain items from the scheduler 'on Shutdown' ?

This would bring various AddOns that are communicating with external devices/websites/etc up to date after the final use of XBMC (and mean all is ready to be updated again when XBMC is opened again, eg: on a different machine in a different location)

(2013-01-28 02:49)giftie Wrote:  .... the script does not perform scheduled tasks upon shutdown of XBMC. This was to make sure that the script doesn't hang XBMC at shutdown.

I guess this is the answer to my question from several weeks ago?

Its unfortunate though, since many events occur during the use of XBMC, but upon shutdown nothing happens, and they are just saved to memory until that particular instance of XBMC is started again.

This is not so helpful when trying to keep up to date with multiple devices, mobility of devices, etc, etc.
(This post was last modified: 2013-01-28 14:19 by jmh2002.)
find quote
RavenNL Offline
Fan
Posts: 317
Joined: Jul 2011
Reputation: 2
Location: Netherlands
Post: #43
(2013-01-23 21:28)RavenNL Wrote:  I'm think this add-on is causing my xbmc to lockup, sometimes when i play a movie/tv show i notice that that movie starts but I get no video but I do hear sound. When I try to exit or skip forward then nothing response and all I can do is bring up task manager and kill the process. But this does not happen all the time sometimes it just works fine.

I did some testing by starting several movies/tv after each other and it locked up, then I turned off this addon and was able to start about 20 movies without a problem. Then I turned it back on again the first movie I started immediately went to a black screen and can only hear the sound.

Anyone else got this problem?

Some debuglogs:
http://xbmclogs.com/show.php?id=29831
http://xbmclogs.com/show.php?id=29832
http://xbmclogs.com/show.php?id=29834

Any response would be highly appreciated, everytime when I turn this addon off I can start movies/tv without any problem

[Image: watched-fanart.jpg]
find quote
giftie Offline
Skilled Python Coder
Posts: 2,364
Joined: Mar 2010
Reputation: 54
Location: Calgary, Alberta
Post: #44
(2013-01-28 14:23)RavenNL Wrote:  
(2013-01-23 21:28)RavenNL Wrote:  I'm think this add-on is causing my xbmc to lockup, sometimes when i play a movie/tv show i notice that that movie starts but I get no video but I do hear sound. When I try to exit or skip forward then nothing response and all I can do is bring up task manager and kill the process. But this does not happen all the time sometimes it just works fine.

I did some testing by starting several movies/tv after each other and it locked up, then I turned off this addon and was able to start about 20 movies without a problem. Then I turned it back on again the first movie I started immediately went to a black screen and can only hear the sound.

Anyone else got this problem?

Some debuglogs:
http://xbmclogs.com/show.php?id=29831
http://xbmclogs.com/show.php?id=29832
http://xbmclogs.com/show.php?id=29834

Not sure what is happening, but Eden did have issues with addons that used multiple threads, especially when there are other addons using threads. The addon engine has completely changed in Frodo.
Any response would be highly appreciated, everytime when I turn this addon off I can start movies/tv without any problem

[Image: e4f63e45ba34fe4695b3bb08eb2499d8e4ee484e...4c076g.jpg]
For troubleshooting and bug reporting please make sure you read this first you can also use XBMC Log Uploader Script.
Cinema Experience
Cinema Experience Wiki
cdART Manager
fanart.tv


find quote
RavenNL Offline
Fan
Posts: 317
Joined: Jul 2011
Reputation: 2
Location: Netherlands
Post: #45
(2013-01-28 15:59)giftie Wrote:  Not sure what is happening, but Eden did have issues with addons that used multiple threads, especially when there are other addons using threads. The addon engine has completely changed in Frodo.


Ok thanks ill wait for frodo and test it again, can't be long (i hope) Smile

[Image: watched-fanart.jpg]
find quote
Post Reply