JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 02.08.2020, 13:56
sharkboy sharkboy is offline
Banned
 
Join Date: Apr 2020
Posts: 171
Default [NOT a JD issue] soundcloud.com issue filename

Identical name, but completely different files as rename files without affecting other files that may mirror between (duplicates).
This can result in a single link decrypting a large number of files from different users (repost / sets etc.).
Compare by size, not by name.

**External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff**
Reply With Quote
  #2  
Old 02.08.2020, 17:31
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,611
Default

can you please explain in detail what exactly is the issue and how to reproduce?

For example I was able to add all your provided links, and return a single item for each.

they all have the same filename?
settings > plugins > soundcloud
define it so its not ?

by default its not possible to have duped filenames, unless you change the customisable filename and or pacakgename (if your using sub directory as packagename)
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]

Last edited by raztoki; 02.08.2020 at 17:34.
Reply With Quote
  #3  
Old 04.08.2020, 16:01
sharkboy sharkboy is offline
Banned
 
Join Date: Apr 2020
Posts: 171
Default

I download everything to one package.
One user files = one package
But the user may have many files with the same name, or download another user with the same name from "Repost" during decryption.
If there is no possibility of an intelligent algorithm for detecting and renaming a file, please add this function/featured:
Show ONLY all file names in the [download list] and [linkgrabber list] that have the same file name.
Detect Duplicate Filename for List
So quickly I can detect and manually correct (rename) the file.

Unfortunately it doesn't work in JD2. I don't know how to change the syntax.

((?<= )[\w.]+$) Capture the following into capture group 1
(?<= ) Positive lookbehind ensuring what precedes is a space
[\w.]+ Match any word character or the dot character one or more times
$ Assert position at the end of the line
(?=[\s\S]*(?<= )(\1)$) Positive lookahead ensuring what follows matches
[\s\S]* Any character any number of times. (We don't use the dot here because it won't match newline characters. You can actually replace [\s\S] with . if you turn on the single line flag, which forces . to also match newlines)
(?<= ) Positive lookbehind ensuring what precedes is a space
(\1) Capture the following into capture group 2
\1 Matches the same text as most recently matched by capture group 1
$ Assert position at the end of the line
Reply With Quote
  #4  
Old 04.08.2020, 16:09
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,913
Default

@sharkboy
1. I'm unable to reproduce your described issue with your given test URLs AND our default soundcloud filenames.
Please provide example URLs which can be used to reproduce your issue.

2. See Settings --> Plugins --> soundcloud.com
I recommend adding the "*linkid*" into your filenames (which btw. is done by default) so you will not get duplicated names anymore.

3. If you do not want to put the "linkid" into your filenames, simply tell JD to rename same named files:
Settings --> General --> If the file already exists --> Auto rename
You might also have to enable the following setting to get around the "Mirror issue":
Settings --> Advanced Settings --> "allow unsafe filenames for file exists check"

-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
  #5  
Old 04.08.2020, 17:15
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,611
Default

even if you download everything to a single package, the filename (default setting in soundcloud plugin settings would prevent dupes with *linkid*). to me your trying too hard to try and fix something thats a non issue to start with.
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #6  
Old 04.08.2020, 18:16
sharkboy sharkboy is offline
Banned
 
Join Date: Apr 2020
Posts: 171
Default

Quote:
Is it possible to add to the advanced settings in the soundclod.com plugin
[on/off] Rename the file if it already exists
To avoid renaming files on all other hosting.
So in this case I only want to include soundcloud hosting (file renaming)
No!

1. Please tell us how your custom filename pattern looks like.
Why did you remove "*linkid*" from it?
If you add *linkid* you will not have this issue anymore ...

2. To only auto-rename soundcloud items, please create an EventScripter script.

-psp-

Last edited by pspzockerscene; 04.08.2020 at 18:39.
Reply With Quote
  #7  
Old 04.08.2020, 18:38
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,611
Default

currently no, its a global setting. either ask, or set to do your specific task and disable all other downloads.
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
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 16:17.
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.