mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-20 03:53:19 +03:00
should now work across multiple devices
This commit is contained in:
@@ -9,8 +9,8 @@ var bodyParser = require("body-parser");
|
|||||||
var app = express();
|
var app = express();
|
||||||
var appAnchor = express();
|
var appAnchor = express();
|
||||||
|
|
||||||
var hostURL = config.get("YoutubeDL-Material.Host.url");
|
var hostURL = config.get("YoutubeDL-Material.Host.frontend-url");
|
||||||
var hostPort = config.get("YoutubeDL-Material.Host.port");
|
var hostPort = config.get("YoutubeDL-Material.Host.backend-port");
|
||||||
var usingEncryption = config.get("YoutubeDL-Material.Encryption.use-encryption");
|
var usingEncryption = config.get("YoutubeDL-Material.Encryption.use-encryption");
|
||||||
var basePath = config.get("YoutubeDL-Material.Downloader.path-base");
|
var basePath = config.get("YoutubeDL-Material.Downloader.path-base");
|
||||||
var audioPath = config.get("YoutubeDL-Material.Downloader.path-audio");
|
var audioPath = config.get("YoutubeDL-Material.Downloader.path-audio");
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"YoutubeDL-Material": {
|
"YoutubeDL-Material": {
|
||||||
"Host": {
|
"Host": {
|
||||||
"url": "example.com",
|
"frontend-url": "http://localhost:4200",
|
||||||
"port": "8088"
|
"backend-port": "8088"
|
||||||
},
|
},
|
||||||
"Encryption": {
|
"Encryption": {
|
||||||
"use-encryption": false,
|
"use-encryption": false,
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"YoutubeDL-Material": {
|
"YoutubeDL-Material": {
|
||||||
"Host": {
|
"Host": {
|
||||||
"url": "http://localhost:4200",
|
"frontend-url": "http://localhost:4200",
|
||||||
"port": "8088"
|
"backend-port": "8088"
|
||||||
},
|
},
|
||||||
"Encryption": {
|
"Encryption": {
|
||||||
"use-encryption": false,
|
"use-encryption": false,
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ export class AppComponent {
|
|||||||
this.exists = fileExists;
|
this.exists = fileExists;
|
||||||
if (this.exists == "failed")
|
if (this.exists == "failed")
|
||||||
{
|
{
|
||||||
this.downloadHelperMp3(name);
|
setTimeout(() => this.downloadHelperMp3(name), 500);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -66,7 +66,7 @@ export class AppComponent {
|
|||||||
this.exists = fileExists;
|
this.exists = fileExists;
|
||||||
if (this.exists == "failed")
|
if (this.exists == "failed")
|
||||||
{
|
{
|
||||||
this.downloadHelperMp4(name);
|
setTimeout(() => this.downloadHelperMp4(name), 500);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user