• 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8
[REQUEST] Auto Update Library Script?
#76
I can't reproduce it ventech Sad It seems to just happen every now and then when i'm convinced there was no file change in my chose monitored directories. Maybe something is changing though that i can't see.

As i say, on the whole, everything works 99% and i'd much sooner be with it than without Smile

If i ever get a handle on why its doing it i will post back here but just thought you would like to know.
-= 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
#77
dexter was downloaded on sunday, yet it hasn't showed up in my library as a new episode, I have disabled the auto update on startup in xbmcs settings as I figured this was going to take care of it.

-=jason=-
Reply
#78
inotify doesn't support NFS does it? I love the idea, but would like to see something that supported network mounted filesystems.
Reply
#79
does it work with samba? not picking up anything from my windows home server pc.

like a previous poster, when i go to program addons and click on the auto update plugin, xbmc restarts itself
Reply
#80
ventech Wrote:Alt. 1: Download pre-compiled
autoupdater-x86-64-bin.tar.gz
autoupdater-i686-bin.tar.gz

Extract content to ~/.xbmc/addons/

Sorry for being a noob here. I struggle with installing this and cant find the addon after installing it and starting XBMC Dharma beta2 on Win7 x64

I unpacked autoupdater-x86-64-bin.tar.gz twice (using 7zip), because the first time resulted in a .tar. Eventually I got 2 directories, which I copied to
c:/Users/User1/AppData/Roaming/XBMC/addons
and just to be sure also to
C:\Program Files (x86)\XBMC\addons

I restarted XBMC and went on the GUI to system->addons->enabled addons->programs->Auto Updater
but it is not there.

(another Add-on called XBMC Library Auto Update is there, but this concerns a different Author and has only basic features)
KODI: LibreElec on Raspberry Pi
KODI: LibreElec on Asus Chromebox
 
Reply
#81
maybe, just maybe, it has to do with you try to use a linux-only add-on on a windows box?
Reply
#82
Apologies, I did not notice. You are not that grumpy after all Smile
KODI: LibreElec on Raspberry Pi
KODI: LibreElec on Asus Chromebox
 
Reply
#83
wishbone Wrote:inotify doesn't support NFS does it? I love the idea, but would like to see something that supported network mounted filesystems.
haven't tried but i think it needs to be run at the server side. if you really need this then you could modify the script to make http calls instead, and take out all the xbmc related stuff. Then you could run it on your server and xbmc will be notified through http
Reply
#84
ventech Wrote:haven't tried but i think it needs to be run at the server side. if you really need this then you could modify the script to make http calls instead, and take out all the xbmc related stuff. Then you could run it on your server and xbmc will be notified through http

This could be why it's not working for me. I mount an NFS share to /home/public, and that's where I get all my media from. However, I don't know how to implement your proposed fix. =/

I am also experiencing the problem of XBMC restarting when going to Programs and selecting the script. =/

This is what is in the log as soon as I execute the script from Programs:
Code:
19:44:19 T:3023443840 M:917921792    INFO: Stopping script with id: 2
19:44:20 T:2835590000 M:917921792    INFO: Scriptresult: Interrupted by user
19:44:20 T:2835590000 M:917921792    INFO:   msg: Fatal Python error: Py_EndInterpreter: not the last thread

EDIT: Actally, how would I know that it's working or not?
Reply
#85
my tv shows aren't auto updating Sad and i have them configured correctly

however my movies are auto updating just fine what gives?
according to Sab, I have 4 new tv shows downloaded, the htpc has been rebooted today, I have turn off the auto scan library setting in the xbmc settings menu, was I wrong to do that, but my movies are being updated so im at a loss


-=Jason=-
Reply
#86
I disabled the plugin as it seems to interfere with sickbeard. Everytime it downloads an episode it cleans the library. I think sickbeard must rename the downloaded episode after it moves.

The problem is, even though its disabled, its still cleaning the library on each download now. What gives ?

EDIT: Ah i think i see the issue, i had it autorun at start so it is likely still running even though disabled. Will reboot and see what happens.

