Posts: 2
Joined: Mar 2015
Reputation:
0
Hi all, I could use some help. I am using mariadb on a Sinology 1511+. I have it all running fine with one issue,
I have 2 fresh kodi installs on 2 different units, so after I setup my DB I add my sources to install #1 and let it populate the DB using loacl information. Everything goes fine and it finds all 3000 of my movies.
So I go to instal #2 and add my advanced setting and sources. My sources connect via NFS. Everything works fine except when I do a library update and it starts adding all my movies over again as duplicates. Please if anyone has any ideas!
Posts: 1,219
Joined: Jul 2011
Reputation:
12
TRaSH
Posting Freak
Posts: 1,219
Do you use the same paths on both machine
LibreElec Kodi | Aeon MQ ?
Posts: 2
Joined: Mar 2015
Reputation:
0
yes same paths like this -> nfs:192.168.1.100/volume1/Media/Movies
Posts: 17,855
Joined: Jan 2011
Reputation:
1,056
Milhouse
Retired Team-Kodi Member
Posts: 17,855
a) You don't need to run an update on #2, but doing so obviously shouldn't create duplicates (it shouldn't have added anything)
b) If a scan creates duplicates, it's because the paths used by the second scan are different to the first. Look at both paths for a single movie that has been duplicated and spot the difference.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Posts: 84
Joined: Feb 2010
Reputation:
0
So when is the MySQL options going to be in Kodi itself? Or has someone already done an addon for it?
Posts: 981
Joined: Mar 2014
Reputation:
40
2015-03-23, 21:34
(This post was last modified: 2015-03-23, 21:37 by flhthemi.)
I would really like to figure out profiles. I want a kids profile to seperate all the Ice Princess type stuff from my regular database in mysql. I tried a profile with its own advancedsettings file that was just a blank file other than
<advancedsettings>
</advancedsettings>
Worked fine. So I figured now I'll create a database in mysql named "kids_video" . Then added the needed mysql lines to advancedsettings file mentioned above in kids profile. Ran a library update and ended up seeing the movies in my regular library too. Also mysql created "kids_video90". I did include the <name> in advancedsettings. I guess kodi added the 90 in mysql. So I dumped the profile and cleared the database and gave up. All is back to normal with just the master profile and me with a sad face ?
Posts: 477
Joined: Sep 2011
Reputation:
6
Just a heads up. I was using MySQL 5.7.5 m15 without problems up until recently, but after upgrading to MySQL 5.7.7 rc, Kodi had database issues. Everything seems to be working okay, but I saw that when I have a TV show with, let's say three seasons with thirteen unwatched eps per season, it would say 1/13 instead of 0/13. That was my first clue something was wrong, after that I noticed I can't clean the db anymore. Clean install of 5.7.7 rc had the same issue, so now I'm back to the GA version of 5.6.24. It's still rebuilding the database, but after checking the seasons info, it seems okay again.
Is there medication for compulsive update disorder?
CoreElec on a Tanix TX3 (s905x3). Onkyo NR-656. Canton Movie CD-1000. LG 55B6V.
If it ain't broke: break it, fix it, repeat
Posts: 337
Joined: Apr 2014
Reputation:
5
2015-05-13, 01:06
(This post was last modified: 2015-05-13, 01:23 by RamboUnchained.)
So, I have a Windows server with 12TB of storage and a BUNCH of TV shows with fanart, banners, nfo, etc. I recently did a full database wipe after a Windows upgrade and I'm in the process of rebuilding my database/library. My issue is that it's soooo slow. It wasn't bad the first time, but my library has grown immensely since I first set up MySQL. Would it be possible to set all of my sources as SMB/ETC/ETC/ETC and scan them without having MySQL running and then when the scan is finished, have MySQL update in bulk? Kodi + MySQL is really taxing my processor. I'd really like to just be able to set up my sources, scan them, and THEN run MySQL and allow it to update the database, but I'm not sure if that would work without breaking things.
EDIT: Well it appears that that's not possible..bummer
Posts: 182
Joined: Dec 2011
Reputation:
2
D-an-W
Senior Member
Posts: 182
Morning folks,
I have MySQL up and running between two boxes and it works really well but if I need to browse a source (on the second box) for something that a scraper didn't recognise I don't have that source in Video > Files on my second box that just had the advanced settings.xml file added to it.
Is there a way to add these sources on the second machine without creating duplicate entries in the database please? I did have a search but wasn't 100% sure I have used the correct terminology so apologies if this is staring me in the face!
Posts: 17,855
Joined: Jan 2011
Reputation:
1,056
Milhouse
Retired Team-Kodi Member
Posts: 17,855
2015-05-15, 07:47
(This post was last modified: 2015-05-15, 07:48 by Milhouse.)
Just copy the sources.xml file from the first box to the .kodi/userdata folder on the second box. If you're using password-protected smb sources you may also need to copy passwords.xml.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Posts: 182
Joined: Dec 2011
Reputation:
2
D-an-W
Senior Member
Posts: 182
Thanks Milhouse, easy when you know how!