assy 6.2__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.
Files changed (42) hide show
  1. assy-6.2/.dockerignore +72 -0
  2. assy-6.2/.gitignore +37 -0
  3. assy-6.2/CHANGELOG +36 -0
  4. assy-6.2/LICENSE +674 -0
  5. assy-6.2/PKG-INFO +397 -0
  6. assy-6.2/README.md +354 -0
  7. assy-6.2/main/.SRCINFO +0 -0
  8. assy-6.2/main/VERSION +1 -0
  9. assy-6.2/main/__init__.py +1 -0
  10. assy-6.2/main/alass_encodings.py +231 -0
  11. assy-6.2/main/assets/fonts/hack.ttf +0 -0
  12. assy-6.2/main/assets/github.svg +1 -0
  13. assy-6.2/main/assets/icon.icns +0 -0
  14. assy-6.2/main/assets/icon.ico +0 -0
  15. assy-6.2/main/assets/icon.png +0 -0
  16. assy-6.2/main/assets/settings.svg +31 -0
  17. assy-6.2/main/call_autosubsync.py +81 -0
  18. assy-6.2/main/call_ffsubsync.py +40 -0
  19. assy-6.2/main/constants.py +1308 -0
  20. assy-6.2/main/gui.py +1205 -0
  21. assy-6.2/main/gui_auto_pairing.py +878 -0
  22. assy-6.2/main/gui_automatic_tab.py +606 -0
  23. assy-6.2/main/gui_batch_mode.py +3275 -0
  24. assy-6.2/main/gui_load_library.py +484 -0
  25. assy-6.2/main/gui_log_window.py +575 -0
  26. assy-6.2/main/gui_manual_tab.py +662 -0
  27. assy-6.2/main/gui_multiple_subs.py +552 -0
  28. assy-6.2/main/main.py +150 -0
  29. assy-6.2/main/main_docker.py +143 -0
  30. assy-6.2/main/processed_items_manager.py +361 -0
  31. assy-6.2/main/qt_compat.py +43 -0
  32. assy-6.2/main/resources/__init__.py +1 -0
  33. assy-6.2/main/resources/alass-bin/alass-linux64 +0 -0
  34. assy-6.2/main/resources/autosubsync/trained-model.bin +1 -0
  35. assy-6.2/main/subtitle_converter.py +618 -0
  36. assy-6.2/main/subtitle_extractor.py +181 -0
  37. assy-6.2/main/sync_auto.py +1294 -0
  38. assy-6.2/main/sync_manual.py +285 -0
  39. assy-6.2/main/texts.py +7768 -0
  40. assy-6.2/main/utils.py +1352 -0
  41. assy-6.2/main/version.py +74 -0
  42. assy-6.2/pyproject.toml +114 -0
