MySQL Database: Multiple XBMC HTPC's with 1 Shared Library

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
asturnauta Offline
Junior Member
Posts: 14
Joined: Nov 2012
Reputation: 0
Post: #301
(2012-11-18 11:46)Ned Scott Wrote:  You can either pathsub them like that example or copy the sources.xml file between XBMC boxes. It's not really required for a smooth set up, but is a convenience thing.

Hi

I configured my advancedsettings.xml with this:

Code:
<substitute>
        <from>special://masterprofile/sources.xml</from>
        <to>NFS://192.168.1.50/MyFolder/xbmc/userdata/sources.xml</to>
    </substitute>
    <substitute>
        <from>special://masterprofile/mediasources.xml</from>
        <to>NFS://192.168.1.50/MyFolder/xbmc/userdata/mediasources.xml</to>
    </substitute>

I execute xbmc but sources.xml and mediasources.xml have not been copied to my NAS (192.168.1.50/MyFolder/xbmc/userdata)

What am i doing wrong?
(This post was last modified: 2012-11-18 14:55 by asturnauta.)
find quote
Ned Scott Offline
Team-XBMC Wiki Guy
Posts: 12,564
Joined: Jan 2011
Reputation: 137
Location: Arizona, USA
Post: #302
Post a debug log so we can see if the advancedsettings.xml file loaded correctly.

You can make easy links to the XBMC wiki using double brackets around words: [[debug log]] = debug log, [[Add-on:YouTube]] = Add-on:YouTube, [[Adding videos to the library]] = Adding videos to the library, [[userdata]] = userdata, etc
find quote
asturnauta Offline
Junior Member
Posts: 14
Joined: Nov 2012
Reputation: 0
Post: #303
(2012-11-19 02:43)Ned Scott Wrote:  Post a debug log so we can see if the advancedsettings.xml file loaded correctly.

Hi, my debul log is here:

http://xbmclogs.com/show.php?id=14997

All my video sources are NFS shares and i can reproduce them very well.

Have i to copy manually the sources.xml to NFS share or the xbmc do it autotamically?

Thanks.
find quote
Ned Scott Offline
Team-XBMC Wiki Guy
Posts: 12,564
Joined: Jan 2011
Reputation: 137
Location: Arizona, USA
Post: #304
Ah, yes, you have to actually copy them to the NFS share for it to work.

You can make easy links to the XBMC wiki using double brackets around words: [[debug log]] = debug log, [[Add-on:YouTube]] = Add-on:YouTube, [[Adding videos to the library]] = Adding videos to the library, [[userdata]] = userdata, etc
find quote
asturnauta Offline
Junior Member
Posts: 14
Joined: Nov 2012
Reputation: 0
Post: #305
(2012-11-19 13:27)Ned Scott Wrote:  Ah, yes, you have to actually copy them to the NFS share for it to work.

Thank you so much.

I have copied xml files to NAS and if i add new sources the changes are saved to xml on the NAS.

Last question, Have i to remove original xml files on the local computer?

And, In wich folder of the NAS are saved the thumbnails and fanart?


Thanks.
(This post was last modified: 2012-11-19 17:07 by asturnauta.)
find quote
Styxiak Offline
Junior Member
Posts: 2
Joined: Dec 2012
Reputation: 0
Post: #306
Hi,

Why if i use <name> of database in advancedsettings.xml xbmc still want to follow tha name with number?

It is not usable on database providers where you havent control on database name. Sad
(This post was last modified: 2012-12-04 04:25 by Ned Scott.)
find quote
Ned Scott Offline
Team-XBMC Wiki Guy
Posts: 12,564
Joined: Jan 2011
Reputation: 137
Location: Arizona, USA
Post: #307
Database providers? A MySQL setup is really only meant to be used via a local network. Using it via an internet server will make it really slow to load.

You can make easy links to the XBMC wiki using double brackets around words: [[debug log]] = debug log, [[Add-on:YouTube]] = Add-on:YouTube, [[Adding videos to the library]] = Adding videos to the library, [[userdata]] = userdata, etc
find quote
thaJack Offline
Junior Member
Posts: 35
Joined: Sep 2010
Reputation: 0
Post: #308
For those who don't know (and if it's been mentioned, sorry), you can also create symlinks to files, not just directories. My keymap, advanced settings, etc files are also stored on the server and a symlink on each client points to them. If I want to change something in the keymap or advanced settings I just do it on the server copy and every client reflects the change.

Just FYI.
find quote
thaJack Offline
Junior Member
Posts: 35
Joined: Sep 2010
Reputation: 0
Post: #309
(2011-03-06 02:47)Ron_C Wrote:  
Ron_C Wrote:Good idea. Ticket has been entered.

My ticket was rejected because apparently that resumetime is NOT the field used for...well..the resume time and, it seems the resume time is not set until at least 3 minutes into a video. I tried my setup again, this time skipping more than 3 min and it worked perfectly!

You can also add:

<ignoreatstart>60</ignoreatstart>

To the <video></video> section of your advancedsettings.xml. The number, 60 in this case, is how many seconds the video must place before the resume point is set. I believe the setting still works in the latest versions of XBMC. I've had it in mine for a long time.


(2011-03-06 02:47)Ron_C Wrote:  
Ron_C Wrote:Good idea. Ticket has been entered.

My ticket was rejected because apparently that resumetime is NOT the field used for...well..the resume time and, it seems the resume time is not set until at least 3 minutes into a video. I tried my setup again, this time skipping more than 3 min and it worked perfectly!
(This post was last modified: 2012-12-06 16:13 by thaJack.)
find quote
pheidias Offline
Junior Member
Posts: 5
Joined: Feb 2012
Reputation: 0
Post: #310
I'm trying to move to frodo, after I set everything up and try to update my library I get duplicates. this is how they look in the database one is from db60 and one is the new update from frodo b2

<path>smb://10.0.1.7/720p1080p/Drive.1080p.BluRay.X264-BLOW/</path> <filenameandpath>rar://smb%3a%2f%2f10%2e0%2e1%2e7%2f720p1080p%2fDrive%2e1080p%2eBluRay%2eX264%2dBLOW%2f​drive%2e1080p%2ebluray%2ex264%2dblow%2erar/Drive.1080p.BluRay.X264-BLOW.mkv</filenameandpath>

<path>smb://10.0.1.7/720p1080p/Drive.1080p.BluRay.X264-BLOW/</path>
<filenameandpath>rar://smb%3a%2f%2f10.0.1.7%2f720p1080p%2fDrive.1080p.BluRay.X264-BLOW%2fdrive.1080p.bluray.x264-blow.rar/Drive.1080p.BluRay.X264-BLOW.mkv</filenameandpath>

Why isn't filename and path the same?
find quote
Post Reply