JSON VideoLibrary.SetMovieDetails: Improve Speed?
#16
Thank you for your response. Now I think I have a know a bit about the json\videolibrary and the video\videodatabase class.
videolibrary handles the JSON requests and executes functions of videodatabase.
videodatabase executes direct SQL commands.

So the goal is to update single values the database tables without deleting anything.
So we may not update any linked fields, only fields with no relation to other tables (sorry MilhouseVH artwork is too complicated for now...)

My suggestions:
  • add new UpdateMovieDetail to videolibrary
  • change SetMovieDetails to update only single fields when usefull

for both a whitelist with fields that are not linked is necessary.

Useful functions:
  • videodatabase.SetDetail (updates only one field)
  • videodatabase.GetValueString (converts parameters to SQL)
  • videodatabase.SetDetailsForMovie (last block)

If everything is done all has to get adopted for tvshows and music.

What do you think about it?
And shall I open a thread under JSON development cause now it has no relation to Add-on development anymore?
Reply
#17
Shame you can't improve one of the more obvious causes of delay - Artwork Downloader fans would thank you. :-)

A separate thread sounds like a good idea - link to it here.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#18
this has been discussed before but never seems to get anywhere. http://forum.xbmc.org/showthread.php?tid=162880
Image
Reply
#19
I opened a new thread: http://forum.xbmc.org/showthread.php?tid=166851
Reply

Logout Mark Read Team Forum Stats Members Help
JSON VideoLibrary.SetMovieDetails: Improve Speed?0