本文共计1394字,预计需要花费 2分钟才能阅读完成。
Using Shawl
cargo install shawl.Here’s how you create the service with Shawl, then start it. Note that this has to be run from an administrator command prompt.
shawl add --name Navidrome -- "C:\Services\navidrome\navidrome.exe" -c "C:\Services\navidrome\navidrome.toml"
sc start Navidrome# This is just an example! Please see available options to customize Navidrome for your needs at # https://www.navidrome.org/docs/usage/configuration-options/#available-options LogLevel = 'DEBUG' ScanSchedule = '@every 24h' TranscodingCacheSize = '150MiB' # IMPORTANT: Use single quotes for paths in Windows MusicFolder = 'C:\Users\JohnDoe\Music' # Set this to the path of your ffmpeg executable FFmpegPath = 'C:\Program Files\ffmpeg\bin\ffmpeg.exe'Using NSSM
No installation is required for NSSM. Just grab the latest release from their download page and install the Navidrome service from an administrator command prompt using NSSM:
nssm install NavidromeThen
use "win+r" to open the services console, manually start Navidrome, and finally open localhost:4533 locally.
note:Navidrome-download
安卓使用本地电脑搭建的服务的软件:https://aqzscn.cn/archives/stream-music-versions