Skip to content

Instantly share code, notes, and snippets.

@ypchen
Last active August 19, 2022 08:13
Show Gist options
  • Save ypchen/cd452b0f316b16d5a9dab1983795a3cc to your computer and use it in GitHub Desktop.
Save ypchen/cd452b0f316b16d5a9dab1983795a3cc to your computer and use it in GitHub Desktop.
Auto-update for plugin.video.hdp_ims
def my_gist_hash ():
return 'cd452b0f316b16d5a9dab1983795a3cc'
def my_addon_version ():
return '1.18.4'
def my_version ():
return my_addon_version() + '-gist-r3'
# priv: revision 4
# If the version number mismatches, overwrite gist_hash in settings.xml
if (my_addon_version() != xbmcaddon.Addon().getAddonInfo('version')):
addon.setSetting('gist_hash', version_gist_hash[xbmcaddon.Addon().getAddonInfo('version')])
#### Quickfix code ####
gimytv_site = 'gimytv.co'
gimytv_videos_strG = '上一頁'
gimytv_videos_strT = '下一頁'
gimytv_sources_str4 = '> '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment