Solved Libraries don't seem to be linked correctly
#1
I have OpenELEC running 15.2. Went through the normal upgrade process. I use MySQL for the DB

Issue #1.) When I reboot Kodi, the splash screen phase pauses for maybe 45 to 60 seconds. Never did that before. Minor issue (maybe?)
Issue #2.) It seems that my media libraries are not seen by Kodi the right way. I use an advancedsettings.xml file which links in the the MySQL db (attached). I'm using the Confluence skin for now because it's easiest to use when troubleshooting issues. When I go into Settings >> Appearance >> Skin >> Settings >> Home window the "Hide - Movies (Video - Libraray)" and "Hide - TV shows (Videos - Library)" are grayed out. From what I've read, when that happens it means that Kodi thinks you don't have those sources linked/setup. Yet I can go the Videos (long pause) and it pulls up my movie collection. If I then hit the "back" button I can see my "Movies" and "TV" libraries in the red NFS icon plus "Add Videos..." If I click on "TV" then my TV collection shows up.

the overall goal is to, using the Eminence skin, to click on "Movies" and it jumps into the movie collection, not clicking on Movies >> All Movies >> Library (Files, Playlists, Video add-ons) >> Files (movies, tv, Add videos...) >> collection

Something isn't right since the upgrade.

?

/storage/.kodi/userdata/sources.xml
Code:
<sources>
    <programs>
        <default pathversion="1"></default>
    </programs>
    <video>
        <default pathversion="1"></default>
        <source>
            <name>TV</name>
            <path pathversion="1">nfs://FreeNAS/mnt/Media/TV/</path>
            <allowsharing>true</allowsharing>
        </source>
        <source>
            <name>Movies</name>
            <path pathversion="1">nfs://FreeNAS/mnt/Media/Movies/</path>
            <allowsharing>true</allowsharing>
        </source>
    </video>
    <music>
        <default pathversion="1"></default>
        <source>
            <name>Music</name>
            <path pathversion="1">nfs://FreeNAS/mnt/Media/Music/</path>
            <allowsharing>true</allowsharing>
        </source>
    </music>
    <pictures>
        <default pathversion="1"></default>
        <source>
            <name>Pictures</name>
            <path pathversion="1">nfs://FreeNAS/mnt/Media/Pictures/</path>
            <allowsharing>true</allowsharing>
        </source>
    </pictures>
    <files>
        <default pathversion="1"></default>
    </files>
</sources>

/storage/.kodi/userdata/advancedsettings.xml
Code:
<advancedsettings>
    <videodatabase>
        <type>mysql</type>
        <host>10.1.1.241</host>
        <port>3306</port>
        <user>xbmc</user>
        <pass>xbmc</pass>
    </videodatabase>
    <musicdatabase>
        <type>mysql</type>
        <host>10.1.1.241</host>
        <port>3306</port>
        <user>xbmc</user>
        <pass>xbmc</pass>
    </musicdatabase>on>
    <videolibrary>
        <importwatchedstate>true</importwatchedstate>
        <importresumepoint>true</importresumepoint>
        <cleanonupdate>true</cleanonupdate> <!-- Also clean library during library update -->
        <hideallitems>true</hideallitems> <!-- removes the "*All" items from the video library -->
        <hideemptyseries>true</hideemptyseries>  <!-- hide empty series in the video library -->
    </videolibrary>
    <videoscanner>
        <ignoreerrors>true</ignoreerrors> <!-- Silently ignore errors while scanning videos. -->
    </videoscanner>
    <video>
        <timeseekforward>15</timeseekforward> <!-- Skip back time 15 s -->
        <timeseekbackward>-15</timeseekbackward> <!-- Skip forward time 15 s -->
        <playcountminimumpercent>95</playcountminimumpercent>
        <ignoresecondsatstart>60</ignoresecondsatstart>
        <ignorepercentatend>5</ignorepercentatend>
    </video>
    <useddsfanart>true</useddsfanart>
    <cputempcommand>cputemp</cputempcommand>
    <gputempcommand>gputemp</gputempcommand>
    <loglevel hide="true">-1</loglevel>
    <network>
        <disableipv6>true</disableipv6>
        <buffermode>1</buffermode> <!-- Default is 1 -->
        <cachemembuffersize>52428800</cachemembuffersize> <!-- Default is 20971520 bytes or 20 MB -->
        <readbufferfactor>2.0</readbufferfactor> <!-- Default is 1.0 -->
    </network>
</advancedsettings>

