Skip to content

Commit 581c3cb

Browse files
committed
make waveform data persistent
1 parent a922645 commit 581c3cb

6 files changed

Lines changed: 13 additions & 4 deletions

File tree

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,11 @@ RUN \
4040
chmod +x /app/mstream/bin/rust-parser/* && \
4141
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
4242
echo "**** cleanup ****" && \
43-
rm -rf /app/mstream/save/sync && \
43+
rm -rf \
44+
/app/mstream/save/sync \
45+
/app/mstream/waveform-cache && \
4446
ln -s /config/sync /app/mstream/save/sync && \
47+
ln -s /config/waveform-cache /app/mstream/waveform-cache && \
4548
apk del --purge \
4649
build-dependencies && \
4750
rm -rf \

Dockerfile.aarch64

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,11 @@ RUN \
4040
chmod +x /app/mstream/bin/rust-parser/* && \
4141
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
4242
echo "**** cleanup ****" && \
43-
rm -rf /app/mstream/save/sync && \
43+
rm -rf \
44+
/app/mstream/save/sync \
45+
/app/mstream/waveform-cache && \
4446
ln -s /config/sync /app/mstream/save/sync && \
47+
ln -s /config/waveform-cache /app/mstream/waveform-cache && \
4548
apk del --purge \
4649
build-dependencies && \
4750
rm -rf \

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
282282

283283
## Versions
284284

285+
* **24.04.26:** - Make waveform data persistent.
285286
* **20.04.26:** - Fix perms on rust binaries.
286287
* **07.04.26:** - Add ffmpeg and yt-dlp.
287288
* **06.04.26:** - Rebase to Alpine 3.23.

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ init_diagram: |
7272
"mstream:latest" <- Base Images
7373
# changelog
7474
changelogs:
75+
- {date: "24.04.26:", desc: "Make waveform data persistent."}
7576
- {date: "20.04.26:", desc: "Fix perms on rust binaries."}
7677
- {date: "07.04.26:", desc: "Add ffmpeg and yt-dlp."}
7778
- {date: "06.04.26:", desc: "Rebase to Alpine 3.23."}

root/defaults/config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"storage": {
1414
"albumArtDirectory": "/config/album-art",
1515
"dbDirectory": "/config/db",
16-
"logsDirectory": "/config/logs"
16+
"logsDirectory": "/config/logs",
17+
"waveformCacheDirectory": "/config/waveform-cache"
1718
},
1819
"folders": {
1920
"library": { "root": "/music" }

root/etc/s6-overlay/s6-rc.d/init-mstream-config/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# shellcheck shell=bash
33

44
mkdir -p \
5-
/config/{album-art,db,keys,logs,sync} \
5+
/config/{album-art,db,keys,logs,sync,waveform-cache} \
66
/music
77

88
# create keys

0 commit comments

Comments
 (0)