2016-05-18, 20:46
Setting album details using JSON causes images to flicker
When I call the line below, the images on screen that are album related (cover and fanart) flickers like crazy.
Where dbid is a string (passed from the skin). And "ratng" is an int.
I call it from a script, called from a button in a skin.
This was not an issue in the .. erm.. an earlier version of Jarvis.. sorry for not being clearer.
Do any of you have a clue why this happens?
Or alternatively, if there is another/better way to write information to the database?
Or alternatively, if there is any other way to avoid the flickering images (Do they reload?)
Version:
20:29:32 T:5096 NOTICE: Starting Kodi (16.1 Git:20160424-c327c53). Platform: Windows NT x86 32-bit
20:29:32 T:5096 NOTICE: Using Release Kodi x32 build
20:29:32 T:5096 NOTICE: Kodi compiled Apr 24 2016 by MSVC 180040629 for Windows NT x86 32-bit version 6.0 (0x06000000)
20:29:32 T:5096 NOTICE: Running on Windows 7, kernel: Windows NT x86 64-bit version 6.1
Thanks,
When I call the line below, the images on screen that are album related (cover and fanart) flickers like crazy.
Code:
xbmc.executeJSONRPC('{ "jsonrpc": "2.0", "method": "AudioLibrary.SetAlbumDetails", "params": {"albumid": %d, "rating": %d}, "id": 1 }' % (int(dbid),ratng ) )
Where dbid is a string (passed from the skin). And "ratng" is an int.
I call it from a script, called from a button in a skin.
This was not an issue in the .. erm.. an earlier version of Jarvis.. sorry for not being clearer.
Do any of you have a clue why this happens?
Or alternatively, if there is another/better way to write information to the database?
Or alternatively, if there is any other way to avoid the flickering images (Do they reload?)
Version:
20:29:32 T:5096 NOTICE: Starting Kodi (16.1 Git:20160424-c327c53). Platform: Windows NT x86 32-bit
20:29:32 T:5096 NOTICE: Using Release Kodi x32 build
20:29:32 T:5096 NOTICE: Kodi compiled Apr 24 2016 by MSVC 180040629 for Windows NT x86 32-bit version 6.0 (0x06000000)
20:29:32 T:5096 NOTICE: Running on Windows 7, kernel: Windows NT x86 64-bit version 6.1
Thanks,