update music scripts

This commit is contained in:
2025-11-05 21:47:23 +01:00
parent dded3a9c66
commit a0b1a11c7d
6 changed files with 192 additions and 9206 deletions

View File

@@ -1,5 +1,5 @@
MUSIC_DIR="$HOME/Music"
export MUSIC_DIR="$HOME/Music"
function music_get_song_info_from_file() {
local path="$1"

File diff suppressed because it is too large Load Diff

View File

@@ -1,39 +0,0 @@
{
"APP_VERSION": "1.5.1",
"BUILD_NUMBER": "123",
"DB_VERSION": 18,
"SETTING_ALLOWED_EXTENSIONS": "mp3,flac,wav,ogg,opus",
"BLOCKED_FILES": [],
"LIBRARY_FOLDERS": [
"/storage/emulated/0/Music"
],
"SONGS": {
{{ songs }}
},
"ALBUMS": {
{{ albums }}
},
"ARTISTS": {
{{ artists }}
},
"SMARTLISTS": [],
"PLAYLISTS": [
{% for item in playlists -%}
{
"id": {{ item.id }},
"name": "{{ item.name }}",
"iconString": "alarm_rounded",
"gradientString": "purplelake",
"timeCreated": {{ epoch }},
"timeChanged": {{ epoch }},
"timeLastPlayed": {{ epoch }},
"shuffleMode": null,
"SONGS": [
{% for song in item.songs -%}
"{{ song }}"{{ "," if not loop.last }}
{%- endfor %}
]
}{{ "," if not loop.last }}
{%- endfor %}
]
}