Navidrome: Difference between revisions
Add note on file path permissions |
→Tips and tricks: Importing playlists |
||
| (One intermediate revision by the same user not shown) | |||
| Line 11: | Line 11: | ||
"/mnt/audio/music" | "/mnt/audio/music" | ||
]; | ]; | ||
}; | |||
</syntaxhighlight> | |||
=== Tips and tricks === | |||
==== Import playlists ==== | |||
Place m3u or m3u8 playlist files in a specific folder, configure it in the Navidrome service and after a library scan it should get imported. In this example the playlist files are stored in <code>/mnt/audio/playlists</code>. | |||
<syntaxhighlight lang="nix"> | |||
services.navidrome = { | |||
enable = true; | |||
settings.PlaylistsPath = "/mnt/audio/playlists"; | |||
}; | |||
</syntaxhighlight> | |||
==== Enable sharing ==== | |||
Single tracks, albums or playlists can be publicly shared. To enable the feature, add | |||
<syntaxhighlight lang="nix"> | |||
services.navidrome = { | |||
enable = true; | |||
settings.EnableSharing = true; | |||
}; | }; | ||
</syntaxhighlight> | </syntaxhighlight> | ||