Small bug fixes

pull/9/head
aandrew-me 3 years ago
parent 23570572dd
commit f4041f21f3

@ -141,6 +141,7 @@ body {
font-weight: bold;
cursor: pointer;
margin-top:10px;
font-family: sans-serif;
}
.itemClose {
position: absolute;

@ -0,0 +1,7 @@
[Desktop Entry]
Name=Youtube Downloader
Comment=Download videos and audios from YouTube and more
Exec=run.sh
Type=Application
Icon=me.aandrew.ytdownloader
Categories=Utility;

@ -0,0 +1,64 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>me.aandrew.ytdownloader</id>
<name>Youtube Downloader</name>
<summary>Download videos and audios from Youtube and other sites</summary>
<description>
<p>YtDownloader lets you download videos and audios of different qualities from Youtube with high speed. It also supports hundreds of other sites including the popular ones but not limited to Facebook, Instagram, Tiktok, Twitter.</p>
<p>✅ Supports Light/Dark mode</p>
<p>✅ Supports high quality video resolutions</p>
<p>✅ Completely free and open source</p>
</description>
<project_license>MIT</project_license>
<metadata_license>CC0-1.0</metadata_license>
<screenshots>
<screenshot type="default">
<image>https://user-images.githubusercontent.com/66430340/181747909-f16e30dc-a7c3-40cb-876b-54f0ea8d4e42.jpg</image>
</screenshot>
<screenshot>
<image>https://user-images.githubusercontent.com/66430340/181747920-4df80914-278f-4350-9328-015e9e0bcf16.jpg</image>
</screenshot>
</screenshots>
<url type="homepage">https://github.com/aandrew-me/ytDownloader</url>
<content_rating type="oars-1.1">
<content_attribute id="violence-cartoon">none</content_attribute>
<content_attribute id="violence-fantasy">none</content_attribute>
<content_attribute id="violence-realistic">none</content_attribute>
<content_attribute id="violence-bloodshed">none</content_attribute>
<content_attribute id="violence-sexual">none</content_attribute>
<content_attribute id="violence-desecration">none</content_attribute>
<content_attribute id="violence-slavery">none</content_attribute>
<content_attribute id="violence-worship">none</content_attribute>
<content_attribute id="drugs-alcohol">none</content_attribute>
<content_attribute id="drugs-narcotics">none</content_attribute>
<content_attribute id="drugs-tobacco">none</content_attribute>
<content_attribute id="sex-nudity">none</content_attribute>
<content_attribute id="sex-themes">none</content_attribute>
<content_attribute id="sex-homosexuality">none</content_attribute>
<content_attribute id="sex-prostitution">none</content_attribute>
<content_attribute id="sex-adultery">none</content_attribute>
<content_attribute id="sex-appearance">none</content_attribute>
<content_attribute id="language-profanity">none</content_attribute>
<content_attribute id="language-humor">none</content_attribute>
<content_attribute id="language-discrimination">none</content_attribute>
<content_attribute id="social-chat">none</content_attribute>
<content_attribute id="social-info">none</content_attribute>
<content_attribute id="social-audio">none</content_attribute>
<content_attribute id="social-location">none</content_attribute>
<content_attribute id="social-contacts">none</content_attribute>
<content_attribute id="money-purchasing">none</content_attribute>
<content_attribute id="money-gambling">none</content_attribute>
</content_rating>
<releases>
<release version="3.0.0" date="2022-08-29"/>
<release version="2.1.2" date="2022-08-28"/>
<release version="2.1.1" date="2022-08-27"/>
<release version="2.1.0" date="2022-08-27"/>
<release version="2.0.4" date="2022-08-26"/>
<release version="2.0.3" date="2022-08-23"/>
<release version="2.0.1" date="2022-08-10"/>
<release version="2.0" date="2022-08-05"/>
</releases>
</component>

@ -45,7 +45,8 @@
"./public/**/*",
"package.json",
"./assets/**/*",
"./src/**/*"
"./src/**/*",
"ffmpeg*"
],
"mac": {
"category": "Utility",

@ -380,12 +380,16 @@ function manageAdvanced(duration) {
if (startTime && !endTime) {
rangeCmd = `*${startTime}-${timeFormat(duration)}`;
rangeOption = "--download-sections";
} else if (!startTime && endTime) {
rangeCmd = `*0-${endTime}`;
rangeOption = "--download-sections";
} else if (startTime && endTime) {
rangeCmd = `*${startTime}-${endTime}`;
rangeOption = "--download-sections";
} else {
rangeOption = "";
rangeCmd = ""
}
console.log("Range option: " + rangeOption);
@ -485,7 +489,7 @@ function download(type) {
}
let controller = new AbortController();
// console.log(rangeOption + " " + rangeCmd);
console.log(rangeOption + " " + rangeCmd);
if (type === "video" && onlyvideo) {

Loading…
Cancel
Save