#1841
|
|||
|
|||
![]() Quote:
|
#1842
|
||||
|
||||
![]()
@Tomrich: It's always good to reference what script you are talking about! You can find update logs in logs/updatehistory subfolder. You can also check MyJDownloader webinterface, settings tab, it will show the uptime of current JDownloader session
__________________
JD-Dev & Server-Admin |
#1843
|
|||
|
|||
![]()
The first scipt (convert to mp3) works like a charm. But I would like to change the output bitrate for the mp3 to 256 variabel. How?
|
#1844
|
|||
|
|||
![]()
i mean this script https://support.jdownloader.org/Know...ate-jd-in-idle
|
#1846
|
|||
|
|||
![]()
The script, at regular intervals (default 600000ms) will check if update is available and apply it, if either JD is idle or 'x' hours have elapsed since the last update (disabled by default, when hours = 0).
Quote:
Quote:
So, if the script from that link is used without any modification, it will run every 10 mins. to check if update is available and restart and apply it, only if JD is idle. |
#1847
|
|||
|
|||
![]() Quote:
Does anybody has a suggestion which mp3 bitrate is equal to the 128kbit m4a from youtube? |
#1848
|
||||
|
||||
![]()
@stw500: you will always loose quality when converting again to mp3. why convert? nearly any player/device can play m4a or even ogg?
__________________
JD-Dev & Server-Admin |
#1849
|
|||
|
|||
![]()
Yes, I realize that basically there will always be some loss of quality when converting within or to lossy formats. However, there are various players, e.g. also built-in car radios, which can only process MP3. Furthermore, even a lossy M4A file with 128kbit is qualitatively far superior to a 128kbit MP3 file. So a conversion to e.g. 192, 256 or 320 kbit MP3 should result in only a very small loss of quality, which I would gladly accept because of the better compatibility. The only question is, how many kbit MP3 do I need for a roughly equivalent quality of 128kbit M4A.
|
#1850
|
||||
|
||||
![]()
@stw500: maybe this helps, tritondigitalcommunity.force.com/s/article/Choosing-Audio-Bitrate-Settings?language=en_US
__________________
JD-Dev & Server-Admin |
#1851
|
|||
|
|||
![]()
Thank you very much, I had already searched myself but unfortunately couldn't find a specific comparison. The link also contains more of a general comparison. The claim there, 128kbit MP3 is suitable for high-quality music playback, but I consider it daring.
|
#1852
|
||||
|
||||
![]()
@stw500: In doubt I would go with vbr 320
![]() ![]()
__________________
JD-Dev & Server-Admin |
#1853
|
|||
|
|||
![]()
Hi,
I run jdownloader2 and filebot-node with docker in 2 differents containers. I would like to set up an Automated Media Center by calling the filebot-node task when a package is finished. According to filebot help, there is 3 differents way to do this : - called the task '/opt/filebot-node/task 0' in the filebot container. - go to the link '**External links are only visible to Support Staff** - make a 'curl "**External links are only visible to Support Staff** I was thinking of creating a task with a PackageFinished trigger but, as far I'm a noob in js, I didn't find a way to call the filebot task (in the other container) in the event script.. Thank you in advance for your help ![]() Last edited by drikazz; 05.09.2021 at 12:57. |
#1854
|
||||
|
||||
![]()
@drikazz: so you just have to trigger an URL and the other container will process a folder? right?
see (just example) how to create a browser instance and do a get request https://board.jdownloader.org/showpo...postcount=1827 I'm sure if you need more help, mgpai will be able to help you ![]()
__________________
JD-Dev & Server-Admin |
#1855
|
|||
|
|||
![]() Code:
// Makes file names of added links more readable, especally videos // If you grab a file like: // This.Is.A,Naming.Scheme.S02E03.German.Subbed.720p.WEB.h264-ZZZ // it gets converted to: // This Is A Naming Scheme S02E03 // Trigger Required: A new link has been added // Change to your language var yourLanguage = "German"; try { var linkName = link.getName(); if (linkName !== null) { // extract extension var extension = (linkName.match(/\.([^.]*?)(?=\?|#|$)/) || [])[1]; // Replace dots with spaces linkName = linkName.split('.').join(' '); // remove extension linkName = linkName.substring(0, linkName.length - extension.length); linkName = linkName.split(yourLanguage.toLowerCase())[0]; linkName = linkName.split(yourLanguage)[0]; linkName = linkName.split(yourLanguage.toUpperCase())[0]; // Remove space at end if present if (linkName.slice(-1) == " ") { linkName = linkName.substring(0, linkName.length - 1); } link.setName(linkName + "." + extension); } } catch(error) { // Quiet crash } Code:
github.com/bitbotzgames/jdownloader-eventscripter/blob/main/BeautifyFileName.js Last edited by bitbotzgames; 09.09.2021 at 20:42. Reason: Github link added |
#1856
|
||||
|
||||
![]()
@bitbotzgames: thanks for sharing the script! can you please repost your github link?
__________________
JD-Dev & Server-Admin |
#1857
|
|||
|
|||
![]() Quote:
I tried this script but it doesn't work. I have the feeling that it is more complicated than replacing the 1.1.1.1 with my URL. Quote:
I would prefer to use filebot anyway because it's not just simple renaming but I'll keep your script as an alternative solution. |
#1858
|
|||
|
|||
![]() Quote:
If you need help implementing either of those solutions, you can find me in JD Chat. Code:
kiwiirc.com/nextclient/irc.libera.chat/#jdownloader |
#1859
|
|||
|
|||
![]() Quote:
Code:
github.com/bitbotzgames/jdownloader-eventscripter/blob/main/BeautifyFileName.js |
#1860
|
||||
|
||||
![]()
@bitbotzgames: Thanks!
__________________
JD-Dev & Server-Admin |
![]() |
Thread Tools | |
Display Modes | |
|
|