View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 7 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: xbmc sync
PostPosted: Thu May 15, 2014 11:10 am 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 892
Location: Lexington, Ky
Question for the xbmc users. I have 2 LinHES boxes at two different locations. Both machines are LinHES 8.1, have XBMC installed, and share the same hardware configurations.

The second box has been shutdown since October. I want to bring the watched shows, movies, etc to agree with box #1.

I'm thinking that If I tar the .xbmc directory on box #1 and over-write the .xbmc directory on box #2 both boxes will be in sync again.

I'm just wondering if there any files that might have the host name in the .xbmc directory structure that I need to worry about?

Thanks.


Top
 Profile  
 
 Post subject: Re: xbmc sync
PostPosted: Thu May 15, 2014 12:33 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1995
Location: /dev/null
The problem was that approach is that you would have to keep them synced in perpetuity... this could be accomplished with an nfs share to /home/mythtv/.xbmc on the "server" or you could migrate the database from sqlite into a real mysql database. See: https://wiki.archlinux.org/index.php/XB ... e_XBMC_PCs

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject: Re: xbmc sync
PostPosted: Thu May 15, 2014 8:21 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 892
Location: Lexington, Ky
graysky,

Thanks for your input unfortunately a shared connection is not possible as the machines are 600 miles apart.

Basically we spend 6 months in where #1 is located and the other 6 months where #2 is. So I'm thinking that moving the contents of .xbmc would be a primitive but fairly easy way to sync as I move from one location to the other.

Tim


Top
 Profile  
 
 Post subject: Re: xbmc sync
PostPosted: Fri May 16, 2014 12:21 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1995
Location: /dev/null
OK. Your use case is very different from what I suggested. As long as your filesystems that xbmc knows about are identical, the most simplistic solution is what you have outlined.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject: Re: xbmc sync
PostPosted: Fri May 16, 2014 12:33 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 892
Location: Lexington, Ky
Thanks for the input I know it's an unusual situation. Would you delete the the existing content or just let the tar overwrite the existing?

I don't think that it would matter either way.


Top
 Profile  
 
 Post subject: Re: xbmc sync
PostPosted: Fri May 16, 2014 2:11 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1995
Location: /dev/null
Better to rename the old one, untar the new one and delete the old one only when you're sure the process was successful.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject: Re: xbmc sync
PostPosted: Fri May 16, 2014 2:59 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 892
Location: Lexington, Ky
Good thought! Will do that!

Thanks


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: Baidu [Spider] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu