Adding ext to archive file format to match video file format.
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Controller Tests / controller-tests (push) Waiting to run
Jest Tests / jest-tests (push) Waiting to run

This commit is contained in:
Roland 2025-12-23 19:11:07 -07:00
parent 641fb368eb
commit 4ba5226c68
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
4 changed files with 59 additions and 53 deletions

View file

@ -689,8 +689,9 @@ function ArchiveFileNameForm({form}) {
<li><code>%(download_month)s</code> - Month (zero-padded)</li>
<li><code>%(download_day)s</code> - Day (zero-padded)</li>
<li><code>%(domain)s</code> - Domain name</li>
<li><code>%(ext)s</code> - File extension (required, must be at end)</li>
</ul>
<p>Subdirectories supported: <code>%(download_year)s/%(title)s</code></p>
<p>Subdirectories supported: <code>%(download_year)s/%(title)s.%(ext)s</code></p>
</>}
/>;
@ -710,7 +711,7 @@ function ArchiveSettingsPage() {
const {t} = React.useContext(ThemeContext);
const emptyFormData = {
file_name_format: '%(download_datetime)s_%(title)s',
file_name_format: '%(download_datetime)s_%(title)s.%(ext)s',
};
const configSubmitter = async () => {