From: Chris Fulljames Date: Sun, 18 Jan 2026 22:18:42 +0000 (-0500) Subject: Update importer page, reset sql scripts X-Git-Url: https://littlesong.place/gitweb/?a=commitdiff_plain;h=67ef5d4645cb8e8fa0b04ac2dc8c7f632626f4b9;p=littlesongplace.git Update importer page, reset sql scripts --- diff --git a/src/littlesongplace/sql/schema.sql b/src/littlesongplace/sql/schema.sql index a85e5d3..73c620c 100644 --- a/src/littlesongplace/sql/schema.sql +++ b/src/littlesongplace/sql/schema.sql @@ -187,5 +187,14 @@ CREATE VIEW songs_view AS LEFT JOIN collaborators_agg ON collaborators_agg.songid = songs.songid LEFT JOIN jam_events ON jam_events.eventid = songs.eventid; -PRAGMA user_version = 6; +DROP TABLE IF EXISTS users_push_subscriptions +CREATE TABLE users_push_subscriptions ( + subid INTEGER PRIMARY KEY, + userid INTEGER NOT NULL, + subscription TEXT NOT NULL, + settings INTEGER NOT NULL, + FOREIGN KEY(userid) REFERENCES users(userid) ON DELETE CASCADE +); + +PRAGMA user_version = 7; diff --git a/src/littlesongplace/sql/schema_revert.sql b/src/littlesongplace/sql/schema_revert.sql index a1b7bc6..fcb8d53 100644 --- a/src/littlesongplace/sql/schema_revert.sql +++ b/src/littlesongplace/sql/schema_revert.sql @@ -1,4 +1,3 @@ -DROP TABLE users_push_subscriptions; -PRAGMA user_version = 6; +PRAGMA user_version = 7; diff --git a/src/littlesongplace/sql/schema_update.sql b/src/littlesongplace/sql/schema_update.sql index 421a13c..c489d9d 100644 --- a/src/littlesongplace/sql/schema_update.sql +++ b/src/littlesongplace/sql/schema_update.sql @@ -1,10 +1,3 @@ --- DROP TABLE IF EXISTS users_push_subscriptions -CREATE TABLE users_push_subscriptions ( - subid INTEGER PRIMARY KEY, - userid INTEGER NOT NULL, - subscription TEXT NOT NULL, - settings INTEGER NOT NULL, - FOREIGN KEY(userid) REFERENCES users(userid) ON DELETE CASCADE -); -PRAGMA user_version = 7; +PRAGMA user_version = 8; + diff --git a/src/littlesongplace/static/dreams_importer.png b/src/littlesongplace/static/dreams_importer.png new file mode 100644 index 0000000..b8c9944 Binary files /dev/null and b/src/littlesongplace/static/dreams_importer.png differ diff --git a/src/littlesongplace/templates/dreams-importer.html b/src/littlesongplace/templates/dreams-importer.html index 374e5e0..f23f9b3 100644 --- a/src/littlesongplace/templates/dreams-importer.html +++ b/src/littlesongplace/templates/dreams-importer.html @@ -32,14 +32,17 @@ The script performs the following sequence for each song in the queue:
  • Upload the song to LSP
  • +

    +
    +

    -(For the audio nerds: The audio is recorded through a pair of high-quality USB -audio interfaces, one connected to the PS5 and one to my PC. Both interfaces -operate at 24 bits/48 kHz. The audio signal gets converted from digital to -analog and back again, so there will be some inherent losses in this process. -But in general it should be better than the lossy compressed audio you get from -most HDMI capture cards or a screen recording.) +(For the audio nerds: The audio is recorded through a pair of USB audio +interfaces, one connected to the PS5 and one to the PC. Audio is recorded at +24 bits/48 kHz. The audio signal gets converted from digital to analog and +back again, so there will be some inherent losses in this process. But in +general it should be better than the lossy compressed audio you get from most +HDMI capture cards or the built-in screen recordings.)

    @@ -49,8 +52,8 @@ For best results:
  • Make sure your timeline doesn't loop if it isn't supposed to.
  • If it is supposed to loop, use the Fade Out option in the importer to fade out the last 10 seconds of the recording.
  • -
  • I have all three audio settings in Dreams turned all the way up. Make - sure your song sounds correct in this configuration.
  • +
  • Make sure your song sounds correct with all of the Dreams volume + settings turned all the way up - that's how it will be recorded.
  • When setting the duration in the importer, make sure to leave enough time for any reverb/effect trails at the end. If in doubt, add extra time - any extra silence at the end will be removed automatically.