mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-05 21:47:36 +03:00
Add comments to createXxxxCommand functions to clarify about the filepaths arguments being absolute paths
This commit is contained in:
parent
63bf49b3c4
commit
9b461735f4
2 changed files with 2 additions and 0 deletions
|
@ -37,6 +37,7 @@ func (ff *ffmpeg) Start(ctx context.Context, command, path string, maxBitRate in
|
|||
return
|
||||
}
|
||||
|
||||
// Path will always be an absolute path
|
||||
func createTranscodeCommand(cmd, path string, maxBitRate int, format string) (string, []string) {
|
||||
split := strings.Split(cmd, " ")
|
||||
for i, s := range split {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue