JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 27.02.2021, 15:53
jon467 jon467 is offline
Modem User
 
Join Date: Feb 2021
Posts: 4
Question [EventScripter] prop:categories_comma_separated parameters? or splice, reduce value ?

hi , is `
Code:
categories_comma_separated
` have or can have parameters to limite tags leeched from pornhub plz?

i get lot of error like this when leeching my collections from pornhubs, maybe related to my OS 260 Characters ?
here screenshot preview
**External links are only visible to Support Staff****External links are only visible to Support Staff**

here settings preview image
**External links are only visible to Support Staff****External links are only visible to Support Staff**

i want keep this full pattern
Code:
`<jd:prop:date>.<jd:orgfilename:1>.<jd:prop:username>.<jd:prop:quality>p.[ <jd:prop:categories_comma_separated> ].<jd:orgfiletype>` but sometime `categories_comma_separated`
have too much tags !
Can we add some parameters or a way to perform a splice ? `.splice(0,4)` for limit tags to 4 ?
Or maybe a way to filters tags by a pool list to keep only tag i want?

i take a look on your code source but it java and a never play with java before ! so i cant commit something !
**External links are only visible to Support Staff****External links are only visible to Support Staff**

thank for help

Last edited by jon467; 27.02.2021 at 16:04.
Reply With Quote
  #2  
Old 01.03.2021, 15:46
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 57,360
Default

Hi,
it is not planned to add a limit.
Here is what you could do:
1. Remove the windows path length limit:
howtogeek.com/266621/how-to-make-windows-10-accept-file-paths-over-260-characters/
or:
2. Use EventScripter scripts to shorten the filenames.

-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?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #3  
Old 01.03.2021, 17:47
jon467 jon467 is offline
Modem User
 
Join Date: Feb 2021
Posts: 4
Default

Quote:
Originally Posted by pspzockerscene View Post
Hi,
it is not planned to add a limit.
Here is what you could do:
1. Remove the windows path length limit:
howtogeek.com/266621/how-to-make-windows-10-accept-file-paths-over-260-characters/
or:
2. Use **External links are only visible to Support Staff**... to shorten the filenames.

-psp-
hi, i try a example Event Scripter, but not work !
how i can debug ? did you have a npm for get intellisence and @types in a IDE?
I try the default example provider by jsdownloader: `Create an Info-File in the Download-Folder with detailed information`
But it do nothing ! and hard to learn without debugger, log, @type, IDE and doc !
Do you provide a remote debugging port for connect vscode debug?
Am lost sorry, and the forum and doc is heelish for noob !
By being respectful you have created the best download software in the world, but the worst forum in the world.

I have the impression to find myself in the years 1998��
**External links are only visible to Support Staff**
thanks for your time
Reply With Quote
  #4  
Old 01.03.2021, 17:53
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 57,360
Default

Please post EventScripter related questions in this thread.

-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?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #5  
Old 02.03.2021, 12:34
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,164
Default

Quote:
Originally Posted by jon467 View Post
Can we add some parameters or a way to perform a splice ? `.splice(0,4)` for limit tags to 4 ?
Can be done with regex based packagizer rule:
Quote:
File name -> contains -> (.+\d+p\.\[[^,]+,[^,]+,[^,]+,[^,]+),.+(\s\]\..+)
Downloadurl - > contains -> pornhub.com
Then set -> filename -> <jd:orgfilename:1><jd:orgfilename:2>
Reply With Quote
  #6  
Old 02.03.2021, 12:45
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 57,360
Default

@mgpai
This solution will not fix the path length issue though so if e.g. a single tag is very long, the limit could still be exceeded

-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?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #7  
Old 02.03.2021, 12:51
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,164
Default

Quote:
Originally Posted by pspzockerscene View Post
@mgpai
This solution will not fix the path length issue though so if e.g. a single tag is very long, the limit could still be exceeded

-psp-
It was suggested only as an alternative to using splice to limit the number of tags to 4.
Reply With Quote
  #8  
Old 02.03.2021, 12:57
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 57,360
Default

Yap I see just wanted to add this information to avoid confusion.

-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?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #9  
Old 03.03.2021, 18:48
jon467 jon467 is offline
Modem User
 
Join Date: Feb 2021
Posts: 4
Default

Quote:
Originally Posted by mgpai View Post
Can be done with regex based packagizer rule:
thank you for your time, I opened the discussion on `github`, if you have a moment, it will be more comfortable.
The script you give me not work ! 🙁
**External links are only visible to Support Staff****External links are only visible to Support Staff**
Reply With Quote
  #10  
Old 04.03.2021, 17:14
jon467 jon467 is offline
Modem User
 
Join Date: Feb 2021
Posts: 4
Default

Quote:
Originally Posted by pspzockerscene View Post
@mgpai
This solution will not fix the path length issue though so if e.g. a single tag is very long, the limit could still be exceeded

-psp-
True,
Some window meta cant be write fine and corrupts files, but it work fine with the `comment` meta.
**External links are only visible to Support Staff****External links are only visible to Support Staff**

So i chosen a more robust solutions with nodejs to inject meta from jdownloader, but i have some difficulty with the jdownloader env.

@mgpai , i open a new discutions about meta hack on your github, if you have a moment plz.
**External links are only visible to Support Staff****External links are only visible to Support Staff**

thanks again and @+

Last edited by jon467; 04.03.2021 at 17:21.
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 20:32.
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 - 2021, Jelsoft Enterprises Ltd.