Skip to content

Add feature to include singles into a combined album directory #31

@fmigneault

Description

@fmigneault

Potential use cases:

  • given an artist that has some "singles", combine these songs into a common "Singles" album directory if --combine-singles (or similar flag) is specified
  • given an artist that only has "singles" (no albums), provide an appropriate error message to provide the flag to include singles (?) or automatically include them, depending on the default resolution of the default value for the option flag.
    This requires handing of the following line since it will raise AttributeError on "no albums returned".
    albums = meta.get("albums", {}).get("items", [])
  • alternatively, have the flag exclude them by default?
    The reason where this could be relevant is that singles are often released early, until they are eventually included in an album, causing unnecessary song duplicates. Therefore, leave it up to the user to decide if explicit duplicates (or extra song to fetch) should be done.
  • Implementation wise, adding additional aiu.main calls for singles is equivalent to calling the following for each song:
    aiu --link <single-link> --outdir "<artist-prefix>/Singles"
    Therefore, enabling this by default (or not) is relatively not much extra work.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions