Posts: 110
Joined: Oct 2009
Reputation:
0
tim-
Senior Member
Posts: 110
mtehonica: where there other files on the other frontends that were watched? As it goes through the first frontend it writes to the DB each file, then when it gets to the next frontend it only looks for files that it doesnt already have in the DB.. so if the two frontends only have 1-2 files out of sync, the second only updates those 1-2 files it had watched the first didnt. Make sense?
Posts: 110
Joined: Oct 2009
Reputation:
0
tim-
Senior Member
Posts: 110
Or are you saying the 1-2 files that it found on the other frontends arent getting updated everywhere?
Posts: 106
Joined: Feb 2008
Reputation:
0
There is 1 file on the second machine that is watched and there are 6 on the third machine. It find them find but does not update them on the other machines.
Posts: 106
Joined: Feb 2008
Reputation:
0
The first machine it checks is Office-iMac. It finds all 502 files on that one. Second machine is AppleTV and it finds 1. Third machine is Matt-MBP and doesn't find anything. Fourth machine is Mac Mini and it finds 6. This is all correct. Problem doesn't occur until it updates, and it doesn't push those changes from second, third or fourth machines. Make sense? lol
Posts: 110
Joined: Oct 2009
Reputation:
0
tim-
Senior Member
Posts: 110
Your logic makes sense but why it would be doing that doesnt...
Can I get a copy of your xbmcsync.db?
Posts: 106
Joined: Feb 2008
Reputation:
0
FYI: My thought was that the DB wasn't getting updated from machines 2, 3 and 4 because if I run it with the full flag, it still doesn't push the updates.
Posts: 110
Joined: Oct 2009
Reputation:
0
tim-
Senior Member
Posts: 110
Well.. I just can't get out of my own way. When I split path into its own argument, I broke everything not path. Left 1 stupid ) in there.........
Just uploaded 0.7.4... should fix it. Minimal testing done on it though
Posts: 110
Joined: Oct 2009
Reputation:
0
tim-
Senior Member
Posts: 110
Glad to be of help. I am not really happy with the way the path argument works as it requires the path to be 100% the same on every box. I need to poke around and figure out how to tie that back into the scraped name or something... hopefully all of your frontends use the same path (I havent checked to see how they look to Windows, etc)
Posts: 106
Joined: Feb 2008
Reputation:
0
Another suggestion for you.... Automatic detection of xbmcsync.db? Search the same directory that xbmcsync.py is executed from for the database and if not found, create a new one? Would simplify it a little bit for people rather than having to explain the newdb argument.
Posts: 110
Joined: Oct 2009
Reputation:
0
tim-
Senior Member
Posts: 110
Rockdawg: which version are you running on?