Skip to content

Commit 0807816

Browse files
author
dsward2
committed
In AppDelegate, a new option is added for fixing process conflicts after a crash: the "LocalRadio CleanUp.workflow" is now available as an embedded app, so it is easier to run the process. The workflow remains available for the user to inspect, and it can be copied to a location outside the app for modification if needed.
In a separate change, after the user clicks or taps a Listen button for the first time, there will be one second of additional delay to allow the StreamingServer to get primed with audio data. The Credits and Licenses HTML page was updated and links were fixed.
1 parent cf87631 commit 0807816

13 files changed

Lines changed: 388 additions & 247 deletions

File tree

LocalRadio.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
0E87444223ECEDCD00D34F1B /* libsox.3.dylib in Copy Libraries */ = {isa = PBXBuildFile; fileRef = 0EA3EB7121FD846300DF4099 /* libsox.3.dylib */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
5858
0E87444323ECEDCD00D34F1B /* libsndfile.1.dylib in Copy Libraries */ = {isa = PBXBuildFile; fileRef = 0E56117521FBDC6B007C6DB3 /* libsndfile.1.dylib */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
5959
0E87444523ECEDCD00D34F1B /* libusb-1.0.0.dylib in Copy Libraries */ = {isa = PBXBuildFile; fileRef = 0E274E9B21DDCCC200337560 /* libusb-1.0.0.dylib */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
60+
0E885234241A0FCE001AF9E2 /* LocalRadio Clean-Up.app in Resources */ = {isa = PBXBuildFile; fileRef = 0E88520F241A0FCE001AF9E2 /* LocalRadio Clean-Up.app */; };
6061
0E96D56823FB80B5002F8968 /* StreamingServerController.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E96D56723FB80B5002F8968 /* StreamingServerController.m */; };
6162
0E96D56923FC435E002F8968 /* StreamingServer in Copy Tools */ = {isa = PBXBuildFile; fileRef = 0E87456523F3683A00D34F1B /* StreamingServer */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
6263
0E9A64EA1EC290C000F12613 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0E9A64E91EC290C000F12613 /* CoreAudio.framework */; };
@@ -1404,6 +1405,7 @@
14041405
0E84C9C81ED945E90065864B /* data_skeleton.sqlite3 */ = {isa = PBXFileReference; lastKnownFileType = file; path = data_skeleton.sqlite3; sourceTree = "<group>"; };
14051406
0E87456023F3683900D34F1B /* StreamingServer.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = StreamingServer.xcodeproj; path = StreamingServer/StreamingServer.xcodeproj; sourceTree = "<group>"; };
14061407
0E880CF51EDA606E007BEB99 /* viewfavorite.html */ = {isa = PBXFileReference; lastKnownFileType = text.html; path = viewfavorite.html; sourceTree = "<group>"; };
1408+
0E88520F241A0FCE001AF9E2 /* LocalRadio Clean-Up.app */ = {isa = PBXFileReference; lastKnownFileType = wrapper.application; path = "LocalRadio Clean-Up.app"; sourceTree = "<group>"; };
14071409
0E96D56623FB80B5002F8968 /* StreamingServerController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = StreamingServerController.h; sourceTree = "<group>"; };
14081410
0E96D56723FB80B5002F8968 /* StreamingServerController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = StreamingServerController.m; sourceTree = "<group>"; };
14091411
0E96D56A23FC84A2002F8968 /* fix_sox.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = fix_sox.sh; sourceTree = "<group>"; };
@@ -3563,6 +3565,7 @@
35633565
0E7309181F3EBB6300004907 /* Automator Scripts */ = {
35643566
isa = PBXGroup;
35653567
children = (
3568+
0E88520F241A0FCE001AF9E2 /* LocalRadio Clean-Up.app */,
35663569
0E7309191F3EBB6300004907 /* LocalRadio Clean-Up.workflow */,
35673570
);
35683571
name = "Automator Scripts";
@@ -4966,6 +4969,7 @@
49664969
0E84C9C91ED945E90065864B /* data_skeleton.sqlite3 in Resources */,
49674970
0E274FD221DF54F600337560 /* Assets.xcassets in Resources */,
49684971
0E560FAA21FB04E4007C6DB3 /* sox git and build notes.txt in Resources */,
4972+
0E885234241A0FCE001AF9E2 /* LocalRadio Clean-Up.app in Resources */,
49694973
0EF173871F6410B70067E8C0 /* LocalRadio Clean-Up.workflow in Resources */,
49704974
0EB8CB691F794A2B004B6D05 /* LocalRadio-animation.svg in Resources */,
49714975
0EF1735E1F60D2B30067E8C0 /* zip_lat_long.txt in Resources */,

LocalRadio/Automator Scripts/LocalRadio Clean-Up.app/Contents/Info.plist

Lines changed: 37 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
<key>AMStayOpen</key>
88
<false/>
99
<key>BuildMachineOSBuild</key>
10-
<string>15E8</string>
10+
<string>18A391012</string>
11+
<key>CFBundleAllowMixedLocalizations</key>
12+
<true/>
1113
<key>CFBundleDevelopmentRegion</key>
1214
<string>English</string>
1315
<key>CFBundleDocumentTypes</key>
@@ -32,15 +34,15 @@
3234
<key>CFBundleIconFile</key>
3335
<string>AutomatorApplet</string>
3436
<key>CFBundleIdentifier</key>
35-
<string>com.apple.automator.LocalRadio Clean-Up</string>
37+
<string>com.apple.automator.LocalRadio-Clean-Up</string>
3638
<key>CFBundleInfoDictionaryVersion</key>
3739
<string>6.0</string>
3840
<key>CFBundleName</key>
3941
<string>LocalRadio Clean-Up</string>
4042
<key>CFBundlePackageType</key>
4143
<string>APPL</string>
4244
<key>CFBundleShortVersionString</key>
43-
<string>1.2</string>
45+
<string>1.3</string>
4446
<key>CFBundleSignature</key>
4547
<string>????</string>
4648
<key>CFBundleSupportedPlatforms</key>
@@ -50,38 +52,55 @@
5052
<key>CFBundleURLTypes</key>
5153
<array/>
5254
<key>CFBundleVersion</key>
53-
<string>419</string>
55+
<string>492</string>
5456
<key>DTCompiler</key>
5557
<string>com.apple.compilers.llvm.clang.1_0</string>
5658
<key>DTPlatformBuild</key>
57-
<string>7C43</string>
59+
<string>11M392u</string>
60+
<key>DTPlatformName</key>
61+
<string>macosx</string>
5862
<key>DTPlatformVersion</key>
59-
<string>GM</string>
63+
<string>10.15</string>
6064
<key>DTSDKBuild</key>
61-
<string>15E8</string>
65+
<string>19D53</string>
6266
<key>DTSDKName</key>
63-
<string>macosx10.11internal</string>
67+
<string>macosx10.15internal</string>
6468
<key>DTXcode</key>
65-
<string>0720</string>
69+
<string>1100</string>
6670
<key>DTXcodeBuild</key>
67-
<string>7C43</string>
71+
<string>11M392u</string>
6872
<key>LSMinimumSystemVersion</key>
69-
<string>10.5</string>
70-
<key>LSMinimumSystemVersionByArchitecture</key>
71-
<dict>
72-
<key>x86_64</key>
73-
<string>10.6</string>
74-
</dict>
73+
<string>10.6</string>
7574
<key>LSUIElement</key>
7675
<true/>
76+
<key>NSAppleEventsUsageDescription</key>
77+
<string>This workflow needs to control other applications to run.</string>
78+
<key>NSAppleMusicUsageDescription</key>
79+
<string>This workflow needs access to your music to run.</string>
7780
<key>NSAppleScriptEnabled</key>
7881
<string>YES</string>
79-
<key>NSMainNibFile</key>
80-
<string>ApplicationStub</string>
82+
<key>NSCalendarsUsageDescription</key>
83+
<string>This workflow needs access to your calendars to run.</string>
84+
<key>NSCameraUsageDescription</key>
85+
<string>This workflow needs access to your camera to run.</string>
86+
<key>NSContactsUsageDescription</key>
87+
<string>This workflow needs access to your contacts to run.</string>
88+
<key>NSHomeKitUsageDescription</key>
89+
<string>This workflow needs access to your HomeKit Home to run.</string>
90+
<key>NSMicrophoneUsageDescription</key>
91+
<string>This workflow needs access to your microphone to run.</string>
92+
<key>NSPhotoLibraryUsageDescription</key>
93+
<string>This workflow needs access to your photos to run.</string>
8194
<key>NSPrincipalClass</key>
8295
<string>NSApplication</string>
96+
<key>NSRemindersUsageDescription</key>
97+
<string>This workflow needs access to your reminders to run.</string>
8398
<key>NSServices</key>
8499
<array/>
100+
<key>NSSiriUsageDescription</key>
101+
<string>This workflow needs access to Siri to run.</string>
102+
<key>NSSystemAdministrationUsageDescription</key>
103+
<string>This workflow needs access to administer this system in order to run.</string>
85104
<key>UTExportedTypeDeclarations</key>
86105
<array/>
87106
<key>UTImportedTypeDeclarations</key>
Binary file not shown.

0 commit comments

Comments
 (0)