refactor media module, change --env to --root
This commit moves the media scanner out of the db module and into a new module, media. We also change the --env parameter to --root, which takes a path to a directory where the default configuration and the transcoded media cache will live.
This commit is contained in:
1 parent
3bb2f83464
commit
17a6dcb4d2
7 files changed
+38
-9
No files matched your search
@@ -9,7 +9,7 @@ def encode(args: List, uri: str) -> str:
|
||||
Encode a request and cryptographically sign it. This serves two purposes:
|
||||
First, it enables the handler that receives the request to verify that the
|
||||
request was meant for it, preventing various routing and relay-induced bugs.
|
||||
Second, it ensures the request wasn't corrutped or tampered with during
|
||||
Second, it ensures the request wasn't corrupted or tampered with during
|
||||
transmission.
|
||||
|
||||
Args:
|
||||
|
||||
Reference in new issue
Block a user