2017-03-24, 19:16
(2017-03-24, 17:57)DaLanik Wrote:(2017-03-23, 15:24)mgonzales Wrote: Was bored so played around real quick with some alternative animation for the overlay.Cool, I can try to think of a way to make animation selectable and include these as optional
one is a mod of existing, other is a variation - use / modify / ignore / etc as you like.
http://www.filedropper.com/cs-mod
random example frame:
and
http://www.filedropper.com/cs-alt
random example frame:
btw - Kodi 17 supports animated PNG files (need to use .apng file ext not .png) and I am not sure which version started support for animated GIF's but I know Jarvis does for sure (and those after).
have included frames as well as example in both apng and gif (animated) formats
Enjoy,
Mario
Sent from my N7100
Maybe consider just making the overlay portion of your script custom skinnable?
Lots of scripts include a "default" resources/skins/default/ under which is the media, custom skin xml, etc to use unless a skin includes a customized set of resources
See service.nextup.notification, trakt ratings dialog, etc for examples
One step further could be to look in userdata/addon_data/ for custom resources
Or even make the path a setting:
Code:
path_setting = addon.getSetting('xml_folder').decode('utf-8')
addon_path = addon.getAddonInfo('path').decode('utf-8')
# if a path is set, try to use it and fallback to the default if it fails
if path_setting:
try: self.dialog = ProgressDialog.Window(DIALOG_XML, path_setting)
except: self.dialog = ProgressDialog.Window(DIALOG_XML, addon_path)
# otherwise use the default
else:
self.dialog = ProgressDialog.Window(DIALOG_XML, addon_path)
self.dialog.show()
But to just give users options over images to display look at:
http://forum.kodi.tv/showthread.php?tid=239558
Anyway... hehe sorry for writing a book
Just found your script the other day and like it so thanks - works well so far.
Tend to use subs late at night so I can keep volume down for rest of the folks who can sleep
My playing around with the animation images was primarily just a mix of boredom and insomnia.
Honesty keeping that as is - is fine by me.. you focus on the more useful requests, etc
Hehe
Thanks again!
M