@scrypted/server 0.125.1 → 0.126.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/python/plugin_remote.py +2 -2
package/package.json
CHANGED
package/python/plugin_remote.py
CHANGED
@@ -473,7 +473,7 @@ class MediaManager:
|
|
473
473
|
) -> scrypted_python.scrypted_sdk.types.MediaObject:
|
474
474
|
return await self.mediaManager.createMediaObjectFromUrl(data, options)
|
475
475
|
|
476
|
-
async def
|
476
|
+
async def getFFmpegPath(self):
|
477
477
|
# try to get the ffmpeg path as a value of another variable
|
478
478
|
# ie, in docker builds:
|
479
479
|
# export SCRYPTED_FFMPEG_PATH_ENV_VARIABLE=SCRYPTED_RASPBIAN_FFMPEG_PATH
|
@@ -492,7 +492,7 @@ class MediaManager:
|
|
492
492
|
|
493
493
|
return await self.mediaManager.getFFmpegPath()
|
494
494
|
|
495
|
-
async def
|
495
|
+
async def getFilesPath(self):
|
496
496
|
# Get the value of the SCRYPTED_PLUGIN_VOLUME environment variable
|
497
497
|
files_path = os.getenv('SCRYPTED_PLUGIN_VOLUME')
|
498
498
|
if not files_path:
|