1
0
Fork 0
mirror of https://git.sr.ht/~cadence/cloudtube synced 2026-03-19 02:41:36 +00:00

Implement preferred quality selection

The list is subject to change as I collect more feedback. I just want
to get this initial change out for everyone to use and appreciate.
This commit is contained in:
Cadence Ember 2021-04-04 16:51:39 +12:00
parent fd854ec222
commit ac3de4b4e6
No known key found for this signature in database
GPG key ID: BC1C2C61CF521B17
6 changed files with 85 additions and 19 deletions

View file

@ -38,6 +38,11 @@ const deltas = [
function() {
db.prepare("UPDATE Settings SET instance = REPLACE(REPLACE(instance, '/', ''), ':', '://') WHERE instance LIKE '%/'")
.run()
},
// 5: Settings +quality
function() {
db.prepare("ALTER TABLE Settings ADD COLUMN quality INTEGER DEFAULT 0")
.run()
}
]