update music scripts
This commit is contained in:
@@ -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
@@ -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 %}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user