mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-07 20:10:03 +03:00
Added nfty and gotify notifications support
This commit is contained in:
@@ -537,6 +537,10 @@ function getArchiveFolder(type, user_uid = null, sub = null) {
|
||||
}
|
||||
}
|
||||
|
||||
function getBaseURL() {
|
||||
return `${config_api.getConfigItem('ytdl_url')}:${config_api.getConfigItem('ytdl_port')}`
|
||||
}
|
||||
|
||||
// objects
|
||||
|
||||
function File(id, title, thumbnailURL, isAudio, duration, url, uploader, size, path, upload_date, description, view_count, height, abr) {
|
||||
@@ -588,5 +592,6 @@ module.exports = {
|
||||
searchObjectByString: searchObjectByString,
|
||||
stripPropertiesFromObject: stripPropertiesFromObject,
|
||||
getArchiveFolder: getArchiveFolder,
|
||||
getBaseURL: getBaseURL,
|
||||
File: File
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user