Kodi 21.1 running on Nvidia Shield TV
Videos are hosted on QNAP server through smb connection
Everything connected through Ethernet (i.e. no wifi)
Sources defined correctly
Able to scan and add to library
Able to playback perfectly
Able to delete files manually through Kodi interface
Problem: After removing some videos/folders from the server, and upon running ‘Clean Video library’, Kodi is not removing the ‘dead’ entries from its library. The library is therefore increasing with bogus entries, over and over.
(and next time when you do Scan Video Library, it will also try to rescan the ‘dead’ entries unnecessarily)
Hereby a part dump of the log file (filtered to 1 movie and 1 show)
2024-08-22 11:40:25.869 T:11970 info <general>: CleanDatabase: Starting videodatabase cleanup ..
2024-08-22 11:40:25.869 T:11970 info <general>: Loading skin file: DialogConfirm.xml, load type: KEEP_IN_MEMORY
2024-08-22 11:40:26.709 T:11970 error <general>: Unable to lookup host: 'QNAP'
2024-08-22 11:40:26.833 T:11970 error <general>: SMBDirectory->GetDirectory: Unable to open directory : 'smb://USERNAMEASSWORD@QNAP/Multimedia/Movies/AAA.HDR.2160p.WEB.H265-AccomplishedYak%5bTGx%5d'
unix_err:'2' error : 'No such file or directory'
2024-08-22 11:40:26.833 T:11970 error <general>: GetDirectory - Error getting smb://QNAP/Multimedia/Movies/AAA.HDR.2160p.WEB.H265-AccomplishedYak[TGx]/
2024-08-22 11:40:26.835 T:11970 error <general>: Unable to lookup host: 'QNAP'
2024-08-22 11:40:28.958 T:11970 error <general>: Unable to lookup host: 'QNAP'
2024-08-22 11:40:28.960 T:11970 error <general>: SMBDirectory->GetDirectory: Unable to open directory : 'smb://USERNAMEASSWORD@QNAP/Multimedia/Series/Watching/BBB'
unix_err:'2' error : 'No such file or directory'
2024-08-22 11:40:28.960 T:11970 error <general>: GetDirectory - Error getting smb://QNAP/Multimedia/Series/Watching/BBB/
2024-08-22 11:40:28.983 T:11970 error <general>: Unable to lookup host: 'QNAP'
2024-08-22 11:40:29.539 T:11970 info <general>: CleanDatabase: Cleaning videodatabase done. Operation took 3670 ms
2024-08-22 11:40:34.099 T:11970 info <general>: Loading skin file: DialogButtonMenu.xml, load type: KEEP_IN_MEMORY
2024-08-22 11:40:36.242 T:11970 info <general>: XBMCApp: Finishing the activity
2024-08-22 11:40:36.890 T:11970 info <general>: CWinSystemAndroid:estroyWindow
2024-08-22 11:40:36.911 T:11969 info <general>: XBMCApp: Stopping the application...
Source defined:
<video>
<default pathversion="1"></default>
<source>
<name>Watching</name>
<path pathversion="1">smb://QNAP/Multimedia/Series/Watching/</path>
<allowsharing>true</allowsharing>
</source>
</video>
Source password protected and defined:
<passwords>
<path>
<from pathversion="1">smb://QNAP/Multimedia</from>
<to pathversion="1">smb://******:******@QNAP/Multimedia/Series/Watching/</to>
</path>
</passwords>
So I don’t understand what is going wrong, and also why sometimes it keeps stating in the log “Unable to lookup host: ‘QNAP'”, while this is all working perfectly otherwise.
Does anyone have any pointers, or is this a bug?