diff options
| author | Omar Roth <omarroth@hotmail.com> | 2019-04-11 22:31:45 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2019-04-11 22:31:45 -0500 |
| commit | a2ab6b89f12d1d72843e7d466125ecb0c1a76b1c (patch) | |
| tree | 01731d6361b7a67f6e5b9763cf0281b159c37787 | |
| parent | 5de300fb359af6d7428e6307e937b4d25e8f36b2 (diff) | |
| download | invidious-a2ab6b89f12d1d72843e7d466125ecb0c1a76b1c.tar.gz invidious-a2ab6b89f12d1d72843e7d466125ecb0c1a76b1c.tar.bz2 invidious-a2ab6b89f12d1d72843e7d466125ecb0c1a76b1c.zip | |
Fix width and height in manifest
| -rw-r--r-- | src/invidious.cr | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/invidious.cr b/src/invidious.cr index f393e2d6..06812101 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -106,12 +106,12 @@ end Kemal::CLI.new ARGV if CONFIG.check_tables -# Check table integrity -analyze_table(PG_DB, logger, "channel_videos", ChannelVideo) -analyze_table(PG_DB, logger, "nonces", Nonce) -analyze_table(PG_DB, logger, "session_ids", SessionId) -analyze_table(PG_DB, logger, "users", User) -analyze_table(PG_DB, logger, "videos", Video) + # Check table integrity + analyze_table(PG_DB, logger, "channel_videos", ChannelVideo) + analyze_table(PG_DB, logger, "nonces", Nonce) + analyze_table(PG_DB, logger, "session_ids", SessionId) + analyze_table(PG_DB, logger, "users", User) + analyze_table(PG_DB, logger, "videos", Video) end # Start jobs @@ -4157,7 +4157,7 @@ get "/api/manifest/dash/id/:id" do |env| bandwidth = fmt["bitrate"] itag = fmt["itag"] url = fmt["url"] - height, width = fmt["size"].split("x") + width, height = fmt["size"].split("x") xml.element("Representation", id: itag, codecs: codecs, width: width, height: height, startWithSAP: "1", maxPlayoutRate: "1", |
