Solved Remote library video scraping issue
#1
Hi,

I have a remote library, set up using this guide. But, the library will not scrape, athough I can view the files in 'File' mode. I think this is related to advancedsettings.xml , as when I commented out the remote library elements the movies scraped fine. Here is my advancedsettings.xml:-

Code:
<advancedsettings>
    <cputempcommand>echo "$(sensors -u | head -6 |grep "temp2_input"| awk '{print $2 }' |awk '{printf("%d\n",$1 + 0.5);}') C"</cputempcommand>

    <gputempcommand>echo "$(nvidia-settings -c :0 -tq GPUCoreTemp) C"</gputempcommand>

    <gui>    
        <algorithmdirtyregions>1</algorithmdirtyregions>
        <visualizedirtyregions>false</visualizedirtyregions>
        <nofliptimeout>0</nofliptimeout>
    </gui>

    <loglevel hide="false">0</loglevel>

    <video>
        <allowmpeg4vdpau>false</allowmpeg4vdpau>
    </video>

    <videodatabase>
        <type>mysql</type>
        <host>192.168.xxx.xxx</host>
        <port>3306</port>
        <user>yyyy</user>
        <pass>xxxx</pass>
    </videodatabase>

    <musicdatabase>
        <type>mysql</type>
        <host>192.168.xxx.xxx</host>
        <port>3306</port>
        <user>yyyy</user>
        <pass>xxxx</pass>
    </musicdatabase>

     <videolibrary>
          <importwatchedstate>true</importwatchedstate>
     </videolibrary>
</advancedsettings>

Here is all I get from a debug log:-

Code:
00:25:59 T:139844480816896  NOTICE: VideoInfoScanner: Starting scan ..
00:25:59 T:139844480816896  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:00

Any assistance would be greatly appreciated.
HTPC RPI3 Kodi 17 (Krypton) v8.0.1 MR
Storage BPI 1x 500GB SSD UPnP server
Display Sony Bravia 32"
Reply
#2
Upload the full debug log (wiki) to pastebin.com - don't chop out extracts which you think are relevant when asking for help... the real problem may appear in the log somewhere else.
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.
Reply
#3
Thanks. Here is the full debug log http://www.xbmclogs.com/show.php?id=59906 You have a point, as I noticed the error after posting. The error occurs as I pull up the menu against the video source folder, in order to select 'Set Content', not after hitting OK to execute it.
HTPC RPI3 Kodi 17 (Krypton) v8.0.1 MR
Storage BPI 1x 500GB SSD UPnP server
Display Sony Bravia 32"
Reply
#4
Thanks to the assist of o_cee on IRC #xbmc the problem was determined to be with login credentials. I had actually managed to create 2 empty MySQL users, which prevented the xbmc user loging in. I'm yet to test this with my XBMC setup, but will report back later with results.

If any one finds themselves in this situation, it's worth looking at:-

Code:
mysql > SELECT User,Host FROM mysql.user;
+------------------+-----------+ 
| User             | Host      | 
+------------------+-----------+ 
| xbmc             | %         | 
|                  | localhost | 
+------------------+-----------+ 
mysql > DROP USER ''@'localhost';
HTPC RPI3 Kodi 17 (Krypton) v8.0.1 MR
Storage BPI 1x 500GB SSD UPnP server
Display Sony Bravia 32"
Reply
#5
Okay, finally got it working. There was a further tweak needed in my.cnf . I had to comment-out the bind-address, to allow remote access.
HTPC RPI3 Kodi 17 (Krypton) v8.0.1 MR
Storage BPI 1x 500GB SSD UPnP server
Display Sony Bravia 32"
Reply

Logout Mark Read Team Forum Stats Members Help
Remote library video scraping issue0