Kodi Community Forum

Full Version: Scrapping .actors folder
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

When I scan my movie folders using XBMC it takes a long time per film and I was wondering why. So I looked at the debug log and found that it was taking a long time to process each of the actor thumbnails for each movie. Here is an example of what it is doing:

Code:
09:26:28 T:2708890688   DEBUG: CSmbFile::Open - opened media_lib/hd1/media/video/films/Beverly Hills Cop II (1987)/.actors/Dean_Stockwell.jpg, fd=10004
09:26:28 T:2708890688   DEBUG: COMXCoreComponent::Initialize : OMX.broadcom.image_decode handle 0xae7ce7b0 dllopen : 1
09:26:28 T:2708890688   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.image_decode input port 320 output port 321
09:26:28 T:2708890688   DEBUG: COMXCoreComponent::Initialize : OMX.broadcom.resize handle 0xae7701f0 dllopen : 1
09:26:28 T:2950186048   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
09:26:28 T:2950186048   DEBUG: CecLogMessage - << 10
09:26:28 T:2708890688   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.resize input port 60 output port 61
09:26:28 T:2708890688   DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.image_decode) - port(320), nBufferCountMin(2), nBufferCountActual(3), nBufferSize(81920), nBufferAlignmen(16)
09:26:28 T:2708890688   DEBUG: COMXCoreComponent::AllocOutputBuffers component(OMX.broadcom.resize) - port(61), nBufferCountMin(1), nBufferCountActual(1), nBufferSize(428032) nBufferAlignmen(16)
09:26:28 T:2708890688   DEBUG: CSmbFile::Close closing fd 10004
09:26:28 T:2708890688   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.resize handle 0xae7701f0 dllopen : 1
09:26:28 T:2708890688   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.image_decode handle 0xae7ce7b0 dllopen : 1
09:26:28 T:2708890688   DEBUG: Caching image 'smb://JAMES-SERVER/media_lib/hd1/media/video/films/Beverly Hills Cop II (1987)/.actors/Dean_Stockwell.jpg' to 'd/db40686c.jpg':
09:26:28 T:2708890688   DEBUG: cached image 'special://masterprofile/Thumbnails/d/db40686c.jpg' size 300x343
09:26:28 T:2708890688   DEBUG: COMXCoreComponent::Initialize : OMX.broadcom.image_encode handle 0xa6bc4d90 dllopen : 1
09:26:28 T:2708890688   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.image_encode input port 340 output port 341
09:26:28 T:2950186048   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
09:26:28 T:2950186048   DEBUG: CecLogMessage - >> POLL not sent
09:26:28 T:2708890688   DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.image_encode) - port(340), nBufferCountMin(1), nBufferCountActual(1), nBufferSize(428032), nBufferAlignmen(16)
09:26:28 T:2708890688   DEBUG: COMXCoreComponent::AllocOutputBuffers component(OMX.broadcom.image_encode) - port(341), nBufferCountMin(1), nBufferCountActual(1), nBufferSize(105600) nBufferAlignmen(16)
09:26:29 T:2708890688   DEBUG: COMXImage::CreateThumbnailFromSurface : special://masterprofile/Thumbnails/d/db40686c.jpg width 300 height 343
09:26:29 T:2708890688   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.image_encode handle 0xa6bc4d90 dllopen : 1

You can see that for just this one actor within just this one film it is taking over a second to do whatever it is doing with it (creating a thumbnail I think).

Is this necessary? I don't really care about the actor thumbnails or images so can I just go through an delete all the .actor directories within my file structure to speed up the process?

Thanks.
If you don't care about actor thumbnails then you should have disabled them in Settings -> Video -> Library -> "Download actor thumbnails when adding to the library".
Humm don't know how I missed that option. Thanks.