39 Commits
Author SHA1 Message Date
Damiano Galassi 9ea235a35e Fix the checkOnlySelectedTracks function to make it work with multiple files 2025-03-11 11:23:22 +01:00
Karsten 5fdf9efa80 Added Check-Only-Selected Item
** How was it Changed? **
- importing media to a video, a dialog appears with the tracks to be imported. All tracks are enabled
- there is already a context-menu-item to only check the selected language
- i added another item to the context menu to only check the selected tracks
- the logic is simple:
   - if nothing is selected, the target item is the only checked item
   - if there's selection, these items will then be checked
   - target-item has precedence from selected items because it's more precise but can also be fixed by reopening the menu by targeting the selection

** Why was it changed? **
- i often encounter videos that have all required languages and after conversion but they lack the forced subtitle track
- dragging the source media on the video will open a dialog and tons of subtitle tracks are all selected
- even choosing the "check selected language" item would still select multiple tracks, most of which would need to be deselected in a second step
2025-03-11 11:01:57 +01:00
Damiano Galassi b26bcea29a Revert "Add a check all and uncheck all menu items to the file importer"
This reverts commit e520b13a4f.
2025-03-11 10:59:28 +01:00
Damiano Galassi 8071145c7f Update only modified rows 2025-03-10 10:22:01 +01:00
Damiano Galassi e520b13a4f Add a check all and uncheck all menu items to the file importer 2025-03-10 10:19:14 +01:00
Stephen Flynn 22df3e92db Added ability to set imported multichannel channel AAC track to Passthru + AAC (#39) 2024-11-29 13:40:19 +01:00
Damiano Galassi 0a135b7040 Always use NSUserInterfaceValidations instead of NSMenuItemValidation 2024-07-20 12:02:15 +02:00
Damiano Galassi 56518b155e Improve onlySubtitles property. 2020-03-26 13:23:08 +01:00
Damiano Galassi 05c96965d5 Fix file import track selection. 2020-03-10 15:54:02 +01:00
Damiano Galassi 6d5fdf42a6 Remove unused code, refactor things. 2020-02-20 14:02:51 +01:00
Damiano Galassi fbc464e643 Rework the preference to avoid stringly typed properties. 2020-02-07 15:31:10 +01:00
Damiano Galassi 0f122f6242 Save the view controllers size. 2019-08-07 15:21:43 +02:00
Damiano Galassi 106813d5e5 Refactor some windows to views. 2019-08-07 14:40:24 +02:00
Damiano Galassi e16ea22a23 OCD 2019-03-11 18:36:10 +01:00
Damiano Galassi f993d8dd81 Mark some classes as final. 2019-03-05 10:41:54 +01:00
Damiano Galassi 10bef07af1 Fix build on Xcode 10 b6. 2018-08-14 07:49:15 +02:00
Damiano Galassi 5b4600b9dd Convert to Swift 4.2 2018-06-07 11:30:39 +02:00
Damiano Galassi 983151aeeb Import MP42Foundation. 2018-05-02 13:06:16 +02:00
Damiano Galassi 193ed1ff80 Fix build. 2018-03-30 11:20:13 +02:00
Damiano Galassi ad1539b764 Use the preference value for the Audio+Passhtru mix down. 2018-03-24 11:18:01 +01:00
Damiano Galassi bc3d17c9f9 Improve UI performance by reusing the existing view controllers. 2018-03-22 17:24:26 +01:00
Damiano Galassi fc35684917 Fix FileImporter importMetadata state. 2018-02-17 10:58:26 +01:00
Damiano Galassi 181682c880 Remember file importer metadata checkbox state. 2018-02-12 13:19:39 +01:00
Damiano Galassi cd27e2ce52 Remove 10.9 support. 2018-02-03 10:43:41 +01:00
Damiano Galassi b0478ce41e Fix importer error handling. 2017-11-27 09:22:08 +01:00
Damiano Galassi d509431fb7 Fix MP42FileImporter init nullability. 2017-11-27 09:13:11 +01:00
Damiano Galassi be9c87efdf Add the "Tx3g" action for vobsubs too. 2017-11-16 15:35:20 +01:00
Damiano Galassi 6f086d41a3 Fix AC3 import action. 2017-11-04 08:13:11 +01:00
Damiano Galassi 891c09970d Restore the previous style for the file importer group cell, plus refactor the attribute strings styles. 2017-11-01 09:36:20 +01:00
Damiano Galassi 5e698c1afb Use the menu tag instead of the index. 2017-10-28 15:45:24 +02:00
Damiano Galassi 64f9178ee6 More swift conversions. 2017-10-20 12:29:55 +02:00
Damiano Galassi 23aa3fc7cd Convert some cells to Swift. 2017-10-20 09:59:25 +02:00
Damiano Galassi fe178c9375 Cosmetics 2017-10-20 09:25:23 +02:00
Damiano Galassi 3714a085d2 Remove some mix down conversions. 2017-10-19 10:04:00 +02:00
Damiano Galassi 95568a51fd Fix a crash that happened when addTracks was called before windowDidLoad 2017-10-19 09:10:55 +02:00
Damiano Galassi a43e433cdf Connect the checkbox action, and fix audio settings. 2017-10-19 08:37:41 +02:00
Damiano Galassi 579b6f67a0 Fix the action popup menu selection. 2017-10-19 07:57:40 +02:00
Damiano Galassi 285c30a628 Rewrite the file import controller in swift. 2017-10-18 21:28:58 +02:00
Damiano Galassi aa691eaca3 Add a Swift file importer class that will be used in the future. 2017-10-09 12:40:49 +02:00