diff --git a/data/interfaces/default/current_activity.html b/data/interfaces/default/current_activity.html index 15c561f8..3bea2b89 100644 --- a/data/interfaces/default/current_activity.html +++ b/data/interfaces/default/current_activity.html @@ -72,8 +72,12 @@ DOCUMENTATION :: END % if a['type'] == 'track':
% endif + % if a['type'] == 'clip': + + % else: % endif + % endif
% if a['type'] == 'track': diff --git a/lib/osxnotify/appIcon.icns b/lib/osxnotify/appIcon.icns old mode 100755 new mode 100644 index caf5b293..1514160e Binary files a/lib/osxnotify/appIcon.icns and b/lib/osxnotify/appIcon.icns differ diff --git a/lib/osxnotify/registerapp.py b/lib/osxnotify/registerapp.py index 51197d73..e42cead4 100644 --- a/lib/osxnotify/registerapp.py +++ b/lib/osxnotify/registerapp.py @@ -15,7 +15,7 @@ def registerapp(app): app_path = None # check app bundle doesn't already exist - app_path = subprocess.check_output(['/usr/bin/mdfind', 'kMDItemCFBundleIdentifier == "ade.headphones.osxnotify"']).strip() + app_path = subprocess.check_output(['/usr/bin/mdfind', 'kMDItemCFBundleIdentifier == "ade.plexpy.osxnotify"']).strip() if app_path: return app_path, 'App previously registered' @@ -40,7 +40,7 @@ def registerapp(app): version = "1.0.0" bundleName = "OSXNotify" - bundleIdentifier = "ade.headphones.osxnotify" + bundleIdentifier = "ade.plexpy.osxnotify" f = open(app_path + "/Contents/Info.plist", "w") f.write(""" @@ -117,10 +117,10 @@ def notify(title, subtitle=None, text=None, sound=True): del pool def swizzled_bundleIdentifier(self, original): - return 'ade.headphones.osxnotify' + return 'ade.plexpy.osxnotify' if __name__ == '__main__': - notify('Half Man Half Biscuit', 'Back in the DHSS', '99% Of Gargoyles Look Like Bob Todd') + notify('PlexPy', 'Test Subtitle', 'Test Body') """) f.close()