Files
dotfiles/private_dot_local/share/music/mucke2.json.jinja2

39 lines
999 B
Django/Jinja

{
"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 %}
]
}