Posts: 1,293
Joined: Sep 2009
Reputation:
73
Question on this script.
I have a few frontends some xbox, some not. I don't always keep the xbox frontends running, will your script fail gracefully if one of the frontends is not up when it tries to find the IP? I'd like to set it up so that if the box happens to be on its info will get updated, but if not then it is no big deal. I figure if I run the script every 15-20 minutes there is a good chance it will hit it when it is on.
Thanks.
Posts: 105
Joined: May 2008
Reputation:
0
ould
Senior Member
Posts: 105
Hi there,
Just came across this thread and am planning to try out your script in the next couple days as time permits. I had a couple of questions and comments.
I have 2 Linux HTPC's and one xbox. On the Linux side of things I use NFS to access my server where my media is stored so on the two Linux machines the paths are identical. However on the xbox I use samba so the paths will be similar but slightly different to the Linux frontends. Will this pose a problem?
Secondly, I noticed some people mentioning their machines are in "sleep" mode when not in use and hence would not be updated in this state. While I know this is not a huge deal I was thinking a possible solution to this would be to possibly "ping" each machine before updating to see if it is accessible or not. If it responds to a ping then great let's update it. It it does not respond to a ping we could try sending a "Wake on Lan" request and then try pinging the machine again after an interval. Might be workable but I am no programmer so not sure really if that is feasible. Just an idea.
Thanks for sharing your programming with us.
Kevin
Posts: 110
Joined: Oct 2009
Reputation:
0
tim-
Senior Member
Posts: 110
2010-01-14, 06:04
(This post was last modified: 2010-01-14, 06:06 by tim-.)
Okay.. so version 0.9 is posted. Some major changes to this one
1) The path argument is gone
2) All runs compare the filename and the title (either of the episode or movie)
There were some major logic changes since we have to search for movies and tv shows separately. Please test and let me know how it goes..
Make sure you delete your xbmcsync.db before starting as the DB has changed
Also, backup your MyVideos34.db ...
Posts: 106
Joined: Feb 2008
Reputation:
0
I've been running this for about half a day and seems to be working great!
Posts: 110
Joined: Oct 2009
Reputation:
0
tim-
Senior Member
Posts: 110
Good deal. I think i will start cleaning this one up and then target it for an "official" release
Posts: 110
Joined: Oct 2009
Reputation:
0
tim-
Senior Member
Posts: 110
herg: Okay, let me know if you run into any other issues. Thanks
tim-
Posts: 110
Joined: Oct 2009
Reputation:
0
tim-
Senior Member
Posts: 110
mtehonica:
Very odd indeed. I am guessing the program is erroring out on something and its not getting logged for some reason. Can you try running it manually instead of from the cronjob with the same arguments?
I just went to check my log and make sure I wasnt getting weird errors and realized I am still running 0.8.. doh!