JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #61  
Old 15.06.2020, 01:17
Dockel Dockel is offline
JD Legend
 
Join Date: Feb 2020
Posts: 663
Default

Ah, completely missed that. I guess, I entered it by trying pressing STRG#+F for searching in the script.

Works now, many thanks!
__________________
Aktuelles Windows
Reply With Quote
  #62  
Old 04.07.2020, 09:55
Amiganer Amiganer is offline
JD Fan
 
Join Date: Mar 2019
Posts: 72
Default Vielleicht so...

Hallo.

Es gibt einn "EventScript", dass fertig downloads in eine neues Package schreibt: board.jdownloader.org/showpost.php?p=450153&postcount=950

Dann werden Links, die schon mal da waren als Doubletten markiert.
Ich benutze das hier, um das "Doppelte Downloaden" zu vermeiden.

Achtung: In dem Package dürfen nicht nur <100.000 Links drin sein. Bevor es soweit ist, einfach umbenennen.

Hoffe, das hilft. Es gibt in dem Thread etwas später auch noch ein anderes Script, das habe ich aber nicht getestet.

Bye, Christian
Reply With Quote
  #63  
Old 04.07.2020, 10:28
Dockel Dockel is offline
JD Legend
 
Join Date: Feb 2020
Posts: 663
Default

Hallo Christian,

vielen Dank für den Link. Ich kann noch nicht ganz den Vorteil bei dem Skript verstehen, wozu kann man das verwenden, dass doppelt Links in einen anderen Ordner (ist wohl dasselbe wie Package, oder?) schieben lassen kann?

So ein Skript, von mgpai, das doppelte Downloads verhindert benutze ich auch, das ist aber wohl ein anderes, als das, das Du meinst. Die als doppelt angezeigten Links kann ich dann einfach löschen.
__________________
Aktuelles Windows
Reply With Quote
  #64  
Old 05.07.2020, 12:18
Amiganer Amiganer is offline
JD Fan
 
Join Date: Mar 2019
Posts: 72
Default

Quote:
Originally Posted by Dockel View Post
Hallo Christian,

vielen Dank für den Link. Ich kann noch nicht ganz den Vorteil bei dem Skript verstehen, wozu kann man das verwenden, dass doppelt Links in einen anderen Ordner (ist wohl dasselbe wie Package, oder?) schieben lassen kann?

So ein Skript, von mgpai, das doppelte Downloads verhindert benutze ich auch, das ist aber wohl ein anderes, als das, das Du meinst. Die als doppelt angezeigten Links kann ich dann einfach löschen.
Also dann mal von vorne....

Das Script, auf das ich gezeigt habe macht folgendes:

Im Linksammler werden Links, die schon im Downloader sind als "Doubletten" markiert. Bevor Du nun alle gesammelten Links zum Download hinzufügen kannst, wirst Du gefragt, ob du die Doubletten auch hinzu fügen willst und kannst so Links vermeiden, die schon im Downloader stehen.
Das Script selber verschiebt die Links, die fertig geladen sind, in ein neues Package "Already Downloaded", dadurch werden die Links nicht wirklich aus dem Downloader entfernt. Da die Links also weiterhin in Downloader stehen, werden sie beim Linksammler als Doubletten erkannt und du kannst ein erneutes laden verhindern.

Man muß nur aufpassen, da max 99.999 (<100.000) Links in ein Package passen, das man "Already Downloaded" von Zeit zu Zeit umbennent. Ich mache das Monatlich und hänge dann zB "202005" an (für die Links aus May 2020).

Einen kleinen Nachteil gibt es: Das Script erkennt nicht, wenn es zu einem geladenen Link einen Mirrorlink gibt, der wird nicht automatisch verschoben, das muß man dann selber machen.

Ich hoffe, die Beschreibung hilft.

Bye, Christian
Reply With Quote
  #65  
Old 05.07.2020, 12:31
Dockel Dockel is offline
JD Legend
 
Join Date: Feb 2020
Posts: 663
Default

