diff --git a/App/English.lproj/MainMenu.xib b/App/English.lproj/MainMenu.xib index 64754e19..9314b123 100644 --- a/App/English.lproj/MainMenu.xib +++ b/App/English.lproj/MainMenu.xib @@ -1,11 +1,10 @@ - + - + - @@ -15,7 +14,7 @@ - + @@ -472,7 +471,7 @@ CA - + @@ -538,7 +537,7 @@ CA @@ -552,13 +551,13 @@ CA - + - + @@ -579,8 +578,8 @@ CA - - + + @@ -599,8 +598,8 @@ CA - - + + @@ -608,6 +607,12 @@ CA + + + + NSNegateBoolean + + Editing Multiple @@ -618,8 +623,8 @@ CA - - + + @@ -638,8 +643,8 @@ CA - - + + @@ -659,7 +664,7 @@ CA - + @@ -806,7 +811,7 @@ CA - + @@ -815,7 +820,7 @@ CA - + @@ -824,7 +829,7 @@ CA - + @@ -833,7 +838,7 @@ CA - + @@ -842,7 +847,7 @@ CA - + @@ -851,7 +856,7 @@ CA - + @@ -860,7 +865,7 @@ CA - + @@ -870,11 +875,11 @@ CA - + - + r @@ -934,8 +939,8 @@ CA - - + + @@ -954,8 +959,8 @@ CA - - + + @@ -963,6 +968,12 @@ CA + + + + NSNegateBoolean + + Editing Multiple @@ -973,8 +984,8 @@ CA - - + + @@ -982,6 +993,12 @@ CA + + + + NSNegateBoolean + + Editing Multiple @@ -992,7 +1009,7 @@ CA - + @@ -1005,25 +1022,25 @@ CA - + - + - + - + - - + + - + @@ -1050,7 +1067,7 @@ CA - - + + @@ -1083,21 +1100,21 @@ CA - + - + - + - - + + - + @@ -1122,8 +1139,8 @@ CA - - + + @@ -1132,7 +1149,7 @@ CA - - + + @@ -1372,8 +1389,8 @@ CA - - + + @@ -1391,8 +1408,8 @@ CA - - + + @@ -1410,8 +1427,8 @@ CA - - + + @@ -1429,7 +1446,7 @@ CA - + @@ -1438,7 +1455,7 @@ CA - + @@ -1447,7 +1464,7 @@ CA - + @@ -1456,7 +1473,7 @@ CA - + @@ -1465,8 +1482,8 @@ CA - - + + @@ -1478,14 +1495,14 @@ CA - + - + - - + + @@ -1493,6 +1510,7 @@ CA + Editing Multiple @@ -1504,7 +1522,7 @@ CA - + @@ -1527,8 +1545,8 @@ CA - - + + @@ -1548,7 +1566,7 @@ CA - + @@ -1571,8 +1589,8 @@ CA - - + + @@ -1585,6 +1603,7 @@ CA + Editing Multiple @@ -1596,7 +1615,7 @@ CA - + @@ -1619,8 +1638,8 @@ CA - - + + @@ -1644,7 +1663,7 @@ CA - + @@ -1667,8 +1686,8 @@ CA - - + + @@ -1687,7 +1706,7 @@ CA - + @@ -1725,7 +1744,7 @@ CA - + @@ -1743,7 +1762,7 @@ CA - + @@ -1752,7 +1771,7 @@ CA - + @@ -1770,7 +1789,7 @@ CA - + @@ -1779,7 +1798,7 @@ CA - + @@ -1797,7 +1816,7 @@ CA - + @@ -1806,7 +1825,7 @@ CA - + @@ -1824,7 +1843,7 @@ CA - + @@ -1833,7 +1852,7 @@ CA - + @@ -1851,7 +1870,7 @@ CA - + @@ -1860,7 +1879,7 @@ CA - + @@ -1950,7 +1969,7 @@ CA - + @@ -1969,7 +1988,7 @@ CA - + @@ -1978,7 +1997,7 @@ CA - + @@ -1997,7 +2016,7 @@ CA - + @@ -2006,7 +2025,7 @@ CA - + @@ -2025,7 +2044,7 @@ CA - + @@ -2034,7 +2053,7 @@ CA - + @@ -2053,7 +2072,7 @@ CA - + @@ -2062,7 +2081,7 @@ CA - + @@ -2082,7 +2101,7 @@ CA - + @@ -2091,7 +2110,7 @@ CA - + @@ -2124,7 +2143,7 @@ CA - + @@ -2190,12 +2209,12 @@ CA + NSIsNotNil - @@ -2266,9 +2285,9 @@ CA + - @@ -2283,7 +2302,7 @@ CA - + @@ -2297,7 +2316,7 @@ CA - + @@ -2317,8 +2336,8 @@ CA - + @@ -2683,6 +2702,8 @@ DQ + + diff --git a/App/English.lproj/PreferencesWindow.xib b/App/English.lproj/PreferencesWindow.xib index aad3c726..de763f5e 100644 --- a/App/English.lproj/PreferencesWindow.xib +++ b/App/English.lproj/PreferencesWindow.xib @@ -1,3709 +1,515 @@ - - - - 1050 - 10K549 - 851 - 1038.36 - 461.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 851 - - - YES - - - - - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - YES - - YES - - - YES - - - - YES - - PreferencesWindowController - - - FirstResponder - - - NSApplication - - - 3 - 2 - {{346, 286}, {595, 354}} - 536871936 - Preferences - NSWindow - - - A840A47F-9703-45CB-A141-B966E758B1F4 - - - YES - YES - NO - YES - 1 - 1 - - YES - - YES - 40426690-7824-4F3D-984E-8146129E9D7A - C209B770-8C79-4F12-9A46-E7EC9CDB4701 - EE7EADA0-8CE9-431B-B15D-F8CE0107D229 - - - YES - - - 40426690-7824-4F3D-984E-8146129E9D7A - - General - General - - - - NSImage - NSPreferencesGeneral - - - - {0, 0} - {0, 0} - YES - YES - 0 - YES - 0 - - - - C209B770-8C79-4F12-9A46-E7EC9CDB4701 - - Plug-ins - Plug-ins - - - - - - {0, 0} - {0, 0} - YES - YES - 2 - YES - 0 - - - - EE7EADA0-8CE9-431B-B15D-F8CE0107D229 - - File - File - - - - - - {0, 0} - {0, 0} - YES - YES - 1 - YES - 0 - - - - - YES - - - - - - YES - - - - - - YES - - - {1.79769e+308, 1.79769e+308} - - - 256 - {595, 354} - - - {{0, 0}, {1440, 878}} - {1.79769e+308, 1.79769e+308} - preferences - - - - YES - builtIn - label - enabled - - YES - - YES - YES - YES - YES - YES - - - SUUpdater - - - - 274 - - YES - - - 276 - - YES - - - 2304 - - YES - - - 256 - {156, 278} - - YES - - - 256 - {156, 17} - - - - - - -2147483392 - {{-26, 0}, {16, 17}} - - - - YES - - 14 - 10 - 3.4028234663852886e+38 - - 75628096 - 2048 - - - LucidaGrande - 11 - 3100 - - - 6 - System - headerColor - - 3 - MQA - - - - 6 - System - headerTextColor - - 3 - MAA - - - - - 67239424 - 131072 - Check - - - 1211912703 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - 3 - YES - YES - - - - 136 - 40 - 1000 - - 75628096 - 2048 - Plug-in preferences - - - 3 - MC4zMzMzMzI5OQA - - - - - 337772096 - 2048 - Text Cell - - LucidaGrande - 13 - 1044 - - - - 6 - System - controlBackgroundColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - - - 3 - YES - YES - - - - 3 - 2 - - - 6 - System - gridColor - - 3 - MC41AA - - - 17 - -767557632 - - - 4 - 15 - 0 - YES - 0 - - - {{1, 17}, {156, 278}} - - - - - 4 - - - - -2147483392 - {{142, 17}, {15, 262}} - - - _doScroller: - 37 - 0.19473679999999999 - - - - -2147483392 - {{-100, -100}, {141, 15}} - - 1 - - _doScroller: - 0.57142859999999995 - - - - 2304 - - YES - - - {{1, 0}, {156, 17}} - - - - - 4 - - - - {{20, 38}, {158, 296}} - - - 530 - - - - - - QSAAAEEgAABBmAAAQZgAAA - - - - 274 - {{186, 38}, {389, 296}} - - NSView - - - - 292 - {{20, 8}, {25, 23}} - - YES - - 67239424 - 0 - - - - YES - - 23 - - NSImage - NSAddTemplate - - - 0 - - - -1 - 2 - 6 - - - - {595, 354} - - - - - 256 - - YES - - - 268 - {{125, 303}, {181, 18}} - - YES - - -2080244224 - 131072 - Check daily - - - 1211912703 - 2 - - - - - 200 - 25 - - - - - 268 - {{125, 95}, {40, 18}} - - YES - - -2080244224 - 131072 - UK - - - 1211912703 - 2 - - - - - 200 - 25 - - - - - 268 - {{17, 97}, {106, 14}} - - YES - - 68288064 - 71435264 - Show ratings from: - - - - 6 - System - controlColor - - - - - - - - 268 - {{169, 95}, {39, 18}} - - YES - - -2080244224 - 131072 - DE - - - 1211912703 - 2 - - - - - 200 - 25 - - - - - 268 - {{212, 95}, {33, 18}} - - YES - - -2080244224 - 131072 - IE - - - 1211912703 - 2 - - - - - 200 - 25 - - - - - 268 - {{249, 95}, {40, 18}} - - YES - - -2080244224 - 131072 - CA - - - 1211912703 - 2 - - - - - 200 - 25 - - - - - 268 - {{293, 95}, {40, 18}} - - YES - - -2080244224 - 131072 - AU - - - 1211912703 - 2 - - - - - 200 - 25 - - - - - 268 - {{337, 95}, {40, 18}} - - YES - - -2080244224 - 131072 - NZ - - - 1211912703 - 2 - - - - - 200 - 25 - - - - - 268 - {{20, 19}, {194, 23}} - - YES - - -2080244224 - 134348800 - Clear user created genres - - - -2033434369 - 162 - - - 400 - 75 - - - - - 268 - {{222, 19}, {114, 23}} - - YES - - -2080244224 - 134348800 - Reset all alerts - - - -2033434369 - 162 - - - 400 - 75 - - - - - 268 - {{17, 267}, {106, 14}} - - YES - - 68288064 - 71435264 - When Done: - - - - - - - - - 268 - {{17, 62}, {106, 14}} - - YES - - 68288064 - 71435264 - Search: - - - - - - - - - 268 - {{17, 305}, {106, 14}} - - YES - - 68288064 - 71435264 - Updates: - - - - - - - - - 268 - {{125, 60}, {153, 18}} - - YES - - -2080244224 - 131072 - Enable auto-search - - - 1211912703 - 2 - - - - - 200 - 25 - - - - - 268 - - YES - - - 2304 - - YES - - - 256 - {192, 128} - - YES - - - -2147483392 - {{224, 0}, {16, 17}} - - - YES - - 18 - 18 - 1000 - - 75628096 - 2048 - - - - 3 - MC4zMzMzMzI5ODU2AA - - - - - 67239424 - 131072 - - - - 1211912703 - 2 - - - - - 200 - 25 - - - - - 168 - 40 - 1000 - - 75628096 - 2048 - - - - - - - 337772096 - 133120 - Text Cell - - - - - - 3 - YES - YES - - - - 3 - 2 - - - 18 - 306184192 - - - 4 - 15 - 0 - YES - 0 - - - {{1, 1}, {192, 128}} - - - - - 4 - - - - -2147483392 - {{224, 17}, {15, 102}} - - - _doScroller: - 0.9925373134328358 - - - - -2147483392 - {{1, 119}, {223, 15}} - - 1 - - _doScroller: - 0.99509803921568629 - - - {{142, 151}, {194, 130}} - - - 562 - - - - QSAAAEEgAABBoAAAQaAAAA - - - {395, 339} - - - - - 256 - - YES - - - 268 - {{17, 208}, {208, 14}} - - YES - - 68288064 - 71435264 - All new files have video type: - - - - - - - - - 268 - {{18, 149}, {157, 18}} - - YES - - -2080244224 - 131072 - Put originals in Trash - - - 1211912703 - 2 - - - - - 200 - 25 - - - - - 265 - {{236, 203}, {145, 22}} - - YES - - -2076049856 - 133120 - - - 109199615 - 268435585 - - t - 400 - 75 - - - Prompt me - - 2147483647 - 1 - - NSImage - NSMenuCheckmark - - - NSImage - NSMenuMixedState - - _popUpItemAction: - -1 - - - YES - - OtherViews - - YES - - - - YES - YES - - - 2147483647 - - - _popUpItemAction: - -1 - - - - - Home Movie - - 2147483647 - - - _popUpItemAction: - - - - - Normal - - 2147483647 - - - _popUpItemAction: - 1 - - - - - Audiobook - - 2147483647 - - - _popUpItemAction: - 2 - - - - - Whacked Bookmark - - 2147483647 - - - _popUpItemAction: - 5 - - - - - Music Video - - 2147483647 - - - _popUpItemAction: - 6 - - - - - Movie - - 2147483647 - - - _popUpItemAction: - 9 - - - - - TV Show - - 2147483647 - - - _popUpItemAction: - 10 - - - - - Booklet - - 2147483647 - - - _popUpItemAction: - 11 - - - - - Ringtone - - 2147483647 - - - _popUpItemAction: - 14 - - - - - Podcast - - 2147483647 - - - _popUpItemAction: - 21 - - - - - iTunes U - - 2147483647 - - - _popUpItemAction: - 23 - - - - - 1 - YES - YES - 2 - - - - - 268 - {{54, 129}, {146, 14}} - - YES - - 68288064 - 272761856 - When move to Trash fails: - - - - - - - - - 268 - {{208, 126}, {88, 22}} - - YES - - -2076049856 - 133120 - - - 109199615 - 129 - - - 400 - 75 - - - Remove - - 1048576 - 2147483647 - 1 - - - _popUpItemAction: - 2 - - - YES - - OtherViews - - YES - - - Prompt me - - 1048576 - 2147483647 - - - _popUpItemAction: - - - - - Keep - - 1048576 - 2147483647 - - - _popUpItemAction: - 1 - - - - - - - 2 - 1 - YES - YES - 2 - - - - {398, 242} - - - - YES - - - - YES - enabled - label - canEnable - - YES - - YES - YES - YES - YES - YES - - - - - YES - - - selectTabFromTag: - - - - 27 - - - - selectTabFromTag: - - - - 30 - - - - pluginsButton - - - - 53 - - - - delegate - - - - 61 - - - - window - - - - 62 - - - - contentArray: pluginController.loadedPlugins - - - - - - contentArray: pluginController.loadedPlugins - contentArray - pluginController.loadedPlugins - 2 - - - 66 - - - - value: automaticallyChecksForUpdates - - - - - - value: automaticallyChecksForUpdates - value - automaticallyChecksForUpdates - 2 - - - 92 - - - - pluginsView - - - - 93 - - - - generalView - - - - 94 - - - - foldersButton - - - - 118 - - - - fileView - - - - 140 - - - - value: values.putOriginalsInTrash - - - - - - value: values.putOriginalsInTrash - value - values.putOriginalsInTrash - 2 - - - 160 - - - - selectTabFromTag: - - - - 164 - - - - value: arrangedObjects.label - - - - - - value: arrangedObjects.label - value - arrangedObjects.label - - NSAllowsEditingMultipleValuesSelection - - - 2 - - - 167 - - - - selectedTag: values.incomingVideoType - - - - - - selectedTag: values.incomingVideoType - selectedTag - values.incomingVideoType - - YES - - YES - NSMultipleValuesPlaceholder - NSNoSelectionPlaceholder - NSNotApplicablePlaceholder - NSNullPlaceholder - - - YES - - - - - - - 2 - - - 193 - - - - value: values.ratingDE - - - - - - value: values.ratingDE - value - values.ratingDE - 2 - - - 197 - - - - value: values.ratingIE - - - - - - value: values.ratingIE - value - values.ratingIE - 2 - - - 199 - - - - value: values.ratingCA - - - - - - value: values.ratingCA - value - values.ratingCA - 2 - - - 201 - - - - value: values.ratingAU - - - - - - value: values.ratingAU - value - values.ratingAU - 2 - - - 203 - - - - value: values.ratingNZ - - - - - - value: values.ratingNZ - value - values.ratingNZ - 2 - - - 205 - - - - clearGenres: - - - - 206 - - - - value: values.ratingUK - - - - - - value: values.ratingUK - value - values.ratingUK - 2 - - - 208 - - - - clearAlerts: - - - - 209 - - - - value: values.autoSearch - - - - - - value: values.autoSearch - value - values.autoSearch - 2 - - - 235 - - - - value: arrangedObjects.enabled - - - - - - value: arrangedObjects.enabled - value - arrangedObjects.enabled - - NSConditionallySetsEditable - - - 2 - - - 250 - - - - selectedTag: values.actionWhenTrashFailes - - - - - - selectedTag: values.actionWhenTrashFailes - selectedTag - values.actionWhenTrashFailes - 2 - - - 260 - - - - enabled: values.putOriginalsInTrash - - - - - - enabled: values.putOriginalsInTrash - enabled - values.putOriginalsInTrash - 2 - - - 262 - - - - enabled: values.putOriginalsInTrash - - - - - - enabled: values.putOriginalsInTrash - enabled - values.putOriginalsInTrash - 2 - - - 264 - - - - contentArray: pluginController.actionsPlugins - - - - - - contentArray: pluginController.actionsPlugins - contentArray - pluginController.actionsPlugins - 2 - - - 277 - - - - value: arrangedObjects.enabled - - - - - - value: arrangedObjects.enabled - value - arrangedObjects.enabled - 2 - - - 279 - - - - value: arrangedObjects.label - - - - - - value: arrangedObjects.label - value - arrangedObjects.label - 2 - - - 281 - - - - enabled: arrangedObjects.canEnable - - - - - - enabled: arrangedObjects.canEnable - enabled - arrangedObjects.canEnable - 2 - - - 283 - - - - - YES - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 1 - - - YES - - - - - - - 2 - - - YES - - - - - 12 - - - YES - - - - - - - - 20 - - - - - 28 - - - - - 57 - - - Plugins - - - 68 - - - - - 75 - - - YES - - - - - - Plug-ins View - - - 77 - - - - - 79 - - - YES - - - - - - - - - 80 - - - - - 81 - - - YES - - - - - - - 82 - - - - - 83 - - - - - 84 - - - YES - - - - - - 85 - - - - - 88 - - - YES - - - - - - - - - - - - - - - - - - General View - - - 89 - - - YES - - - - - - 90 - - - - - 99 - - - YES - - - - - - 100 - - - - - 101 - - - YES - - - - - - 102 - - - - - 103 - - - YES - - - - - - 104 - - - - - 105 - - - YES - - - - - - 106 - - - - - 107 - - - YES - - - - - - 108 - - - - - 109 - - - YES - - - - - - 110 - - - - - 111 - - - YES - - - - - - 112 - - - - - 113 - - - YES - - - - - - 114 - - - - - 115 - - - YES - - - - - - 116 - - - - - 117 - - - - - 119 - - - YES - - - - - - - - File View - - - 141 - - - YES - - - - - - 142 - - - - - 154 - - - YES - - - - - - 155 - - - - - 159 - - - - - 175 - - - YES - - - - - - 176 - - - YES - - - - - - 177 - - - YES - - - - - - - - - - - - - - - - - - 178 - - - - - 179 - - - - - 180 - - - - - 181 - - - - - 182 - - - - - 183 - - - - - 184 - - - - - 185 - - - - - 188 - - - - - 189 - - - - - 220 - - - YES - - - - - - 221 - - - - - 226 - - - YES - - - - - - 227 - - - - - 228 - - - YES - - - - - - 229 - - - - - 230 - - - YES - - - - - - 231 - - - - - 232 - - - YES - - - - - - 233 - - - - - 246 - - - YES - - - - - - 248 - - - - - 251 - - - YES - - - - - - 252 - - - - - 253 - - - YES - - - - - - 254 - - - YES - - - - - - 255 - - - YES - - - - - - - - 256 - - - - - 257 - - - - - 258 - - - - - 265 - - - YES - - - - - - - - 266 - - - - - 267 - - - - - 268 - - - YES - - - - - - - 270 - - - YES - - - - - - 271 - - - YES - - - - - - 272 - - - - - 274 - - - - - 275 - - - Actions Controller - - - 284 - - - - - 285 - - - - - 286 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 1.IBEditorWindowLastContentRect - 1.IBPluginDependency - 1.IBWindowTemplateEditedContentRect - 1.NSWindowTemplate.visibleAtLaunch - 1.WindowOrigin - 1.editorWindowContentRectSynchronizationRect - 100.IBPluginDependency - 101.IBPluginDependency - 101.IBViewBoundsToFrameTransform - 102.IBPluginDependency - 103.IBPluginDependency - 103.IBViewBoundsToFrameTransform - 104.IBPluginDependency - 105.IBPluginDependency - 105.IBViewBoundsToFrameTransform - 106.IBPluginDependency - 107.IBPluginDependency - 107.IBViewBoundsToFrameTransform - 108.IBPluginDependency - 109.IBPluginDependency - 109.IBViewBoundsToFrameTransform - 110.IBPluginDependency - 111.IBPluginDependency - 111.IBViewBoundsToFrameTransform - 112.IBPluginDependency - 113.IBPluginDependency - 113.IBViewBoundsToFrameTransform - 114.IBPluginDependency - 115.IBPluginDependency - 115.IBViewBoundsToFrameTransform - 116.IBPluginDependency - 117.IBPluginDependency - 119.IBEditorWindowLastContentRect - 119.IBPluginDependency - 12.IBEditorWindowLastContentRect - 12.IBPluginDependency - 141.IBPluginDependency - 142.IBPluginDependency - 154.IBPluginDependency - 155.IBPluginDependency - 175.IBAttributePlaceholdersKey - 175.IBPluginDependency - 176.IBPluginDependency - 177.IBEditorWindowLastContentRect - 177.IBPluginDependency - 178.IBPluginDependency - 179.IBPluginDependency - 180.IBPluginDependency - 181.IBPluginDependency - 182.IBPluginDependency - 183.IBPluginDependency - 184.IBPluginDependency - 185.IBPluginDependency - 188.IBPluginDependency - 189.IBPluginDependency - 2.IBPluginDependency - 20.IBPluginDependency - 220.IBPluginDependency - 221.IBPluginDependency - 226.IBPluginDependency - 226.IBSegmentedControlTracker.RoundRobinState - 226.IBSegmentedControlTracker.WasGrowing - 227.IBPluginDependency - 227.IBSegmentedControlInspectorSelectedSegmentMetadataKey - 228.IBPluginDependency - 228.IBViewBoundsToFrameTransform - 229.IBPluginDependency - 230.IBPluginDependency - 231.IBPluginDependency - 232.IBAttributePlaceholdersKey - 232.IBPluginDependency - 232.IBViewBoundsToFrameTransform - 233.IBPluginDependency - 248.IBPluginDependency - 251.IBPluginDependency - 252.IBPluginDependency - 253.IBPluginDependency - 254.IBPluginDependency - 255.IBEditorWindowLastContentRect - 255.IBPluginDependency - 256.IBPluginDependency - 257.IBPluginDependency - 258.IBPluginDependency - 265.IBPluginDependency - 265.IBViewBoundsToFrameTransform - 266.IBPluginDependency - 267.IBPluginDependency - 268.IBPluginDependency - 270.IBPluginDependency - 271.IBPluginDependency - 272.IBPluginDependency - 274.IBPluginDependency - 275.IBPluginDependency - 28.IBPluginDependency - 284.IBPluginDependency - 285.IBPluginDependency - 286.IBPluginDependency - 57.IBPluginDependency - 68.IBPluginDependency - 75.IBAttributePlaceholdersKey - 75.IBEditorWindowLastContentRect - 75.IBPluginDependency - 77.IBPluginDependency - 79.IBPluginDependency - 80.IBPluginDependency - 81.IBPluginDependency - 82.IBPluginDependency - 83.IBPluginDependency - 84.IBPluginDependency - 85.IBPluginDependency - 88.IBEditorWindowLastContentRect - 88.IBPluginDependency - 89.IBPluginDependency - 90.IBPluginDependency - 99.IBPluginDependency - 99.IBViewBoundsToFrameTransform - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - {{165, 26}, {595, 354}} - com.apple.InterfaceBuilder.CocoaPlugin - {{165, 26}, {595, 354}} - - {196, 240} - {{357, 418}, {480, 270}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - P4AAAL+AAABBiAAAw3MAAA - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - P4AAAL+AAABDKQAAw3UAAA - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - P4AAAL+AAABDVAAAw3UAAA - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - P4AAAL+AAABDeQAAw3UAAA - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - P4AAAL+AAABDkoAAw3UAAA - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - P4AAAL+AAABDqIAAw3UAAA - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - P4AAAL+AAABBoAAAwy4AAA - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - P4AAAL+AAABDXgAAwy4AAA - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - {{619, 482}, {398, 242}} - com.apple.InterfaceBuilder.CocoaPlugin - {{154, 380}, {617, 0}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - ToolTip - - ToolTip - - A new file is one where the video type field is not already set .This preference is used to set a default value. - - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - {{844, 490}, {154, 217}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - P4AAAL+AAABBiAAAw1AAAA - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - ToolTip - - ToolTip - - Check to automaticly perform a search when a new file is selected or the video type is changed - - - com.apple.InterfaceBuilder.CocoaPlugin - - P4AAAL+AAABC+gAAw1IAAA - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - {{816, 576}, {166, 54}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - P4AAAL+AAABDPAAAw5CAAA - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - YES - - - YES - - - {{498, 90}, {595, 354}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - {{156, 251}, {395, 339}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - P4AAAL+AAABC+gAAw3UAAA - - - - - YES - - - YES - - - - - YES - - - YES - - - - 286 - - - - YES - - NSObject - - IBProjectSource - App/src/UndoTableView.h - - - - NSObject - - IBProjectSource - Externals/google-toolbox-for-mac/AppKit/GTMCarbonEvent.h - - - - NSObject - - IBProjectSource - Externals/google-toolbox-for-mac/AppKit/GTMDelegatingTableColumn.h - - - - NSObject - - IBProjectSource - Externals/google-toolbox-for-mac/Foundation/GTMHTTPServer.h - - - - NSObject - - IBProjectSource - Externals/google-toolbox-for-mac/Foundation/GTMNSAppleEventDescriptor+Foundation.h - - - - NSObject - - IBProjectSource - Externals/google-toolbox-for-mac/Foundation/GTMNSObject+KeyValueObserving.h - - - - NSObject - - IBProjectSource - Framework/src/MetaData.h - - - - NSObject - - IBProjectSource - Framework/src/NSFileManager+MZAsync.h - - - - NSObject - - IBProjectSource - Framework/src/NSObject+ProtectedKeyValue.h - - - - NSObject - - IBProjectSource - Framework/src/NSObject+WaitUntilChange.h - - - - NSView - - IBProjectSource - Externals/google-toolbox-for-mac/AppKit/GTMTheme.h - - - - NSWindow - - - - PreferencesWindowController - NSWindowController - - YES - - YES - addPlugin: - clearAlerts: - clearGenres: - removePlugin: - selectTabFromTag: - - - YES - id - id - id - id - id - - - - YES - - YES - addPlugin: - clearAlerts: - clearGenres: - removePlugin: - selectTabFromTag: - - - YES - - addPlugin: - id - - - clearAlerts: - id - - - clearGenres: - id - - - removePlugin: - id - - - selectTabFromTag: - id - - - - - YES - - YES - fileView - foldersButton - generalView - pluginsButton - pluginsView - - - YES - NSView - NSToolbarItem - NSView - NSToolbarItem - NSView - - - - YES - - YES - fileView - foldersButton - generalView - pluginsButton - pluginsView - - - YES - - fileView - NSView - - - foldersButton - NSToolbarItem - - - generalView - NSView - - - pluginsButton - NSToolbarItem - - - pluginsView - NSView - - - - - IBProjectSource - App/src/PreferencesWindowController.h - - - - - YES - - NSActionCell - NSCell - - IBFrameworkSource - AppKit.framework/Headers/NSActionCell.h - - - - NSApplication - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSApplication.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSApplicationScripting.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSColorPanel.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSHelpManager.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSPageLayout.h - - - - NSArrayController - NSObjectController - - IBFrameworkSource - AppKit.framework/Headers/NSArrayController.h - - - - NSButton - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSButton.h - - - - NSButtonCell - NSActionCell - - IBFrameworkSource - AppKit.framework/Headers/NSButtonCell.h - - - - NSCell - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSCell.h - - - - NSControl - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSControl.h - - - - NSController - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSController.h - - - - NSFormatter - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFormatter.h - - - - NSManagedObjectContext - NSObject - - IBFrameworkSource - CoreData.framework/Headers/NSManagedObjectContext.h - - - - NSMenu - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSMenu.h - - - - NSMenuItem - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSMenuItem.h - - - - NSMenuItemCell - NSButtonCell - - IBFrameworkSource - AppKit.framework/Headers/NSMenuItemCell.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSAccessibility.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSAlert.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSAnimation.h - - - - NSObject - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSBrowser.h - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSComboBox.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSComboBoxCell.h - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDatePickerCell.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDictionaryController.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDragging.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDrawer.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSFontManager.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSFontPanel.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSImage.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSKeyValueBinding.h - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSNibLoading.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSOutlineView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSPasteboard.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSRuleEditor.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSSavePanel.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSSound.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSSpeechRecognizer.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSSpeechSynthesizer.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSSplitView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSTabView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSTableView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSText.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSTextStorage.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSTextView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSTokenField.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSTokenFieldCell.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSToolbar.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSToolbarItem.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSWindow.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSClassDescription.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSConnection.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSError.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFileManager.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueObserving.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyedArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSMetadata.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSNetServices.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObject.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObjectScripting.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSPort.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSPortCoder.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSRunLoop.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptClassDescription.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptObjectSpecifiers.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptWhoseTests.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSSpellServer.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSStream.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSThread.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURL.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLConnection.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLDownload.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSXMLParser.h - - - - NSObject - - IBFrameworkSource - ImageKit.framework/Headers/IKImageBrowserView.h - - - - NSObject - - IBFrameworkSource - ImageKit.framework/Headers/ImageKitDeprecated.h - - - - NSObject - - IBFrameworkSource - PDFKit.framework/Headers/PDFDocument.h - - - - NSObject - - IBFrameworkSource - PDFKit.framework/Headers/PDFView.h - - - - NSObject - - IBFrameworkSource - QuartzComposer.framework/Headers/QCCompositionParameterView.h - - - - NSObject - - IBFrameworkSource - QuartzComposer.framework/Headers/QCCompositionPickerView.h - - - - NSObject - - IBFrameworkSource - QuartzFilters.framework/Headers/QuartzFilterManager.h - - - - NSObject - - IBFrameworkSource - Sparkle.framework/Headers/SUAppcast.h - - - - NSObject - - IBFrameworkSource - Sparkle.framework/Headers/SUUpdater.h - - - - NSObjectController - NSController - - IBFrameworkSource - AppKit.framework/Headers/NSObjectController.h - - - - NSPopUpButton - NSButton - - IBFrameworkSource - AppKit.framework/Headers/NSPopUpButton.h - - - - NSPopUpButtonCell - NSMenuItemCell - - IBFrameworkSource - AppKit.framework/Headers/NSPopUpButtonCell.h - - - - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSInterfaceStyle.h - - - - NSResponder - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSResponder.h - - - - NSScrollView - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSScrollView.h - - - - NSScroller - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSScroller.h - - - - NSSegmentedCell - NSActionCell - - IBFrameworkSource - AppKit.framework/Headers/NSSegmentedCell.h - - - - NSSegmentedControl - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSSegmentedControl.h - - - - NSTableColumn - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSTableColumn.h - - - - NSTableHeaderView - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSTableHeaderView.h - - - - NSTableView - NSControl - - - - NSTextField - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSTextField.h - - - - NSTextFieldCell - NSActionCell - - IBFrameworkSource - AppKit.framework/Headers/NSTextFieldCell.h - - - - NSToolbar - NSObject - - - - NSToolbarItem - NSObject - - - - NSUserDefaultsController - NSController - - IBFrameworkSource - AppKit.framework/Headers/NSUserDefaultsController.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSClipView.h - - - - NSView - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSRulerView.h - - - - NSView - NSResponder - - - - NSWindow - - - - NSWindow - NSResponder - - - - NSWindow - - IBFrameworkSource - AppKit.framework/Headers/NSWindowScripting.h - - - - NSWindowController - NSResponder - - showWindow: - id - - - showWindow: - - showWindow: - id - - - - IBFrameworkSource - AppKit.framework/Headers/NSWindowController.h - - - - SUUpdater - NSObject - - checkForUpdates: - id - - - checkForUpdates: - - checkForUpdates: - id - - - - delegate - id - - - delegate - - delegate - id - - - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - ../../MetaZ.xcodeproj - 3 - - YES - - YES - NSAddTemplate - NSMenuCheckmark - NSMenuMixedState - NSPreferencesGeneral - NSSwitch - - - YES - {8, 8} - {9, 8} - {7, 2} - {32, 32} - {15, 15} - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + builtIn + label + enabled + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + t + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + enabled + label + canEnable + + + + + + + + + + + diff --git a/App/src/AppController.h b/App/src/AppController.h index 2ec60795..093aaf38 100644 --- a/App/src/AppController.h +++ b/App/src/AppController.h @@ -41,11 +41,14 @@ NSArrayController* searchController; NSSearchField* searchField; NSInteger remainingInShortDescription; + NSTextField *tvShow; + NSTextField *tvSeason; ChapterEditor* chapterEditor; NSProgressIndicator* loadingIndicator; NSInteger loadings; NSArrayController* picturesController; SUUpdater* updater; + BOOL usingiTunesTVStandard_; MZFileNameTextStorage* fileNameStorage; NSTextView* fileNameEditor; @@ -68,6 +71,9 @@ @property (nonatomic, retain) IBOutlet NSArrayController* picturesController; @property (nonatomic, retain) IBOutlet SUUpdater* updater; @property (readonly) NSInteger remainingInShortDescription; +@property (nonatomic, retain) IBOutlet NSTextField *tvShow; +@property (nonatomic, retain) IBOutlet NSTextField *tvSeason; +@property (readonly) BOOL usingiTunesTVStandard; + (void)initialize; @@ -91,6 +97,8 @@ - (IBAction)reportIssue:(id)sender; - (IBAction)viewLog:(id)sender; - (IBAction)sendFeedback:(id)sender; +- (IBAction)tvShowChanged:(NSTextField *)sender; +- (IBAction)tvSeasonChanged:(NSTextField *)sender; //- (void)openPanelDidEnd:(NSOpenPanel *)panel returnCode:(int)returnCode contextInfo:(void *)contextInfo; diff --git a/App/src/AppController.m b/App/src/AppController.m index 9baa46a4..d99fc367 100644 --- a/App/src/AppController.m +++ b/App/src/AppController.m @@ -54,9 +54,12 @@ @implementation AppController @synthesize imageView; @synthesize chapterEditor; @synthesize remainingInShortDescription; +@synthesize tvShow; +@synthesize tvSeason; @synthesize picturesController; @synthesize updater; @synthesize loadingIndicator; +@synthesize usingiTunesTVStandard = usingiTunesTVStandard_; #pragma mark - initialization @@ -122,6 +125,14 @@ -(void)awakeFromNib forKeyPath:@"selection.shortDescription" options:0 context:nil]; + [filesController addObserver:self + forKeyPath:@"selection.pure.videoType" + options:NSKeyValueChangeOldKey + context:nil]; + [[NSUserDefaults standardUserDefaults] addObserver:self + forKeyPath:@"useiTunesTVFormat" + options:NSKeyValueChangeOldKey + context:nil]; [updater setSendsSystemProfile:YES]; } @@ -187,6 +198,29 @@ - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(N remainingInShortDescription = MaxShortDescription-newRemain; [self didChangeValueForKey:@"remainingInShortDescription"]; } + + if( ([keyPath isEqual:@"selection.pure.videoType"] && object == filesController) || + ([keyPath isEqual:@"useiTunesTVFormat"] && object == [NSUserDefaults standardUserDefaults]) ) + { + [self willChangeValueForKey:@"usingiTunesTVStandard"]; + + usingiTunesTVStandard_ = false; + + NSUserDefaults* d = [NSUserDefaults standardUserDefaults]; + if( [d boolForKey:@"useiTunesTVFormat"] ) + { + id videoType = [filesController protectedValueForKeyPath:@"selection.pure.videoType"]; + MZVideoType vt; + MZTag* tag = [MZTag tagForIdentifier:MZVideoTypeTagIdent]; + [tag convertObject:videoType toValue:&vt]; + if(vt == MZTVShowVideoType) + { + usingiTunesTVStandard_ = true; + } + } + + [self didChangeValueForKey:@"usingiTunesTVStandard"]; + } } @@ -767,4 +801,33 @@ -(void)doiTunes:(NSPasteboard *)pboard userData:(NSString *)userData error:(NSSt } } +-(void)updateTV { + if( self.usingiTunesTVStandard ) + { + NSString* show = tvShow.stringValue; + + if( show != nil && show.length ) + { + NSString* album = show; + NSString* season = tvSeason.stringValue; + + if( season != nil && season.length ) + { + album = [NSString stringWithFormat:@"%@, Season %@", show, season]; + } + + [filesController setValue:album forKeyPath:@"selection.album"]; + [filesController setValue:show forKeyPath:@"selection.artist"]; + [filesController setValue:show forKeyPath:@"selection.albumArtist"]; + } + } +} + +- (IBAction)tvSeasonChanged:(NSTextField *)sender { + [self updateTV]; +} + +- (IBAction)tvShowChanged:(NSTextField *)sender { + [self updateTV]; +} @end diff --git a/Plugins/AtomicParsley/src/AtomicParsleyPlugin.m b/Plugins/AtomicParsley/src/AtomicParsleyPlugin.m index 14c26565..0ca62e92 100644 --- a/Plugins/AtomicParsley/src/AtomicParsleyPlugin.m +++ b/Plugins/AtomicParsley/src/AtomicParsleyPlugin.m @@ -137,10 +137,10 @@ - (id)init NSArray* writemapkeys = [NSArray arrayWithObjects: - MZTitleTagIdent, MZArtistTagIdent, MZDateTagIdent, + MZTitleTagIdent, /*MZArtistTagIdent,*/ MZDateTagIdent, //MZRatingTagIdent, MZGenreTagIdent, - MZAlbumTagIdent, MZAlbumArtistTagIdent, MZPurchaseDateTagIdent, MZShortDescriptionTagIdent, + /*MZAlbumTagIdent, MZAlbumArtistTagIdent,*/ MZPurchaseDateTagIdent, MZShortDescriptionTagIdent, MZLongDescriptionTagIdent, MZTVShowTagIdent, MZTVEpisodeIDTagIdent, MZTVSeasonTagIdent, MZTVEpisodeTagIdent, MZTVNetworkTagIdent, MZFeedURLTagIdent, @@ -151,10 +151,10 @@ - (id)init //MZSortTitleTagIdent, MZSortArtistTagIdent, MZSortAlbumArtistTagIdent, //MZSortAlbumTagIdent, MZSortTVShowTagIdent,nil]; NSArray* writemapvalues = [NSArray arrayWithObjects: - @"title", @"artist", @"year", + @"title", /*@"artist",*/ @"year", //@"contentRating", @"genre", - @"album", @"albumArtist", @"purchaseDate", @"description", + /*@"album", @"albumArtist",*/ @"purchaseDate", @"description", @"longDescription", @"TVShowName", @"TVEpisode", @"TVSeasonNum", @"TVEpisodeNum", @"TVNetwork", @"podcastURL", @@ -657,12 +657,24 @@ void sortTags(NSMutableArray* args, NSDictionary* changes, NSString* tag, NSStri } // Special video type handling - id videoType = [changes objectForKey:MZVideoTypeTagIdent]; - if(videoType) { - MZLoggerDebug(@"Video type %@", videoType); - [args addObject:@"--stik"]; - [args addObject:[NSString stringWithFormat:@"value=%d", [videoType intValue]]]; + id videoType = [changes objectForKey:MZVideoTypeTagIdent]; + if(videoType) + { + MZLoggerDebug(@"Video type %@", videoType); + [args addObject:@"--stik"]; + [args addObject:[NSString stringWithFormat:@"value=%d", [videoType intValue]]]; + } + } + + MZVideoType video_type = MZUnsetVideoType; + { + id stikNo = [data getterValueForKey:MZVideoTypeTagIdent]; + if( stikNo ) + { + MZTag* tag = [MZTag tagForIdentifier:MZVideoTypeTagIdent]; + [tag nullConvertObject:stikNo toValue:&video_type]; + } } // Special rating handling @@ -750,6 +762,64 @@ void sortTags(NSMutableArray* args, NSDictionary* changes, NSString* tag, NSStri } } + // Special TV Handling + { + NSString* album_value = [NSString string]; + NSString* artist_value = [NSString string]; + NSString* album_artist_value = [NSString string]; + + id show = [data getterValueForKey:MZTVShowTagIdent]; + id season = [data getterValueForKey:MZTVSeasonTagIdent]; + MZTag* showTag = [MZTag tagForIdentifier:MZArtistTagIdent]; + MZTag* seasonTag = [MZTag tagForIdentifier:MZTVSeasonTagIdent]; + + id album = [data getterValueForKey:MZAlbumTagIdent]; + id artist = [data getterValueForKey:MZArtistTagIdent]; + id albumArtist = [data getterValueForKey:MZAlbumArtistTagIdent]; + MZTag* albumTag = [MZTag tagForIdentifier:MZAlbumTagIdent]; + MZTag* artistTag = [MZTag tagForIdentifier:MZArtistTagIdent]; + MZTag* albumArtistTag = [MZTag tagForIdentifier:MZAlbumArtistTagIdent]; + + if(MZTVShowVideoType == video_type && show && season) + { + album_value = [NSString stringWithFormat:@"%@, Season %@", + [showTag stringForObject:show], + [seasonTag stringForObject:season]]; + + } + else if(album) + { + album_value = [albumTag stringForObject:album]; + } + + [args addObject:@"--album"]; + [args addObject:album_value]; + + if(MZTVShowVideoType == video_type && show) + { + album_artist_value = [showTag stringForObject:show]; + } + else if(albumArtist) + { + album_artist_value = [albumArtistTag stringForObject:albumArtist]; + } + + [args addObject:@"--albumArtist"]; + [args addObject:album_artist_value]; + + if(MZTVShowVideoType == video_type && show) + { + artist_value = [artistTag stringForObject:show]; + } + else if(artist) + { + artist_value = [artistTag stringForObject:artist]; + } + + [args addObject:@"--artist"]; + [args addObject:artist_value]; + } + // Special image handling id pictureObj = [changes objectForKey:MZPictureTagIdent]; NSString* pictureFile = nil;