Skip to content

Universal plugin updater module for Plex Server Channels that implement automatic plugins updates from remote config. Support Github API by default.

License

Notifications You must be signed in to change notification settings

kolsys/plex-channel-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plex-channel-updater

Universal plugin updater module for Plex Server Channels that implement automatic plugins updates from remote config. Support Github API by default.

Usage

from updater import Updater

@handler(PREFIX, TITLE, thumb=ICON)
def MainMenu():

    oc = ObjectContainer(title2=TITLE)
    Updater(PREFIX+'/updater', oc)

Configuration Info.plist

  <!-- Current bundle version -->
  <key>CFBundleVersion</key>
  <string>1.7</string>
  <!-- Path to your latest bundle info -->
  <key>PlexPluginVersionUrl</key>
  <string>https://api.github.com/repos/:owner/:repo/releases/latest</string>
  <!-- Required for updater -->
  <key>PlexPluginCodePolicy</key>
  <string>Elevated</string>

Constants

# Version key
KEY_DATA_VERSION = 'tag_name'
# Release info key
KEY_DATA_DESC = 'body'
# ZIP URL
KEY_DATA_ZIPBALL = 'zipball_url'

Localization strings

"Success": "Success",
"Error": "Error",
"Update available: %s": "Update available: %s",
"Install latest version of the channel.": "Install latest version of the channel.",
"Channel updated to version %s": "Channel updated to version %s"

About

Universal plugin updater module for Plex Server Channels that implement automatic plugins updates from remote config. Support Github API by default.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages