Skip to content

Commit c0dba0b

Browse files
committed
Add thumbnails to previews
1 parent 224e8d7 commit c0dba0b

11 files changed

Lines changed: 386 additions & 313 deletions

BUILDING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ All plugins produce output in the system log. Use the filter `subsystem:marginal
2929

3030
To debug in Xcode:
3131
* mdimporter - Edit the "Run" scheme for the "mdimporter" target as follows: "Executable": `/usr/bin/mdimport`, "Debug executable": ✔, "Arguments": `-n -d3 <testfile>`.
32-
* previewer - Run the "previewer" target in Xcode, then `qlmanage -p <testfile>` at the command-line.
32+
* previewer - Run the "previewer" target in Xcode. When prompted, choose "Finder" as the app to run. In any Finder window press Space to preview a non-native video file.
3333
* thumbnailer - Doesn't seem possible to debug in Xcode. Good luck!
3434

3535
Notes

QLVideo.xcodeproj/project.pbxproj

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 74;
6+
objectVersion = 70;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -356,7 +356,6 @@
356356
ABE69D332D2A350700CE6C69 /* PBXFileSystemSynchronizedBuildFileExceptionSet */ = {
357357
isa = PBXFileSystemSynchronizedBuildFileExceptionSet;
358358
membershipExceptions = (
359-
/Localized/Localizable.strings,
360359
Info.plist,
361360
);
362361
target = ABE69D232D2A350700CE6C69 /* previewer */;
@@ -770,6 +769,7 @@
770769
};
771770
};
772771
buildConfigurationList = AB9FB5681965DD7200D39647 /* Build configuration list for PBXProject "QLVideo" */;
772+
compatibilityVersion = "Xcode 3.2";
773773
developmentRegion = en;
774774
hasScannedForEncodings = 0;
775775
knownRegions = (
@@ -794,7 +794,6 @@
794794
"zh-Hans",
795795
);
796796
mainGroup = AB9FB5641965DD7200D39647;
797-
preferredProjectObjectVersion = 46;
798797
productRefGroup = AB9FB56E1965DD7200D39647 /* Products */;
799798
projectDirPath = "";
800799
projectRoot = "";

previewer/Base.lproj/PreviewViewController.xib

Lines changed: 0 additions & 22 deletions
This file was deleted.

previewer/Info.plist

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>NSExtensionAttributes</key>
1616
<dict>
1717
<key>QLIsDataBasedPreview</key>
18-
<true/>
18+
<false/>
1919
<key>QLSupportedContentTypes</key> <!-- Keep in sync with mdimporter -->
2020
<array>
2121
<!-- Try to handle everything -->
@@ -191,12 +191,12 @@
191191

192192
</array>
193193
<key>QLSupportsSearchableItems</key>
194-
<true/>
194+
<false/>
195195
</dict>
196196
<key>NSExtensionPointIdentifier</key>
197197
<string>com.apple.quicklook.preview</string>
198198
<key>NSExtensionPrincipalClass</key>
199-
<string>$(PRODUCT_MODULE_NAME).PreviewProvider</string>
199+
<string>$(PRODUCT_MODULE_NAME).PreviewViewController</string>
200200
</dict>
201201
<key>NSHumanReadableCopyright</key>
202202
<string>${INFOPLIST_KEY_NSHumanReadableCopyright}</string>

previewer/PreviewProvider.swift

Lines changed: 0 additions & 218 deletions
This file was deleted.

0 commit comments

Comments
 (0)