Streaming media item creation during indexing (#49)

* Implemented streaming during indexing

* Updated file watcher to enqueue download; refactored download worker methods

* Updated File Follower Server timeout
This commit is contained in:
Kieran
2024-03-04 17:14:02 -08:00
committed by GitHub
parent b370c97bfb
commit f55cdc80dd
22 changed files with 613 additions and 98 deletions
+2 -1
View File
@@ -20,7 +20,8 @@ config :pinchflat,
# Setting AUTH_USERNAME and AUTH_PASSWORD implies you want to use basic auth.
# If either is unset, basic auth will not be used.
basic_auth_username: System.get_env("AUTH_USERNAME"),
basic_auth_password: System.get_env("AUTH_PASSWORD")
basic_auth_password: System.get_env("AUTH_PASSWORD"),
file_watcher_poll_interval: 1000
# Configures the endpoint
config :pinchflat, PinchflatWeb.Endpoint,
+2 -1
View File
@@ -5,7 +5,8 @@ config :pinchflat,
yt_dlp_executable: Path.join([File.cwd!(), "/test/support/scripts/yt-dlp-mocks/repeater.sh"]),
media_directory: Path.join([System.tmp_dir!(), "test", "videos"]),
metadata_directory: Path.join([System.tmp_dir!(), "test", "metadata"]),
tmpfile_directory: Path.join([System.tmp_dir!(), "test", "tmpfiles"])
tmpfile_directory: Path.join([System.tmp_dir!(), "test", "tmpfiles"]),
file_watcher_poll_interval: 50
config :pinchflat, Oban, testing: :manual