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

Media should sync on media library changes #124

Closed
jaredmoody opened this issue Feb 7, 2022 · 3 comments
Closed

Media should sync on media library changes #124

jaredmoody opened this issue Feb 7, 2022 · 3 comments
Assignees

Comments

@jaredmoody
Copy link
Contributor

It was strange to me to install the software and have to go manually do a sync to show my media.

What do you think about automatically running a sync on boot, optionally perhaps if there are no songs or something?

@aidewoode
Copy link
Member

Do you mean automatically sync after the service is running? I don't think it's necessary. If user don't use docker to run black candy, there is no way to setup media sync task after service running. For user the first time manually sync it's not a problem.

I think a more useful similar feature would be to listen for media library changes and then automatically sync it.

@jaredmoody
Copy link
Contributor Author

It was strange to me to set up black candy with my media directory and then not see any media, that experience is what I'm proposing improving, my first thought was just queue a sync job whenever the app server boots - but listening for library changes would be even better I think as it would address what I was experiencing and improve the experience of adding new media.

@jaredmoody
Copy link
Contributor Author

Perhaps the listen gem would be a good candidate - we could start a process with rake that listens for file additions/deletions/changes and syncs the media?

I'm not too familiar with Docker, would it be possible to run more than one process inside the worker container perhaps?

@jaredmoody jaredmoody changed the title Media should sync on boot Media should sync on media library changes Feb 17, 2022
@aidewoode aidewoode self-assigned this Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants