Skip to content
New issue

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

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

Already on GitHub? # to your account

New option for move to make links #3281

Closed
dosoe opened this issue May 31, 2019 · 2 comments
Closed

New option for move to make links #3281

dosoe opened this issue May 31, 2019 · 2 comments
Labels
needinfo We need more details or follow-up from the filer before this can be tagged "bug" or "feature."

Comments

@dosoe
Copy link
Contributor

dosoe commented May 31, 2019

Use case

Now that the parentworks plugin is almost complete, I have to decide on a library setup:
do I want to sort my recordings by release or by work?
Maybe I can do both: have one filesystem that contains the first setup and the files, and another one that contains the second setup and links to the actual files in the first filesystem.

Solution

Could there be a supplementary option --link for move that would not move the files but just create links to where the files currently are, and that would have its own paths?

There would be further complications if for example after another move command the links have to be updated. If we want the links to follow the files, we would need the library to keep track of the links as well as the files and update them each time the corresponding file gets moved. That would be awesome, but I would be content of a system where I would just recreate the links each time I move stuff around.

I could do this by myself, but that would require that I understand how beets handles files and how the different move commands, functions and methods work and interact.

Alternatives

I haven't heard of any.

@sampsyo sampsyo added the needinfo We need more details or follow-up from the filer before this can be tagged "bug" or "feature." label May 31, 2019
@sampsyo
Copy link
Member

sampsyo commented May 31, 2019

Hi! That sounds like what beets-alternatives does with its "symlink views" capability:
https://github.com/geigerzaehler/beets-alternatives#symlink-views

Or perhaps a little bit like #153. Maybe take a look at those?

@dosoe
Copy link
Contributor Author

dosoe commented May 31, 2019

ok thanks, I'm checking it out.

@dosoe dosoe closed this as completed May 31, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
needinfo We need more details or follow-up from the filer before this can be tagged "bug" or "feature."
Projects
None yet
Development

No branches or pull requests

2 participants