#21
|
|||
|
|||
I made a test I download a video youtube he has downloaded in ogg acc mp4 and a message says this:
the remote API : config/yet. Do you want to allow this ? if you are not sur please check your script |
#22
|
||||
|
||||
add new line with
Quote:
__________________
JD-Dev & Server-Admin |
#23
|
|||
|
|||
it's good it works thank you for everything
|
#24
|
||||
|
||||
Thanks for the feedback and you're welcome
__________________
JD-Dev & Server-Admin |
#25
|
|||
|
|||
I forget what file format is it converted to is it possible to sort in linkgrabber?
to only have the file to convert and not all other formats after I will not begrudge you |
#26
|
|||
|
|||
Any file downloaded in 'aac', 'm4a' or 'ogg' format will be automatically converted to 'mp3' file. If you are looking for something different, feel free to ask.
|
#27
|
|||
|
|||
when i copy the link youtube it goes into linkgrabber, it offers several formats how to automatically remove those that I do not need as jpg webm mp4 txt
|
#28
|
||||
|
||||
See Settings-Plugins-search for youtube and scroll down, there you can deselect unwanted groups
__________________
JD-Dev & Server-Admin |
#29
|
|||
|
|||
For youtube, you can customize it in: Settings > Plugins > youtube.com
|
#30
|
|||
|
|||
thanks for all that works fine
|
#31
|
|||
|
|||
hello how can i know that the create button works?
Jdownloader gives me an error message: Syntaxerror: unterminated object literal (#17) Can you help me? Thank you |
#32
|
||||
|
||||
Can you please provide the script? That error looks like error in script.
__________________
JD-Dev & Server-Admin |
#33
|
|||
|
|||
Code:
// Convert aac/m4a/ogg files to mp3. // Trigger required: "A Download Stopped". // Requires ffmpeg/ffprobe. Uses JD ffmpeg/ffprobe settings if available. // Overwrites destination file (mp3) if it already exists. if (link.isFinished()) { var fileName = link.name.replace(/(.+)(\..+$)/, "$1"); var fileType = link.name.replace(/(.+)(\..+$)/, "$2"); var sourceFile = link.getDownloadPath(); var audioFile = /\.(aac|m4a|ogg)$/.test(sourceFile); if (audioFile) { var downloadFolder = package.getDownloadFolder(); var destFile = downloadFolder + "/" + fileName + ".mp3"; var ffmpeg = callAPI("config", "get", "org.jdownloader.controlling.ffmpeg.FFmpegSetup", null, "binarypath"); var ffprobe = callAPI("config", "get", "org.jdownloader.controlling.ffmpeg.FFmpegSetup", null, "binarypathprobe"); var data = JSON.parse(callSync(ffprobe, "-v", "quiet", "-print_format", "json", "-show_streams", "-show_format", sourceFile)); var streamsBitrate = data.streams[0].bit_rate ? data.streams[0].bit_rate : 0; var formatBitrate = data.format.bit_rate ? data.format.bit_rate : 0; var bitrate = Math.max(streamsBitrate, formatBitrate) / 1000; var deleteSourceFile = false; // Set this to true to delete source file after conversion. if (bitrate > 0) { callSync(ffmpeg, "-y", "-i", sourceFile, "-b:a", bitrate + "k", destFile); if (deleteSourceFile && getPath(destFile).exists()) deleteFile(sourceFile, false); } } } disablePermissionChecks(); Last edited by raztoki; 03.12.2019 at 13:06. |
#34
|
||||
|
||||
does this happen every time or randomly?
__________________
JD-Dev & Server-Admin |
#35
|
|||
|
|||
every time
|
#36
|
|||
|
|||
Sorry I made a mistake randomly
|
#37
|
||||
|
||||
Thanks for the feedback! Then I already have an idea where this happens
__________________
JD-Dev & Server-Admin |
#38
|
|||
|
|||
what should i do click here?
it appears in larger I do not understand. little extra question: when I download youtebe songs in the file explorer it puts me a lot of sub folders is it possible that jdownloader put the file in bulk |
#39
|
||||
|
||||
You've got to wait till I found/fixed that bug causing the issue you're reported
To disable the subfolders, see https://support.jdownloader.org/Know...ackage-feature Please know that changing this will only affect new added links!
__________________
JD-Dev & Server-Admin |
#40
|
|||
|
|||
hello, do you have news for the script?
|
Thread Tools | |
Display Modes | |
|
|