Session editor and live sessions!

This commit is contained in:
marc
2025-03-21 19:42:43 +01:00
parent 6c83d11e5b
commit ac54453b7f
54 changed files with 1247 additions and 173 deletions

View File

@@ -1,4 +1,4 @@
from folkugat_web.model import IndexedList
from folkugat_web.model import IndexedList, playlists
from folkugat_web.model import temes as model
TEMES = [
@@ -110,3 +110,19 @@ el meu País Valencià.
hidden=False,
).with_ngrams(),
]
PLAYLIST_ENTRIES = [
playlists.PlaylistEntry(0, 2, 0, 1),
playlists.PlaylistEntry(1, 2, 0, 2),
playlists.PlaylistEntry(2, 2, 1, 3),
playlists.PlaylistEntry(3, 2, 2, 4),
playlists.PlaylistEntry(4, 2, 2, 5),
playlists.PlaylistEntry(5, 2, 2, 6),
playlists.PlaylistEntry(6, 2, 3, 7),
playlists.PlaylistEntry(7, 2, 4, 8),
]
PLAYLIST = playlists.Playlist.from_playlist_entries(
session_id=2,
entries=PLAYLIST_ENTRIES,
)