From 0451e5c1635fa89f3e5b6bc431aeb2d122c06f20 Mon Sep 17 00:00:00 2001 From: Leonetienne Date: Mon, 15 Mar 2021 16:58:19 +0100 Subject: [PATCH] Fixed issue that caused non-mp4 sources to not download --- Tubio/DownloadManager.cpp | 16 ++++++++-------- Tubio/Version.h | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Tubio/DownloadManager.cpp b/Tubio/DownloadManager.cpp index cc5c51d..253312a 100644 --- a/Tubio/DownloadManager.cpp +++ b/Tubio/DownloadManager.cpp @@ -604,21 +604,21 @@ std::string DownloadManager::DownloadQualityToStringParams(DOWNLOAD_QUALITY qual switch (quality) { case DOWNLOAD_QUALITY::_BEST: - return "bestvideo[ext=mp4]+bestaudio"; + return "bestvideo+bestaudio"; case DOWNLOAD_QUALITY::_1440p: - return "bestvideo[ext=mp4][height<=1440]+bestaudio"; + return "bestvideo[height<=1440]+bestaudio"; case DOWNLOAD_QUALITY::_1080p: - return "bestvideo[ext=mp4][height<=1080]+bestaudio"; + return "bestvideo[height<=1080]+bestaudio"; case DOWNLOAD_QUALITY::_720p: - return "bestvideo[ext=mp4][height<=720]+bestaudio"; + return "bestvideo[height<=720]+bestaudio"; case DOWNLOAD_QUALITY::_480p: - return "bestvideo[ext=mp4][height<=480]+bestaudio"; + return "bestvideo[height<=480]+bestaudio"; case DOWNLOAD_QUALITY::_360p: - return "bestvideo[ext=mp4][height<=360]+bestaudio"; + return "bestvideo[height<=360]+bestaudio"; case DOWNLOAD_QUALITY::_240p: - return "bestvideo[ext=mp4][height<=240]+bestaudio"; + return "bestvideo[height<=240]+bestaudio"; case DOWNLOAD_QUALITY::_144p: - return "bestvideo[ext=mp4][height<=144]+bestaudio"; + return "bestvideo[height<=144]+bestaudio"; } return std::string(); diff --git a/Tubio/Version.h b/Tubio/Version.h index d3ad6f0..82668ee 100644 --- a/Tubio/Version.h +++ b/Tubio/Version.h @@ -1,2 +1,2 @@ #pragma once -#define TUBIO_SERVER_VERSION (0.539) +#define TUBIO_SERVER_VERSION (0.5395)