write / paths
This commit is contained in:
parent
065c4bf389
commit
4e863aca65
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ def main(media_path: str, tag: str, pattern: str, recursive: bool = False) -> No
|
|||
raise FileNotFoundError(f"Config file could not be loaded for tag id: {tag}")
|
||||
|
||||
tracks: List[str] = config.get("tracks", [])
|
||||
tracks.extend(sorted(valid_paths))
|
||||
tracks.extend(sorted((f.replace("\\", "/") for f in valid_paths)))
|
||||
config["tracks"] = tracks
|
||||
|
||||
with open(config_path, "w") as jf:
|
||||
|
|
Loading…
Reference in a new issue