Skip to content

Commit

Permalink
another update
Browse files Browse the repository at this point in the history
  • Loading branch information
CelularBat committed Aug 31, 2024
1 parent 35309d7 commit da95fa6
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 27 deletions.
29 changes: 15 additions & 14 deletions PobierakYT.lps
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
<Unit>
<Filename Value="PobierakYT.lpr"/>
<IsPartOfProject Value="True"/>
<EditorIndex Value="-1"/>
<CursorPos X="68" Y="16"/>
<EditorIndex Value="1"/>
<CursorPos X="48" Y="12"/>
<UsageCount Value="580"/>
<Loaded Value="True"/>
</Unit>
<Unit>
<Filename Value="mainform.pas"/>
Expand All @@ -20,8 +21,8 @@
<ResourceBaseClass Value="Form"/>
<UnitName Value="MainForm"/>
<IsVisibleTab Value="True"/>
<TopLine Value="197"/>
<CursorPos X="121" Y="205"/>
<TopLine Value="193"/>
<CursorPos X="43" Y="211"/>
<UsageCount Value="580"/>
<Loaded Value="True"/>
<LoadedDesigner Value="True"/>
Expand All @@ -30,7 +31,7 @@
<Filename Value="runexternal.pas"/>
<IsPartOfProject Value="True"/>
<UnitName Value="RunExternal"/>
<EditorIndex Value="3"/>
<EditorIndex Value="4"/>
<TopLine Value="205"/>
<CursorPos X="12" Y="224"/>
<UsageCount Value="580"/>
Expand All @@ -40,7 +41,7 @@
<Filename Value="pobierak.engine.pas"/>
<IsPartOfProject Value="True"/>
<UnitName Value="pobierak.Engine"/>
<EditorIndex Value="2"/>
<EditorIndex Value="3"/>
<TopLine Value="73"/>
<CursorPos X="55" Y="6"/>
<UsageCount Value="580"/>
Expand All @@ -49,7 +50,7 @@
<Unit>
<Filename Value="pobierak.settings.pas"/>
<IsPartOfProject Value="True"/>
<EditorIndex Value="6"/>
<EditorIndex Value="7"/>
<TopLine Value="68"/>
<CursorPos X="23" Y="85"/>
<UsageCount Value="558"/>
Expand All @@ -59,7 +60,7 @@
<Filename Value="copyttab.pas"/>
<IsPartOfProject Value="True"/>
<UnitName Value="copyTTab"/>
<EditorIndex Value="5"/>
<EditorIndex Value="6"/>
<TopLine Value="105"/>
<CursorPos X="71" Y="123"/>
<UsageCount Value="262"/>
Expand All @@ -69,7 +70,7 @@
<Filename Value="memothread.pas"/>
<IsPartOfProject Value="True"/>
<UnitName Value="MemoThread"/>
<EditorIndex Value="4"/>
<EditorIndex Value="5"/>
<TopLine Value="86"/>
<CursorPos X="118" Y="33"/>
<UsageCount Value="240"/>
Expand Down Expand Up @@ -99,18 +100,14 @@
</Unit>
<Unit>
<Filename Value="C:\Programy\Lazarus\lcl\include\control.inc"/>
<EditorIndex Value="1"/>
<EditorIndex Value="2"/>
<TopLine Value="3520"/>
<CursorPos Y="3537"/>
<UsageCount Value="58"/>
<Loaded Value="True"/>
</Unit>
</Units>
<JumpHistory HistoryIndex="29">
<Position>
<Filename Value="pobierak.settings.pas"/>
<Caret Line="102" Column="39" TopLine="84"/>
</Position>
<Position>
<Filename Value="pobierak.settings.pas"/>
<Caret Line="108" Column="38" TopLine="85"/>
Expand Down Expand Up @@ -227,6 +224,10 @@
<Filename Value="copyttab.pas"/>
<Caret Line="108" Column="88" TopLine="108"/>
</Position>
<Position>
<Filename Value="mainform.pas"/>
<Caret Line="170" Column="56" TopLine="157"/>
</Position>
</JumpHistory>
<RunParams>
<FormatVersion Value="2"/>
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@ PobierakYT offers many advanced yt-dlp functions with just a click of a button,
- Downloading subtitles
- Custom parameters - you can add any parameters you want to the command line!
- Bulk download ( not implemented yet)


## Requiments
PobierakYT is currently only available for Windows (7 / 8 /8.1 /10 / 11) ,but Linux support is also planned.
- You need to have yt-dlp.exe ( https://github.com/yt-dlp/yt-dlp?tab=readme-ov-file#installation )
- You need to have folder with FFMPEG binaries for yt-dlp ( https://github.com/yt-dlp/FFmpeg-Builds#ffmpeg-static-auto-builds )
20 changes: 10 additions & 10 deletions mainform.lfm
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
object Form1: TForm1
Left = 442
Left = 116
Height = 854
Top = 131
Width = 1460
Top = 92
Width = 1683
HorzScrollBar.Page = 768
VertScrollBar.Page = 697
VertScrollBar.Page = 647
AutoScroll = True
Caption = 'PobierakYT'
ClientHeight = 854
ClientWidth = 1460
ClientWidth = 1683
Color = clForm
DesignTimePPI = 120
OnCreate = FormCreate
Expand Down Expand Up @@ -551,7 +551,7 @@ object Form1: TForm1
Left = 0
Height = 28
Top = 826
Width = 1460
Width = 1683
Color = clGradientInactiveCaption
Font.Color = clCaptionText
Panels = <>
Expand All @@ -562,7 +562,7 @@ object Form1: TForm1
Left = 648
Height = 826
Top = 0
Width = 812
Width = 1035
ActivePage = TabSheet1
Align = alRight
Anchors = [akTop, akLeft, akRight, akBottom]
Expand All @@ -576,7 +576,7 @@ object Form1: TForm1
Tag = -1
Caption = 'Console'
ClientHeight = 793
ClientWidth = 804
ClientWidth = 1027
Font.Color = clLime
Font.Style = [fsBold]
ParentFont = False
Expand All @@ -585,7 +585,7 @@ object Form1: TForm1
Left = 0
Height = 766
Top = 0
Width = 806
Width = 1029
Align = alCustom
Anchors = [akTop, akLeft, akRight, akBottom]
Color = clWindowText
Expand All @@ -608,7 +608,7 @@ object Form1: TForm1
OnClick = btnClearTabMemoClick
end
object btnCloseTab: TButton
Left = 1320
Left = 1543
Height = 32
Top = 792
Width = 136
Expand Down
4 changes: 2 additions & 2 deletions mainform.pas
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ procedure TForm1.FormCreate(Sender: TObject);
self.chboxOutputfile.Checked:= g_PobierakSettings.s_UseCustomOutput;
end;
//TESTING PURPOSE
EditVideoURL.Text := 'https://www.youtube.com/watch?v=C0DPdy98e4c';
// EditVideoURL.Text := 'https://www.youtube.com/watch?v=C0DPdy98e4c';
end;


Expand Down Expand Up @@ -208,7 +208,7 @@ procedure TForm1.btnDownloadClick(Sender: TObject);

procedure TForm1.btnFormatDataClick(Sender: TObject);
begin
RunInNewTab(EditVideoURL.Text + ' -F ""' ,PageControlTabs,'F');
RunInNewTab(EditVideoURL.Text + ' -F "' ,PageControlTabs,'F');
end;

procedure TForm1.btnGetInfoClick(Sender: TObject);
Expand Down

0 comments on commit da95fa6

Please sign in to comment.