Skip to content

Commit

Permalink
various improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanslack committed Jan 14, 2025
1 parent bd47ac0 commit 39cc582
Show file tree
Hide file tree
Showing 105 changed files with 197 additions and 122 deletions.
9 changes: 5 additions & 4 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ Author:
Gianluca (jeanslack) Pernigotto <[email protected]>

Contributors:
@SwampRabbit (https://mxlinux.org/)
@CComparon (https://github.com/CComparon)
@samarthshrivas (https://github.com/samarthshrivas)
@MaiJZ (https://github.com/maijz128)
@SwampRabbit <https://mxlinux.org/>
@CComparon <https://github.com/CComparon>
@samarthshrivas <https://github.com/samarthshrivas>
@MaiJZ <https://github.com/maijz128>
@bovirus <https://github.com/bovirus>
@nxjosephofficial <https://github.com/nxjosephofficial>


Translators:
Expand Down
14 changes: 13 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
# encoding: utf-8
Videomass
Author: Gianluca (jeanslack) Pernigotto
Copyleft - 2024 Gianluca Pernigotto <[email protected]>
Copyleft - 2025 Gianluca Pernigotto <[email protected]>
License: GPL3

Change Log:

+------------------------------------+
Mon, 14 Gen 2025 V.5.0.25

* Checking the output folder before running processes.
* Requires minimum Python version 3.9.0 .
* Fix typo in message 'Enable external import of ... package',
thanks to @nxjosephofficial .
* The application has been scheduled to restart automatically, e.g. at the
end of the wizard or after applying settings that require the application
to restart.
* Updated copyleft year.

+------------------------------------+
Wed, 30 Oct 2024 V.5.0.21

Expand Down
10 changes: 5 additions & 5 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Base application dependencies
=============================

Requires:
- Python >=3.8.0 <=3.12.0
- Python >=3.9.0 <=3.12.0
- wxPython-Phoenix >=4.0.7
- PyPubSub >=4.0.3
- requests >=2.26.0
Expand Down Expand Up @@ -68,7 +68,7 @@ Installation using pip
======================

Requires:
- Python >=3.8.0 <=3.12.0
- Python >=3.9.0 <=3.12.0
- pip
- venv

Expand All @@ -94,9 +94,9 @@ Installing on Linux/FreeBSD:

Optionally install yt-dlp:
please read this before installing yt-dlp: https://github.com/yt-dlp/yt-dlp/pull/11255

python3 -m pip install "yt-dlp[default]"



Installing on Windows and MacOs:
Expand All @@ -114,7 +114,7 @@ Installing on Windows and MacOs:

Optionally install yt-dlp:
please read this before installing yt-dlp: https://github.com/yt-dlp/yt-dlp/pull/11255

python3 -m pip install "yt-dlp[default]"


Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# **Videomass**
[![Image](https://img.shields.io/static/v1?label=python&logo=python&message=3.8%20|%203.9%20|%203.10%20|%203.11%20|%203.12&color=blue)](https://www.python.org/downloads/)
[![Image](https://img.shields.io/static/v1?label=python&logo=python&message=3.9%20|%203.10%20|%203.11%20|%203.12&color=blue)](https://www.python.org/downloads/)
[![Image](https://img.shields.io/badge/license-GPLv3-orange)](https://github.com/jeanslack/Videomass/blob/master/LICENSE)
[![Python application](https://github.com/jeanslack/Videomass/actions/workflows/tests.yml/badge.svg)](https://github.com/jeanslack/Videomass/actions/workflows/tests.yml)

Expand Down
13 changes: 13 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
videomass (5.0.25-1) UNRELEASED; urgency=medium

* Checking the output folder before running processes.
* Requires minimum Python version 3.9.0 .
* Fix typo in message 'Enable external import of ... package',
thanks to @nxjosephofficial .
* The application has been scheduled to restart automatically, e.g. at the
end of the wizard or after applying settings that require the application
to restart.
* Updated copyleft year.

-- Gianluca Pernigotto <[email protected]> Tue, 14 Gen 2025 15:30:00 +0200

videomass (5.0.21-1) UNRELEASED; urgency=medium

* Update French language (thanks to Phil Aug).
Expand Down
2 changes: 1 addition & 1 deletion debian/copyright
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ and is licensed under the GPL-3, see above.

-------------------------------------------

Icons under 'videomass3/art':
Icons under 'videomass/data/icons':

All *.svg and *.png icons in hicolor: GPL Version 3, 29 June 2007
Videomass icons in Sign_Icons: GPL Version 3, 29 June 2007 <http://www.gnu.org/licenses/>
Expand Down
2 changes: 1 addition & 1 deletion develop/gettext_utils/babelutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Porpose: Manage the translation message catalog independently
of the GNU-xgettext utilities.
Author: Gianluca Pernigotto <[email protected]>
Copyleft - 2024 Gianluca Pernigotto <[email protected]>
Copyleft - 2025 Gianluca Pernigotto <[email protected]>
license: Distributed under the terms of the GPL3 License.
Rev: Aug.03.2024
Code checker: flake8, pylint
Expand Down
2 changes: 1 addition & 1 deletion develop/gettext_utils/create_POT_file.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Author: Gianluca Pernigotto <[email protected]>
# Copyleft - 2024 Gianluca Pernigotto <[email protected]>
# Copyleft - 2025 Gianluca Pernigotto <[email protected]>
# license: GPL3
# Rev: July.10.2024
#
Expand Down
2 changes: 1 addition & 1 deletion develop/gettext_utils/generate_MO_files.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Author: Gianluca Pernigotto <[email protected]>
# Copyleft - 2024 Gianluca Pernigotto <[email protected]>
# Copyleft - 2025 Gianluca Pernigotto <[email protected]>
# license: GPL3
# Rev: July.10.2024
#
Expand Down
2 changes: 1 addition & 1 deletion develop/gettext_utils/update_PO_files.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Author: Gianluca Pernigotto <[email protected]>
# Copyleft - 2024 Gianluca Pernigotto <[email protected]>
# Copyleft - 2025 Gianluca Pernigotto <[email protected]>
# license: GPL3
# Rev: July.10.2024
#
Expand Down
2 changes: 1 addition & 1 deletion develop/tools/inkscape2png.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Inkscape library
Compatibility: Python3
Author: Gianluca Pernigotto <[email protected]>
Copyleft - 2024 Gianluca Pernigotto <[email protected]>
Copyleft - 2025 Gianluca Pernigotto <[email protected]>
license: GPL3
Rev: Oct.23.2020 *PEP8 compatible*
Expand Down
2 changes: 1 addition & 1 deletion develop/tools/pyinstaller_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Porpose: Provide build options to bundle the Videomass application.
Platform: Gnu-Linux, MacOs, MS-Windows
Author: Gianluca Pernigotto <[email protected]>
Copyleft - 2024 Gianluca Pernigotto <[email protected]>
Copyleft - 2025 Gianluca Pernigotto <[email protected]>
license: GPL3
Rev: Aug.04.2024
Expand Down
2 changes: 1 addition & 1 deletion develop/tools/rsvg2png.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Porpose: Wrapper interface to perform batch conversion using the rsvg library
Compatibility: Python3
Author: Gianluca Pernigotto <[email protected]>
Copyleft - 2024 Gianluca Pernigotto <[email protected]>
Copyleft - 2025 Gianluca Pernigotto <[email protected]>
license: GPL3
Rev: 11 Feb 2023
Expand Down
2 changes: 1 addition & 1 deletion hatch_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
of the build process, see [tool.hatch.build.hooks.custom] on
pyproject.toml file.
Author: Gianluca Pernigotto <[email protected]>
Copyleft - 2024 Gianluca Pernigotto <[email protected]>
Copyleft - 2025 Gianluca Pernigotto <[email protected]>
license: GPL3
Rev: July.22.2024
Code checker: flake8, pylint
Expand Down
2 changes: 1 addition & 1 deletion launcher
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Name: launcher.py
Porpose: main launch script of videomass
Compatibility: Python2, Python3
Author: Gianluca Pernigotto <[email protected]>
Copyleft - 2024 Gianluca Pernigotto <[email protected]>
Copyleft - 2025 Gianluca Pernigotto <[email protected]>
license: GPL3
Rev: May.09.2021
Code checker: flake8, pylint
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "hatchling.build"
name = "videomass"
dynamic = ["version"]
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.9"
authors = [
{name = "Gianluca Pernigotto", email = "[email protected]"}
]
Expand Down Expand Up @@ -42,7 +42,6 @@ classifiers = [
"Natural Language :: Russian",
"Natural Language :: Spanish",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down Expand Up @@ -75,6 +74,7 @@ pyinstaller = [
]

[tool.hatch.build.hooks.custom] # see hatch_build.py file
# https://github.com/pypa/hatch/discussions/1047
dependencies = [
"babel"
]
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements-build.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pyinstaller
#
# Required dependencies for building:
#
# Python >= 3.8.0
# Python >= 3.9.0
# python3-pip
# python3-all
# python3-babel
Expand Down
2 changes: 1 addition & 1 deletion videomass/data/hicolor/COPYING-ICONS.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The Videomass-Dark Icon Theme in 24x24 and 16x16/

Copyleft - 2024 <[email protected]>
Copyleft - 2025 <[email protected]>

-----
GNU GENERAL PUBLIC LICENSE
Expand Down
2 changes: 1 addition & 1 deletion videomass/data/icons/Videomass-Colours/COPYING-ICONS.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The Videomass-Colours Icon Theme in 24x24 and 16x16/

Copyleft - 2024 <[email protected]>
Copyleft - 2025 <[email protected]>

All icons included in this folder are part of Videomass.

Expand Down
2 changes: 1 addition & 1 deletion videomass/data/icons/Videomass-Dark/COPYING-ICONS.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The Videomass-Dark Icon Theme in 24x24 and 16x16/

Copyleft - 2024 <[email protected]>
Copyleft - 2025 <[email protected]>

All icons included in this folder are part of Videomass.

Expand Down
2 changes: 1 addition & 1 deletion videomass/data/icons/Videomass-Light/COPYING-ICONS.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The Videomass-Dark Icon Theme in 24x24 and 16x16/

Copyleft - 2024 <[email protected]>
Copyleft - 2025 <[email protected]>

All icons included in this folder are part of Videomass.

Expand Down
27 changes: 25 additions & 2 deletions videomass/gui_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
Porpose: bootstrap for Videomass app.
Compatibility: Python3, wxPython Phoenix
Author: Gianluca Pernigotto <[email protected]>
Copyleft - 2024 Gianluca Pernigotto <[email protected]>
Copyleft - 2025 Gianluca Pernigotto <[email protected]>
license: GPL3
Rev: June.19.2024
Rev: Gen.14.2025
Code checker: flake8, pylint
This file is part of Videomass.
Expand Down Expand Up @@ -232,10 +232,33 @@ def OnExit(self):
"{0}").format(err),
'Videomass', wx.ICON_STOP)
return False

if self.appset['auto-restart-app']:
auto_restart(self.appset['app'], self.appset['make_portable'])
return True

return True
# -------------------------------------------------------------------


def auto_restart(apptype, portmode):
"""
This function spawn the same executable again, automatically
restarting this application (Videomass), for example after
the wizard dialog or after applying settings that require
the application to be restarted.
"""
if apptype == 'pyinstaller':
executable = sys.executable
wx.Execute(f'{executable}', flags=wx.EXEC_SYNC)
else:
makeportable = '' if not portmode else f'--make-portable {portmode}'
cmdargs = f'{sys.executable} {sys.argv[0]} {makeportable}'
wx.Execute(cmdargs, flags=wx.EXEC_SYNC)

return


def main():
"""
With the default command line arguments starts
Expand Down
2 changes: 1 addition & 1 deletion videomass/vdms_dialogs/about_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Porpose: about videomass
Compatibility: Python3, wxPython Phoenix
Author: Gianluca Pernigotto <[email protected]>
Copyleft - 2024 Gianluca Pernigotto <[email protected]>
Copyleft - 2025 Gianluca Pernigotto <[email protected]>
license: GPL3
Rev: March.13.2022
Code checker: flake8, pylint
Expand Down
2 changes: 1 addition & 1 deletion videomass/vdms_dialogs/audioproperties.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Porpose: A dialog interface for audio parameter settings
Compatibility: Python3, wxPython Phoenix
Author: Gianluca Pernigotto <[email protected]>
Copyleft - 2024 Gianluca Pernigotto <[email protected]>
Copyleft - 2025 Gianluca Pernigotto <[email protected]>
license: GPL3
Rev: Mar.03.2024
Code checker: flake8, pylint
Expand Down
2 changes: 1 addition & 1 deletion videomass/vdms_dialogs/epilogue.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Porpose: shows dialog box before start process
Compatibility: Python3, wxPython Phoenix
Author: Gianluca Pernigotto <[email protected]>
Copyleft - 2024 Gianluca Pernigotto <[email protected]>
Copyleft - 2025 Gianluca Pernigotto <[email protected]>
license: GPL3
Rev: July.17.2022
Code checker: flake8, pylint
Expand Down
2 changes: 1 addition & 1 deletion videomass/vdms_dialogs/ffmpeg_codecs.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Porpose: Mini-frame to show the available decoders/encoders on the FFmpeg
Compatibility: Python3, wxPython Phoenix
Author: Gianluca Pernigotto <[email protected]>
Copyleft - 2024 Gianluca Pernigotto <[email protected]>
Copyleft - 2025 Gianluca Pernigotto <[email protected]>
license: GPL3
Rev: Feb.13.2023
Code checker: flake8, pylint
Expand Down
2 changes: 1 addition & 1 deletion videomass/vdms_dialogs/ffmpeg_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Porpose: Shows the features of the FFmpeg build configuration
Compatibility: Python3, wxPython4
Author: Gianluca Pernigotto <[email protected]>
Copyleft - 2024 Gianluca Pernigotto <[email protected]>
Copyleft - 2025 Gianluca Pernigotto <[email protected]>
license: GPL3
Rev: March.12.2023
Code checker: flake8, pylint
Expand Down
2 changes: 1 addition & 1 deletion videomass/vdms_dialogs/ffmpeg_formats.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Porpose: Show the available formats on the FFmpeg
Compatibility: Python3, wxPython Phoenix
Author: Gianluca Pernigotto <[email protected]>
Copyleft - 2024 Gianluca Pernigotto <[email protected]>
Copyleft - 2025 Gianluca Pernigotto <[email protected]>
license: GPL3
Rev: Feb.13.2023
Code checker: flake8, pylint
Expand Down
2 changes: 1 addition & 1 deletion videomass/vdms_dialogs/ffmpeg_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Porpose: Show a window to search for FFmpeg help topics
Compatibility: Python3, wxPython4
Author: Gianluca Pernigotto <[email protected]>
Copyleft - 2024 Gianluca Pernigotto <[email protected]>
Copyleft - 2025 Gianluca Pernigotto <[email protected]>
license: GPL3
Rev: March.14.2023
Code checker: flake8, pylint
Expand Down
2 changes: 1 addition & 1 deletion videomass/vdms_dialogs/filter_colorcorrection.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Porpose: Show dialog to set color correction data based on FFmpeg syntax
Compatibility: Python3, wxPython Phoenix
Author: Gianluca Pernigotto <[email protected]>
Copyleft - 2024 Gianluca Pernigotto <[email protected]>
Copyleft - 2025 Gianluca Pernigotto <[email protected]>
license: GPL3
Rev: July.17.2023
Code checker: flake8, pylint
Expand Down
2 changes: 1 addition & 1 deletion videomass/vdms_dialogs/filter_crop.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Porpose: A dialog to get video crop values based on FFmpeg syntax
Compatibility: Python3, wxPython Phoenix
Author: Gianluca Pernigotto <[email protected]>
Copyleft - 2024 Gianluca Pernigotto <[email protected]>
Copyleft - 2025 Gianluca Pernigotto <[email protected]>
license: GPL3
Rev: July.17.2023
Code checker: flake8, pylint
Expand Down
2 changes: 1 addition & 1 deletion videomass/vdms_dialogs/filter_deinterlace.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Porpose: Show dialog to get deinterlace/interlace data based on FFmpeg syntax
Compatibility: Python3, wxPython Phoenix
Author: Gianluca Pernigotto <[email protected]>
Copyleft - 2024 Gianluca Pernigotto <[email protected]>
Copyleft - 2025 Gianluca Pernigotto <[email protected]>
license: GPL3
Rev: May.09.2024
Code checker: flake8, pylint
Expand Down
Loading

0 comments on commit 39cc582

Please sign in to comment.