diff --git a/README.md b/README.md index 2ea83c54..c5adc5c5 100644 --- a/README.md +++ b/README.md @@ -265,15 +265,7 @@ and less common features: # Warnings -### 1. Automated file renaming -> [!IMPORTANT] -> Currently, file renaming is not enabled by default. -> Enabling this feature by default is planned in an upcoming release, after `2025-006-01`. -> -> To prevent your installation from scheduling media file renaming tasks, -> you must set [`TUBESYNC_RENAME_ALL_SOURCES=False`](#advanced-configuration) in the environment variables or `RENAME_ALL_SOURCES = False` in [`settings.py`](../1fc0462c11741621350053144ab19cba5f266cb2/tubesync/tubesync/settings.py#L183). - -### 2. Index frequency +### 1. Index frequency It's a good idea to add sources with as long of an index frequency as possible. This is the duration between indexes of the source. An index is when TubeSync checks to see @@ -281,7 +273,7 @@ what videos available on a channel or playlist to find new media. Try and keep t long as possible, up to 24 hours. -### 3. Indexing massive channels +### 2. Indexing massive channels If you add a massive channel (one with several thousand videos) to TubeSync and choose "index every hour" or a similarly short interval; it's entirely possible that your TubeSync install may diff --git a/tubesync/sync/templates/sync/dashboard.html b/tubesync/sync/templates/sync/dashboard.html index 23e1cdb2..af342800 100644 --- a/tubesync/sync/templates/sync/dashboard.html +++ b/tubesync/sync/templates/sync/dashboard.html @@ -99,18 +99,6 @@ -
-
-

Warnings

-
- An upcoming release, after 2025-006-01, will introduce automated file renaming.
- To prevent this change from taking effect, you can set an environment variable before that date.
- See the GitHub README - for more details or ask questions using - issue #785.
-
-
-

Runtime information

diff --git a/tubesync/tubesync/local_settings.py.container b/tubesync/tubesync/local_settings.py.container index 8b61692b..132f3c40 100644 --- a/tubesync/tubesync/local_settings.py.container +++ b/tubesync/tubesync/local_settings.py.container @@ -108,11 +108,11 @@ SHRINK_OLD_MEDIA_METADATA = ( 'true' == SHRINK_OLD_MEDIA_METADATA_STR.strip().lo # TUBESYNC_RENAME_ALL_SOURCES: True or False -RENAME_ALL_SOURCES_STR = getenv('TUBESYNC_RENAME_ALL_SOURCES', False) +RENAME_ALL_SOURCES_STR = getenv('TUBESYNC_RENAME_ALL_SOURCES', True) RENAME_ALL_SOURCES = ( 'true' == RENAME_ALL_SOURCES_STR.strip().lower() ) # TUBESYNC_RENAME_SOURCES: A comma-separated list of Source directories RENAME_SOURCES_STR = getenv('TUBESYNC_RENAME_SOURCES') -RENAME_SOURCES = RENAME_SOURCES_STR.split(',') if RENAME_SOURCES_STR else None +RENAME_SOURCES = RENAME_SOURCES_STR.split(',') if RENAME_SOURCES_STR else list() VIDEO_HEIGHT_CUTOFF = getenv("TUBESYNC_VIDEO_HEIGHT_CUTOFF", 240, integer=True) diff --git a/tubesync/tubesync/settings.py b/tubesync/tubesync/settings.py index 9fe27ad0..7a824e7c 100644 --- a/tubesync/tubesync/settings.py +++ b/tubesync/tubesync/settings.py @@ -8,7 +8,7 @@ CONFIG_BASE_DIR = BASE_DIR DOWNLOADS_BASE_DIR = BASE_DIR -VERSION = '0.15.5' +VERSION = '0.15.6' SECRET_KEY = '' DEBUG = False ALLOWED_HOSTS = [] @@ -186,8 +186,8 @@ COOKIES_FILE = CONFIG_BASE_DIR / 'cookies.txt' MEDIA_FORMATSTR_DEFAULT = '{yyyy_mm_dd}_{source}_{title}_{key}_{format}.{ext}' -RENAME_ALL_SOURCES = False -RENAME_SOURCES = None +RENAME_ALL_SOURCES = True +RENAME_SOURCES = list() # WARNING WARNING WARNING