Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test and ensure subdirectory with $albumpath #141

Merged
merged 12 commits into from
Dec 20, 2023
Merged

Test and ensure subdirectory with $albumpath #141

merged 12 commits into from
Dec 20, 2023

Conversation

gtronset
Copy link
Owner

@gtronset gtronset commented Dec 19, 2023

Description

This tests and ensures that there's flexibility in moving extra files to different needs, such as different directories above the music file it's relocated with. This adds documentation to better explain this, which should help address such needs as explained in Holzhaus/beets-extrafiles#18.

As part of this work, the inline plugin was explored to help provide a universal method of moving to the parent directory. However, since $ablumpath is computed as part of Filetote's run and since it looks like the output from inline is sanitized, I was unable to discover a path that worked reliably there. That said, this might still be viable in the future.

For now, the implication is that for all OS's there's a way to be as specific as needed, which have been documented as part of this PR.

To Do

  • Documentation (update README.md)
  • Changelog (add an entry to CHANGELOG.md)
  • Tests

@gtronset gtronset merged commit 0cce5ad into main Dec 20, 2023
17 checks passed
@gtronset gtronset deleted the gt-itempath branch December 20, 2023 02:01
gtronset added a commit that referenced this pull request Jan 4, 2024
<!-- markdownlint-disable-file MD041 -->
## Description

This tests and ensures that there's flexibility in moving extra files to
different needs, such as different directories above the music file it's
relocated with. This adds documentation to better explain this, which
should help address such needs as explained in
Holzhaus/beets-extrafiles#18.

As part of this work, the `inline` plugin was explored to help provide a
universal method of moving to the parent directory. However, since
`$ablumpath` is computed as part of Filetote's run and since it looks
like the output from `inline` is sanitized, I was unable to discover a
path that worked reliably there. That said, this might still be viable
in the future.

For now, the implication is that for all OS's there's a way to be as
specific as needed, which have been documented as part of this PR.

## To Do

<!--
- If you believe one of below checkpoints is not required for the change
you
are submitting, cross it out and check the box nonetheless to let us
know.
  For example: - [x] ~Changelog~
- Regarding the changelog, often it makes sense to add your entry only
after code
review is finished. That way you might prevent conflicts from other PR's
in
that file, as well as keep the chance high your description fits with
the
  latest revision of your feature/fix.
- Regarding documentation, bugfixes often don't require additions to the
docs.
-->

- [x] Documentation (update `README.md`)
- [x] Changelog (add an entry to `CHANGELOG.md`)
- [x] Tests
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.

None yet

1 participant