Skip to content

Commit 66f2141

Browse files
authored
Add files via upload
1 parent 81da535 commit 66f2141

13 files changed

+905
-0
lines changed

Source Code/Code/Minload.pro

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
QT += core gui
2+
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
3+
4+
TARGET = Minload
5+
6+
SOURCES += main.cpp mainwindow.cpp \
7+
convertwindow.cpp
8+
HEADERS += mainwindow.h \
9+
convertwindow.h
10+
11+
12+
13+
RESOURCES += \
14+
resources.qrc
15+
16+
17+
RC_ICONS = icon.ico
18+
19+

Source Code/Code/convertwindow.cpp

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#include "convertwindow.h"
2+
3+
ConvertWindow::ConvertWindow(QWidget *parent) : QMainWindow(parent) {
4+
// Ορισμός τίτλου παραθύρου
5+
this->setWindowTitle("Convert Window");
6+
7+
// Ορισμός μεγέθους παραθύρου
8+
this->resize(500, 150);
9+
10+
// Δημιουργία ετικέτας με κείμενο
11+
label = new QLabel("This window is under construction in beta version!", this);
12+
label->setAlignment(Qt::AlignCenter);
13+
14+
// Δημιουργία διάταξης και προσθήκη της ετικέτας
15+
QVBoxLayout *layout = new QVBoxLayout();
16+
layout->addWidget(label);
17+
18+
// Ορισμός του κεντρικού widget
19+
QWidget *centralWidget = new QWidget(this);
20+
centralWidget->setLayout(layout);
21+
setCentralWidget(centralWidget);
22+
}

Source Code/Code/convertwindow.h

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#ifndef CONVERTWINDOW_H
2+
#define CONVERTWINDOW_H
3+
4+
#include <QMainWindow>
5+
#include <QLabel>
6+
#include <QVBoxLayout>
7+
#include <QWidget>
8+
9+
class ConvertWindow : public QMainWindow {
10+
Q_OBJECT
11+
12+
public:
13+
explicit ConvertWindow(QWidget *parent = nullptr); // Κατασκευαστής
14+
15+
private:
16+
QLabel *label; // Ετικέτα για να εμφανίζει κείμενο στο νέο παράθυρο
17+
};
18+
19+
#endif // CONVERTWINDOW_H

Source Code/Code/main.cpp

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#include <QApplication>
2+
#include <QSplashScreen> // Προσθήκη της κλάσης QSplashScreen
3+
#include <QTimer> // Προσθήκη της κλάσης QTimer
4+
#include "mainwindow.h"
5+
6+
int main(int argc, char *argv[]) {
7+
QApplication app(argc, argv);
8+
9+
10+
// Δημιουργία του Splash Screen
11+
QPixmap splashImage(":/MLopening.png"); // Φόρτωση της εικόνας από το .qrc
12+
QSplashScreen splash(splashImage); // Δημιουργία του Splash Screen
13+
splash.show(); // Εμφάνιση του Splash Screen
14+
15+
// Προσομοίωση καθυστέρησης (π.χ. για φόρτωση δεδομένων)
16+
QTimer::singleShot(5000, &splash, &QSplashScreen::close); // Κλείσιμο του Splash Screen μετά από 3 δευτερόλεπτα
17+
18+
// Δημιουργία του κύριου παραθύρου
19+
MainWindow mainWindow;
20+
21+
// Εμφάνιση του κύριου παραθύρου μετά το κλείσιμο του Splash Screen
22+
QTimer::singleShot(5000, &mainWindow, &QMainWindow::show);
23+
24+
25+
return app.exec();
26+
}

Source Code/Code/mainwindow.cpp

+698
Large diffs are not rendered by default.

Source Code/Code/mainwindow.h

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#ifndef MAINWINDOW_H
2+
#define MAINWINDOW_H
3+
4+
#include <QMainWindow>
5+
#include <QString>
6+
#include "convertwindow.h" // Συμπερίληψη της κλάσης ConvertWindow
7+
#include <QTabWidget>
8+
9+
10+
class MainWindow : public QMainWindow {
11+
Q_OBJECT
12+
13+
public:
14+
explicit MainWindow(QWidget *parent = nullptr);
15+
16+
protected:
17+
bool eventFilter(QObject *obj, QEvent *event) override; // Προσθήκη αυτής της γραμμής
18+
19+
private slots:
20+
void openDialog();
21+
22+
private:
23+
void initializeArchiveFolder(); // Προσθήκη δήλωσης της συνάρτησης
24+
QString archiveFolderPath; // Μεταβλητή για την αποθήκευση της διαδρομής
25+
QString selectedFolder; // Μεταβλητή για την επιλεγμένη διαδρομή
26+
};
27+
28+
#endif // MAINWINDOW_H

