Skip to content

Album-oriented CLI #199

Open
Open

Description

@MithicSpirit

It would be helpful if there was an "album-oriented" CLI mode. I'm envisioning something like rsgain easy, but where each path passed in is interpreted as an album. In particular, it should

  • combine recursive directories into one album, and
  • consider individual files as part of no album.

For example, consider this directory structure and the following scenarios.

./foo
├── bar
│   └── song2.opus
├── baz
│   └── song3.opus
└── song1.opus
  1. rsgain albums ./foo: All three songs are in one album.
  2. rsgain albums ./foo/bar ./foo/baz: Songs 2 and 3 are each in their own album (song 1 is not included; same as rsgain easy ./foo/bar and rsgain easy ./foo/baz).
  3. rsgain albums ./foo ./foo/bar ./foo/baz: Each of the three songs is in their own album (same as rsgain easy ./foo)
  4. rsgain albums ./foo ./foo/bar: Songs 1 and 3 are in one album, and song 2 is in its own album.
  5. rsgain albums ./foo/song1.opus ./foo/bar ./foo/baz: Songs 2 and 3 are each in their own album, and song 1 is in no album (same as rsgain easy -p no_album ./foo followed by rsgain easy ./foo/bar and rsgain easy ./foo/baz, though note that this requires processing the subdirectories twice).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions