Should a json library update cause all library image textures to refresh?
#1
I have a button that runs a script to set a listitem's userrating using a json call: 'AudioLibrary.SetSongDetails'.

I notice that whenever this is run, all the image controls with textures from the library (e.g. ListItem.Art(xyz)) are refreshed.

Video here showing what I mean: https://www.loom.com/share/f4c07fd7926d4...05866bb312

Is this an issue anyone else sees when updating something in the library via JSON? I wonder if it could be a result as well of the fact I'm running my library remotely via mySQL, because I certainly notice that it takes a moment longer to load the images for albums than it did when I ran the library locally.

Edit: Please ignore the low fps/ stuttery nature of the video. I access my development PC via remote desktop which doesn't play nice with video so the stream gets quite choppy when you're doing more than desktop browsing.
Reply
#2
I think anything that makes a change to the library will force the view to refresh and the images will therefore reload, for example just marking an item as watched or unwatched:-

https://streamable.com/b098uc
Reply
#3
Yeah you're right I didn't think about that. Thanks @roidy. Annoying bit can't be avoided I suppose!
Reply

Logout Mark Read Team Forum Stats Members Help
Should a json library update cause all library image textures to refresh?0