[Enhancement] Custom media lifecycle scripts (#219)
* Namespaced notification modules under lifecycle * Added a JSON encoder for all the main model types * Added startup task to create user script file * Hook up user script event to media download * Hooked up media deletion user script * Added jq to docker deps * Updated README
This commit is contained in:
1 parent
8051107d32
commit
112c6a4f14
47 files changed
+498
-70
No files matched your search
@@ -1,5 +1,5 @@
|
||||
defmodule Pinchflat.YtDlp.CommandRunnerTest do
|
||||
use ExUnit.Case, async: true
|
||||
use ExUnit.Case, async: false
|
||||
|
||||
alias Pinchflat.Utils.FilesystemUtils
|
||||
|
||||
@@ -75,6 +75,9 @@ defmodule Pinchflat.YtDlp.CommandRunnerTest do
|
||||
|
||||
refute String.contains?(output, "--cookies")
|
||||
refute String.contains?(output, cookie_file)
|
||||
|
||||
# Cleanup
|
||||
FilesystemUtils.write_p!(cookie_file, "")
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user