#1
|
|||
|
|||
Copy information pattern {filesize}
I am trying to copy the information, the size of the files represented in MB, but only managed to show me the size in Bits
Example: rapidgator.net/file/xxxxxx/Pack.part1.rar.html 424780 Bits Someone knows or has more information of the patterns shown |
#2
|
||||
|
||||
we store filesize info in Bytes.
at this time there is no formatting into other units. raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#3
|
||||
|
||||
size is in bytes, not bits.
__________________
JD-Dev & Server-Admin |
#4
|
||||
|
||||
Issue No.1: File Size Current Structure: Suggested Implementation Model: Pattern for the Links • {name} • {newline} • {comment} • {sha256} • {md5} • {filesize} • {filesize_kb} • {filesize_mb} • {filesize_gb} • {url} • {type} • {path} Pattern for the Packages • {name} • {newline} • {comment} • {filesize} • {filesize} • {filesize_kb} • {filesize_mb} • {filesize_gb} • {type} • {path} Issue No.2: File Name without Extension There should be another tag which allows to copy file names without extension, I request you to add another tag like {name_noext} for this purpose. Issue No.3: Filetype The tag {type} doesn't return the file-type as the output, instead, just returns: "LINK", A separate {filetype} tag may be implemented to return the output as target file's extension (i.e. its file type). Preferably in ALL CAPS (e.g. PDF or RAR or EPUB etc.) Please implement this features. Thanks a lot. Last edited by DJwa163; 05.02.2017 at 07:09. |
#5
|
||||
|
||||
added
filesize,filesize_kib,filesize_mib,filesize_gib,ext and name_noext
__________________
JD-Dev & Server-Admin Last edited by Jiaz; 06.02.2017 at 13:32. |
#6
|
||||
|
||||
Thank you very much sir.
Its because of you that JD has been AWESOME! One final request which would be helpful for new/future users. Please include the newly added tags to the example list, (the ones I have highlighted in orange squares in above screenshot). Otherwise future users may not be aware of the existence of these awesomely powerful features. Thanks again |
#7
|
||||
|
||||
Ticket:
GreeZ psp
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#8
|
||||
|
||||
And one last request on this topic from my side:
Please consider adding a {host} tag which would return the site on which it is hosted. e.g. MEGA or Zippyshare or pCloud etc. Sorry for causing you more annoyance. My apologies... The idea did not strike my head last time. |
#9
|
||||
|
||||
added with next update. I will update help info as soon as possible
__________________
JD-Dev & Server-Admin |
#10
|
||||
|
||||
Thanks very much sir.
With this post I can make my stay in this forum memorable. Its the 100th post and nearly seven years of my mesmerizingly pleasant stay at JD Board. Thanks for such a great innovation and a decade of tireless updates. You rock! Last edited by DJwa163; 07.02.2017 at 14:03. |
#11
|
||||
|
||||
Thanks for your nice feedback
GreeZ psp
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#12
|
||||
|
||||
With the latest update, the resultant output getting badly messed up.
For example, try these set of tags {name_noext} {url} {host} {ext} {filesize_mib} for the following set of links **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** The output gets completely jumbled. Something has gone wrong. Please fix it up. Thanks, |
#13
|
||||
|
||||
Looks good/correct for me. Can you please share screenshot what it looks like for you?
__________________
JD-Dev & Server-Admin |
#14
|
||||
|
||||
That's absolutely right, sir.
It was a temporary glitch. I restarted JD, and it was all fine again. Thanks a lot. |
#15
|
||||
|
||||
Thanks for the feedback!
__________________
JD-Dev & Server-Admin |
#16
|
||||
|
||||
Lastly,
if feasible, a {date} & {time} tag may be useful. This tag should return current system date in SI (International Units) format. e.g. for today's date: 2017.02.08 and for current time 13.50 Thanks a lot. My deep respect for the entire JD Team. |
#17
|
||||
|
||||
I will add {date_format}
For format see docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html
__________________
JD-Dev & Server-Admin |
#18
|
||||
|
||||
@Jiaz,
Sir, can you please implement {dpass} and {apass} respectively for Download Password and Archive Password. If there is no password for a give link, the response could be "~" OR "null" Thanks a lot. |
#19
|
||||
|
||||
I've added support for {archive.password} for links only. DownloadPassword is not yet possible because it is handled by each plugin differently
Please know that only the validated password will be copied.
__________________
JD-Dev & Server-Admin Last edited by Jiaz; 08.05.2017 at 15:20. |
#20
|
||||
|
||||
Thanks a lot, sir
|
Thread Tools | |
Display Modes | |
|
|