Posts: 135
Joined: Nov 2008
Reputation:
4
DecK
Senior Member
Posts: 135
I've done some work on the JSON interface, but have hit a roadblock in the Files.GetDirectory method. I am not able to see the last modified timestamp on a file, which is a key requirement for incremental syncing.
In the mean time I've been playing around with the ftplib as a possible alternative for gettting the file. That's working (not yet committed, will do so tonight) but I think I will to extentd it to use SFTP (SSH) before I go beta. I don't wnat users to have to be running an FTP server, unless I can't get anything else to work.
Posts: 1,292
Joined: Sep 2009
Reputation:
71
Awesome. Glad to know you're still working on this idea.
I agree that having users configure an outside service is kind of a pain - keeping everything within the addon (and xbmc) as much as possible will really make it useful. There would be countless ways (rsync, scripts, etc) to do this using just the OS, having it as a pure xbmc addon with no outside configuration would be ideal.
Posts: 135
Joined: Nov 2008
Reputation:
4
DecK
Senior Member
Posts: 135
All
I've updated the first post to reflect that fact that I am now in Beta. Testers would be greatly appreciated at this point.
Cheers
Declan
Posts: 793
Joined: Oct 2010
Reputation:
17
Awesome, now you can start work on storing a copy on Google Drive }=)
Posts: 1,546
Joined: Jun 2005
Reputation:
1
I am not able to get this working. I installed the addon on two of my machines. My desktop is a Win7 machine using local Thumbnails with no symlink or pathsubstitution and I set that one up as the server sharing only Thumbnails. The second machine is running openelec with no shared thumbs (just an empty local Thumbnails fodler) and the addon is configured as a client with the IP set the same as my server's IP. The port is set to 8090 which is what the server computer has set in settings>network>services>allow control of XBMC via HTTP>port. I have the Data to Sync set to Thumbnaiils same as the server and the schedule is set to hourly and II set the starting hour and minute to the next closest time and nothing ever seems to happen. One thing that seems a bit odd, is the the Next Run is greyed and only ever reads "Friday, 01 Jan 1971 00:00:00". I'm not sure if that matter.
Nothing shows in a XBMC debug log. Should there be a progress/running indicator or a notification when it starts? Any ideas what's wrong?
I am really looking forward to this addon. Thanks for doing this.
Posts: 135
Joined: Nov 2008
Reputation:
4
DecK
Senior Member
Posts: 135
This is a service addon, which are not enabled when installed, you need to reboot both machines before the service will start. I should have put that in the first post, sorry.
Can you try rebooting both (server first) and see what happens.
The first thing that should happen is on the client as soon as you reboot, the next run should be updated to the correct time and date based on the setting you have entered. 1/1/71 is my default date, which will be updated as soon as the add-on runs. The fact that it is still 1/1/71 suggests that the add-on isn't yet running (at least on the client side).
If it still isn't working, please post a debug log from both machines.
Posts: 49
Joined: Jun 2010
Reputation:
0
bosel
Junior Member
Posts: 49
2012-04-29, 21:19
(This post was last modified: 2012-04-29, 21:20 by bosel.)
Just wanted to let you know that I think this is great, very useful indeed.
After a quick fix to the error referred to above, the whole thing seems to work without problem.
One thing I've noticed is that shutdown of xbmc seems to take quite a bit of time since I've started using this, but i've not yet tried to figure out why.
Anyway, thanks!