Quote:
Im Linksammler werden Links, die schon im Downloader sind als "Doubletten" markiert. Bevor Du nun alle gesammelten Links zum Download hinzufügen kannst, wirst Du gefragt, ob du die Doubletten auch hinzu fügen willst und kannst so Links vermeiden, die schon im Downloader stehen.
Das macht JD doch auch, oder verstehe ich etwas falsch?

Quote:
Das Script selber verschiebt die Links, die fertig geladen sind, in ein neues Package "Already Downloaded", dadurch werden die Links nicht wirklich aus dem Downloader entfernt. Da die Links also weiterhin in Downloader stehen, werden sie beim Linksammler als Doubletten erkannt und du kannst ein erneutes laden verhindern.
Das machte ich früher manuell. Das Problem war, dass JD dann, ab einer gewissen Menge an Links, nur noch ganz schön langsam, träge lief. Das ist jetzt nicht mehr so?

Quote:
Man muß nur aufpassen, da max 99.999 (<100.000) Links in ein Package passen, das man "Already Downloaded" von Zeit zu Zeit umbennent. Ich mache das Monatlich und hänge dann zB "202005" an (für die Links aus May 2020).
Das heißt, irgendwann wird der obere Bereich dieses Fensters voll mit derartigen Paketen sein, man müßte dann also immer nach unten scrollen zu neuen Downloadlinks?

Ja, ja, hilft durchaus, vielen Dank!
__________________
Aktuelles Windows
Reply With Quote
  #66  
Old 05.07.2020, 14:16
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,528
Default

@tarkett: Thanks for helping with the error.

Quote:
Originally Posted by Amiganer View Post
Ich mache das Monatlich und hänge dann zB "202005" an (für die Links aus May 2020).

Einen kleinen Nachteil gibt es: Das Script erkennt nicht, wenn es zu einem geladenen Link einen Mirrorlink gibt, der wird nicht automatisch verschoben, das muß man dann selber machen.
Added new script in post #950 with 'package finished' trigger which will also move 'mirror' links and adds month/date to package name.

On a side note, having large amount of links in the list requires lot of memory. It would be better to keep only the minimum required links in it and move the rest to text file.
Reply With Quote
  #67  
Old 06.07.2020, 08:05
Dockel Dockel is offline
JD Legend
 
Join Date: Feb 2020
Posts: 663
Default

How could one exclude downloads / files to be marked / handled as duplicates to avoid that(?):

Downloads links from zippy almost always / often are added to the link grabber and after to the download window named "file.html". In the download window some links change to their real name, some are keeping the old names (file.html, being marked as duplicate). Or when one clicks force download or check online status they alsways or often get its real names.
__________________
Aktuelles Windows
Reply With Quote
  #68  
Old 06.07.2020, 08:29
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,528
Default

Quote:
Originally Posted by Dockel View Post
How could one exclude downloads / files to be marked / handled as duplicates to avoid that(?):

Downloads links from zippy almost always / often are added to the link grabber and after to the download window named "file.html". In the download window some links change to their real name, some are keeping the old names (file.html, being marked as duplicate). Or when one clicks force download or check online status they alsways or often get its real names.
The script works by matching urls and not file names, so it should not matter. If a matching url is found in the text file, a duplicate download should hence should be marked as such. If it does not let me know, or did you mean something else?

PSP has fixed the file name issue with ZS, but I guess it is not live since core updates are pending. As a workaround, till the update is available, you can create a packagizer rule which can rename the file using file ID in the url.

If you desired workflow is different, I can modify the existing scripts or create a new one.
Reply With Quote
  #69  
Old 06.07.2020, 09:44
Dockel Dockel is offline
JD Legend
 
Join Date: Feb 2020
Posts: 663
Default

Quote:
The script works by matching urls and not file names,
OK, sorry, yes, I mean something different (I assume) so (assume) always when JD is showiing "file.html" in the grabber or download window (after adding it e.g. by the clip board)

it is marked as duplicate although it is not a duplicate (Could one avoid it so that it will be downloaded because it is not a duplicate). When I remove the duplcate comment the name of "file.html" will be changed to the real name and the file will be downloaded. Could one somehow make JD downloading it without having to do such? ?

Quote:
PSP has fixed the file name issue with ZS, but I guess it is not live since core updates are pending
May be that is the cause? OK, so I had to wait for the upate, thank you.

