JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 19.06.2014, 17:01
laprad
Guest
 
Posts: n/a
Default "JD Info File Writer" for JD2

Where can I download addon "JD Info File Writer" for JDownloader2? Tnx
Reply With Quote
  #2  
Old 19.06.2014, 17:11
Lram32's Avatar
Lram32 Lram32 is offline
Spanish Supporter
 
Join Date: Jul 2012
Location: Dark side of the moon
Posts: 9,930
Default

We already have a ticket for that.

__________________
» Setup JD2 / Instalador de JD2 «
Spoiler:

Installer for Windows XP/Vista/Seven/Eight
|| JD2 x86 - x64 (Beta) ||

Installer for Mac
|| JD2 (Beta) ||

Installers for Linux
|| JD2 (Beta) x86 || <---> || JD2 (Beta) x64 ||

How to Create a Log
-» Click Here «-


¿Cómo crear un registro?
-» Click Aquí «-


Support Chat / Chat de Soporte
-» Click Here / Click Aquí «-


Reply With Quote
  #3  
Old 21.02.2015, 02:59
wchen wchen is offline
Modem User
 
Join Date: Jan 2015
Posts: 2
Default

I whould use JDownloader 2, if there were Info File Writer or a possibility to write comments .....
Reply With Quote
  #4  
Old 21.02.2015, 11:50
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,342
Default

JDownloader 2 has an EventScripter that can do all this. Best would be to write email to support@jdownloader.org and we will explain how
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 21.02.2015, 17:29
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,140
Default

Maybe we should add some default scripts e.g. for this function
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #6  
Old 21.02.2015, 17:51
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,659
Default

Which is what I said on the svn ticket this morning (14h ago) =]
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #7  
Old 21.02.2015, 18:01
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,140
Default

:w00t:
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #8  
Old 23.02.2015, 14:05
Isabelxxx
Guest
 
Posts: n/a
Default Info File Writer

Where is the plugin in JD2? Still missing in the new version?

Have seen some threads asking same question from 2012 and thought this would be already solved but I don't see anything related to it.

The plugin is essential when having a large download list if you need to save the source of each download and passwords, that way you can just store the finished downloads with their own info files without needing to do it manually or unrar all by default.

That's one of the reason I have rejected JD2 for years.
Reply With Quote
  #9  
Old 23.02.2015, 14:10
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,140
Default

Hi
Yes "still" missing though we got the EventScripter which can be use to do the same.

GreeZ psp
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #10  
Old 27.02.2015, 19:01
Isabelxxx
Guest
 
Posts: n/a
Default

.. so since this seems to be missing for 2 years and it can already be done in the eventscripter one would ask why it has not been already implemented that way by default.

Any info about how to do it?
Reply With Quote
  #11  
Old 27.02.2015, 19:18
Isabelxxx
Guest
 
Posts: n/a
Default

Tried with the trigger "package finished" and thought something like this

Quote:
//Add your script here. Feel free to use the available api properties and methods
var myFilePackage = package;
var myPackageName = myFilePackage.getName();
var myDownloadFolder = myFilePackage.getDownloadFolder();
writeFile(myDownloadFolder + "/" + myPackageName + ".txt", JSON.stringify(myPackageName), false);
But missing the password and comment fields from the finished package.
Reply With Quote
  #12  
Old 27.02.2015, 19:49
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,140
Default

1. No double posts please!
Quote:
Originally Posted by Isabelxxx View Post
.. so since this seems to be missing for 2 years and it can already be done in the eventscripter one would ask why it has not been already implemented that way by default.
2. Yes but the EventScripter is new and doesn't already exist for 2 years.
Please simply wait - I'm pretty sure that we will provide some basic examples or default scripts - especially to cover the "Info file writer" feature(s)!

GreeZ psp
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #13  
Old 28.02.2015, 10:47
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,342
Default

__________________
JD-Dev & Server-Admin
Reply With Quote
  #14  
