Skip to content

Commit

Permalink
revert: Intro Info ID semantics
Browse files Browse the repository at this point in the history
  • Loading branch information
noahpistilli committed Jul 6, 2024
1 parent 7a971a1 commit b0d31f8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions theunderground/intro_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,12 @@ def add_intro_info():
db.session.add(intro_db)
db.session.commit()

# Max size for IDs is 16.
intro_db.cnt_id = 1000000000000000 + intro_db.cnt_id
db.session.add(intro_db)
db.session.commit()
# Wii Room requires video content id's to be 16 characters long.
if intro_db.cnt_type == ContentTypes.Video:
intro_db.cnt_id = 1000000000000000 + intro_db.cnt_id
db.session.add(intro_db)
db.session.commit()

update_intro_info_on_s3()

# Now encode image/video.
Expand Down

0 comments on commit b0d31f8

Please sign in to comment.