![]() |
HOW-TO:Share libraries using MySQL: Wiki Edition - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Tips, tricks, and step by step guides (https://forum.kodi.tv/forumdisplay.php?fid=110) +--- Thread: HOW-TO:Share libraries using MySQL: Wiki Edition (/showthread.php?tid=157572) |
RE: HOW-TO synchronize XBMC between every room in the house: Wiki Edition - winestock - 2013-04-04 (2013-04-03, 06:15)ivanmmj Wrote:(2013-04-02, 01:34)winestock Wrote:(2013-03-28, 01:49)ivanmmj Wrote: Would you be interested in an addition to the Wiki on how to set this up in Arch with MySQL and/or MariaDB? I'm thinking of moving my server from Ubuntu to Arch as it's the only machine in the house that still runs Ubuntu and I figured I could always make a walkthrough as I do it. The other storage engines I have tried is innodb and aria. Both are slower then myisam. I also have my server on battery backup. I backup the mysql data using mysqldump periodically. I also use the XBMC export to single file as another backup of the XBMC library. If I need to rebuild my XBMC library it would take me at most about 5 minutes using either of the backups. RE: HOW-TO synchronize XBMC between every room in the house: Wiki Edition - crimsonfury - 2013-04-04 I'm not trying to hack this thread. But I use Plex Media Server and access it through XBMC and Plex Home Theater from different devices and different HTPCs... My only problem is with accessing Plex Media Server from XBMC, my homemenu widgets don't work because its grabbing my media from the video addon Plexbmc. Any work around for this? RE: HOW-TO synchronize XBMC between every room in the house: Wiki Edition - Grubsy - 2013-04-11 Just following the Wiki to setup the MySQL database. I exported the library, then removed one of my movie sources Movies-HD1 (G:\Movies-HD) I then re-added it as: Movies-HD1 (smb://ComputerName/Movies-HD1) Seemed to go through quite quick and re-add all the movies. I then checked then recently added movies list and this still looks the same except the watched status seems to have been lost for any that have been watched I checked the .nfo file for 1 and it shows <playcount>1</playcount> <lastplayed>2013-02-24</lastplayed> Is this where it gets the watched status from? Have I done something wrong/missed something? Thanks ![]() RE: HOW-TO synchronize XBMC between every room in the house: Wiki Edition - Ned Scott - 2013-04-11 Did you include this in your advancedsettings.xml file for the importing XBMC device? Code: <videolibrary> If not, you can remove the source, add that to your advancedsettings.xml file, and then reimport. RE: HOW-TO synchronize XBMC between every room in the house: Wiki Edition - Grubsy - 2013-04-11 Thanks Ned Scott. My fault. Hadn't restarted XBMC since I added the advancedsettings.xml Removed and re-added the source and the watched status seems to be there now RE: HOW-TO synchronize XBMC between every room in the house: Wiki Edition - moontan77 - 2013-05-18 Folks i'm using mysql and this query seems to be causing issues with the skin widgets service and as a result its slowing the opening of addons. Anything that can be done to speed it up? I have a large video library. 15:49:09 T:139864761595648 DEBUG: RunQuery took 118872 ms for 324 items query: SELECT * FROM tvshowview WHERE (tvshowview.idShow IN (select tvshowview.idShow from tvshowview where (watchedcount > 0 AND watchedcount < totalCount) OR (watchedcount = 0 AND tvshowview.idShow IN (select episodeview.idShow from episodeview WHERE episodeview.idShow = tvshowview.idShow AND episodeview.resumeTimeInSeconds > 0)))) RE: HOW-TO synchronize XBMC between every room in the house: Wiki Edition - Dark_Slayer - 2013-05-28 I suppose this is a good place to include my noob comments to this wiki page It appears the options and walkthrough were current and worked fine for pre-5 releases of MySQL. At the best, I can only find a 5.0 release, but I can't find anything prior. Without *thinking* I went ahead with the obvious release 5.6 First Issue
Second Issue
RE: HOW-TO synchronize XBMC between every room in the house: Wiki Edition - Milhouse - 2013-05-28 (2013-05-28, 19:48)Dark_Slayer Wrote: Without *thinking* I went ahead with the obvious release 5.6 I guess you completely missed the big red box and ![]() Oh and if anyone wants to synchronise their thumbnails/texture cache without hacks such as path substitution or rsyncing databases/folders... Texture Cache Maintenance is your friend. ![]() RE: HOW-TO synchronize XBMC between every room in the house: Wiki Edition - Ned Scott - 2013-05-28 First issue: The configuration screen you've linked to is actually something you shouldn't need to fiddle with at all for a Windows MySQL server install. It's only something you'll see if you dive deeper into the configuration wizard. See howtogeek.com's guide here and they mention using "standard" as well for 5.5: http://www.howtogeek.com/75535/how-to-sync-your-media-across-your-entire-house-with-xbmc/ Quote:The MySQL configuration wizard will launch and present you with the option to select between Detailed and Standard Configuration. Select Standard Configuration and click Next. Second issue: This is a known issue in XBMC. Until the bug in XBMC is fixed (and yes, it is a bug in XBMC, despite what that other user says), users should stay on 5.5. RE: HOW-TO synchronize XBMC between every room in the house: Wiki Edition - Dark_Slayer - 2013-05-28 Thanks, and yes I missed the big red box and warning sign I don't know how long it's been there, but I think I did this back in February and don't recall seeing it Easy enough, 5.5 it will be (when I get to it) RE: HOW-TO synchronize XBMC between every room in the house: Wiki Edition - Patel128 - 2013-05-30 Is it possible to have 2 different MySQL databases sync with 1 user on multiple XBMC boxes? There are 2 different NAS boxes (both are on the same LAN) that contain files needing to be synced. How would the advancedsettings look? RE: HOW-TO synchronize XBMC between every room in the house: Wiki Edition - Milhouse - 2013-05-31 Two different databases accessed by the same client isn't possible (unless you use profiles, which might work, one database per profile). But if what you want to do is have your XBMC clients access all of the media stored on the two different NAS devices, then that's entirely possible with a single MySQL database. Just add both NAS as sources on your clients (or just the scraper client), then scrape in the content to your single MySQL database. Add the MySQL database settings to the advancedsettings.xml on each client, which should then have access to all the media on the two NAS devices. RE: HOW-TO synchronize XBMC between every room in the house: Wiki Edition - Patel128 - 2013-05-31 Thanks. That makes sense to just have 1 central database for all media on all of the different NASs. I'm not sure why I was thinking to have 2 different databases. RE: HOW-TO synchronize XBMC between every room in the house: Wiki Edition - ivanmmj - 2013-06-15 Finally getting a chance to switch my server to Arch, today. I'll be writing up the how to as soon as I get it set up. Note that Arch has switched to MariaDB so I'll be using that for the walkthrough instead of MySQL. RE: HOW-TO synchronize XBMC between every room in the house: Wiki Edition - ivanmmj - 2013-06-16 Ok, finally got it done and updated the wiki in between the newborn napping. lol I haven't had a chance to test it with XBMC, but that does allow me to access the database remotely through other means. |