- Moderator
- #21
When playlist loaded, MP try get info from DB, if not found, get info from tags - MediaPortal/MediaPortal-1
Although all my music files are listed in the MP DB, the playlist viewing takes very long.Would it be bad if those songs would be added to the database? At least subsequent opening of the playlist would be fast...
Could however result in a very large database...
It's complicated, let's say I have 10 playlists, plus I can create a dynamic one at any time and add or delete files from it, or recreate it at any time. Well, on startup the playlist is empty by default. And playlists are created in the background. The biggest problem here is Façade, it takes a long time to load long lists, it is noticeable in all plugins on long lists.I'd suggest to generate and cache the view of the current playlist in the background for later viewing.
Not really, it's one of the Facade view, all lists in any form are rendered through the Facade control.If the FacadeView is the bottleneck
I don't know, I don't see how it can be done yet (without completely rewriting all Mediaportal plugins). But maybe someone has ideas.is there any chance to optimize it for more performance?
No problem, but you have to rewrite all the plugins.Can the load be processed pagewise - only load the items of the currently viewed page?
Well, how can I say, it works with the data that he gave the plugin. If the plugin will support pages, then the facade will support them, but give it the list, and that it outputs it paginated, then there is no such a thing. But on the other hand, if the list is already in the facade, it works with it very quickly. The longest operation is the generation of the list in the facade.o my knowledge te Facadeview doesn't support this.