Largest movie set size

Hi,

I was wondering if there is a performance limit on the number of items (movies) in one movie set?

I have all our home movies in one set with “show movie sets” enabled. Playing them automatically was working well until I hit the 2000+ mark. Now there are 2150 movies in one homemovie set and instead of immediately playing a movie, it can take 30-60 seconds. Sometimes the movie doesn’t start at all, audio is missing, or only audio with no video.

Especially when playing alphabetically the last movies in the set (titles start with the date in format “20170431xxx” for my files)

If I play the same movies from e.g. the “recently added” section there is no problem; they start immediately as they are supposed to. This set only shows the last 25 titles added.

There is nothing in the regular kodi.log file.

Just wondering if somebody knows about performance issues, if not, I could post the log as described in the forum guidelines.

I am using the lastest OSMC Krypton April 2017 version on a Raspberry Pi3 with max USB.

Hi,

Not aware of the issue, please provide logs.

Thanks Tom.

Switched to the OSMC skin, enabled logging, rebooted and started/stopped three home movies back to back as quick as possible.

The log is here:

https://paste.osmc.tv/orilelemad

For some reason Settings -> System -> Logging -> and selecting Enable Debugging is not longer an option, so I enabled all the other (component specific) loggings available.

I started and stopped three movies (filenames ending in 841, 842 and 843) as quickly as possible. It appears, the last one took between 23:04:04.314 and 23:05:15.077 to finally start playing on screen after selecting it.

From the log in the paste.osmc.tv link:

23:02:45.363 T:1958809600 NOTICE: VideoPlayer: Opening: /media/MOVIES/t/films/2017/20170506-1713-00841.mts

23:03:13.344 T:1958809600 NOTICE: VideoPlayer: finished waiting
23:03:57.052 T:1958809600 NOTICE: VideoPlayer: Opening: /media/MOVIES/t/films/2017/20170506-1714-00842.mts

23:04:04.314 T:1958809600 NOTICE: VideoPlayer: finished waiting
23:05:15.077 T:1958809600 NOTICE: VideoPlayer: Opening: /media/MOVIES/t/films/2017/20170506-1725-00843.mts

This should be there could but be symptom of another issue. I’m not really seeing anything in the log, which is indicating an issue. But being Enable Debugging is missing, I would be tempted to back up settings and re-image osmc to sdcard and see if the issue persists.

I’m not aware of limit, are all the videos in set .mts?

Thanks Tom.

Yes, they are all identically encoded .mts 1080p files from the same home camera.

But being Enable Debugging is missing, I would be tempted to back up settings and re-image osmc to sdcard and see if the issue persists.

Thanks, this got me thinking. Re-imaging would be drastic, so for starters I renamed the .kodi folder, rebooted, and after recreation of that folder Enabled logging was there. With just the OSMC Skin I re-added my home movies and the issue is gone. So it is not related to a big movie set or OSMC itself.

Further analysis, for those interested

I use skin Eminence 2 MOD, which in turn installs service addons Skin Helper Service and Skin Helper Widgets. Now debug logging is working the log is riddled with below messages (multiple per second, for hours on end). Guess that explains the delays.

I assume it tries to build some sort of internal list when entering a movie set or screen, but it takes for ever to do so. Of course you leave and reenter that screen multiple times and each time it adds that list creation activity to a queue.

14:56:10.756 T:1745245168 DEBUG: Skin Helper Service --> Kodi_Monitor: sender xbmc - method: Playlist.OnAdd - data: {“item”:{“id”:1,“type”:“movie”},“playlistid”:1,“position”:0}
14:56:10.756 T:1745245168 DEBUG: Skin Helper Service --> Kodi_Monitor: sender xbmc - method: Playlist.OnAdd - data: {“item”:{“id”:2,“type”:“movie”},“playlistid”:1,“position”:1}
14:56:10.757 T:1745245168 DEBUG: Skin Helper Service --> Kodi_Monitor: sender xbmc - method: Playlist.OnAdd - data: {“item”:{“id”:3,“type”:“movie”},“playlistid”:1,“position”:2}
14:56:10.757 T:1745245168 DEBUG: Skin Helper Service --> Kodi_Monitor: sender xbmc - method: Playlist.OnAdd - data: {“item”:{“id”:4,“type”:“movie”},“playlistid”:1,“position”:3}
14:56:10.758 T:1745245168 DEBUG: Skin Helper Service --> Kodi_Monitor: sender xbmc - method: Playlist.OnAdd - data: {“item”:{“id”:5,“type”:“movie”},“playlistid”:1,“position”:4}
14:56:10.758 T:1745245168 DEBUG: Skin Helper Service --> Kodi_Monitor: sender xbmc - method: Playlist.OnAdd - data: {“item”:{“id”:6,“type”:“movie”},“playlistid”:1,“position”:5}
… and 1000s of these more

Here an example for the same ID with a lot of minutes in between. And both for the Skin Helper Server and for the Skin Helper Widgets:

14:58:36.836 T:1745245168 DEBUG: Skin Helper Service --> Kodi_Monitor: sender xbmc - method: Playlist.OnAdd - data: {“item”:{“id”:1041,“type”:“movie”},“playlistid”:1,“position”:1040}
15:00:29.775 T:1736856560 DEBUG: Skin Helper Widgets --> Kodi_Monitor: sender xbmc - method: Playlist.OnAdd - data: {“item”:{“id”:1041,“type”:“movie”},“playlistid”:1,“position”:1040}
15:02:09.004 T:1745245168 DEBUG: Skin Helper Service --> Kodi_Monitor: sender xbmc - method: Playlist.OnAdd - data: {“item”:{“id”:1041,“type”:“movie”},“playlistid”:1,“position”:1040}
15:03:10.658 T:1745245168 DEBUG: Skin Helper Service --> Kodi_Monitor: sender xbmc - method: Playlist.OnAdd - data: {“item”:{“id”:1041,“type”:“movie”},“playlistid”:1,“position”:1040}

Hi,

I’m glad to here its sorted, and thinks provided for providing the information on the cause of the issue. I’ve marked your post as the solution, so If people are having a similar issue; they see what to do at the top of the topic.

Thanks

Tom.