Source Code/Code/mainwindow.ui

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<ui version="4.0">
3+
<class>MainWindow</class>
4+
<widget class="QMainWindow" name="MainWindow">
5+
<property name="geometry">
6+
<rect>
7+
<x>0</x>
8+
<y>0</y>
9+
<width>800</width>
10+
<height>600</height>
11+
</rect>
12+
</property>
13+
<property name="windowTitle">
14+
<string>MainWindow</string>
15+
</property>
16+
<widget class="QWidget" name="centralwidget"/>
17+
<widget class="QMenuBar" name="menubar">
18+
<property name="geometry">
19+
<rect>
20+
<x>0</x>
21+
<y>0</y>
22+
<width>800</width>
23+
<height>26</height>
24+
</rect>
25+
</property>
26+
</widget>
27+
<widget class="QStatusBar" name="statusbar"/>
28+
</widget>
29+
<resources/>
30+
<connections/>
31+
</ui>

Source Code/Code/resources.qrc

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<RCC>
2+
<qresource prefix="/">
3+
<file>icon.ico</file>
4+
<file>MLopening.png</file>
5+
<file>Montserrat-VariableFont_wght.ttf</file>
6+
</qresource>
7+
</RCC>

Source Code/Files/LICENSE

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
MIT License
2+
3+
Copyright (c) 2025 Minload Studio
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is provided to do so, subject to the following conditions:
6+
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8+
9+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Source Code/Files/README.md

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Minload Studio (Minload)
2+
3+
Minload Studio is an open-source application that provides a graphical user interface (GUI) for interacting with **yt-dlp** and **ffmpeg**. It allows users to download audio and video files and convert them into various formats. Minload Studio aims to simplify the process of using these powerful command-line tools by offering an intuitive, user-friendly interface.
4+
5+
**Version:** Minload Studio 25.0.1 - Beta
6+
7+
## Features
8+
- **Audio Download & Conversion**: The current version (25.0.1 - Beta) supports downloading audio files and simultaneously converting them into a desired file format using ffmpeg.
9+
- **Integration with yt-dlp**: Uses yt-dlp for downloading media content from the internet.
10+
- **Easy-to-Use GUI**: Simplifies the interaction with yt-dlp and ffmpeg through an intuitive graphical interface.
11+
12+
## Requirements
13+
- **Operating System**: Windows
14+
- **Dependencies**:
15+
- [yt-dlp](https://github.com/yt-dlp/yt-dlp)
16+
- [ffmpeg](https://ffmpeg.org/)
17+
18+
Both **yt-dlp** and **ffmpeg** are open-source software. You can find their respective licenses below:
19+
20+
- [yt-dlp License](./licenses/yt-dlp/LICENSE)
21+
- [ffmpeg License](./licenses/FFmpeg/LICENSE)
22+
23+
## Installation
24+
1. **Download the installer** from the [Releases page](https://github.com/Spikesix/Minload/releases).
25+
2. Go to Assets and click to Minload.exe
26+
3. Run the `Minload.exe`.
27+
4. Follow the on-screen instructions to complete the installation.
28+
29+
**Note**: Minload Studio requires both yt-dlp and ffmpeg to be installed on your system and added to the path. You can download them from the official links above.
30+
31+
## Usage
32+
1. Launch **Minload Studio** from the desktop shortcut or start menu.
33+
2. Select the audio URL you want to download.
34+
3. Choose the output format for the audio conversion.
35+
4. Click **OK** to start the process.
36+
5. Once the download and conversion are complete, you can access the file in your designated output folder.
37+
38+
## Future Updates:
39+
Upcoming versions of Minload Studio will include additional features like video downloads, batch processing, and more extensive format support.
40+
41+
42+
## License
43+
This project is licensed under the **MIT License**. See the [LICENSE](LICENSE) file for details .
44+
45+
## Acknowledgements
46+
Thanks to the developers of **yt-dlp** and **ffmpeg** for providing these powerful tools.

Source Code/Resources/MLopening.png

70.4 KB
Loading
Binary file not shown.

Source Code/Resources/icon.ico

117 KB
Binary file not shown.

0 commit comments

Comments
 (0)