XBMC Community Forum
[RELEASE - BETA] service.datasync - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Python Add-on Development (/forumdisplay.php?fid=26)
+--- Thread: [RELEASE - BETA] service.datasync (/showthread.php?tid=127628)

Pages: 1 2 3 4 5 6


RE: [RELEASE - BETA] service.datasync - rflores2323 - 2012-05-03 16:26

will this sync both ways?? server <---> client? or will it only sync info from server to client?


RE: [RELEASE - BETA] service.datasync - DecK - 2012-05-03 17:04

It is a one way sync Server --> Client.

The idea being that you only add data, (rss entries, new add-ons, new sources, library updates) on the Server and this changes get propagated to all the clients.


RE: [RELEASE - BETA] service.datasync - rflores2323 - 2012-05-05 15:17

Well i usually use my atv2 more than my home theater since my atv2 are in bedrooms and living rooms in house. Have you tested this on atv2. Can an atv2 be a server? How would the sources work if my atv2 uses smb paths and my home theater pc actually has the files on it.


RE: [RELEASE - BETA] service.datasync - robweber - 2012-05-05 17:20

(2012-05-05 15:17)rflores2323 Wrote:  Well i usually use my atv2 more than my home theater since my atv2 are in bedrooms and living rooms in house. Have you tested this on atv2. Can an atv2 be a server? How would the sources work if my atv2 uses smb paths and my home theater pc actually has the files on it.

I'm not trying to be negative here but why don't you just try it? It is a regular xbmc addon so there isn't any reason it won't run on an appletv. Worst case scenario you get some errors and can report back here, this is a beta after all. The server install is best done on an install of xbmc that is a) on a lot of the time and b) the only one you run library updates on.

In regards to the smb paths. I'm assuming you are using the advancedsettings.xml file to map directories like special://home to network shares here? If that is the case on the "server" install you'll most likely get an error as it uses the os python module which only knows how to parse local paths. Maybe DecK can jump in here but I think the point to this addon is to not have to use path substitution and instead allow your addons, thumbnails, etc to remain local (and load faster) via the local path.


RE: [RELEASE - BETA] service.datasync - bosel - 2012-05-17 09:32

Service has been working great for me (continually,two weeks ,several clients).

Will you be submitting the add-on to the official repository?


RE: [RELEASE - BETA] service.datasync - RockDawg - 2012-05-22 06:32

I got this to work once, but everytime since then I get the script failed error on XBMC startup. Here is part of the log:

Code:
00:28:22 T:8312    INFO: -->Python script returned the following error<--
00:28:22 T:8312   ERROR: Error Type: <type 'exceptions.WindowsError'>
00:28:22 T:8312   ERROR: Error Contents: (2, 'The system cannot find the file specified', 'C:\\Users\\Kevin\\AppData\\Roaming\\XBMC\\addons\\skin.aeon.nox\\media\\flags\\​music\\recordlabel\\Rosenst+\xa6rm.png')
00:28:22 T:8312   ERROR: Traceback (most recent call last):
                                              File "C:\Users\Kevin\AppData\Roaming\XBMC\addons\service.datasync\default.py", line 44, in <module>
                                                functions.writeFileList(source_path,file_path,root_dir,0)
                                              File "C:\Users\Kevin\AppData\Roaming\XBMC\addons\service.datasync\resources\lib\functi​ons.py", line 38, in writeFileList
                                                pickle.dump(getFilesAsDic(FilePath,TrimPath),outfile)
                                              File "C:\Users\Kevin\AppData\Roaming\XBMC\addons\service.datasync\resources\lib\functi​ons.py", line 16, in getFilesAsDic
                                                file_time = os.path.getmtime(file_name)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\genericpath.py", line 54, in getmtime
                                                return os.stat(filename).st_mtime
                                            WindowsError: (2, 'The system cannot find the file specified', 'C:\\Users\\Kevin\\AppData\\Roaming\\XBMC\\addons\\skin.aeon.nox\\media\\flags\\​music\\recordlabel\\Rosenst+\xa6rm.png')
00:28:22 T:8312    INFO: -->End of Python script error report<--
00:28:22 T:8312    INFO: Python script stopped
00:28:22 T:8312   DEBUG: Thread XBPyThread 8312 terminating
00:28:22 T:81264   DEBUG: waiting for python thread 1 to stop
00:28:22 T:81264   DEBUG: python thread 1 destructed

Here is the full log:

http://pastesite.com/36845

I am running the latest zip from github.


RE: [RELEASE - BETA] service.datasync - rflores2323 - 2012-05-29 20:26

is this addon still being developed?


RE: [RELEASE - BETA] service.datasync - DecK - 2012-05-29 21:14

(2012-05-29 20:26)rflores2323 Wrote:  is this addon still being developed?

Not actively right now, way too busy in the real world. I hope to get back to it in the next week or two, to address some of the outstanding issues. At that point I will be submitting it to the official repository. In the mean time, please feel free to branch the code and submit back any changes to me in Github.


RE: [RELEASE - BETA] service.datasync - kreeturez - 2012-06-03 04:38

(2012-05-29 21:14)DecK Wrote:  
(2012-05-29 20:26)rflores2323 Wrote:  is this addon still being developed?

Not actively right now, way too busy in the real world. I hope to get back to it in the next week or two, to address some of the outstanding issues. At that point I will be submitting it to the official repository. In the mean time, please feel free to branch the code and submit back any changes to me in Github.

Looking forward - this has a ton of promise; thumbnail sharing on a Shared-Library setup, for instance, is a vast performance enhancer...

Great job so far, man!


RE: [RELEASE - BETA] service.datasync - Collinwood - 2012-08-12 19:14

Hey there!

In first, thank you for this addon!

One Question: In the register "schedule" there is an option called "next run". How to enable it? Or is this a feature-to-come?

Greetings to all
Tobi