EDIT 2: Had to complete uninstall it. Disabling it didn't seem to make much of a difference.
-= 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
#87
All of your issues seems to be related to the same thing so i'll try to make it clearer:

1) If you change the settings while the script is already running you must restart xbmc for them to take effect.
2) Do not try to run the script again while its already running. Xbmc will crash.
3) The script runs as a daemon so disabling the addon wont do anything. Xbmc wont kill it until you restart.
Reply
#88
ventech, wouldn't a complete computer reboot constitute a xbmc reboot, even so I have not made any changes to settings since first installing, setting up, rebooting. since my xbmc has been rebooted SEVERAL times as has the entire computer. so its not like I made changes in settings and they aren't taking effect because I failed to reboot.

its just with my Tv shows im having problems with, my movies are being updated just fine.
I have turned up the update on startup via xbmc settings as I figured this script was running in the background on startup much like Sick, Sab and CouchPotato do.


Can anyone confirm that shows being downloaded and renamed by sickbeard are being updated, if so what settings in Sickbeard need be changed , what settings in xbmcs settings need be changed?


-=Jason=-
Reply
#89
Are you 100% sure you've added the tv folder in the settings? If so then please check the log that the event are actually being sent.
If you have files getting renamed just after is moved then you might have look at the delay option in the addon settings. (even tho the script should handle renaming just fine)
Reply
#90
ventech Wrote:Are you 100% sure you've added the tv folder in the settings? If so then please check the log that the event are actually being sent.
If you have files getting renamed just after is moved then you might have look at the delay option in the addon settings. (even tho the script should handle renaming just fine)

ok I have a log that was up and running, no debugging turned on tough. it has nothing pertaining to updating my library.

but here is what my settings file looks like what file do I need to look at to make sure I have the correct folder paths selected?

Code:
xbmc@XBMCLive:~/.xbmc/addons/script.autoupdater$ cat resources/settings.xml
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<settings>
        <category label="30000">
                <setting id="autoexec"  type="bool"     label="30001" default="true"/>
                <setting id="delay"             type="number"   label="30002" default="1"/>

                <setting id="vclean"    type="bool"     label="30003" default="false"/>
                <setting id="mclean"    type="bool"     label="30004" default="false"/>
                <setting id="dummy"             type="text"     label="30005" />

        </category>
        <category label="30100">
                <setting id="vpath1"    type="folder"   source="video" label="30101" default=[color=red]""[/color]/>
                <setting id="vpath2"    type="folder"   source="video" label="30102" default=""/>
                <setting id="vpath3"    type="folder"   source="video" label="30103" default=""/>
                <setting id="vpath4"    type="folder"   source="video" label="30104" default=""/>
                <setting id="vpath5"    type="folder"   source="video" label="30105" default=""/>
                <setting id="vpath6"    type="folder"   source="video" label="30106" default=""/>
                <setting id="vpath7"    type="folder"   source="video" label="30107" default=""/>
                <setting id="vpath8"    type="folder"   source="video" label="30108" default=""/>
                <setting id="vpath9"    type="folder"   source="video" label="30109" default=""/>
        </category>
        <category label="30200">
                <setting id="mpath1"    type="folder"   source="music" label="30201" default=""/>
                <setting id="mpath2"    type="folder"   source="music" label="30202" default=""/>
                <setting id="mpath3"    type="folder"   source="music" label="30203" default=""/>
                <setting id="mpath4"    type="folder"   source="music" label="30204" default=""/>
                <setting id="mpath5"    type="folder"   source="music" label="30205" default=""/>
                <setting id="mpath6"    type="folder"   source="music" label="30206" default=""/>
                <setting id="mpath7"    type="folder"   source="music" label="30207" default=""/>
                <setting id="mpath8"    type="folder"   source="music" label="30208" default=""/>
                <setting id="mpath9"    type="folder"   source="music" label="30209" default=""/>
        </category>
</settings><setting type="sep"/>

also here is a log from Sab done last night.


Code:
Its.Always.Sunny.in.Philadelphia.S06E04.720p.HDTV.x264-IMMERSE

