gridplayer 0.5.2__tar.gz → 0.5.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {gridplayer-0.5.2 → gridplayer-0.5.4}/PKG-INFO +25 -27
- {gridplayer-0.5.2 → gridplayer-0.5.4}/README.md +11 -11
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/__main__.py +4 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/models/video.py +3 -1
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/models/video_uri.py +1 -4
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/params/actions.py +126 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/params/extensions.py +2 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/params/menu.py +27 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/params/static.py +7 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/player/managers/add_videos.py +4 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/player/managers/video_blocks.py +5 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/resources_bin.py +131242 -130554
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/stream_proxy/m3u8.py +2 -2
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/stream_proxy/wrappers.py +7 -10
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/version.py +2 -2
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/vlc_player/player_base.py +38 -4
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/widgets/video_block.py +39 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/widgets/video_frame_vlc_base.py +13 -2
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/widgets/video_frame_vlc_hw.py +3 -3
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/widgets/video_frame_vlc_hw_sp.py +5 -5
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/widgets/video_frame_vlc_sw.py +18 -3
- {gridplayer-0.5.2 → gridplayer-0.5.4}/pyproject.toml +37 -28
- gridplayer-0.5.2/CHANGELOG.md +0 -287
- {gridplayer-0.5.2 → gridplayer-0.5.4}/LICENSE +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/__init__.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/dialogs/__init__.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/dialogs/about.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/dialogs/about_dialog_ui.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/dialogs/add_urls.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/dialogs/exception.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/dialogs/exception_dialog_ui.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/dialogs/input_dialog.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/dialogs/messagebox.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/dialogs/rename_dialog.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/dialogs/settings.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/dialogs/settings_dialog_ui.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/exceptions.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/main/__init__.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/main/init_app.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/main/init_app_env.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/main/init_icons.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/main/init_log.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/main/init_resources.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/main/init_translator.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/main/run.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/models/__init__.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/models/grid_state.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/models/playlist.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/models/recent_list.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/models/resolver_patterns.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/models/stream.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/multiprocess/__init__.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/multiprocess/command_loop.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/multiprocess/instance_process.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/multiprocess/process_manager.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/multiprocess/safe_shared_memory.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/params/__init__.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/params/env.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/params/languages.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/player/__init__.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/player/manager.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/player/managers/__init__.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/player/managers/actions.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/player/managers/active_block.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/player/managers/base.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/player/managers/dialogs.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/player/managers/drag_n_drop.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/player/managers/grid.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/player/managers/instance_listener.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/player/managers/log.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/player/managers/macos_fileopen.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/player/managers/menu.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/player/managers/mouse_hide.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/player/managers/playlist.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/player/managers/recent_list.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/player/managers/screensaver.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/player/managers/settings.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/player/managers/single_mode.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/player/managers/snapshots.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/player/managers/stream_proxy.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/player/managers/video_driver.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/player/managers/window_state.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/player/player.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/settings.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/__init__.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/app_dir.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/aspect_calc.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/command_helpers.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/darkmode.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/excepthook.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/files.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/keepawake.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/keepawake_macos.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/libvlc.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/libvlc_fixer.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/libvlc_options_parser.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/log.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/log_config.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/misc.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/next_file.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/qt.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/single_instance.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/stream_proxy/__init__.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/stream_proxy/server.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/stream_proxy/session.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/stream_proxy/stream_proxy.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/time_txt.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/url_resolve/__init__.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/url_resolve/resolver_base.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/url_resolve/resolver_streamlink.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/url_resolve/resolver_yt_dlp.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/url_resolve/static.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/url_resolve/stream_detect.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/utils/url_resolve/url_resolve.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/vlc_player/__init__.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/vlc_player/image_decoder.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/vlc_player/instance.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/vlc_player/libvlc.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/vlc_player/player_base_threaded.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/vlc_player/player_event_manager.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/vlc_player/player_event_waiter.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/vlc_player/player_tracks_manager.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/vlc_player/static.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/vlc_player/video_driver_base.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/vlc_player/video_driver_base_threaded.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/widgets/__init__.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/widgets/custom_menu.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/widgets/language_list.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/widgets/resolver_patterns_list.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/widgets/video_frame_dummy.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/widgets/video_overlay.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/widgets/video_overlay_buttons.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/widgets/video_overlay_elements.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/widgets/video_overlay_icons.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/widgets/video_status.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/widgets/video_status_info.py +0 -0
- {gridplayer-0.5.2 → gridplayer-0.5.4}/gridplayer/widgets/video_status_loading.py +0 -0
|
@@ -1,35 +1,33 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: gridplayer
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.4
|
|
4
4
|
Summary: Play videos side-by-side
|
|
5
|
-
|
|
6
|
-
License:
|
|
5
|
+
License-Expression: GPL-3.0-or-later
|
|
6
|
+
License-File: LICENSE
|
|
7
7
|
Keywords: video,player,vlc,pyqt,Qt5,multimedia
|
|
8
8
|
Author: vzhd1701
|
|
9
9
|
Author-email: vzhd1701@gmail.com
|
|
10
|
-
Requires-Python: >=3.
|
|
10
|
+
Requires-Python: >=3.10
|
|
11
11
|
Classifier: Development Status :: 4 - Beta
|
|
12
|
-
Classifier: Environment :: X11 Applications :: Qt
|
|
13
12
|
Classifier: Intended Audience :: End Users/Desktop
|
|
14
|
-
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
|
|
15
13
|
Classifier: Natural Language :: English
|
|
14
|
+
Classifier: Environment :: X11 Applications :: Qt
|
|
16
15
|
Classifier: Operating System :: MacOS
|
|
17
16
|
Classifier: Operating System :: Microsoft
|
|
18
17
|
Classifier: Operating System :: Unix
|
|
19
|
-
Classifier: Programming Language :: Python :: 3
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
22
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
23
18
|
Classifier: Topic :: Multimedia :: Video :: Display
|
|
24
|
-
Requires-Dist: PyQt5 (==5.15.
|
|
25
|
-
Requires-Dist:
|
|
19
|
+
Requires-Dist: PyQt5 (==5.15.11)
|
|
20
|
+
Requires-Dist: PyQt5-Qt5 (==5.15.18) ; sys_platform == "darwin"
|
|
21
|
+
Requires-Dist: PyQt5-Qt5 (==5.15.2) ; sys_platform == "linux"
|
|
22
|
+
Requires-Dist: PyQt5-Qt5 (==5.15.2) ; sys_platform == "win32"
|
|
23
|
+
Requires-Dist: pydantic (>=1.8.2)
|
|
26
24
|
Requires-Dist: pyobjc-core ; sys_platform == "darwin"
|
|
27
25
|
Requires-Dist: pyobjc-framework-Cocoa ; sys_platform == "darwin"
|
|
28
26
|
Requires-Dist: python-vlc (==3.0.11115)
|
|
29
|
-
Requires-Dist: streamlink (==
|
|
30
|
-
Requires-Dist: yt-dlp (==
|
|
31
|
-
Project-URL: Changelog, https://github.com/vzhd1701/gridplayer/blob/master/CHANGELOG.md
|
|
27
|
+
Requires-Dist: streamlink (==8.0.0)
|
|
28
|
+
Requires-Dist: yt-dlp (==2025.11.12)
|
|
32
29
|
Project-URL: Repository, https://github.com/vzhd1701/gridplayer
|
|
30
|
+
Project-URL: changelog, https://github.com/vzhd1701/gridplayer/blob/master/CHANGELOG.md
|
|
33
31
|
Description-Content-Type: text/markdown
|
|
34
32
|
|
|
35
33
|

|
|
@@ -77,8 +75,8 @@ Huge thanks to [every contributor](https://github.com/vzhd1701/gridplayer#transl
|
|
|
77
75
|
|
|
78
76
|
### Windows
|
|
79
77
|
|
|
80
|
-
[](https://github.com/vzhd1701/gridplayer/releases/download/v0.5.
|
|
81
|
-
[](https://github.com/vzhd1701/gridplayer/releases/download/v0.5.
|
|
78
|
+
[](https://github.com/vzhd1701/gridplayer/releases/download/v0.5.4/GridPlayer-0.5.4-win64-install.exe)
|
|
79
|
+
[](https://github.com/vzhd1701/gridplayer/releases/download/v0.5.4/GridPlayer-0.5.4-win64-portable.zip)
|
|
82
80
|
|
|
83
81
|
Via [scoop](https://scoop.sh/):
|
|
84
82
|
|
|
@@ -92,7 +90,7 @@ $ scoop install gridplayer
|
|
|
92
90
|
|
|
93
91
|
[](https://flathub.org/apps/details/com.vzhd1701.gridplayer)
|
|
94
92
|
[](https://snapcraft.io/gridplayer)
|
|
95
|
-
[](https://github.com/vzhd1701/gridplayer/releases/download/v0.5.
|
|
93
|
+
[](https://github.com/vzhd1701/gridplayer/releases/download/v0.5.4/GridPlayer-0.5.4-x86_64.AppImage)
|
|
96
94
|
|
|
97
95
|
**For better system integration install via Flathub.**
|
|
98
96
|
|
|
@@ -103,12 +101,12 @@ The AppImage was built using Ubuntu Focal Fossa libraries, so compatibility is U
|
|
|
103
101
|
You may need to set execute permissions on AppImage file in order to run it:
|
|
104
102
|
|
|
105
103
|
```shell
|
|
106
|
-
$ chmod +x GridPlayer-0.5.
|
|
104
|
+
$ chmod +x GridPlayer-0.5.4-x86_64.AppImage
|
|
107
105
|
```
|
|
108
106
|
|
|
109
107
|
### MacOS
|
|
110
108
|
|
|
111
|
-
[](https://github.com/vzhd1701/gridplayer/releases/download/v0.5.
|
|
109
|
+
[](https://github.com/vzhd1701/gridplayer/releases/download/v0.5.4/GridPlayer.0.5.4.dmg)
|
|
112
110
|
|
|
113
111
|
**DMG image is not signed.** You will have to add an exception to run this app.
|
|
114
112
|
|
|
@@ -121,15 +119,15 @@ If you get "GridPlayer is damaged and can't be opened" error, run this command i
|
|
|
121
119
|
$ sudo xattr -rd com.apple.quarantine /Applications/GridPlayer.app
|
|
122
120
|
```
|
|
123
121
|
|
|
124
|
-
###
|
|
122
|
+
### [PIPX](https://github.com/pypa/pipx)
|
|
125
123
|
|
|
126
124
|
```shell
|
|
127
|
-
$
|
|
125
|
+
$ pipx install gridplayer
|
|
128
126
|
```
|
|
129
127
|
|
|
130
|
-
**Python 3.
|
|
128
|
+
**Python 3.10 or later required.**
|
|
131
129
|
|
|
132
|
-
This type of installation will also require a `vlc` package present in your system.
|
|
130
|
+
This type of installation will also require VLC installed (Windows & Mac) or a `vlc` package (Linux) present in your system.
|
|
133
131
|
Please refer to [VLC official page](https://www.videolan.org/vlc/) for instructions on how to install it.
|
|
134
132
|
|
|
135
133
|
Some distros (e.g. Ubuntu) might also require `libxcb-xinerama0` package.
|
|
@@ -141,11 +139,11 @@ This project uses [poetry](https://python-poetry.org/) for dependency management
|
|
|
141
139
|
```shell
|
|
142
140
|
$ git clone https://github.com/vzhd1701/gridplayer.git
|
|
143
141
|
$ cd gridplayer/
|
|
144
|
-
$ poetry install
|
|
142
|
+
$ poetry install
|
|
145
143
|
$ poetry run gridplayer
|
|
146
144
|
```
|
|
147
145
|
|
|
148
|
-
The same notes about the Python version and external packages from **
|
|
146
|
+
The same notes about the Python version and external packages from **PIPX** installation apply here.
|
|
149
147
|
|
|
150
148
|
## Video Decoder settings
|
|
151
149
|
|
|
@@ -43,8 +43,8 @@ Huge thanks to [every contributor](https://github.com/vzhd1701/gridplayer#transl
|
|
|
43
43
|
|
|
44
44
|
### Windows
|
|
45
45
|
|
|
46
|
-
[](https://github.com/vzhd1701/gridplayer/releases/download/v0.5.
|
|
47
|
-
[](https://github.com/vzhd1701/gridplayer/releases/download/v0.5.
|
|
46
|
+
[](https://github.com/vzhd1701/gridplayer/releases/download/v0.5.4/GridPlayer-0.5.4-win64-install.exe)
|
|
47
|
+
[](https://github.com/vzhd1701/gridplayer/releases/download/v0.5.4/GridPlayer-0.5.4-win64-portable.zip)
|
|
48
48
|
|
|
49
49
|
Via [scoop](https://scoop.sh/):
|
|
50
50
|
|
|
@@ -58,7 +58,7 @@ $ scoop install gridplayer
|
|
|
58
58
|
|
|
59
59
|
[](https://flathub.org/apps/details/com.vzhd1701.gridplayer)
|
|
60
60
|
[](https://snapcraft.io/gridplayer)
|
|
61
|
-
[](https://github.com/vzhd1701/gridplayer/releases/download/v0.5.
|
|
61
|
+
[](https://github.com/vzhd1701/gridplayer/releases/download/v0.5.4/GridPlayer-0.5.4-x86_64.AppImage)
|
|
62
62
|
|
|
63
63
|
**For better system integration install via Flathub.**
|
|
64
64
|
|
|
@@ -69,12 +69,12 @@ The AppImage was built using Ubuntu Focal Fossa libraries, so compatibility is U
|
|
|
69
69
|
You may need to set execute permissions on AppImage file in order to run it:
|
|
70
70
|
|
|
71
71
|
```shell
|
|
72
|
-
$ chmod +x GridPlayer-0.5.
|
|
72
|
+
$ chmod +x GridPlayer-0.5.4-x86_64.AppImage
|
|
73
73
|
```
|
|
74
74
|
|
|
75
75
|
### MacOS
|
|
76
76
|
|
|
77
|
-
[](https://github.com/vzhd1701/gridplayer/releases/download/v0.5.
|
|
77
|
+
[](https://github.com/vzhd1701/gridplayer/releases/download/v0.5.4/GridPlayer.0.5.4.dmg)
|
|
78
78
|
|
|
79
79
|
**DMG image is not signed.** You will have to add an exception to run this app.
|
|
80
80
|
|
|
@@ -87,15 +87,15 @@ If you get "GridPlayer is damaged and can't be opened" error, run this command i
|
|
|
87
87
|
$ sudo xattr -rd com.apple.quarantine /Applications/GridPlayer.app
|
|
88
88
|
```
|
|
89
89
|
|
|
90
|
-
###
|
|
90
|
+
### [PIPX](https://github.com/pypa/pipx)
|
|
91
91
|
|
|
92
92
|
```shell
|
|
93
|
-
$
|
|
93
|
+
$ pipx install gridplayer
|
|
94
94
|
```
|
|
95
95
|
|
|
96
|
-
**Python 3.
|
|
96
|
+
**Python 3.10 or later required.**
|
|
97
97
|
|
|
98
|
-
This type of installation will also require a `vlc` package present in your system.
|
|
98
|
+
This type of installation will also require VLC installed (Windows & Mac) or a `vlc` package (Linux) present in your system.
|
|
99
99
|
Please refer to [VLC official page](https://www.videolan.org/vlc/) for instructions on how to install it.
|
|
100
100
|
|
|
101
101
|
Some distros (e.g. Ubuntu) might also require `libxcb-xinerama0` package.
|
|
@@ -107,11 +107,11 @@ This project uses [poetry](https://python-poetry.org/) for dependency management
|
|
|
107
107
|
```shell
|
|
108
108
|
$ git clone https://github.com/vzhd1701/gridplayer.git
|
|
109
109
|
$ cd gridplayer/
|
|
110
|
-
$ poetry install
|
|
110
|
+
$ poetry install
|
|
111
111
|
$ poetry run gridplayer
|
|
112
112
|
```
|
|
113
113
|
|
|
114
|
-
The same notes about the Python version and external packages from **
|
|
114
|
+
The same notes about the Python version and external packages from **PIPX** installation apply here.
|
|
115
115
|
|
|
116
116
|
## Video Decoder settings
|
|
117
117
|
|
|
@@ -9,13 +9,14 @@ from gridplayer.models.video_uri import AbsoluteFilePath, VideoURI, VideoURL
|
|
|
9
9
|
from gridplayer.params.static import (
|
|
10
10
|
AudioChannelMode,
|
|
11
11
|
VideoAspect,
|
|
12
|
+
VideoCrop,
|
|
12
13
|
VideoRepeat,
|
|
13
14
|
VideoTransform,
|
|
14
15
|
)
|
|
15
16
|
from gridplayer.settings import default_field
|
|
16
17
|
|
|
17
18
|
MIN_SCALE = 1.0
|
|
18
|
-
MAX_SCALE =
|
|
19
|
+
MAX_SCALE = 10.0
|
|
19
20
|
MIN_RATE = 0.2
|
|
20
21
|
MAX_RATE = 12
|
|
21
22
|
|
|
@@ -42,6 +43,7 @@ class Video(BaseModel):
|
|
|
42
43
|
is_muted: bool = default_field("video_defaults/muted")
|
|
43
44
|
is_paused: bool = default_field("video_defaults/paused")
|
|
44
45
|
scale: confloat(ge=MIN_SCALE, le=MAX_SCALE) = 1.0
|
|
46
|
+
crop: VideoCrop = VideoCrop(0, 0, 0, 0)
|
|
45
47
|
volume: float = 1.0
|
|
46
48
|
transform: VideoTransform = default_field("video_defaults/transform")
|
|
47
49
|
|
|
@@ -7,7 +7,7 @@ from gridplayer.params.extensions import SUPPORTED_MEDIA_EXT
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class VideoURL(AnyUrl):
|
|
10
|
-
allowed_schemes = {"http", "https", "rtp", "rtsp", "udp", "mms", "mmsh"}
|
|
10
|
+
allowed_schemes = {"http", "https", "rtp", "rtsp", "rtmp", "udp", "mms", "mmsh"}
|
|
11
11
|
max_length = 2083
|
|
12
12
|
|
|
13
13
|
|
|
@@ -29,9 +29,6 @@ class AbsoluteFilePath(FilePath):
|
|
|
29
29
|
if not path.is_absolute():
|
|
30
30
|
raise PathNotAbsoluteError(path=path)
|
|
31
31
|
|
|
32
|
-
if path.suffix[1:].lower() not in SUPPORTED_MEDIA_EXT:
|
|
33
|
-
raise PathExtensionNotSupportedError(path=path)
|
|
34
|
-
|
|
35
32
|
return path
|
|
36
33
|
|
|
37
34
|
|
|
@@ -341,6 +341,69 @@ ACTIONS = MappingProxyType(
|
|
|
341
341
|
"func": ("active", "scale_reset"),
|
|
342
342
|
"show_if": "is_active_has_video",
|
|
343
343
|
},
|
|
344
|
+
"Crop Left +": {
|
|
345
|
+
"title": translate("Actions", "Crop Left +"),
|
|
346
|
+
"key": "u",
|
|
347
|
+
"icon": "empty",
|
|
348
|
+
"func": ("active", "crop", 1, 0, 0, 0),
|
|
349
|
+
"show_if": "is_active_has_video",
|
|
350
|
+
},
|
|
351
|
+
"Crop Left -": {
|
|
352
|
+
"title": translate("Actions", "Crop Left -"),
|
|
353
|
+
"key": "i",
|
|
354
|
+
"icon": "empty",
|
|
355
|
+
"func": ("active", "crop", -1, 0, 0, 0),
|
|
356
|
+
"show_if": "is_active_has_video",
|
|
357
|
+
},
|
|
358
|
+
"Crop Top +": {
|
|
359
|
+
"title": translate("Actions", "Crop Top +"),
|
|
360
|
+
"key": "o",
|
|
361
|
+
"icon": "empty",
|
|
362
|
+
"func": ("active", "crop", 0, 1, 0, 0),
|
|
363
|
+
"show_if": "is_active_has_video",
|
|
364
|
+
},
|
|
365
|
+
"Crop Top -": {
|
|
366
|
+
"title": translate("Actions", "Crop Top -"),
|
|
367
|
+
"key": "p",
|
|
368
|
+
"icon": "empty",
|
|
369
|
+
"func": ("active", "crop", 0, -1, 0, 0),
|
|
370
|
+
"show_if": "is_active_has_video",
|
|
371
|
+
},
|
|
372
|
+
"Crop Right +": {
|
|
373
|
+
"title": translate("Actions", "Crop Right +"),
|
|
374
|
+
"key": "Alt+u",
|
|
375
|
+
"icon": "empty",
|
|
376
|
+
"func": ("active", "crop", 0, 0, 1, 0),
|
|
377
|
+
"show_if": "is_active_has_video",
|
|
378
|
+
},
|
|
379
|
+
"Crop Right -": {
|
|
380
|
+
"title": translate("Actions", "Crop Right -"),
|
|
381
|
+
"key": "Alt+i",
|
|
382
|
+
"icon": "empty",
|
|
383
|
+
"func": ("active", "crop", 0, 0, -1, 0),
|
|
384
|
+
"show_if": "is_active_has_video",
|
|
385
|
+
},
|
|
386
|
+
"Crop Bottom +": {
|
|
387
|
+
"title": translate("Actions", "Crop Bottom +"),
|
|
388
|
+
"key": "Alt+o",
|
|
389
|
+
"icon": "empty",
|
|
390
|
+
"func": ("active", "crop", 0, 0, 0, 1),
|
|
391
|
+
"show_if": "is_active_has_video",
|
|
392
|
+
},
|
|
393
|
+
"Crop Bottom -": {
|
|
394
|
+
"title": translate("Actions", "Crop Bottom -"),
|
|
395
|
+
"key": "Alt+p",
|
|
396
|
+
"icon": "empty",
|
|
397
|
+
"func": ("active", "crop", 0, 0, 0, -1),
|
|
398
|
+
"show_if": "is_active_has_video",
|
|
399
|
+
},
|
|
400
|
+
"Crop Reset": {
|
|
401
|
+
"title": translate("Actions", "Crop Reset"),
|
|
402
|
+
"key": "y",
|
|
403
|
+
"icon": "empty",
|
|
404
|
+
"func": ("active", "crop_reset"),
|
|
405
|
+
"show_if": "is_active_has_video",
|
|
406
|
+
},
|
|
344
407
|
"Aspect Fit": {
|
|
345
408
|
"title": translate("Actions", "Aspect Fit"),
|
|
346
409
|
"icon": "aspect-fit",
|
|
@@ -919,6 +982,69 @@ ACTIONS = MappingProxyType(
|
|
|
919
982
|
"func": ("all", "scale_reset"),
|
|
920
983
|
"show_if": "is_any_videos_have_video",
|
|
921
984
|
},
|
|
985
|
+
"Crop Left + [ALL]": {
|
|
986
|
+
"title": translate("Actions", "Crop Left +"),
|
|
987
|
+
"key": "Shift+u",
|
|
988
|
+
"icon": "empty",
|
|
989
|
+
"func": ("all", "crop", 1, 0, 0, 0),
|
|
990
|
+
"show_if": "is_any_videos_have_video",
|
|
991
|
+
},
|
|
992
|
+
"Crop Left - [ALL]": {
|
|
993
|
+
"title": translate("Actions", "Crop Left -"),
|
|
994
|
+
"key": "Shift+i",
|
|
995
|
+
"icon": "empty",
|
|
996
|
+
"func": ("all", "crop", -1, 0, 0, 0),
|
|
997
|
+
"show_if": "is_any_videos_have_video",
|
|
998
|
+
},
|
|
999
|
+
"Crop Top + [ALL]": {
|
|
1000
|
+
"title": translate("Actions", "Crop Top +"),
|
|
1001
|
+
"key": "Shift+o",
|
|
1002
|
+
"icon": "empty",
|
|
1003
|
+
"func": ("all", "crop", 0, 1, 0, 0),
|
|
1004
|
+
"show_if": "is_any_videos_have_video",
|
|
1005
|
+
},
|
|
1006
|
+
"Crop Top - [ALL]": {
|
|
1007
|
+
"title": translate("Actions", "Crop Top -"),
|
|
1008
|
+
"key": "Shift+p",
|
|
1009
|
+
"icon": "empty",
|
|
1010
|
+
"func": ("all", "crop", 0, -1, 0, 0),
|
|
1011
|
+
"show_if": "is_any_videos_have_video",
|
|
1012
|
+
},
|
|
1013
|
+
"Crop Right + [ALL]": {
|
|
1014
|
+
"title": translate("Actions", "Crop Right +"),
|
|
1015
|
+
"key": "Shift+Alt+u",
|
|
1016
|
+
"icon": "empty",
|
|
1017
|
+
"func": ("all", "crop", 0, 0, 1, 0),
|
|
1018
|
+
"show_if": "is_any_videos_have_video",
|
|
1019
|
+
},
|
|
1020
|
+
"Crop Right - [ALL]": {
|
|
1021
|
+
"title": translate("Actions", "Crop Right -"),
|
|
1022
|
+
"key": "Shift+Alt+i",
|
|
1023
|
+
"icon": "empty",
|
|
1024
|
+
"func": ("all", "crop", 0, 0, -1, 0),
|
|
1025
|
+
"show_if": "is_any_videos_have_video",
|
|
1026
|
+
},
|
|
1027
|
+
"Crop Bottom + [ALL]": {
|
|
1028
|
+
"title": translate("Actions", "Crop Bottom +"),
|
|
1029
|
+
"key": "Shift+Alt+o",
|
|
1030
|
+
"icon": "empty",
|
|
1031
|
+
"func": ("all", "crop", 0, 0, 0, 1),
|
|
1032
|
+
"show_if": "is_any_videos_have_video",
|
|
1033
|
+
},
|
|
1034
|
+
"Crop Bottom - [ALL]": {
|
|
1035
|
+
"title": translate("Actions", "Crop Bottom -"),
|
|
1036
|
+
"key": "Shift+Alt+p",
|
|
1037
|
+
"icon": "empty",
|
|
1038
|
+
"func": ("all", "crop", 0, 0, 0, -1),
|
|
1039
|
+
"show_if": "is_any_videos_have_video",
|
|
1040
|
+
},
|
|
1041
|
+
"Crop Reset [ALL]": {
|
|
1042
|
+
"title": translate("Actions", "Crop Reset"),
|
|
1043
|
+
"key": "Shift+y",
|
|
1044
|
+
"icon": "empty",
|
|
1045
|
+
"func": ("all", "crop_reset"),
|
|
1046
|
+
"show_if": "is_any_videos_have_video",
|
|
1047
|
+
},
|
|
922
1048
|
"Aspect Fit [ALL]": {
|
|
923
1049
|
"title": translate("Actions", "Aspect Fit"),
|
|
924
1050
|
"icon": "aspect-fit",
|
|
@@ -9,6 +9,7 @@ SUBMENUS = MappingProxyType(
|
|
|
9
9
|
"Speed": {"title": translate("Actions", "Speed"), "icon": "speed"},
|
|
10
10
|
"Zoom": {"title": translate("Actions", "Zoom"), "icon": "zoom"},
|
|
11
11
|
"Aspect": {"title": translate("Actions", "Aspect"), "icon": "aspect"},
|
|
12
|
+
"Crop": {"title": translate("Actions", "Crop"), "icon": "crop"},
|
|
12
13
|
"Transform": {"title": translate("Actions", "Transform"), "icon": "rotate"},
|
|
13
14
|
"[ALL]": {"title": translate("Actions", "[ALL]"), "icon": "all"},
|
|
14
15
|
"Grid": {"title": translate("Actions", "Grid"), "icon": "grid"},
|
|
@@ -83,6 +84,19 @@ SECTIONS = MappingProxyType(
|
|
|
83
84
|
"Aspect Stretch",
|
|
84
85
|
"Aspect None",
|
|
85
86
|
),
|
|
87
|
+
(
|
|
88
|
+
"Crop",
|
|
89
|
+
"Crop Left +",
|
|
90
|
+
"Crop Left -",
|
|
91
|
+
"Crop Top +",
|
|
92
|
+
"Crop Top -",
|
|
93
|
+
"Crop Right +",
|
|
94
|
+
"Crop Right -",
|
|
95
|
+
"Crop Bottom +",
|
|
96
|
+
"Crop Bottom -",
|
|
97
|
+
"Crop Bottom -",
|
|
98
|
+
"Crop Reset",
|
|
99
|
+
),
|
|
86
100
|
(
|
|
87
101
|
"Transform",
|
|
88
102
|
"Rotate 90",
|
|
@@ -205,6 +219,19 @@ SECTIONS = MappingProxyType(
|
|
|
205
219
|
"Aspect Stretch [ALL]",
|
|
206
220
|
"Aspect None [ALL]",
|
|
207
221
|
),
|
|
222
|
+
(
|
|
223
|
+
"Crop",
|
|
224
|
+
"Crop Left + [ALL]",
|
|
225
|
+
"Crop Left - [ALL]",
|
|
226
|
+
"Crop Top + [ALL]",
|
|
227
|
+
"Crop Top - [ALL]",
|
|
228
|
+
"Crop Right + [ALL]",
|
|
229
|
+
"Crop Right - [ALL]",
|
|
230
|
+
"Crop Bottom + [ALL]",
|
|
231
|
+
"Crop Bottom - [ALL]",
|
|
232
|
+
"Crop Bottom - [ALL]",
|
|
233
|
+
"Crop Reset [ALL]",
|
|
234
|
+
),
|
|
208
235
|
(
|
|
209
236
|
"Transform",
|
|
210
237
|
"Rotate 90 [ALL]",
|
|
@@ -91,6 +91,10 @@ def _get_name_filters():
|
|
|
91
91
|
"name": translate("Dialog - Add Files", "Audio", "File formats"),
|
|
92
92
|
"extensions": SUPPORTED_AUDIO_EXT,
|
|
93
93
|
},
|
|
94
|
+
{
|
|
95
|
+
"name": translate("Dialog - Add Files", "All", "File formats"),
|
|
96
|
+
"extensions": {"*"},
|
|
97
|
+
},
|
|
94
98
|
]
|
|
95
99
|
|
|
96
100
|
name_filers = []
|
|
@@ -127,6 +127,9 @@ class VideoBlocksManager(ManagerBase):
|
|
|
127
127
|
all_scale_decrease = pyqtSignal()
|
|
128
128
|
all_scale_reset = pyqtSignal()
|
|
129
129
|
|
|
130
|
+
all_crop = pyqtSignal(int, int, int, int)
|
|
131
|
+
all_crop_reset = pyqtSignal()
|
|
132
|
+
|
|
130
133
|
all_set_aspect = pyqtSignal(VideoAspect)
|
|
131
134
|
all_set_transform = pyqtSignal(VideoTransform)
|
|
132
135
|
all_set_auto_reload_timer = pyqtSignal(int)
|
|
@@ -369,6 +372,8 @@ class VideoBlocksManager(ManagerBase):
|
|
|
369
372
|
(self.all_scale_increase, vb.scale_increase),
|
|
370
373
|
(self.all_scale_decrease, vb.scale_decrease),
|
|
371
374
|
(self.all_scale_reset, vb.scale_reset),
|
|
375
|
+
(self.all_crop, vb.crop),
|
|
376
|
+
(self.all_crop_reset, vb.crop_reset),
|
|
372
377
|
(self.all_set_aspect, vb.set_aspect),
|
|
373
378
|
(self.all_set_transform, vb.set_transform),
|
|
374
379
|
(self.all_set_auto_reload_timer, vb.set_auto_reload_timer),
|