/storage/.kodi/temp/kodi.log
Code:
12:58:57 T:139627461146496  NOTICE: special://profile/ is mapped to: special://masterprofile/
12:58:57 T:139627461146496  NOTICE: -----------------------------------------------------------------------
12:58:57 T:139627461146496  NOTICE: Starting Kodi (15.2 Git:02e7013). Platform: Linux x86 64-bit
12:58:57 T:139627461146496  NOTICE: Using Release Kodi x64 build
12:58:57 T:139627461146496  NOTICE: Kodi compiled Nov  1 2015 by GCC 4.9.3 for Linux x86 64-bit version 4.1.12 (262412)
12:58:57 T:139627461146496  NOTICE: Running on OpenELEC (official) - Version: 6.0.0, kernel: Linux x86 64-bit version 4.1.12
12:58:57 T:139627461146496  NOTICE: FFmpeg version: 2.6.4
12:58:57 T:139627461146496  NOTICE: WARNING: unsupported ffmpeg version detected
12:58:57 T:139627461146496  NOTICE: Host CPU: Intel(R) Core(TM) i3-2120T CPU @ 2.60GHz, 4 cores available
12:58:57 T:139627461146496  NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
12:58:57 T:139627461146496  NOTICE: special://xbmcbin/ is mapped to: /usr/lib/kodi
12:58:57 T:139627461146496  NOTICE: special://masterprofile/ is mapped to: /storage/.kodi/userdata
12:58:57 T:139627461146496  NOTICE: special://home/ is mapped to: /storage/.kodi
12:58:57 T:139627461146496  NOTICE: special://temp/ is mapped to: /storage/.kodi/temp
12:58:57 T:139627461146496  NOTICE: The executable running is: /usr/lib/kodi/kodi.bin
12:58:57 T:139627461146496  NOTICE: Local hostname: kodi
12:58:57 T:139627461146496  NOTICE: Log File is located: /storage/.kodi/temp/kodi.log
12:58:57 T:139627461146496  NOTICE: -----------------------------------------------------------------------
12:58:57 T:139627461146496   ERROR: DBus: Error org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UPower was not provided by any .service files
12:58:57 T:139627461146496  NOTICE: load settings...
12:58:57 T:139627461129984  NOTICE: Thread FDEventMonitor start, auto delete: false
12:58:57 T:139627461146496  NOTICE: Found 1 Lists of Devices
12:58:57 T:139627461146496  NOTICE: Enumerated ALSA devices:
12:58:57 T:139627461146496  NOTICE:     Device 1
12:58:57 T:139627461146496  NOTICE:         m_deviceName      : @
12:58:57 T:139627461146496  NOTICE:         m_displayName     : Default (HDA Intel PCH ALC888 Analog)
12:58:57 T:139627461146496  NOTICE:         m_displayNameExtra:
12:58:57 T:139627461146496  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
12:58:57 T:139627461146496  NOTICE:         m_channels        : FL,FR
12:58:57 T:139627461146496  NOTICE:         m_sampleRates     : 48000
12:58:57 T:139627461146496  NOTICE:         m_dataFormats     : AE_FMT_S32NE
12:58:57 T:139627461146496  NOTICE:     Device 2
12:58:57 T:139627461146496  NOTICE:         m_deviceName      : @:CARD=PCH,DEV=0
12:58:57 T:139627461146496  NOTICE:         m_displayName     : HDA Intel PCH
12:58:57 T:139627461146496  NOTICE:         m_displayNameExtra: ALC888 Analog
12:58:57 T:139627461146496  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
12:58:57 T:139627461146496  NOTICE:         m_channels        : FL,FR
12:58:57 T:139627461146496  NOTICE:         m_sampleRates     : 48000
12:58:57 T:139627461146496  NOTICE:         m_dataFormats     : AE_FMT_S32NE
12:58:57 T:139627461146496  NOTICE:     Device 3
12:58:57 T:139627461146496  NOTICE:         m_deviceName      : iec958:CARD=PCH,DEV=0
12:58:57 T:139627461146496  NOTICE:         m_displayName     : HDA Intel PCH
12:58:57 T:139627461146496  NOTICE:         m_displayNameExtra: ALC888 Digital S/PDIF
12:58:57 T:139627461146496  NOTICE:         m_deviceType      : AE_DEVTYPE_IEC958
12:58:57 T:139627461146496  NOTICE:         m_channels        : FL,FR
12:58:57 T:139627461146496  NOTICE:         m_sampleRates     : 44100,48000,88200,96000,192000
12:58:57 T:139627461146496  NOTICE:         m_dataFormats     : AE_FMT_AC3,AE_FMT_DTS,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE
12:58:57 T:139627461146496  NOTICE:     Device 4
12:58:57 T:139627461146496  NOTICE:         m_deviceName      : hdmi:CARD=PCH,DEV=0
12:58:57 T:139627461146496  NOTICE:         m_displayName     : HDA Intel PCH
12:58:57 T:139627461146496  NOTICE:         m_displayNameExtra: ONK TX-NR616 on HDMI
12:58:57 T:139627461146496  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
12:58:57 T:139627461146496  NOTICE:         m_channels        : FL,FR,LFE,FC,BL,BR,BLOC,BROC
12:58:57 T:139627461146496  NOTICE:         m_sampleRates     : 32000,44100,48000,88200,96000,176400,192000
12:58:57 T:139627461146496  NOTICE:         m_dataFormats     : AE_FMT_LPCM,AE_FMT_AC3,AE_FMT_DTS,AE_FMT_EAC3,AE_FMT_DTSHD,AE_FMT_TRUEHD,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_AAC
12:58:57 T:139627461146496   ERROR: CSettingGroup: unable to read setting type of "pvrmanager.syncchannelgroups"
12:58:57 T:139627461146496 WARNING: CSettingCategory: unable to read group "1"
12:58:57 T:139627461146496  NOTICE: Loaded settings file from special://xbmc/system/advancedsettings.xml
12:58:57 T:139627461146496  NOTICE: Contents of special://xbmc/system/advancedsettings.xml are...
                                            <?xml version="1.0" encoding="UTF-8" ?>
                                            <advancedsettings>
                                              <showexitbutton>false</showexitbutton>
                                              <cputempcommand>cputemp</cputempcommand>
                                              <gputempcommand>gputemp</gputempcommand>
                                              <video>
                                                <latency>
                                                  <delay>0</delay>
                                                  <refresh>
                                                    <min>23</min>
                                                    <max>24</max>
                                                    <delay>175</delay>
                                                  </refresh>
                                                </latency>
                                                <busydialogdelayms>750</busydialogdelayms>
                                              </video>
                                              <samba>
                                                <clienttimeout>30</clienttimeout>
                                              </samba>
                                              <network>
                                                <readbufferfactor>4.0</readbufferfactor>
                                              </network>
                                            </advancedsettings>
