• 1
  • 4
  • 5
  • 6
  • 7(current)
  • 8
[REQUEST] Auto Update Library Script?
#91
That isnt your settings file. The one you want is ~/.xbmc/userdata/addon_data/script.autoupdater/settings.xml
And i'll need the full debug log to make some sense out of it (not sure what kind of log this is that you posted)
Reply
#92
ventech Wrote:That isnt your settings file. The one you want is ~/.xbmc/userdata/addon_data/script.autoupdater/settings.xml
And i'll need the full debug log to make some sense out of it (not sure what kind of log this is that you posted)

its the log from sab when it ran my sickbeard post processing showing that the file did get moved and renamed correctly

-=Jason=-

my settings are correct I guess I need to turn on debugging and wait for the next tv show to download.
Code:
xbmc@XBMCLive:~$ cat .xbmc/userdata/addon_data/script.autoupdater/settings.xml
<settings>
    <setting id="autoexec" value="true" />
    <setting id="delay" value="1" />
    <setting id="dummy" value="" />
    <setting id="mclean" value="true" />
    <setting id="mpath1" value="/mnt/wd250/Media/Music/" />
    <setting id="mpath2" value="" />
    <setting id="mpath3" value="" />
    <setting id="mpath4" value="" />
    <setting id="mpath5" value="" />
    <setting id="mpath6" value="" />
    <setting id="mpath7" value="" />
    <setting id="mpath8" value="" />
    <setting id="mpath9" value="" />
    <setting id="vclean" value="true" />
    <setting id="vpath1" value="/mnt/1tb/Movies/" />
    <setting id="vpath2" value="/mnt/wd250/Media/Movies/" />
    <setting id="vpath3" value="/mnt/1tb/Music.Videos/" />
    <setting id="vpath4" value="/mnt/1tb/Tv.Shows/" />
    <setting id="vpath5" value="/mnt/wd250/Media/Tv.Shows/" />
    <setting id="vpath6" value="" />
    <setting id="vpath7" value="" />
    <setting id="vpath8" value="" />
    <setting id="vpath9" value="" />
</settings>
xbmc@XBMCLive:~$
Reply
#93
Hi Jason, just to confirm i had it running with sickbeard. I turned of all the update options in sickbeard and everything worked for a while (with the occasional hickup of the auto updater not seeing or updating something).

However i updated sickbeard recently and now i think it most copy the file to destination THEN rename, causing the clean library option to kick in on every episode download. I could have disabled the clean library option in settings i guess but then my library would have had two copies with only one being the actual working episode.

I did notice that there is a delay before updating option (mine was default to 1) so i could have maybe used that to solve it. I.e

<setting id="delay" value="1" />


In the end though i decided that with the amount im downloading at the moment, it was best to pass updates back to sickbeard and update manually when i needed for the movies. So uninstalled the plugin.

Still an amazing plugin though.
-= My Media Centre =-
ACER Revo R3610 | x2 1.5TB WD Caviar Green SATA Hard Drives (WD15EADS) | x2 2.0TB WD Caviar Green SATA Hard Drive ( WD15EARS ) | 3.5in Black eSATA USB Trayless SATA External Hard Drive Enclosure | Emprex 3009URF Wireless MCE Remote Control | XBMCLive Dharma Beta1
Reply
#94
Is there any way we can get an option built in to also auto Clean the library? Or would that need to be a separate add-on? Thanks!
Image
thegamesdb.net - An open video games database.
scottbrant.net - Blog
Reply
#95
check the addon settings
Reply
#96
In my add on settings for XBMC Library Auto Update, I just have the following options:

Amount of time between updates (hours)
Update Video Library
Update Music Library

Nothing about cleaning the libraries either before, or after an update.
Image
thegamesdb.net - An open video games database.
scottbrant.net - Blog
Reply
#97
nm, thought about a different addon
Reply
#98
grajen3 Wrote:Here's feature list
  • Autocreating autoexec.py if such doesn't exist or if it exist add command to launch the script in autoexec
  • Updating video and/or music library
  • Cleaning video and/or music library
  • Settings:
    Image


I hope to get feedback from You, as I tested it only on my machine!

This works on an Apple TV running Dharma beta 2 with the Crystal HD card. But it seems to take too many resources and will stall things. Would it be possible to be able to select a folder that one migth want to update. For example perhaps it's only a folder of TV shows. That way it's a small activity. Going through the whole video library in order to update movies and TV shows seems to be taxing.

philip
Reply
#99
I think it would be nice if you could set the intervals separately for updating and cleaning libraries. Cleaning my music library takes a considerable amount of time with over 1000 artists. I'd like to have my music and video libraries update every 2 hours, and have my libraries cleaned every 24 hours.
Image
thegamesdb.net - An open video games database.
scottbrant.net - Blog
Reply
I'm using the addon and it works great, but I've noticed that whenever it runs while watching a video it stutters briefly. And when the update is set to run every 5 minutes it gets a bit annoying lol.

So is there any chance we could disable it while watching video?

Thanks Smile
Reply
Hi all

I have enabled the new Add-on 'Automatic Library updater' from the official XBMC repository. I have gone to the configuration screen and enabled video and music update and for it update every 2 hours.

However it never does an automatic update.

In the instructions it says to manually start the add-on each time you launch XBMC - after hours of fiddling i still have no idea how to do this
The instructions also say you can move the included autoexec.py file to your appdata folder to enable it to automatically start each time you launch XBMC, but I can't find this file anywhere

I know I am missing something simple here, but can someone help me

Glen
Reply
Bump, same issue
Reply
same
Reply
While I haven't used this particular add-on myself, the auto library update is quite easy to set up yourself.

First configure an autoexec.py file in your XBMC \userdata (on windows 7 this is generally C:\Users\<user>\appdata\roaming\xbmc\userdata, on earlier its C:\doc and settings\...) folder.

The python file should contain the following:

Code:
import xbmc, xbmcgui
xbmc.executescript('special://home/userdata/VideoLibraryUpdater.py')

Then create VideoLibraryUpdater.py in the same \userdata folder which contains the following:

Code:
import xbmc, xbmcgui
xbmc.executebuiltin('XBMC.UpdateLibrary(video)')
xbmc.executebuiltin('XBMC.AlarmClock( VideoLibraryUpdater, XBMC.RunScript(special://home/scripts/VideoLibraryUpdater.py),60,true)')

Change the 60 to whatever you like, its in minutes.

Be aware that the update will interrupt library exports so if you are doing a mass export make sure you either disable it or give it a longer time.
Reply
bump Smile

Really want this feature Smile
Reply
  • 1
  • 4
  • 5
  • 6
  • 7(current)
  • 8

Logout Mark Read Team Forum Stats Members Help
[REQUEST] Auto Update Library Script?1