Mike Fährmann
1656c9287d
[pp:metadata] fix 'directory' when file directory has conditions ( #5728 )
3 months ago
Mike Fährmann
ba51c1a8e4
[path] fix 1ca2cf51
3 months ago
AyluinReymaer
de61b3b546
Update path.py
3 months ago
AyluinReymaer
91a989a172
path.py - fix system cannot move file to different drive
...
This fixes the below error message:
OSError(18, 'The system cannot move the file to a different disk drive')
3 months ago
blankie
909830f8ea
fix filename formatting silently failing under certain circumstances
7 months ago
Mike Fährmann
9d67655397
add "ascii+" as a special 'path-restrict' value ( #4371 )
1 year ago
Mike Fährmann
1aae72773f
put argument init on separate lines
2 years ago
Mike Fährmann
ca4742200b
use util.NONE as 'keyword-default' default value
2 years ago
Mike Fährmann
6afb3cc766
restore paths for archived files ( #3362 )
2 years ago
Mike Fährmann
d0b160461a
terrible workaround for errors with 'http-metadata' ( #3334 )
2 years ago
Mike Fährmann
374f14c28c
fix repeating paths for skipped files ( #3203 )
...
fixing the fix from e3260293
2 years ago
Mike Fährmann
e326029355
build path when skipping archived files
...
fixes bug from 8124c16a
2 years ago
Mike Fährmann
8124c16a50
split 'build_path' from 'set_filename' and 'set_extension'
...
Do not automatically build a new path
when setting file metadata or updating its extension.
2 years ago
Mike Fährmann
7f30a0d7a7
add 'path-extended' option ( #3021 )
2 years ago
Mike Fährmann
d1bb7fae2d
remove 'exist_ok=True' argument from several os.makedirs calls
...
makedirs in those places is only meant to create missing directories,
anything should be considered an error
2 years ago
Mike Fährmann
9c8647a4fd
fix 'part-directory' ( #2576 )
...
bug introduced in 99cb2872
2 years ago
Mike Fährmann
99cb28724f
delay directory creation ( #2461 , #2474 )
...
Only call os.makedirs() when an open() call
fails with a FileNotFoundError
Might cause errors with some post processors etc,
but for now I was unable to find any.
2 years ago
Mike Fährmann
7958995398
[postprocessor:metadata] implement 'mtime' option ( #2307 )
3 years ago
Mike Fährmann
3b7c7daa76
improve UNC path handling ( #2126 )
...
always call 'abspath()' on the directory path to handle cases when the
current working directory is UNC and 'base-directory' is relative.
3 years ago
Mike Fährmann
ac80474371
handle UNC paths ( #2113 )
3 years ago
Mike Fährmann
cad85640de
move 'util.PathFormat' into its own 'path' module
...
to prevent circular imports between 'formatter' and 'util'
3 years ago
Mike Fährmann
841fd50242
move code into util.py
8 years ago
Mike Fährmann
e87e6fbc67
change some config keys
...
directory_fmt -> directory
filename_fmt -> filename
download-original -> original
8 years ago
Mike Fährmann
4f123b8513
code adjustments according to pep8
8 years ago
Mike Fährmann
14237142d8
use 'format_map()'
8 years ago
Mike Fährmann
29692c5784
get extension from Content-Type header if not provided
8 years ago