Old 09.03.2015, 13:45
coalado's Avatar
coalado coalado is offline
JD Manager
 
Join Date: Feb 2009
Posts: 1,988
Default

Isabelxxx:
I added myFilePackage.getComment(). But I cannot add myFilePackage.getPassword(), because a package may contain several archives with several archive passwords.

But you can use this:
Spoiler:
var archives = package.getArchives();

for (var i = 0; i < archives.length; i++) {
var archive = archives[i];

alert(archive.getName() + "\r\n" + JSON.stringify(archive.getInfo(), null, 2));

}


But if you want to work an archives, I would use the trigger "Archive axtraction finished"
__________________
Reply With Quote
  #15  
Old 11.03.2015, 21:08
Isabelxxx
Guest
 
Posts: n/a
Default

Thanks for the help. I finally got it working
For me, the same is comment or password field. In fact I copy the web link as source for the files instead of the password.
With your changes now it's almost perfect since we can use the comment field as a global field for all files inside a package. That was how it worked in the old jdownloader plugin.

Quote:
hxxp://xxxxxxxxxxxxxxxxxxxx.com (or the password for the entire package)

[wktwmsd24.part1.rar, wktwmsd24.part2.rar]
Finalized 26.09.2013 to 02:34:36 Clock
So trying to emulate the old JD info file writer which looked like that for an entire package I got this

Quote:
//Get package info
var myPackageName = package.getName();
var myDownloadFolder = package.getDownloadFolder();
var myPackageComment = package.getComment()

//Get links from Package
var links = package.getDownloadLinks();

//Set path to info file
var path = myDownloadFolder + "/" + myPackageName + ".txt";

//Init text
var text = ""

//Set text
text += myPackageComment
text += "\r\n"

if (links) { //Adds archive file names between []
text += "\r\n"
text += "["
for (var i = 0; i < links.length; i++) {
var link = links[i];
if (i != 0) text += ", "; //Comma between file names
text += link.getName();
}
text += "]"
text += "\r\n"
}

//HERE YOU WOULD ADD THE package.getFinishedDate() part

//Write info file
writeFile(path, text, true);
It only misses the added/finished date and I think it would fully replace the old plugin.

EDIT: note my idea was to replace the old plugin, not working with extracted archives.
Just the old method to just download things and create info file with names and passwords.
Then you were able to delete the downloads within jdownloader and still having your passwords without having to extract anything. Just download/automatic info file/delete downloads in JD.

Last edited by Isabelxxx; 11.03.2015 at 21:15.
Reply With Quote
  #16  
Old 12.03.2015, 20:27
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,342
Default

added and finished date will be added soon by coalado
__________________
JD-Dev & Server-Admin
Reply With Quote
  #17  
Old 22.03.2015, 17:07
GiuseppeKK
Guest
 
Posts: n/a
Default <filename>.log

Hi,
when a file has been downloaded it would be nice to have a "<filename>.log" file for each file.

I should contain some info like:


original_path
original_name
local_name
host
size
time

And other useful info

Could You please add this ?
Reply With Quote
  #18  
Old 26.03.2015, 22:06
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,140
Default

InfoFileWriter is back!
Der InfoFileWriter ist zurück!


English:
1. Go to settings, scroll down the left side all the way.
2. Install the Addon "Event Scripter".
Make sure to restart JD2 afterwards.
Then go to settings again, activate, and open it.
You will find the description to activate the InfoFileWriter script in the screenshot below!


Deutsch:
1. Gehe in die Einstellungen - scrolle links ganz nach unten.
2. Installiere das Addon "Event Scripter".
Starte JD2 danach neu.
Gehe jetzt wieder in die Einstellungen und offne/aktiviere das installierte Event Scripter Addon.
Alle weiteren Infos zur einrichtung des InfoFileWriter Scriptes sind dem Screenshot unten zu entnehmen!

Screenshot:


GreeZ pspzockerscene
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 11:10.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.