• 1
  • 5
  • 6
  • 7(current)
  • 8
  • 9
  • 14
XBMCSync - Sync Watched Flag Across Multiple Boxes
#91
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?
Reply
#92
Or are you saying the 1-2 files that it found on the other frontends arent getting updated everywhere?
Reply
#93
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.
Reply
#94
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
Reply
#95
Your logic makes sense but why it would be doing that doesnt...

Can I get a copy of your xbmcsync.db?
Reply
#96
tim- Wrote:Your logic makes sense but why it would be doing that doesnt...

Can I get a copy of your xbmcsync.db?

Of course Smile Here ya go: http://www.mediafire.com/?tidzfyzwznn
Reply
#97
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.
Reply
#98
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
Reply
#99
tim- Wrote: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

Looks like it's working again! It's always that extra ; or ) that screws everything up! Wink Looks like I'll be moving to using the path argument too because I have some movies that use a VIDEO_TS folder which makes all the movies look the same. Thanks for the updates and the progress!
Reply
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)
Reply
tim- Wrote: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)

Yeah, all my media shared off my multi-TB RAID server so that's not an issue for me but would be nice if it tied into the scraped name for other people.
Reply
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.
Reply
I just added a 3rd pc running XBMC (Kevin-Desktop) and copied over a backup of my MyVideos34.db from a couple weeks ago. I updated the library, added the pc's info to the config.ini and ran the xbmcsync script, but it didn't update any of the movies.

Code:
kevin@XBMCLive:/home$ sudo python xbmcsync.py path
Processing frontend: LR HTPC
0 new files watched
Processing frontend: BR HTPC
VIDEO_TS.IFO appears to be new
VIDEO_TS.IFO appears to be new
VIDEO_TS.IFO appears to be new
VIDEO_TS.IFO appears to be new
VIDEO_TS.IFO appears to be new
VIDEO_TS.IFO appears to be new
VIDEO_TS.IFO appears to be new
VIDEO_TS.IFO appears to be new
VIDEO_TS.IFO appears to be new
9 new files watched
Total of 9 new files watched
Updating frontend: LR HTPC
Updating frontend: BR HTPC
Marking all files as updated

9 is the correct number of episodes that need marked as watched on Kevin-Desktop, but they didn't get marked.
Reply
mtehonica Wrote: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.

Yeah, I was looking into that a bit earlier. I have to figure out the best way to do that with sqlite but I think I have a plan on it. Thanks for the ideas.
Reply
Rockdawg: which version are you running on?
Reply
  • 1
  • 5
  • 6
  • 7(current)
  • 8
  • 9
  • 14

Logout Mark Read Team Forum Stats Members Help
XBMCSync - Sync Watched Flag Across Multiple Boxes0