JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 23.06.2024, 19:01
StefanM's Avatar
StefanM StefanM is offline
JD Legend
 
Join Date: Oct 2020
Posts: 764
Default {filesize_raw} (mit) per Packagizerregel in comment schreiben lassen?

Besteht die Möglichkeit, die "filesize_raw" dem comment hinzufügen?

Hintergrund:
Zurzeit lasse ich ja bereits die Spieldauer und die Auflösung von Videos mit dem Packagizer in den comment schreiben.

Ich würde gern als ersten Eintrag auch noch die Dateigröße in Bytes ("filesize_raw") hinzufügen,
um bereits im LinkGrabber-Fenster die Datgeigröße byte-genau sehen zu können.

Wenn ich "{filesize_raw}" mit in die Packagizer-Rule schreibe, dann wird der String einfach als Text im Comment angezeigt, also als {filesize_raw}.
Reply With Quote
  #2  
Old 24.06.2024, 11:10
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 73,796
Default

Die Frage wurde dir hier bereits beantwortet.
__________________
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
  #3  
Old 24.06.2024, 11:25
StefanM's Avatar
StefanM StefanM is offline
JD Legend
 
Join Date: Oct 2020
Posts: 764
Default

Quote:
Originally Posted by pspzockerscene View Post
Die Frage wurde dir **External links are only visible to Support Staff**... bereits beantwortet.
Nein, nicht wirklich!
In der Antwort, auf die du verweist, wird lediglich darauf hingewiesen, dass nicht alle unversal verwendbar sind.

Denn die video-properties sind ja z.B. wohl in beiden verwendbar:
  • in copy information
  • in comment

Daher meine Frage.
Wenn das aber bzgl. der Größe einer (Video-)Datei nicht möglich ist, wäre meine Bitte/Anfrage, ob du die Größe neben den anderen video-properties noch hinzufügen könntest in einer Form, die in comments erlaubt ist.

Die Ideal-Lösung wäre aber natürlich eine Konfigurierbarkeit der Anzeige in der "normalen" Größenspalte:
  • Größe automatisch (aktueller Stand)
  • Größe in MB
  • Größe in kB
  • Größe in B

Ich poste das auch mal als Feature Request.
Reply With Quote
  #4  
Old 24.06.2024, 11:30
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 73,796
Default

Quote:
Originally Posted by StefanM View Post
[LIST]
Nein, nicht wirklich!
In der Antwort, auf die du verweist, wird lediglich darauf hingewiesen, dass nicht alle unversal verwendbar sind.
Mit etwas common sense hättest du dir nachdem du bemerkt hast, dass "{filesize_raw}" nicht im Packagizer geht, basierend auf unserer vorherigen Antwort denken können, dass dies eben ein Platzhalter ist, der im Packagizer nicht verfügbar ist.
Ich schätze ich erwarte zu viel oder du hast in unserer letzten Antwort eine ganze Liste an Platzhaltern erwartet, mitsamt erklärung wo man diese verwenden kann.

Quote:
Originally Posted by StefanM View Post
Ich poste das auch mal als Feature Request.
Ich werde diesen dann beantworten.

Thema als "Erledigt" markiert, da die Frage beantwortet wurde.
__________________
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 24.06.2024, 16:14
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,656
Default

Code:
<jd:prop:VERIFIEDFILESIZE>
Reply With Quote
  #6  
Old 24.06.2024, 16:39
StefanM's Avatar
StefanM StefanM is offline
JD Legend
 
Join Date: Oct 2020
Posts: 764
Default

Quote:
Originally Posted by mgpai View Post
Code:
<jd:prop:VERIFIEDFILESIZE>
Hey, thanks a lot! You really have an excellent knowledge.
As you can see (I guess you understand German) I was told that it is not possible.

However, would it be possible to use/add 1,000 separators?
123.456.789 instead of 123456789.

I would need the dot here as separator due to my German formatting. Even though everything else here is in English: OS, MS Office, Apps,...

I guess it's a small script once again?
If I don't ask you too often...
Reply With Quote
  #7  
Old 24.06.2024, 16:41
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 73,796
Default

Quote:
Originally Posted by StefanM View Post
As you can see (I guess you understand German) I was told that it is not possible.
That is correct. You cannot use "{filesize_raw}" inside the packagizer.

If you want to add dots to that raw filesize value, you will need to do this via EventScript as you cannot format values inside Packagizer in a nice way.
__________________
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 24.06.2024, 21:10
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,718
Default

Quote:
Originally Posted by mgpai View Post
Code:
<jd:prop:VERIFIEDFILESIZE>
Will only work if verified filesize is known.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #9  
Old 24.06.2024, 21:13
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,718
Default

@StefanM: Für fortgeschrittene/komplexere Dinge würde ich dir den Eventscripter ans Herz legen und dort den "Packagizer Hook", damit du dich dort einhängen kannst, wo auch die Packagizer Regeln durchlaufen werden. Dort kannst du dann direkt auf den Link und alle vorhanden Informationen zugreifen. Es macht hier wenig Sinn für jede Information Tags einzuführen, vor allem nicht in zig unterschiedlichen Formaten/Varianten. Mittels Skript kannst du gezielt die Information holen und so umwandeln/verarbeiten wie gewünscht.
__________________
JD-Dev & Server-Admin
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:52.
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 - 2025, Jelsoft Enterprises Ltd.