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

More folder management options #262

Open
ivan-avalos opened this issue Mar 19, 2024 · 2 comments
Open

More folder management options #262

ivan-avalos opened this issue Mar 19, 2024 · 2 comments

Comments

@ivan-avalos
Copy link

The current folder management feature of Supysonic is very limited, only allowing basic insertion, deletion and scanning (foreground/background). Some ideas that come to my mind are:

  1. A new CLI command to change the path of a folder. This would be especially useful when migrating servers or moving the music folder to a different location. Currently, moving the music folder results in Supysonic wiping all the tracks and playlist contents, which leads me to number 2.
  2. A new option for scanning (either via CLI or config file) to enable or disable automatic track deletion. This would help prevent that feeling of panic and despair when logging-in to an empty library after relocating the music folder (number 1) or misplacing it by mistake. This has already caused me to lose playlists!
@spl0k
Copy link
Owner

spl0k commented Mar 19, 2024

Can your second point be solved by running the daemon or is it a use case I fail to understand?

@ivan-avalos
Copy link
Author

The last time I logged-in to an empty library after scanning was when I scanned from an app, and it was because the NFS folder where I have my music had temporarily failed and appeared empty.

If I understand correctly, when scanning from the Subsonic API, the daemon is used to scan the library. Also, the scanning code is shared between the CLI and the daemon, so it shouldn't be any different, right?

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

No branches or pull requests

2 participants