Skip to content
Snippets Groups Projects
Commit fc8dbde4 authored by Xavier Jouslin de Noray's avatar Xavier Jouslin de Noray
Browse files

Background: add a background for the ui

Change-Id: I637d5b6a58cf6833c51a0db86acf1b0e3bd0b188
parent aef4eaaf
Branches
No related tags found
No related merge requests found
AudioFilter/data/background.jpg

223 KiB

...@@ -2,5 +2,6 @@ ...@@ -2,5 +2,6 @@
"name": "AudioFilter", "name": "AudioFilter",
"description": "**Apply a reverb filter to your video.**<br/>Musicians can now use Jami for online music sessions and play music with their friends online.", "description": "**Apply a reverb filter to your video.**<br/>Musicians can now use Jami for online music sessions and play music with their friends online.",
"version": "1.0.0", "version": "1.0.0",
"iconPath" : "icon.svg" "iconPath" : "icon.svg",
"backgroundPath": "background.jpg"
} }
\ No newline at end of file
AutoAnswer/data/background.jpg

209 KiB

...@@ -2,5 +2,6 @@ ...@@ -2,5 +2,6 @@
"name": "AutoAnswer", "name": "AutoAnswer",
"description": "Set up a bot that automatically answers with given text.", "description": "Set up a bot that automatically answers with given text.",
"version": "2.0.0", "version": "2.0.0",
"iconPath": "icon.svg" "iconPath": "icon.svg",
"backgroundPath": "background.jpg"
} }
\ No newline at end of file
GreenScreen/data/background.jpg

253 KiB

...@@ -2,5 +2,6 @@ ...@@ -2,5 +2,6 @@
"name": "GreenScreen", "name": "GreenScreen",
"description": "**Modify your background with the Greenscreen plugin.**<br/>\"Greenscreen\" allows you to modify your background during a videocall or add a blur effect.", "description": "**Modify your background with the Greenscreen plugin.**<br/>\"Greenscreen\" allows you to modify your background during a videocall or add a blur effect.",
"version": "2.0.0", "version": "2.0.0",
"iconPath": "icon.svg" "iconPath": "icon.svg",
"backgroundPath": "background.jpg"
} }
\ No newline at end of file
SDK/Templates/background.jpg

145 KiB

...@@ -2,5 +2,6 @@ ...@@ -2,5 +2,6 @@
"name": "pluginName", "name": "pluginName",
"description": "plugin description", "description": "plugin description",
"version": "version", "version": "version",
"iconPath" : "icon.svg" "iconPath" : "icon.svg",
"backgroundPath" : "background.jpg"
} }
\ No newline at end of file
...@@ -46,6 +46,7 @@ class PluginStructure(UserInfos): ...@@ -46,6 +46,7 @@ class PluginStructure(UserInfos):
self.manifestFile = f"{self.pluginDirectory}/manifest.json" self.manifestFile = f"{self.pluginDirectory}/manifest.json"
self.pluginDataDirectory = f"{self.pluginDirectory}/data" self.pluginDataDirectory = f"{self.pluginDirectory}/data"
self.pluginIcon = f"{self.pluginDataDirectory}/icon.svg" self.pluginIcon = f"{self.pluginDataDirectory}/icon.svg"
self.pluginBackground = f"{self.pluginDataDirectory}/background.jpg"
self.preferencesFile = f"{self.pluginDataDirectory}/preferences.json" self.preferencesFile = f"{self.pluginDataDirectory}/preferences.json"
self.packageFile = f"{self.pluginDirectory}/package.json" self.packageFile = f"{self.pluginDirectory}/package.json"
self.cmakelistsFile = f"{self.pluginDirectory}/CMakeLists.txt" self.cmakelistsFile = f"{self.pluginDirectory}/CMakeLists.txt"
...@@ -107,6 +108,8 @@ class PluginStructure(UserInfos): ...@@ -107,6 +108,8 @@ class PluginStructure(UserInfos):
os.mkdir(self.pluginDataDirectory) os.mkdir(self.pluginDataDirectory)
if (not os.path.exists(self.pluginIcon)): if (not os.path.exists(self.pluginIcon)):
shutil.copyfile("./Templates/icon.svg", self.pluginIcon) shutil.copyfile("./Templates/icon.svg", self.pluginIcon)
if (not os.path.exists(self.pluginBackground)):
shutil.copyfile("./Templates/background.jpg", self.pluginBackground)
def saveManifest(self, manifestTxt): def saveManifest(self, manifestTxt):
with open(self.manifestFile, 'w') as f: with open(self.manifestFile, 'w') as f:
......
WaterMark/data/background.jpg

368 KiB

...@@ -2,5 +2,6 @@ ...@@ -2,5 +2,6 @@
"name": "WaterMark", "name": "WaterMark",
"description": "**Add a Watermark to your video.**<br/>You can now add a Watermark including your own logo and additional information such as a text, the current date and time to your video.", "description": "**Add a Watermark to your video.**<br/>You can now add a Watermark including your own logo and additional information such as a text, the current date and time to your video.",
"version": "2.1.0", "version": "2.1.0",
"iconPath": "icon.svg" "iconPath": "icon.svg",
"backgroundPath": "background.jpg"
} }
\ No newline at end of file
WhisperTranscript/data/background.jpg

216 KiB

...@@ -2,5 +2,6 @@ ...@@ -2,5 +2,6 @@
"name": "WhisperTranscript", "name": "WhisperTranscript",
"description": "**Automatic real-time subtitles with Whisper.**<br/>Use an AI model running locally on your device to automatically subtitle the conversation in real time!", "description": "**Automatic real-time subtitles with Whisper.**<br/>Use an AI model running locally on your device to automatically subtitle the conversation in real time!",
"version": "1.0.1", "version": "1.0.1",
"iconPath": "icon.svg" "iconPath": "icon.svg",
"backgroundPath": "background.jpg"
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment