Skip to content

Add ext as possible option with --otherdir - #18

Draft
Brisppy wants to merge 3 commits into
yyyyyyyan:mainfrom
Brisppy:otherdir-extension
Draft

Add ext as possible option with --otherdir#18
Brisppy wants to merge 3 commits into
yyyyyyyan:mainfrom
Brisppy:otherdir-extension

Conversation

@Brisppy

@Brisppy Brisppy commented Dec 7, 2023

Copy link
Copy Markdown
Contributor

This PR allows the use of {ext} with --otherdir. This is done by grabbing the extension from the last track inside the album directory and using its' metadata as albums can only be downloaded in one format (as far as I'm aware). Not sure if there's a better way of doing this but I'm open to anything.

Also wanted to bring something else up with --output. By default if using just --output you end up with a spam of extra folders containing just album covers (due to the --otherdir default). I think it would be nice to clean these up automatically, potentially by removing the extra files if --output is provided but not --otherdir, or try and create a --otherdir based on the provided --output format.

Again thanks for making this project!

@Brisppy
Brisppy marked this pull request as draft December 7, 2023 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant