1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-30 11:42:04 +00:00
mpv/osdep/mac
der richter 70eba5e831 mac/apphub: fix opening several files at once via Finder or App icon
when dropping more than one file on the App icon or opening via Finder
the open(urls:) event might not pass all files at once in the array, but
may consecutivly call open(urls:) for each of the files or batched in
several arrays.

to fix this append any file passed to the open(urls:) event within 0.1
seconds of each other to the current playlist. the first event uses the
default behaviour.
2024-04-04 19:39:27 +02:00
..
app_bridge_objc.h mac/app: rewrite App c main function, startup and termination in swift 2024-04-01 22:13:39 +02:00
app_bridge.h mac/app: rewrite App c main function, startup and termination in swift 2024-04-01 22:13:39 +02:00
app_bridge.m mac/app: rewrite App c main function, startup and termination in swift 2024-04-01 22:13:39 +02:00
app_hub.swift mac/apphub: fix opening several files at once via Finder or App icon 2024-04-04 19:39:27 +02:00
application.swift mac/app: add some verbose logging for app startup and file handling 2024-04-01 22:13:39 +02:00
event_helper.swift mac: cleanup swift bridge header imports and unify them 2024-03-29 14:20:40 +01:00
input_helper.swift mac/apphub: fix opening several files at once via Finder or App icon 2024-04-04 19:39:27 +02:00
libmpv_helper.swift mac/log: rename log functions and cleanup class 2024-03-29 14:20:40 +01:00
log_helper.swift mac/log: fallback to system logger if no mp_log is yet available 2024-04-01 22:13:39 +02:00
menu_bar.swift mac/menu: remove redundant quit func and use identical command func 2024-04-01 22:13:39 +02:00
meson.build mac: cleanup swift bridge header imports and unify them 2024-03-29 14:20:40 +01:00
option_helper.swift mac: remove now unnecessary objective-c forwarding 2024-03-29 14:20:40 +01:00
precise_timer.swift mac/log: rename log functions and cleanup class 2024-03-29 14:20:40 +01:00
remote_command_center.swift mac: cleanup swift bridge header imports and unify them 2024-03-29 14:20:40 +01:00
swift_compat.swift
swift_extensions.swift mac/event: add helper to subscribe to mpv events and property changes 2024-03-24 23:03:48 +01:00
touch_bar.swift mac: cleanup swift bridge header imports and unify them 2024-03-29 14:20:40 +01:00
type_helper.swift mac/type: move c<>swift type bridging into a dedicated type helper 2024-03-21 18:33:15 +01:00