Kodi Community Forum

Full Version: Movies slow to start
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi everyone

I am running Kodi on OpenELEC.
All was running fine. But one day I had to change the ip addresses inside my network from 192.168.0.* to 192.168.1.*.
My NAS changed aswell from 192.168.0.60 to 192.168.1.60.
Movies/Tv-shows are beeing stream from the NAS via NFS.

I downloaded the SQLite DB's from Kodi and changed the paths inside the databases (database/table "MyVideos93.db -> path" and "Textures13.db -> path") to the new ip addresses.
The sources in sources.xml have been changed aswell, from:
Code:
<sources>
    [...]
    <video>
        [...]
        <source>
            <name>Movies</name>
            <path pathversion="1">nfs://192.168.0.60/volume1/Movies/Movies/</path>
            <allowsharing>true</allowsharing>
        </source>
        <source>
            <name>TV-Shows</name>
            <path pathversion="1">nfs://192.168.0.60/volume1/Movies/TV-Shows/</path>
            <allowsharing>true</allowsharing>
        </source>
    </video>
    [...]
</sources>

to:
Code:
<sources>
    [...]
    <video>
        [...]
        <source>
            <name>Movies</name>
            <path pathversion="1">nfs://192.168.1.60/volume1/Movies/Movies/</path>
            <allowsharing>true</allowsharing>
        </source>
        <source>
            <name>TV-Shows</name>
            <path pathversion="1">nfs://192.168.1.60/volume1/Movies/TV-Shows/</path>
            <allowsharing>true</allowsharing>
        </source>
    </video>
    [...]
</sources>
Now after the change, some movies and tv-shows take very long (>4min) to start.
But one movie started quickly (<5sec).
Scanning for new content does not work at all. It keeps stuck at 0%.

Debug log: http://pastebin.com/EskKm9QQ

System:
  • Kodi 15.2
  • OpenELEC: 6.0.3 (Generic x86_64)
  • Graphics Card: NVidia GeForce GT 430
  • CPU: Intel Core i3-2100 @3.10 GHz
  • RAM: 8 GB

The movie "Antitrust" in the log started quickly.
The tv-series "Mad Men" took 4min to start.
  • 21:44 -> Starting movie "Antitrust"
  • 21:44 -> Movie starts playing
  • 21:44 -> Started tv-show "Mad Men"
  • 21:46 -> Kodi is frozen till now (saw it on the debug messages, CPU/fps was stuck)
  • 21:48 -> Show starts playing
  • 21:53 -> Starting content scan -> Stays at 0%. Kodi is responding normally.


I see in the log, that there are still some nfs connects to 192.168.0.60.
Are they slowing down playback potentially?
But they are not in the DB I checked.

Some help would be very appreciated.

Best regards
If you are running a self-managed router/firewall, it might be that arp-tables that have been built up are still pointing to the old ip's. Did you clear all arp entries before the change?
What do you see when you do a arp -a on a system?
Hi Atreyu

Thank you for your support. But unfortunately clearing the arp-tables did not help.
I cleared the database and reindexed all movies. Now it is working again.
With "trakt" (kodi addon), I managed to keep all the "watched" status flag of the movies/shows.

Best regards
Nice, glad you got it sorted.