mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-10-29 14:54:42 +00:00
implement pinning playlists
+ update migrations to add pinned attr to plalist + misc
This commit is contained in:
1 parent
c3c9cb059f
commit
e3a61c109b
5 files changed
+68
-71
No files matched your search
@@ -69,8 +69,6 @@ class AddSettingsToPlaylistTable(Migration):
|
||||
|
||||
@staticmethod
|
||||
def migrate():
|
||||
# existing_playlists = []
|
||||
|
||||
select_playlists_sql = "SELECT * FROM playlists"
|
||||
|
||||
with SQLiteManager(userdata_db=True) as cur:
|
||||
@@ -117,6 +115,7 @@ class AddSettingsToPlaylistTable(Migration):
|
||||
"has_gif": False,
|
||||
"banner_pos": playlist[1],
|
||||
"square_img": False,
|
||||
"pinned": False,
|
||||
}
|
||||
),
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user