Trying to recreate a version control system for my music collection, with one crucial difference ... 🤯
solrize @ solrize @lemmy.ml Posts 7Comments 353Joined 2 yr. ago
solrize @ solrize @lemmy.ml
Posts
7
Comments
353
Joined
2 yr. ago
Not sure what you're asking, but can you use git hooks? What is the purpose of the mirror: for backup, for remote listening, or what? If the mirror is the permanent home for the files, you should keep the lossless version there. Is the lossy conversion just to reduce upload bandwidth? How did you get the lossless files onto the client to begin with?
If I imagine this setup, the lossless versions would live on the server, lossy compression would also be done on the server, and then the client could download either version.
I think version control isn't really what you want, since you normally won't have multiple revisions of the same file.
Maybe you could look at git-annex for handling the large binaries in your git repo.