Quote:
If you desired workflow is different, I can modify the existing scripts or create a new one.
Thank you very much, the script cannot work any better.
__________________
Aktuelles Windows
Reply With Quote
  #70  
Old 06.07.2020, 10:40
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,528
Default

Quote:
Originally Posted by Dockel View Post
May be that is the cause?
Very unlikely, since only urls are matched and not file names. Also,they are matched and the link is marked as 'duplicate' when the links are added to linkgrabber tab. It should not be marked as such, unless the same url is present in the history text file.

If you wish to troubleshoot it, please find me in JD Chat when you are free.

Code:
kiwiirc.com/nextclient/irc.freenode.net/#jdownloader
Reply With Quote
  #71  
Old 06.07.2020, 13:55
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,044
Default

@mgpai
He is asking for a script to work-around a Zippyshare plugin issue which has already been fixed but updates have not yet been released.
He can also easily work-around this by using packagizer rules to set the fileID of zippyshare URLs as filename though this might not work either as this will be set as final filename then.

-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
  #72  
Old 06.07.2020, 14:17
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,528
Default

Quote:
Originally Posted by mgpai View Post
PSP has fixed the file name issue with ZS, but I guess it is not live since core updates are pending. As a workaround, till the update is available, you can create a packagizer rule which can rename the file using file ID in the url.
Quote:
Originally Posted by pspzockerscene View Post
He is asking for a script to work-around a Zippyshare plugin issue which has already been fixed but updates have not yet been released.
He can also easily work-around this by using packagizer rules to set the fileID of zippyshare URLs as filename though this might not work either as this will be set as final filename then.
It was a different issue for which I have provided a workaround in IRC. But you are right, the packagizer rule would not have worked to fix the file name issue. Would have required a script to replace 'forced' file name with 'final' file name.
Reply With Quote
  #73  
Old 06.07.2020, 14:21
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,044
Default

Yeah - though I'm not yet 100% sure if that will work.
I was never able to reproduce the users' issue.
We'll see after the update.

-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
  #74  
Old 06.07.2020, 14:32
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,528
Default

Quote:
Originally Posted by pspzockerscene View Post
I was never able to reproduce the users' issue.
To reproduce, add a dummy (non-working) connection in connection manager, which will make ZS links un-checkable and all links will be added to linkgrabber with same package/file name.

Move the package to download tab, disable the dummy connection and start the downloads. Only one of them will start downloading with correct name and the rest will be marked as mirrors.

Not sure if this will help you in any way to diagnose the issue, but though there is no harm sharing it.

Can also use a script, if the fix doesn't work for any reason.
Reply With Quote
  #75  
Old 06.07.2020, 14:34
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,044
Default

ZS URLs are already uncheckable hier because ZS is GEO-blocking german IPs and I'm in Germany

-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
  #76  
Old 06.07.2020, 14:43
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,528
Default

Quote:
Originally Posted by pspzockerscene View Post
ZS URLs are already uncheckable hier because ZS is GEO-blocking german IPs and I'm in Germany
I am able to reproduce it consistently. Let me know if I can help in anyway. You can also check via TV if it will be helpful.
Reply With Quote
  #77  
Old 06.07.2020, 14:55
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,044
Default

Quote:
Originally Posted by mgpai View Post
I am able to reproduce it consistently. Let me know if I can help in anyway. You can also check via TV if it will be helpful.
Did you checkout the current rev from our SVN and still have the issue?

-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
  #78  
Old 06.07.2020, 15:03
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,528
Default

Quote:
Originally Posted by pspzockerscene View Post
Did you checkout the current rev from our SVN and still have the issue?
I have not set up an IDE. Only public release. I had tried packagizer rule though, and it did not work.
Reply With Quote
  #79  
Old 06.07.2020, 15:08
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,044
Default

Ahh sorry forgot that the ZS plugin is closed src.
Wait for the update and try again then.

-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
  #80  
Old 06.07.2020, 19:48
Dockel Dockel is offline
JD Legend
 
Join Date: Feb 2020
Posts: 663
Default

Here are some errors shown while adding two uloz links:


Is there anything I could do?
__________________
Aktuelles Windows
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 09:53.
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.