12:58:57 T:139627461146496  NOTICE: Loaded settings file from special://profile/advancedsettings.xml
12:58:57 T:139627461146496  NOTICE: Contents of special://profile/advancedsettings.xml are...
                                            <advancedsettings>
                                              <videodatabase>
                                                <type>mysql</type>
                                                <host>10.1.1.241</host>
                                                <port>3306</port>
                                                <user>xbmc</user>
                                                <pass>xbmc</pass>
                                              </videodatabase>
                                              <musicdatabase>
                                                <type>mysql</type>
                                                <host>10.1.1.241</host>
                                                <port>3306</port>
                                                <user>xbmc</user>
                                                <pass>xbmc</pass>
                                              </musicdatabase>
                                              on&gt;&#x0A;&#x09;
                                              <videolibrary>
                                                <importwatchedstate>true</importwatchedstate>
                                                <importresumepoint>true</importresumepoint>
                                                <cleanonupdate>true</cleanonupdate>
                                                <!-- Also clean library during library update -->
                                                <hideallitems>true</hideallitems>
                                                <!-- removes the "*All" items from the video library -->
                                                <hideemptyseries>true</hideemptyseries>
                                                <!-- hide empty series in the video library -->
                                              </videolibrary>
                                              <videoscanner>
                                                <ignoreerrors>true</ignoreerrors>
                                                <!-- Silently ignore errors while scanning videos. -->
                                              </videoscanner>
                                              <video>
                                                <timeseekforward>15</timeseekforward>
                                                <!-- Skip back time 15 s -->
                                                <timeseekbackward>-15</timeseekbackward>
                                                <!-- Skip forward time 15 s -->
                                                <playcountminimumpercent>95</playcountminimumpercent>
                                                <ignoresecondsatstart>60</ignoresecondsatstart>
                                                <ignorepercentatend>5</ignorepercentatend>
                                              </video>
                                              <useddsfanart>true</useddsfanart>
                                              <cputempcommand>cputemp</cputempcommand>
                                              <gputempcommand>gputemp</gputempcommand>
                                              <loglevel hide="true">-1</loglevel>
                                              <network>
                                                <disableipv6>true</disableipv6>
                                                <buffermode>1</buffermode>
                                                <!-- Default is 1 -->
                                                <cachemembuffersize>52428800</cachemembuffersize>
                                                <!-- Default is 20971520 bytes or 20 MB -->
                                                <readbufferfactor>2.0</readbufferfactor>
                                                <!-- Default is 1.0 -->
                                              </network>
                                            </advancedsettings>
12:58:57 T:139627461146496  NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
12:58:57 T:139627461146496 WARNING: VIDEO database configuration is experimental.
12:58:57 T:139627461146496  NOTICE: Default DVD Player: dvdplayer
12:58:57 T:139627461146496  NOTICE: Default Video Player: dvdplayer
12:58:57 T:139627461146496  NOTICE: Default Audio Player: paplayer
12:58:57 T:139627461146496  NOTICE: Disabled debug logging due to GUI setting. Level -1.
Reply
#2
Looks like something got messed up during the original upgrade. I went into the OpenELEC sub menu and performed a factory reset, then re-added my libraries and all is ok.
Reply
#3
Thread marked solved.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#4
Marked as solved and moved out of discussion. Please don't post support requests to discussion!
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply

Logout Mark Read Team Forum Stats Members Help
Libraries don't seem to be linked correctly0