assy-6.2/.dockerignore ADDED
@@ -0,0 +1,72 @@
1
+ # Git and version control
2
+ .git
3
+ .gitignore
4
+ .gitattributes
5
+
6
+ # Docker files
7
+ Dockerfile
8
+ docker-compose.yml
9
+ .dockerignore
10
+
11
+ # Documentation (exclude specific files, keep README.md, LICENSE, CHANGELOG)
12
+ DOCKER.md
13
+
14
+ # Python cache and virtual environments
15
+ __pycache__/
16
+ *.pyc
17
+ *.pyo
18
+ *.pyd
19
+ .Python
20
+ build/
21
+ develop-eggs/
22
+ dist/
23
+ downloads/
24
+ eggs/
25
+ .eggs/
26
+ lib/
27
+ lib64/
28
+ parts/
29
+ sdist/
30
+ var/
31
+ wheels/
32
+ *.egg-info/
33
+ .installed.cfg
34
+ *.egg
35
+ .venv/
36
+ venv/
37
+ env/
38
+
39
+ # IDE and editor files
40
+ .vscode/
41
+ .idea/
42
+ *.swp
43
+ *.swo
44
+ *~
45
+
46
+ # OS generated files
47
+ .DS_Store
48
+ .DS_Store?
49
+ ._*
50
+ .Spotlight-V100
51
+ .Trashes
52
+ ehthumbs.db
53
+ Thumbs.db
54
+
55
+ # Logs
56
+ *.log
57
+
58
+ # Build artifacts
59
+ build.py
60
+ build.spec
61
+ *.exe
62
+ *.dmg
63
+ *.app
64
+
65
+ # Input/output directories
66
+ input/
67
+ output/
68
+ desktop/
69
+
70
+ # Scripts
71
+ run-docker.sh
72
+ run-docker.bat
assy-6.2/.gitignore ADDED
@@ -0,0 +1,37 @@
1
+ # macOS system files
2
+ .DS_Store
3
+ ._*
4
+ Thumbs.db
5
+ Desktop.ini
6
+
7
+ # Python artifacts
8
+ __pycache__/
9
+ **/__pycache__
10
+ *.py[cod]
11
+ *.so
12
+ *.exe
13
+ *.zip
14
+ *.tar.gz
15
+
16
+ # Virtual environments
17
+ env/
18
+ venv/
19
+ .env/
20
+ .venv/
21
+
22
+ # VS Code settings
23
+ .vscode/
24
+
25
+ # AutoSubSync
26
+ *AppImage*
27
+ *config.json
28
+ build/
29
+ dist/
30
+ .old/
31
+ main/AutoSubSync_logs
32
+ main/resources/ffmpeg-bin/
33
+ main/resources/ffsubsync-bin/
34
+ main/resources/versions.json
35
+ test_subtitles/
36
+ PROMPTS.md
37
+ build_tools/
assy-6.2/CHANGELOG ADDED
@@ -0,0 +1,36 @@
1
+ - **PyPI package now available!** You can install AutoSubSync directly with `pip install assy` and run with `assy` or `assy-cli`. This provides an easier installation method for users who prefer pip.
2
+ - Added **Sync tracking** system for Batch Mode. This system keeps track of all videos that have been successfully synced, so when you add a large library of videos to the batch list, the app automatically identifies and skips the ones you've already processed before. This is especially useful when working with large media collections where you periodically add new content and want to avoid re-syncing existing files. Feature requested by [@M10pnl](https://github.com/M10pnl) in [#54](https://github.com/denizsafak/AutoSubSync/issues/54).
3
+ - **Designed for video files only**; reference or output subtitle files are not tracked.
4
+ - Videos are identified by their content using a unique fingerprint (hash), **not by filename or path**. This means you can rename, move, or reorganize your files and the system will still recognize them as already processed.
5
+ - When you add videos to the batch list, previously processed ones automatically appear greyed out with a `Status: Skipped` tooltip, making it easy to see at a glance which files will be skipped.
6
+ - **When sync tracking is disabled**: No videos will be automatically skipped, newly synced videos will not be added to the database, and sync-related options will not appear in Batch Mode.
7
+ - Access all sync tracking features via multiple locations:
8
+ - **Batch Mode:** `Sync tracking` button (shows green text when enabled) or right-click context menu
9
+ - **Settings Menu:** `Sync tracking` submenu (shows "Enabled" or "Disabled" status in title)
10
+ - **Sync tracking menu options:**
11
+ - `Sync tracking system: Enabled/Disabled` - Toggle the system on or off
12
+ - `Clear processed items database` - Reset the tracking database (**Please be careful with this action, as it cannot be undone if you have not backed up your database.**)
13
+ - `Backup processed items database` - Export your database for safekeeping
14
+ - `Import processed items database` - Import items from another database (merges without duplicates)
15
+ - `Manage library folders` - Open the Library Folders Manager
16
+ - `Load library` - Quickly load all saved library folders into Batch Mode (Batch Mode menu only)
17
+ - **Right-click context menu** provides manual control over individual items:
18
+ - `Force process selected video(s)` - Temporarily override the skip and process the video again
19
+ - `Skip processing selected video(s)` - Manually mark videos to be skipped without adding them to the database
20
+ - `Add selected video(s) to processed items database` - Mark videos as already processed without syncing them
21
+ - `Remove selected video(s) from processed items database` - Remove videos from the database so they can be processed again
22
+ - `Refresh` button re-checks all videos in the current list against the database.
23
+ - Database file location: `processed_items.db` in the config directory (accessible via `Settings` → `Open config file directory`).
24
+ - Added **Library Manager** system for Batch Mode. The Library Manager allows you to save frequently used folders for quick access in Batch Mode. Add folders containing video files and their corresponding subtitle files. These folders will be remembered between sessions, so you don't have to re-add them each time. You can add, remove, or clear folders as needed. When 'Load library' is clicked, it will load all videos and subtitles that exist in the folders you added.
25
+ - Access via the `Sync tracking` menu → `Manage library folders` or directly in Batch Mode via the `Sync tracking` button
26
+ - Add, remove, and organize your library folders
27
+ - Folders that no longer exist are highlighted in red
28
+ - Click `Load library` to load all saved folders, or press OK in the manager to load and close
29
+ - Database file location: `library_folders.db` in the config directory (accessible via `Settings` → `Open config file directory`).
30
+ - Batch Input system now supports **adding multiple subtitle files to a single Video/Reference** parent item. Each subtitle file is automatically interpreted as its own individual processing task, all linked to the same parent video/reference file, feature mentioned by [@StalOlympus](https://github.com/StalOlympus) in [#58](https://github.com/denizsafak/AutoSubSync/issues/58).
31
+ - Added **Undo/Redo** support to the Batch Input, including `Ctrl+Z` and `Ctrl+Y` shortcuts and new right-click menu options, allowing users to easily revert or reapply actions while managing items.
32
+ - Added new option **Auto-rename files if needed**: When enabled (and `alass` is selected), AutoSubSync will automatically rename any file or folder path components that contain `[` or `]` (replacing them with `(` and `)`) to fix an error where `alass` cannot work with paths containing these characters. When disabled, AutoSubSync will display a 30-second prompt asking whether to rename the affected paths; if the prompt times out, the rename will be skipped. Possibly fixes the issue mentioned by [@SilfraTheDragon](https://github.com/SilfraTheDragon) in [#63](https://github.com/denizsafak/AutoSubSync/issues/63).
33
+ - Upgraded [ffsubsync](https://github.com/smacke/ffsubsync) from `0.4.30` to `0.4.31`.
34
+ - **Linux:** Now distributed as AppImage for easier installation and portability.
35
+ - **macOS:** Now distributed as a native .app bundle with improved code signing.
36
+ - Improvements in documentation, translations, and code.