Loading config from /home/xbmc/.sickbeard/autoProcessTV/autoProcessTV.cfg
Processing folder /mnt/1tb/unsorted.media/Complete/TV/Its.Always.Sunny.in.Philadelphia.S06E04.720p.HDTV.x264-IMMERSE

Auto processing file: /mnt/1tb/unsorted.media/Complete/TV/Its.Always.Sunny.in.Philadelphia.S06E04.720p.HDTV.x264-IMMERSE/its.always.sunny.in.philadelphia.s06e04.720p.hdtv.x264-immerse.mkv (/mnt/1tb/unsorted.media/Complete/TV/Its.Always.Sunny.in.Philadelphia.S06E04.720p.HDTV.x264-IMMERSE)

Processing file /mnt/1tb/unsorted.media/Complete/TV/Its.Always.Sunny.in.Philadelphia.S06E04.720p.HDTV.x264-IMMERSE/its.always.sunny.in.philadelphia.s06e04.720p.hdtv.x264-immerse.mkv (with folder name Its.Always.Sunny.in.Philadelphia.S06E04.720p.HDTV.x264-IMMERSE and NZB name Its.Always.Sunny.in.Philadelphia.S06E04.720p.HDTV.x264-IMMERSE.nzb)

Result from history: (75805, 6, 4) from Its.Always.Sunny.in.Philadelphia.S06E04.720p.HDTV.x264-IMMERSE

Looking up quality for name /mnt/1tb/unsorted.media/Complete/TV/Its.Always.Sunny.in.Philadelphia.S06E04.720p.HDTV.x264-IMMERSE/its.always.sunny.in.philadelphia.s06e04.720p.hdtv.x264-immerse.mkv, got HD TV

saved quality HD TV

Looking up quality for name Its.Always.Sunny.in.Philadelphia.S06E04.720p.HDTV.x264-IMMERSE, got HD TV

Looking up quality for name Its.Always.Sunny.in.Philadelphia.S06E04.720p.HDTV.x264-IMMERSE.nzb, got HD TV

Unless we're told otherwise, assuming the quality is HD TV

TVDB thinks the file is tvdb_id = 75805 6x4

The old status had a quality in it, using that: HD TV

Season folders were 1 which gave Season 6

The ultimate destination for /mnt/1tb/unsorted.media/Complete/TV/Its.Always.Sunny.in.Philadelphia.S06E04.720p.HDTV.x264-IMMERSE/its.always.sunny.in.philadelphia.s06e04.720p.hdtv.x264-immerse.mkv is /mnt/1tb/Tv.Shows/Its Always Sunny in Philly/Season 6/It's.Always.Sunny.in.Philadelphia.-.S06E04.-.Mac's.Big.Break.-.HD.TV.mkv

Existing result: 0

Moving from /mnt/1tb/unsorted.media/Complete/TV/Its.Always.Sunny.in.Philadelphia.S06E04.720p.HDTV.x264-IMMERSE/its.always.sunny.in.philadelphia.s06e04.720p.hdtv.x264-immerse.mkv to /mnt/1tb/Tv.Shows/Its Always Sunny in Philly/Season 6/its.always.sunny.in.philadelphia.s06e04.720p.hdtv.x264-immerse.mkv

File was moved successfully

Renaming the file /mnt/1tb/Tv.Shows/Its Always Sunny in Philly/Season 6/its.always.sunny.in.philadelphia.s06e04.720p.hdtv.x264-immerse.mkv to /mnt/1tb/Tv.Shows/Its Always Sunny in Philly/Season 6/It's.Always.Sunny.in.Philadelphia.-.S06E04.-.Mac's.Big.Break.-.HD.TV.mkv

Post processing finished successfully

Deleting folder /mnt/1tb/unsorted.media/Complete/TV/Its.Always.Sunny.in.Philadelphia.S06E04.720p.HDTV.x264-IMMERSE

Processing succeeded for /mnt/1tb/unsorted.media/Complete/TV/Its.Always.Sunny.in.Philadelphia.S06E04.720p.HDTV.x264-IMMERSE/its.always.sunny.in.philadelphia.s06e04.720p.hdtv.x264-immerse.mkv

-=Jason=-
Reply
  • 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8

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