Compare commits

..

3 Commits

Author SHA1 Message Date
Kieran Eglin 3acdb5ccba Bumped version 2024-04-10 16:59:01 -07:00
Kieran Eglin 0ba74264c4 Fixed bug with redownloading not forcing download of the video 2024-04-10 16:43:15 -07:00
Kieran Eglin 72c82ee72f Updated README blurb on WAL issues 2024-04-10 16:01:50 -07:00
4 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -114,10 +114,10 @@ It's recommended to not run the container as root. Doing so can create permissio
### Advanced: storing Pinchflat config directory on a network share
README: This is currently in the testing phase and not a recommended option (yet). The implications of changing this setting isn't clear and this could, conceivably, result in data loss. Only change this setting if you know what you're doing, why this is important, and are okay with possible data loss or DB corruption. This may become the default in the future once it's been tested more thoroughly.
As pointed out in [#137](https://github.com/kieraneglin/pinchflat/issues/137), SQLite doesn't like being run in WAL mode on network shares. If you're running Pinchflat on a network share, you can disable WAL mode by setting the `JOURNAL_MODE` environment variable to `delete`. This will make Pinchflat run in rollback journal mode which is less performant but should work on network shares.
Changing this setting from WAL to `delete` on an existing Pinchflat instance could, conceivably, result in data loss. Only change this setting if you know what you're doing, why this is important, and are okay with possible data loss or DB corruption. Backup your database first!
If you change this setting and it works well for you, please leave a comment on [#137](https://github.com/kieraneglin/pinchflat/issues/137)! Doubly so if it does _not_ work well.
## EFF donations
@@ -41,7 +41,8 @@ defmodule Pinchflat.Downloading.DownloadOptionBuilder do
end
defp default_options do
[:no_progress, :windows_filenames]
# Add force-overwrites to make sure redownloading works
[:no_progress, :windows_filenames, :force_overwrites]
end
defp subtitle_options(media_profile) do
+1 -1
View File
@@ -4,7 +4,7 @@ defmodule Pinchflat.MixProject do
def project do
[
app: :pinchflat,
version: "0.1.11",
version: "0.1.12",
elixir: "~> 1.16",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
@@ -39,6 +39,7 @@ defmodule Pinchflat.Downloading.DownloadOptionBuilderTest do
assert :no_progress in res
assert :windows_filenames in res
assert :force_overwrites in res
end
end