Compare commits
3 Commits
c8942af595
...
07db31973c
| Author | SHA1 | Date | |
|---|---|---|---|
| 07db31973c | |||
| ead15f54d6 | |||
| df93f93384 |
51
README.md
51
README.md
@@ -6,14 +6,14 @@
|
|||||||
|
|
||||||
```terminaloutput
|
```terminaloutput
|
||||||
assets/
|
assets/
|
||||||
config.(json|toml)
|
config.(json|toml|ron)
|
||||||
bin/
|
bin/
|
||||||
x86_64/
|
x86_64/
|
||||||
aarch64/
|
aarch64/
|
||||||
songs/
|
songs/
|
||||||
my_song/
|
my_song/
|
||||||
my_song.mp3
|
my_song.mp3
|
||||||
descriptor.(json|toml)
|
descriptor.(json|toml|ron)
|
||||||
intro/
|
intro/
|
||||||
Intro_MrNewVegas_my_song.mp3 (optional)
|
Intro_MrNewVegas_my_song.mp3 (optional)
|
||||||
generic/
|
generic/
|
||||||
@@ -100,6 +100,40 @@ recover_after = 5.0
|
|||||||
[rules]
|
[rules]
|
||||||
shuffle_mode = "weighted" # "weighted", "strict_random"
|
shuffle_mode = "weighted" # "weighted", "strict_random"
|
||||||
```
|
```
|
||||||
|
OR
|
||||||
|
#### `config.ron`
|
||||||
|
```ron
|
||||||
|
(
|
||||||
|
defaults: (
|
||||||
|
songs_directory: "songs",
|
||||||
|
generic_directory: "generic",
|
||||||
|
log_directory: "logs",
|
||||||
|
temp_directory: "temp",
|
||||||
|
),
|
||||||
|
settings: (
|
||||||
|
debug: true,
|
||||||
|
weight: 1.0,
|
||||||
|
volume: 1.0,
|
||||||
|
crossfade: 2.0, // in seconds
|
||||||
|
weights: (
|
||||||
|
news: (
|
||||||
|
chance: 0.2,
|
||||||
|
),
|
||||||
|
genre: (
|
||||||
|
floor: 0.55,
|
||||||
|
recover_after: 3.0,
|
||||||
|
),
|
||||||
|
composite: (
|
||||||
|
floor: 0.05,
|
||||||
|
recover_after: 5.0,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
rules: (
|
||||||
|
shuffle_mode: weighted, // weighted, strict_random
|
||||||
|
),
|
||||||
|
)
|
||||||
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -126,3 +160,16 @@ intro = true
|
|||||||
weight = 1.0 # optional
|
weight = 1.0 # optional
|
||||||
volume = 1.0 # optional
|
volume = 1.0 # optional
|
||||||
```
|
```
|
||||||
|
OR
|
||||||
|
#### `descriptor.ron`
|
||||||
|
```ron
|
||||||
|
(
|
||||||
|
title: "[I Got Spurs That] Jingle, Jangle, Jingle",
|
||||||
|
artist: "Kay Kyser",
|
||||||
|
tags: ["orchestra", "swing", "jazz"],
|
||||||
|
genre: ["swing", "jazz"],
|
||||||
|
intro: true,
|
||||||
|
weight: 1.0, // optional
|
||||||
|
volume: 1.0, // optional
|
||||||
|
)
|
||||||
|
```
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
LOCAL_SONGS_DIR=../../../songs
|
LOCAL_SONGS_DIR=../../../assets/songs
|
||||||
LOCAL_BIN_DIR=..
|
LOCAL_BIN_DIR=.
|
||||||
ARCH_AWARE=true
|
ARCH_AWARE=false
|
||||||
ARCH_MAP=amd:x84_64,amd64:x86_64,arm64:aarch64
|
|
||||||
|
|||||||
BIN
assets/bin/aarch64/add_song
(Stored with Git LFS)
BIN
assets/bin/aarch64/add_song
(Stored with Git LFS)
Binary file not shown.
BIN
assets/bin/aarch64/rnv_utils
(Stored with Git LFS)
Executable file
BIN
assets/bin/aarch64/rnv_utils
(Stored with Git LFS)
Executable file
Binary file not shown.
@@ -6,6 +6,6 @@ https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-n7.1-lates
|
|||||||
sha256:5ec371abbf6da81fa0a7dfe013035754fadf77f8206b93cb784ec582b0870607
|
sha256:5ec371abbf6da81fa0a7dfe013035754fadf77f8206b93cb784ec582b0870607
|
||||||
|
|
||||||
LGPL-3.0
|
LGPL-3.0
|
||||||
add_song
|
rnv_utils
|
||||||
locally compiled (arm64), golang
|
locally compiled (arm64), golang
|
||||||
sha256:ed6b00a4e353410ab01658a2c976a6420f2e0a8cc03a6e3e03f6eddf0d3faf0a
|
sha256:051128df6068196f4190d11be587237378846d3f8610ec760f681a9b29efa1f3
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
LOCAL_SONGS_DIR=../../../songs
|
LOCAL_SONGS_DIR=../../../assets/songs
|
||||||
LOCAL_BIN_DIR=..
|
LOCAL_BIN_DIR=.
|
||||||
ARCH_AWARE=true
|
ARCH_AWARE=false
|
||||||
ARCH_MAP=amd:x84_64,amd64:x86_64,arm64:aarch64
|
|
||||||
|
|||||||
BIN
assets/bin/x86_64/add_song
(Stored with Git LFS)
BIN
assets/bin/x86_64/add_song
(Stored with Git LFS)
Binary file not shown.
BIN
assets/bin/x86_64/rnv_utils
(Stored with Git LFS)
Executable file
BIN
assets/bin/x86_64/rnv_utils
(Stored with Git LFS)
Executable file
Binary file not shown.
@@ -6,6 +6,6 @@ https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-n7.1-lates
|
|||||||
sha256:5ec371abbf6da81fa0a7dfe013035754fadf77f8206b93cb784ec582b0870607
|
sha256:5ec371abbf6da81fa0a7dfe013035754fadf77f8206b93cb784ec582b0870607
|
||||||
|
|
||||||
LGPL-3.0
|
LGPL-3.0
|
||||||
add_song
|
rnv_utils
|
||||||
locally compiled (amd64), golang
|
locally compiled (amd64), golang
|
||||||
sha256:c732e55bc0869b9b2ed43db16ef951322c63288b4f63b29367d8b309a1cb6837
|
sha256:9b896f6b30d04ff110bb8fd376c02fcb1eab1972a45fea2952ae96f6d89a8be8
|
||||||
|
|||||||
Reference in New Issue
Block a user