pyobjc-framework-MediaPlayer 10.1__tar.gz → 10.3__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.
- pyobjc_framework_mediaplayer-10.3/Lib/MediaPlayer/__init__.py +58 -0
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/Lib/MediaPlayer/_metadata.py +38 -16
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/Lib/pyobjc_framework_MediaPlayer.egg-info/PKG-INFO +3 -3
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/Lib/pyobjc_framework_MediaPlayer.egg-info/SOURCES.txt +2 -6
- pyobjc_framework_mediaplayer-10.3/Lib/pyobjc_framework_MediaPlayer.egg-info/requires.txt +2 -0
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/License.txt +1 -1
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/PKG-INFO +3 -3
- pyobjc-framework-MediaPlayer-10.1/metadata/raw/arm64-14.0.fwinfo → pyobjc_framework_mediaplayer-10.3/metadata/raw/arm64-14.5.fwinfo +3 -3
- pyobjc-framework-MediaPlayer-10.1/metadata/raw/x86_64-14.0.fwinfo → pyobjc_framework_mediaplayer-10.3/metadata/raw/x86_64-14.5.fwinfo +3 -3
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/setup.py +2 -1
- pyobjc-framework-MediaPlayer-10.1/Lib/MediaPlayer/__init__.py +0 -34
- pyobjc-framework-MediaPlayer-10.1/Lib/pyobjc_framework_MediaPlayer.egg-info/requires.txt +0 -2
- pyobjc-framework-MediaPlayer-10.1/metadata/raw/arm64-12.0.fwinfo +0 -6730
- pyobjc-framework-MediaPlayer-10.1/metadata/raw/arm64-13.0.fwinfo +0 -6967
- pyobjc-framework-MediaPlayer-10.1/metadata/raw/x86_64-12.0.fwinfo +0 -6730
- pyobjc-framework-MediaPlayer-10.1/metadata/raw/x86_64-13.0.fwinfo +0 -6967
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/Lib/pyobjc_framework_MediaPlayer.egg-info/dependency_links.txt +0 -0
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/Lib/pyobjc_framework_MediaPlayer.egg-info/not-zip-safe +0 -0
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/Lib/pyobjc_framework_MediaPlayer.egg-info/top_level.txt +0 -0
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/MANIFEST.in +0 -0
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/PyObjCTest/__init__.py +0 -0
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/PyObjCTest/test_mediaplayer.py +0 -0
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/PyObjCTest/test_mpcontentitem.py +0 -0
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/PyObjCTest/test_mperror.py +0 -0
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/PyObjCTest/test_mpmediaentity.py +0 -0
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/PyObjCTest/test_mpmediaitem.py +0 -0
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/PyObjCTest/test_mpnowplayinginfocenter.py +0 -0
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/PyObjCTest/test_mpnowplayinginfolanguageoption.py +0 -0
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/PyObjCTest/test_mpremotecommand.py +0 -0
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/PyObjCTest/test_mpremotecommandevent.py +0 -0
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/PyObjCTest/test_mpremotecontroltypes.py +0 -0
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/metadata/MediaPlayer.fwinfo +0 -0
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/metadata/metadata.ini +0 -0
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/metadata/raw/arm64-12.3.fwinfo +0 -0
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/metadata/raw/arm64-13.3.fwinfo +0 -0
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/metadata/raw/x86_64-10.14.fwinfo +0 -0
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/metadata/raw/x86_64-10.16.fwinfo +0 -0
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/metadata/raw/x86_64-12.3.fwinfo +0 -0
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/metadata/raw/x86_64-13.3.fwinfo +0 -0
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/pyobjc_setup.py +0 -0
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/pyproject.toml +0 -0
- {pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/setup.cfg +0 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Python mapping for the MediaPlayer framework.
|
|
3
|
+
|
|
4
|
+
This module does not contain docstrings for the wrapped code, check Apple's
|
|
5
|
+
documentation for details on how to use these functions and classes.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def _setup():
|
|
10
|
+
import sys
|
|
11
|
+
|
|
12
|
+
import AVFoundation
|
|
13
|
+
import objc
|
|
14
|
+
from . import _metadata
|
|
15
|
+
|
|
16
|
+
dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
|
|
17
|
+
name="MediaPlayer",
|
|
18
|
+
frameworkIdentifier="com.apple.MediaPlayer",
|
|
19
|
+
frameworkPath=objc.pathForFramework(
|
|
20
|
+
"/System/Library/Frameworks/MediaPlayer.framework"
|
|
21
|
+
),
|
|
22
|
+
globals_dict=globals(),
|
|
23
|
+
inline_list=None,
|
|
24
|
+
parents=(AVFoundation,),
|
|
25
|
+
metadict=_metadata.__dict__,
|
|
26
|
+
)
|
|
27
|
+
|
|
28
|
+
globals()["__dir__"] = dir_func
|
|
29
|
+
globals()["__getattr__"] = getattr_func
|
|
30
|
+
|
|
31
|
+
for cls, sel in (
|
|
32
|
+
("MPMusicPlayerQueueDescriptor", b"init"),
|
|
33
|
+
("MPMusicPlayerQueueDescriptor", b"new"),
|
|
34
|
+
("MPRemoteCommand", b"init"),
|
|
35
|
+
("MPRemoteCommand", b"new"),
|
|
36
|
+
("MPAdTimeRange", b"init"),
|
|
37
|
+
("MPAdTimeRange", b"new"),
|
|
38
|
+
("MPNowPlayingSession", b"init"),
|
|
39
|
+
("MPNowPlayingSession", b"new"),
|
|
40
|
+
("MPMusicPlayerControllerQueue", b"init"),
|
|
41
|
+
("MPMusicPlayerControllerQueue", b"new"),
|
|
42
|
+
("MPMusicPlayerController", b"init"),
|
|
43
|
+
("MPMusicPlayerController", b"new"),
|
|
44
|
+
("MPMediaPlaylistCreationMetadata", b"init"),
|
|
45
|
+
("MPMediaPlaylistCreationMetadata", b"new"),
|
|
46
|
+
("MPRemoteCommandCenter", b"init"),
|
|
47
|
+
("MPRemoteCommandCenter", b"new"),
|
|
48
|
+
("MPNowPlayingInfoCenter", b"init"),
|
|
49
|
+
("MPNowPlayingInfoCenter", b"new"),
|
|
50
|
+
("MPMediaItemArtwork", b"init"),
|
|
51
|
+
("MPMediaItemArtwork", b"new"),
|
|
52
|
+
):
|
|
53
|
+
objc.registerUnavailableMethod(cls, sel)
|
|
54
|
+
|
|
55
|
+
del sys.modules["MediaPlayer._metadata"]
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
globals().pop("_setup")()
|
{pyobjc-framework-MediaPlayer-10.1 → pyobjc_framework_mediaplayer-10.3}/Lib/MediaPlayer/_metadata.py
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This file is generated by objective.metadata
|
|
2
2
|
#
|
|
3
|
-
# Last update: Sat
|
|
3
|
+
# Last update: Sat May 18 09:31:50 2024
|
|
4
4
|
#
|
|
5
5
|
# flake8: noqa
|
|
6
6
|
|
|
@@ -178,10 +178,7 @@ try:
|
|
|
178
178
|
3: {
|
|
179
179
|
"callable": {
|
|
180
180
|
"retval": {"type": b"@"},
|
|
181
|
-
"arguments": {
|
|
182
|
-
0: {"type": b"^v"},
|
|
183
|
-
1: {"type": sel32or64(b"{CGSize=ff}", b"{CGSize=dd}")},
|
|
184
|
-
},
|
|
181
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"{CGSize=dd}"}},
|
|
185
182
|
}
|
|
186
183
|
}
|
|
187
184
|
}
|
|
@@ -328,11 +325,6 @@ try:
|
|
|
328
325
|
b"setAllowEmptySelection:",
|
|
329
326
|
{"arguments": {2: {"type": "Z"}}},
|
|
330
327
|
)
|
|
331
|
-
r(
|
|
332
|
-
b"MPNowPlayingSession",
|
|
333
|
-
b"automaticallyPublishNowPlayingInfo",
|
|
334
|
-
{"retval": {"type": b"Z"}},
|
|
335
|
-
)
|
|
336
328
|
r(
|
|
337
329
|
b"MPNowPlayingSession",
|
|
338
330
|
b"automaticallyPublishesNowPlayingInfo",
|
|
@@ -354,11 +346,6 @@ try:
|
|
|
354
346
|
)
|
|
355
347
|
r(b"MPNowPlayingSession", b"canBecomeActive", {"retval": {"type": b"Z"}})
|
|
356
348
|
r(b"MPNowPlayingSession", b"isActive", {"retval": {"type": b"Z"}})
|
|
357
|
-
r(
|
|
358
|
-
b"MPNowPlayingSession",
|
|
359
|
-
b"setAutomaticallyPublishNowPlayingInfo:",
|
|
360
|
-
{"arguments": {2: {"type": b"Z"}}},
|
|
361
|
-
)
|
|
362
349
|
r(
|
|
363
350
|
b"MPNowPlayingSession",
|
|
364
351
|
b"setAutomaticallyPublishesNowPlayingInfo:",
|
|
@@ -401,7 +388,7 @@ try:
|
|
|
401
388
|
"arguments": {
|
|
402
389
|
2: {
|
|
403
390
|
"callable": {
|
|
404
|
-
"retval": {"type":
|
|
391
|
+
"retval": {"type": b"q"},
|
|
405
392
|
"arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
|
|
406
393
|
}
|
|
407
394
|
}
|
|
@@ -571,6 +558,41 @@ try:
|
|
|
571
558
|
r(b"NSObject", b"stop", {"required": True, "retval": {"type": b"v"}})
|
|
572
559
|
finally:
|
|
573
560
|
objc._updatingMetadata(False)
|
|
561
|
+
|
|
562
|
+
objc.registerNewKeywordsFromSelector("MPAdTimeRange", b"initWithTimeRange:")
|
|
563
|
+
objc.registerNewKeywordsFromSelector("MPContentItem", b"initWithIdentifier:")
|
|
564
|
+
objc.registerNewKeywordsFromSelector(
|
|
565
|
+
"MPMediaItemArtwork", b"initWithBoundsSize:requestHandler:"
|
|
566
|
+
)
|
|
567
|
+
objc.registerNewKeywordsFromSelector("MPMediaItemCollection", b"initWithItems:")
|
|
568
|
+
objc.registerNewKeywordsFromSelector(
|
|
569
|
+
"MPMediaPlaylistCreationMetadata", b"initWithName:"
|
|
570
|
+
)
|
|
571
|
+
objc.registerNewKeywordsFromSelector("MPMediaQuery", b"initWithFilterPredicates:")
|
|
572
|
+
objc.registerNewKeywordsFromSelector(
|
|
573
|
+
"MPMusicPlayerMediaItemQueueDescriptor", b"initWithItemCollection:"
|
|
574
|
+
)
|
|
575
|
+
objc.registerNewKeywordsFromSelector(
|
|
576
|
+
"MPMusicPlayerMediaItemQueueDescriptor", b"initWithQuery:"
|
|
577
|
+
)
|
|
578
|
+
objc.registerNewKeywordsFromSelector(
|
|
579
|
+
"MPMusicPlayerPlayParameters", b"initWithDictionary:"
|
|
580
|
+
)
|
|
581
|
+
objc.registerNewKeywordsFromSelector(
|
|
582
|
+
"MPMusicPlayerPlayParametersQueueDescriptor", b"initWithPlayParametersQueue:"
|
|
583
|
+
)
|
|
584
|
+
objc.registerNewKeywordsFromSelector(
|
|
585
|
+
"MPMusicPlayerStoreQueueDescriptor", b"initWithStoreIDs:"
|
|
586
|
+
)
|
|
587
|
+
objc.registerNewKeywordsFromSelector(
|
|
588
|
+
"MPNowPlayingInfoLanguageOption",
|
|
589
|
+
b"initWithType:languageTag:characteristics:displayName:identifier:",
|
|
590
|
+
)
|
|
591
|
+
objc.registerNewKeywordsFromSelector(
|
|
592
|
+
"MPNowPlayingInfoLanguageOptionGroup",
|
|
593
|
+
b"initWithLanguageOptions:defaultLanguageOption:allowEmptySelection:",
|
|
594
|
+
)
|
|
595
|
+
objc.registerNewKeywordsFromSelector("MPNowPlayingSession", b"initWithPlayers:")
|
|
574
596
|
expressions = {}
|
|
575
597
|
|
|
576
598
|
# END OF FILE
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyobjc-framework-MediaPlayer
|
|
3
|
-
Version: 10.
|
|
3
|
+
Version: 10.3
|
|
4
4
|
Summary: Wrappers for the framework MediaPlayer on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -30,8 +30,8 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
|
30
30
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
31
31
|
Requires-Python: >=3.8
|
|
32
32
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
33
|
-
Requires-Dist: pyobjc-core>=10.
|
|
34
|
-
Requires-Dist: pyobjc-framework-AVFoundation>=10.
|
|
33
|
+
Requires-Dist: pyobjc-core>=10.3
|
|
34
|
+
Requires-Dist: pyobjc-framework-AVFoundation>=10.3
|
|
35
35
|
Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
|
|
36
36
|
Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
|
|
37
37
|
Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
|
|
@@ -24,15 +24,11 @@ PyObjCTest/test_mpremotecommandevent.py
|
|
|
24
24
|
PyObjCTest/test_mpremotecontroltypes.py
|
|
25
25
|
metadata/MediaPlayer.fwinfo
|
|
26
26
|
metadata/metadata.ini
|
|
27
|
-
metadata/raw/arm64-12.0.fwinfo
|
|
28
27
|
metadata/raw/arm64-12.3.fwinfo
|
|
29
|
-
metadata/raw/arm64-13.0.fwinfo
|
|
30
28
|
metadata/raw/arm64-13.3.fwinfo
|
|
31
|
-
metadata/raw/arm64-14.
|
|
29
|
+
metadata/raw/arm64-14.5.fwinfo
|
|
32
30
|
metadata/raw/x86_64-10.14.fwinfo
|
|
33
31
|
metadata/raw/x86_64-10.16.fwinfo
|
|
34
|
-
metadata/raw/x86_64-12.0.fwinfo
|
|
35
32
|
metadata/raw/x86_64-12.3.fwinfo
|
|
36
|
-
metadata/raw/x86_64-13.0.fwinfo
|
|
37
33
|
metadata/raw/x86_64-13.3.fwinfo
|
|
38
|
-
metadata/raw/x86_64-14.
|
|
34
|
+
metadata/raw/x86_64-14.5.fwinfo
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(This is the MIT license, note that libffi-src is a separate product with its own license)
|
|
2
2
|
|
|
3
3
|
Copyright 2002, 2003 - Bill Bumgarner, Ronald Oussoren, Steve Majewski, Lele Gaifax, et.al.
|
|
4
|
-
Copyright 2003-
|
|
4
|
+
Copyright 2003-2024 - Ronald Oussoren
|
|
5
5
|
|
|
6
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyobjc-framework-MediaPlayer
|
|
3
|
-
Version: 10.
|
|
3
|
+
Version: 10.3
|
|
4
4
|
Summary: Wrappers for the framework MediaPlayer on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -30,8 +30,8 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
|
30
30
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
31
31
|
Requires-Python: >=3.8
|
|
32
32
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
33
|
-
Requires-Dist: pyobjc-core>=10.
|
|
34
|
-
Requires-Dist: pyobjc-framework-AVFoundation>=10.
|
|
33
|
+
Requires-Dist: pyobjc-core>=10.3
|
|
34
|
+
Requires-Dist: pyobjc-framework-AVFoundation>=10.3
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
Wrappers for the "MediaPlayer" framework on macOS.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// GENERATED FILE DO NOT EDIT
|
|
2
2
|
//
|
|
3
3
|
// This file was generated by objective.metadata
|
|
4
|
-
// Last update: Sat
|
|
4
|
+
// Last update: Sat May 18 09:31:50 2024
|
|
5
5
|
{
|
|
6
6
|
"arch": "arm64",
|
|
7
7
|
"definitions": {
|
|
@@ -1952,7 +1952,7 @@
|
|
|
1952
1952
|
}
|
|
1953
1953
|
},
|
|
1954
1954
|
"retval": {
|
|
1955
|
-
"type": "
|
|
1955
|
+
"type": "@"
|
|
1956
1956
|
}
|
|
1957
1957
|
},
|
|
1958
1958
|
"typestr": "@?",
|
|
@@ -6963,5 +6963,5 @@
|
|
|
6963
6963
|
"NSUserActivity+MediaPlayerAdditions.h"
|
|
6964
6964
|
],
|
|
6965
6965
|
"release": "10.16",
|
|
6966
|
-
"sdk": "/Users/ronald/Applications/Xcode
|
|
6966
|
+
"sdk": "/Users/ronald/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk"
|
|
6967
6967
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// GENERATED FILE DO NOT EDIT
|
|
2
2
|
//
|
|
3
3
|
// This file was generated by objective.metadata
|
|
4
|
-
// Last update: Sat
|
|
4
|
+
// Last update: Sat May 18 09:31:47 2024
|
|
5
5
|
{
|
|
6
6
|
"arch": "x86_64",
|
|
7
7
|
"definitions": {
|
|
@@ -1952,7 +1952,7 @@
|
|
|
1952
1952
|
}
|
|
1953
1953
|
},
|
|
1954
1954
|
"retval": {
|
|
1955
|
-
"type": "
|
|
1955
|
+
"type": "@"
|
|
1956
1956
|
}
|
|
1957
1957
|
},
|
|
1958
1958
|
"typestr": "@?",
|
|
@@ -6963,5 +6963,5 @@
|
|
|
6963
6963
|
"NSUserActivity+MediaPlayerAdditions.h"
|
|
6964
6964
|
],
|
|
6965
6965
|
"release": "10.16",
|
|
6966
|
-
"sdk": "/Users/ronald/Applications/Xcode
|
|
6966
|
+
"sdk": "/Users/ronald/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk"
|
|
6967
6967
|
}
|
|
@@ -6,6 +6,7 @@ for information on how to use this framework and PyObjC's documentation
|
|
|
6
6
|
for general tips and tricks regarding the translation between Python
|
|
7
7
|
and (Objective-)C frameworks
|
|
8
8
|
"""
|
|
9
|
+
|
|
9
10
|
import os
|
|
10
11
|
import sys
|
|
11
12
|
|
|
@@ -14,7 +15,7 @@ sys.path.insert(0, os.path.dirname(__file__))
|
|
|
14
15
|
|
|
15
16
|
from pyobjc_setup import setup # noqa: E402
|
|
16
17
|
|
|
17
|
-
VERSION = "10.
|
|
18
|
+
VERSION = "10.3"
|
|
18
19
|
|
|
19
20
|
setup(
|
|
20
21
|
name="pyobjc-framework-MediaPlayer",
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
Python mapping for the MediaPlayer framework.
|
|
3
|
-
|
|
4
|
-
This module does not contain docstrings for the wrapped code, check Apple's
|
|
5
|
-
documentation for details on how to use these functions and classes.
|
|
6
|
-
"""
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
def _setup():
|
|
10
|
-
import sys
|
|
11
|
-
|
|
12
|
-
import AVFoundation
|
|
13
|
-
import objc
|
|
14
|
-
from . import _metadata
|
|
15
|
-
|
|
16
|
-
dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
|
|
17
|
-
name="MediaPlayer",
|
|
18
|
-
frameworkIdentifier="com.apple.MediaPlayer",
|
|
19
|
-
frameworkPath=objc.pathForFramework(
|
|
20
|
-
"/System/Library/Frameworks/MediaPlayer.framework"
|
|
21
|
-
),
|
|
22
|
-
globals_dict=globals(),
|
|
23
|
-
inline_list=None,
|
|
24
|
-
parents=(AVFoundation,),
|
|
25
|
-
metadict=_metadata.__dict__,
|
|
26
|
-
)
|
|
27
|
-
|
|
28
|
-
globals()["__dir__"] = dir_func
|
|
29
|
-
globals()["__getattr__"] = getattr_func
|
|
30
|
-
|
|
31
|
-
del sys.modules["MediaPlayer._metadata"]
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
globals().pop("_setup")()
|