Easily Sync Multiple XBMC Machines to 1 Library

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Ned Scott Offline
Team-XBMC Wiki Guy
Posts: 11,908
Joined: Jan 2011
Reputation: 130
Location: Arizona, USA
Post: #51
darkscout Wrote:Well, you better not upgrade to Eden because file mode is gone.
I also don't know how you get everything screwed up. Sickbeard and Couchpotato keep everything straight and XBMC has only scraped 1-2 things wrong for me ever. One was the movie Red (because I have both versions) and the other is usually a UK/US version of a TV show.

Also, someone take a look at my bug report:
http://trac.xbmc.org/ticket/12202

Hot off the github compiled an hour ago.

Not really gone, just merged. It's basically "file view" now instead of there being modes. If one doesn't scrape then it will be identical to file mode in 10.1
find quote
DejaVu Offline
Posting Freak
Posts: 1,155
Joined: May 2010
Reputation: 2
Location: United Kingdom
Post: #52
darkscout Wrote:Also, someone take a look at my bug report:
http://trac.xbmc.org/ticket/12202

Hot off the github compiled an hour ago.

I was trying to sort the exact same thing this morning.

Least that explains I'm not the only one now! Smile
http://forum.xbmc.org/showthread.php?tid=114430

[Image: watched-fanart.jpg]
Maraschino - Web based HTPC Organiser. Keep track of all your web based programs all in one place.
Home Page - Repo - Bug Tracker - Support Forum.
(This post was last modified: 2011-11-12 06:03 by DejaVu.)
find quote
MrLight Offline
Skilled Python Coder
Posts: 26
Joined: Jan 2008
Reputation: 0
Post: #53
darkscout Wrote:Also, someone take a look at my bug report:
http://trac.xbmc.org/ticket/12202

Hot off the github compiled an hour ago.

Same Problem for me...
find quote
darkscout Offline
Posting Freak
Posts: 2,148
Joined: Jul 2008
Reputation: 12
Post: #54
I think I found the "original" thread, but it has the header "SQL" and is buried in the Windows section (which is why it never turned up in a search).

http://forum.xbmc.org/showthread.php?tid=113437

There are 2 solutions, neither is ideal.
1) Just expand the number of connections XBMC can have. If your MySQL server & Network can handle it.

2) Give xbmc near root access to the MySQL server. Sort of defeats the entire purpose of permissions and the like, not to mention 'root' can only login from 127.0.0.1 on my server.

Some people say that they give it temp access, reboot, let it do its dirty work and then give it normal permissions back. Obviously not seamless or ideal.

I'll probably just use port forwarding

ssh -L 3306:127.0.0.1:3306 server.local

Then change it to root and root password, let it sort things out such.

Could any devs tell us what permissions it needs exactly? I guess I don't have an issue with XBMC creating new tables, just not deleting them or any user admin access either.

[Image: aeKO.jpeg]
Code:
GRANT ALL PRIVILEGES ON `xbmc_%`.* TO 'xbmc'@'%';
IF you have a mysql problem, find one of the 4 dozen threads already open.
find quote
Paradoxgrowth Offline
Junior Member
Posts: 8
Joined: Nov 2011
Reputation: 0
Post: #55
hippojay Wrote:I don't think anyone else has tried it yet, so I had a go:

XonX addon - uses JSON-RPC to talk to XBMC instances (multiple) and pull Movie and TV show library info back. Currently playback is by means of SMB..

So basically, you set up an XBMC instance as the central libary - and play media that it directs you too..

http://forum.xbmc.org/showthread.php?tid=99297

Yo Hippojay,
Does your plug in support syncing outside of the library? I always find files outside of the file stucture.....
find quote
Paradoxgrowth Offline
Junior Member
Posts: 8
Joined: Nov 2011
Reputation: 0
Post: #56
Ned Scott Wrote:HELLO WHAT THE HECK AER YOU TALKING ABOUT MAN ZOMG TACOS BACON

It will still sync your watched ticks in file mode. What else are you trying to sync? Keep your media in one place on your network.

Also, check out a media manager such as Ember to fix your "tags" (do you mean file name?) and stuff.

Yes tacos and bacon! no man Its been a while but when i set up SQL it would only sync what was watched in the library. Another thing is I remember it not being the easiest. Why cant' it just sync like plex or just have a easy enough plug in.
find quote
DejaVu Offline
Posting Freak
Posts: 1,155
Joined: May 2010
Reputation: 2
Location: United Kingdom
Post: #57
darkscout Wrote:There are 2 solutions, neither is ideal.
1) Just expand the number of connections XBMC can have. If your MySQL server & Network can handle it.

2) Give xbmc near root access to the MySQL server. Sort of defeats the entire purpose of permissions and the like, not to mention 'root' can only login from 127.0.0.1 on my server.

I'm going to set the connections to 10,000 to see if a) it crashes or b) ir works.
I'm willing to have another stab at this.
The only reason I am using MySQL is for XBMC and will allow full access.

Any clues to how I go about doing it please?!

[Image: watched-fanart.jpg]
Maraschino - Web based HTPC Organiser. Keep track of all your web based programs all in one place.
Home Page - Repo - Bug Tracker - Support Forum.
find quote
darkscout Offline
Posting Freak
Posts: 2,148
Joined: Jul 2008
Reputation: 12
Post: #58
DejaVu Wrote:I'm going to set the connections to 10,000 to see if a) it crashes or b) ir works.
I'm willing to have another stab at this.
The only reason I am using MySQL is for XBMC and will allow full access.

Any clues to how I go about doing it please?!


Don't use 'xbmc' user and just put in 'root'.

[Image: aeKO.jpeg]
Code:
GRANT ALL PRIVILEGES ON `xbmc_%`.* TO 'xbmc'@'%';
IF you have a mysql problem, find one of the 4 dozen threads already open.
find quote
DejaVu Offline
Posting Freak
Posts: 1,155
Joined: May 2010
Reputation: 2
Location: United Kingdom
Post: #59
Well that was easy. Dont specify a Database name and set the user to root access. Library created nicely.

I'm going to give my other users root access too now. Hope they do what they are meant to.

[Image: watched-fanart.jpg]
Maraschino - Web based HTPC Organiser. Keep track of all your web based programs all in one place.
Home Page - Repo - Bug Tracker - Support Forum.
find quote
darkscout Offline
Posting Freak
Posts: 2,148
Joined: Jul 2008
Reputation: 12
Post: #60
I you MIGHT have to allow root to allow login from non localhost (Default on linux).

MySQL admin tool would be the easiest way\

[Image: aeKO.jpeg]
Code:
GRANT ALL PRIVILEGES ON `xbmc_%`.* TO 'xbmc'@'%';
IF you have a mysql problem, find one of the 4 dozen threads already open.
find quote
Post Reply