#641
|
||||
|
||||
Quote:
never mind i figured it out, i was looking for the literal word button which was nowhere to be found, to me it is just a a press option menu. i already had that option in the right click submenu to "more options" right-click context which i had to make visible when selecting the link(s), the problem was that i had not renamed the "action" to match the "name" from the script. sometimes i think too literal. thanks Last edited by RPNet-user; 14.03.2019 at 15:29. |
#642
|
||||
|
||||
Menu Editor -> +(Add) -> Eventscripter Trigger
__________________
JD-Dev & Server-Admin |
#643
|
||||
|
||||
@mgpai
would you please provide variables for the following: Name Size Hoster Added Date Finished Date Save to |
#644
|
|||
|
|||
Quote:
So, I'd like to create a script that periodically checks if the option is ticked, and ticks it if it's not. |
#645
|
||||
|
||||
@bobolecoco: what os are you using? this should not untick itself, ever.
__________________
JD-Dev & Server-Admin |
#646
|
|||
|
|||
All variables are listed in the script editor:
Code:
Script Editor > Menu > Show/Hide Help |
#647
|
||||
|
||||
I see them, thanks
|
#648
|
||||
|
||||
these are samples for the two "long" variables i added to output to a text, these numbers do no make sense:
getFinishedDate ->1552594451765 getDownloadTime ->7422 adding "string" variables is not a problem only with the "long" variables that require numerical values. Last edited by RPNet-user; 14.03.2019 at 22:19. |
#649
|
|||
|
|||
I'm on Raspbian (Debian for Raspberry Pi).
|
#650
|
||||
|
||||
@PRNet-User:
date in timestamp 1552594451765 -> 1552594451(without ms) -> 14.03.2019 - 21:14:11 download time in ms -> 7,4 secs
__________________
JD-Dev & Server-Admin |
#651
|
||||
|
||||
does this happen randomly or can you reproduce the issue by yourself?
__________________
JD-Dev & Server-Admin |
#652
|
|||
|
|||
It happens randomly (and I have the same issue on two different devices).
|
#653
|
||||
|
||||
@bobolecoco:
different os or same os/device-types?
__________________
JD-Dev & Server-Admin |
#654
|
||||
|
||||
Quote:
I will also need to do this for the long var "myFilePath.getSize" |
#655
|
||||
|
||||
You can use the Javascript Date Object, for example
Quote:
__________________
JD-Dev & Server-Admin |
#656
|
||||
|
||||
Quote:
I will contact mgpai about the converter. |
#657
|
|||
|
|||
A Raspberry Pi 2 with Raspbian GNU/Linux 7 (wheezy) ;
A Raspberry Pi 3 with Raspbian GNU/Linux 8 (jessie). |
#658
|
||||
|
||||
@bobolecoco: can you please stop JDownloader and delete the logs folder. Then wait for error to happen again and then zip the logs folder and send to support@jdownloader.org
__________________
JD-Dev & Server-Admin |
#659
|
|||
|
|||
Quote:
But anyway, to come back to my question, is there a way to change a JDownloader's setting using event scripter ? |
#660
|
||||
|
||||
@bobolecoco: mgpai should be able to help you with that. but we should find the reason for this behaviour and not try to workaround it
@mgpai: api namespace is 'extensions', method is 'setEnabled', parameters are classname and boolean. you can use list method to list all installed extensions.
__________________
JD-Dev & Server-Admin |
#661
|
|||
|
|||
Quote:
Code:
// Enable Tray Icon if it is disabled // Trigger: Interval (Rencommended: 60000 or more) var settings = "org.jdownloader.gui.jdtrayicon.TrayConfig"; var storage = "cfg/org.jdownloader.gui.jdtrayicon.TrayExtension"; var value = callAPI("config", "get", settings, storage, "enabled"); if (!value) callAPI("config", "set", settings, storage, "enabled", true); Does not appear to be listed in "extensions". Last edited by mgpai; 19.03.2019 at 11:47. Reason: Removed IIFE |
#662
|
||||
|
||||
@mgpai: thanks, but other extensions are listed ?
__________________
JD-Dev & Server-Admin |
#663
|
|||
|
|||
@jiaz: My pleasure. Yes other extensions are listed.
Code:
org.jdownloader.extensions.extraction.ExtractionExtension org.jdownloader.extensions.antistandby.AntiStandbyExtension org.jdownloader.extensions.eventscripter.EventScripterExtension org.jdownloader.extensions.folderwatchV2.FolderWatchExtension org.jdownloader.extensions.infobar.InfoBarExtension org.jdownloader.extensions.shutdown.ShutdownExtension org.jdownloader.extensions.schedulerV2.SchedulerExtension chat translator |
#664
|
||||
|
||||
@mgpai: thanks. tray extension is no longer build as optional and therefore not returned in that list. but still can be accessed via api
__________________
JD-Dev & Server-Admin |
#665
|
|||
|
|||
Which is the correct classname and id?
Tried "jdtrayicon" and "org.jdownloader.extensions.jdtrayicon.TrayExtension" (with different methods). Neither of them seem to work. Don't need to add support if it has been removed. Just checking if it works. |
#666
|
||||
|
||||
@mgpai: you're right, because it's no longer an optional extension, it's not 'reachable' via config system at the moment. I will check if I can make it work again
__________________
JD-Dev & Server-Admin |
#667
|
|||
|
|||
Thanks for your responses mgpai and Jiaz !
|
#668
|
|||
|
|||
Is there a way to select a number of files by the same hoster and have them selected by file size ie largest first then declining
|
#669
|
|||
|
|||
Quote:
If you are looking for something different, I need more information. You can find me in JD Chat. I will be available there for the next hour or so. |
#670
|
|||
|
|||
In Teile aufgeteilten Film automatisch nach dem Runterladen wieder zusammensetzen?
Kann jD einen Film (nicht gepackt, sondern als mp4, mkv oder so), der in 2 oder 3 Teile aufgeteilt wurde, immer automatisch nach dem Runterladen wieder zusammensetzen (https://board.jdownloader.org/showth...2#post438752)?
|
#671
|
|||
|
|||
Quote:
Perhaps you can provide some examples so that Jiaz can take a look and provide me the necessary information. |
#672
|
||||
|
||||
@mgpai: very likely he did download an archiv/split-archive and JD just extracted it. there is no logic in JD to merge multiple video segments into a single file
__________________
JD-Dev & Server-Admin |
#673
|
|||
|
|||
What archive? There was no archive. There was not anything which could have been extracted. Sorry, I do not understand at all.
Where did the "logic" come from if not from jD? |
#674
|
||||
|
||||
Please provide example links where this has happened.
__________________
JD-Dev & Server-Admin |
#675
|
|||
|
|||
Very sorry again, it was an archive, I missed it.
|
#676
|
|||
|
|||
REQUEST: Instagram Comment/Caption
Hi!
I've noticed that after getting all the links to IG pictures there is also a column with the comments/caption to the respective pictures. Is there a way to include the comment in the picture in the EXIF metadata (maybe under 'caption')? And also maybe make the time&date of the upload on IG the time&date of the file or also including it in the metadata? best regards |
#677
|
|||
|
|||
Quote:
Quote:
Code:
Settings > Advanced Settings > GeneralSettings.useoriginallastmodified |
#678
|
||||
|
||||
@mgpai: JDonyx needs a script that applies exif/meta data to images from comments/xy field after download. there is a tool that manipulates exifdata that could be used for this. Maybe you can help?
__________________
JD-Dev & Server-Admin |
#679
|
|||
|
|||
Quote:
Did you have a different solution in mind? |
#680
|
||||
|
||||
@mgpai: your post was too fast for me did see it after my post thanks! that's exactly what I had in mind!
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|