]> code.delx.au - notipod/commitdiff
Version 1.7
authorJames Bunton <jamesbunton@delx.net.au>
Fri, 13 Jan 2012 23:23:43 +0000 (10:23 +1100)
committerJames Bunton <jamesbunton@delx.net.au>
Fri, 13 Jan 2012 23:23:43 +0000 (10:23 +1100)
 * Useful error for empty libraries
 * Added File menu with "Sync", "Preview", "Close" options
 * If a playlist disappears then don't try to sync it (previously crashed)

English.lproj/NotiPod.xib
Info.plist
libnotipod.py
notipod_cli.py
notipod_gui.py

index db670b5ef45532ae6a935d3d525249e571391c94..edbf8b272190e75c1fca44bca7aa4e34f5cd14ee 100644 (file)
@@ -1,30 +1,28 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.03">
+<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.10">
        <data>
                <int key="IBDocument.SystemTarget">1050</int>
-               <string key="IBDocument.SystemVersion">10H574</string>
-               <string key="IBDocument.InterfaceBuilderVersion">677</string>
-               <string key="IBDocument.AppKitVersion">1038.35</string>
+               <string key="IBDocument.SystemVersion">10K549</string>
+               <string key="IBDocument.InterfaceBuilderVersion">851</string>
+               <string key="IBDocument.AppKitVersion">1038.36</string>
                <string key="IBDocument.HIToolboxVersion">461.00</string>
+               <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
+                       <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string>
+                       <string key="NS.object.0">851</string>
+               </object>
                <object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
                        <bool key="EncodedWithXMLCoder">YES</bool>
-                       <integer value="372"/>
-                       <integer value="527"/>
-                       <integer value="29"/>
+                       <integer value="589"/>
+                       <integer value="371"/>
+                       <integer value="528"/>
                </object>
                <object class="NSArray" key="IBDocument.PluginDependencies">
                        <bool key="EncodedWithXMLCoder">YES</bool>
-                       <string>com.apple.InterfaceBuilderKit</string>
                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                </object>
                <object class="NSMutableDictionary" key="IBDocument.Metadata">
-                       <bool key="EncodedWithXMLCoder">YES</bool>
-                       <object class="NSArray" key="dict.sortedKeys" id="0">
-                               <bool key="EncodedWithXMLCoder">YES</bool>
-                       </object>
-                       <object class="NSMutableArray" key="dict.values">
-                               <bool key="EncodedWithXMLCoder">YES</bool>
-                       </object>
+                       <string key="NS.key.0">PluginDependencyRecalculationVersion</string>
+                       <integer value="1" key="NS.object.0"/>
                </object>
                <object class="NSMutableArray" key="IBDocument.RootObjects" id="1048">
                        <bool key="EncodedWithXMLCoder">YES</bool>
                                                        <string key="NSName">_NSAppleMenu</string>
                                                </object>
                                        </object>
+                                       <object class="NSMenuItem" id="834915777">
+                                               <reference key="NSMenu" ref="649796088"/>
+                                               <string key="NSTitle">File</string>
+                                               <string key="NSKeyEquiv"/>
+                                               <int key="NSMnemonicLoc">2147483647</int>
+                                               <reference key="NSOnImage" ref="653914662"/>
+                                               <reference key="NSMixedImage" ref="708543162"/>
+                                               <string key="NSAction">submenuAction:</string>
+                                               <object class="NSMenu" key="NSSubmenu" id="1035673745">
+                                                       <string key="NSTitle">File</string>
+                                                       <object class="NSMutableArray" key="NSMenuItems">
+                                                               <bool key="EncodedWithXMLCoder">YES</bool>
+                                                               <object class="NSMenuItem" id="150799132">
+                                                                       <reference key="NSMenu" ref="1035673745"/>
+                                                                       <string key="NSTitle">Synchronise!</string>
+                                                                       <string key="NSKeyEquiv">S</string>
+                                                                       <int key="NSKeyEquivModMask">1048576</int>
+                                                                       <int key="NSMnemonicLoc">2147483647</int>
+                                                                       <reference key="NSOnImage" ref="653914662"/>
+                                                                       <reference key="NSMixedImage" ref="708543162"/>
+                                                               </object>
+                                                               <object class="NSMenuItem" id="909153648">
+                                                                       <reference key="NSMenu" ref="1035673745"/>
+                                                                       <string key="NSTitle">Preview</string>
+                                                                       <string key="NSKeyEquiv">P</string>
+                                                                       <int key="NSKeyEquivModMask">1048576</int>
+                                                                       <int key="NSMnemonicLoc">2147483647</int>
+                                                                       <reference key="NSOnImage" ref="653914662"/>
+                                                                       <reference key="NSMixedImage" ref="708543162"/>
+                                                               </object>
+                                                               <object class="NSMenuItem" id="40178727">
+                                                                       <reference key="NSMenu" ref="1035673745"/>
+                                                                       <string key="NSTitle">Close</string>
+                                                                       <string key="NSKeyEquiv">w</string>
+                                                                       <int key="NSKeyEquivModMask">1048576</int>
+                                                                       <int key="NSMnemonicLoc">2147483647</int>
+                                                                       <reference key="NSOnImage" ref="653914662"/>
+                                                                       <reference key="NSMixedImage" ref="708543162"/>
+                                                               </object>
+                                                       </object>
+                                               </object>
+                                       </object>
+                                       <object class="NSMenuItem" id="290859365">
+                                               <reference key="NSMenu" ref="649796088"/>
+                                               <string key="NSTitle">Edit</string>
+                                               <string key="NSKeyEquiv"/>
+                                               <int key="NSMnemonicLoc">2147483647</int>
+                                               <reference key="NSOnImage" ref="653914662"/>
+                                               <reference key="NSMixedImage" ref="708543162"/>
+                                               <string key="NSAction">submenuAction:</string>
+                                               <object class="NSMenu" key="NSSubmenu" id="441828579">
+                                                       <string key="NSTitle">Edit</string>
+                                                       <object class="NSMutableArray" key="NSMenuItems">
+                                                               <bool key="EncodedWithXMLCoder">YES</bool>
+                                                               <object class="NSMenuItem" id="947720366">
+                                                                       <reference key="NSMenu" ref="441828579"/>
+                                                                       <string key="NSTitle">Undo</string>
+                                                                       <string key="NSKeyEquiv">z</string>
+                                                                       <int key="NSKeyEquivModMask">1048576</int>
+                                                                       <int key="NSMnemonicLoc">2147483647</int>
+                                                                       <reference key="NSOnImage" ref="653914662"/>
+                                                                       <reference key="NSMixedImage" ref="708543162"/>
+                                                               </object>
+                                                               <object class="NSMenuItem" id="205941265">
+                                                                       <reference key="NSMenu" ref="441828579"/>
+                                                                       <string key="NSTitle">Redo</string>
+                                                                       <string key="NSKeyEquiv">Z</string>
+                                                                       <int key="NSKeyEquivModMask">1048576</int>
+                                                                       <int key="NSMnemonicLoc">2147483647</int>
+                                                                       <reference key="NSOnImage" ref="653914662"/>
+                                                                       <reference key="NSMixedImage" ref="708543162"/>
+                                                               </object>
+                                                               <object class="NSMenuItem" id="829675399">
+                                                                       <reference key="NSMenu" ref="441828579"/>
+                                                                       <bool key="NSIsDisabled">YES</bool>
+                                                                       <bool key="NSIsSeparator">YES</bool>
+                                                                       <string key="NSTitle"/>
+                                                                       <string key="NSKeyEquiv"/>
+                                                                       <int key="NSMnemonicLoc">2147483647</int>
+                                                                       <reference key="NSOnImage" ref="653914662"/>
+                                                                       <reference key="NSMixedImage" ref="708543162"/>
+                                                               </object>
+                                                               <object class="NSMenuItem" id="709060696">
+                                                                       <reference key="NSMenu" ref="441828579"/>
+                                                                       <string key="NSTitle">Cut</string>
+                                                                       <string key="NSKeyEquiv">x</string>
+                                                                       <int key="NSKeyEquivModMask">1048576</int>
+                                                                       <int key="NSMnemonicLoc">2147483647</int>
+                                                                       <reference key="NSOnImage" ref="653914662"/>
+                                                                       <reference key="NSMixedImage" ref="708543162"/>
+                                                               </object>
+                                                               <object class="NSMenuItem" id="922077048">
+                                                                       <reference key="NSMenu" ref="441828579"/>
+                                                                       <string key="NSTitle">Copy</string>
+                                                                       <string key="NSKeyEquiv">c</string>
+                                                                       <int key="NSKeyEquivModMask">1048576</int>
+                                                                       <int key="NSMnemonicLoc">2147483647</int>
+                                                                       <reference key="NSOnImage" ref="653914662"/>
+                                                                       <reference key="NSMixedImage" ref="708543162"/>
+                                                               </object>
+                                                               <object class="NSMenuItem" id="488119987">
+                                                                       <reference key="NSMenu" ref="441828579"/>
+                                                                       <string key="NSTitle">Paste</string>
+                                                                       <string key="NSKeyEquiv">v</string>
+                                                                       <int key="NSKeyEquivModMask">1048576</int>
+                                                                       <int key="NSMnemonicLoc">2147483647</int>
+                                                                       <reference key="NSOnImage" ref="653914662"/>
+                                                                       <reference key="NSMixedImage" ref="708543162"/>
+                                                               </object>
+                                                               <object class="NSMenuItem" id="899265652">
+                                                                       <reference key="NSMenu" ref="441828579"/>
+                                                                       <string key="NSTitle">Delete</string>
+                                                                       <string key="NSKeyEquiv"/>
+                                                                       <int key="NSMnemonicLoc">2147483647</int>
+                                                                       <reference key="NSOnImage" ref="653914662"/>
+                                                                       <reference key="NSMixedImage" ref="708543162"/>
+                                                               </object>
+                                                               <object class="NSMenuItem" id="829012895">
+                                                                       <reference key="NSMenu" ref="441828579"/>
+                                                                       <string key="NSTitle">Select All</string>
+                                                                       <string key="NSKeyEquiv">a</string>
+                                                                       <int key="NSKeyEquivModMask">1048576</int>
+                                                                       <int key="NSMnemonicLoc">2147483647</int>
+                                                                       <reference key="NSOnImage" ref="653914662"/>
+                                                                       <reference key="NSMixedImage" ref="708543162"/>
+                                                               </object>
+                                                       </object>
+                                               </object>
+                                       </object>
                                        <object class="NSMenuItem" id="391199113">
                                                <reference key="NSMenu" ref="649796088"/>
                                                <string key="NSTitle">Help</string>
                                <string key="NSWindowTitle">NotiPod</string>
                                <string key="NSWindowClass">NSWindow</string>
                                <nil key="NSViewClass"/>
-                               <string key="NSWindowContentMaxSize">{3.40282e+38, 3.40282e+38}</string>
+                               <string key="NSWindowContentMaxSize">{1.79769e+308, 1.79769e+308}</string>
                                <string key="NSWindowContentMinSize">{381, 527}</string>
                                <object class="NSView" key="NSWindowView" id="439893737">
                                        <reference key="NSNextResponder"/>
                                                                <string key="NSContents">Step 1 - Select a playlist:</string>
                                                                <object class="NSFont" key="NSSupport" id="822023840">
                                                                        <string key="NSName">LucidaGrande</string>
-                                                                       <double key="NSSize">1.300000e+01</double>
+                                                                       <double key="NSSize">13</double>
                                                                        <int key="NSfFlags">1044</int>
                                                                </object>
                                                                <reference key="NSControlView" ref="818249148"/>
                                                                        <string key="NSColorName">controlColor</string>
                                                                        <object class="NSColor" key="NSColor" id="22211674">
                                                                                <int key="NSColorSpace">3</int>
-                                                                               <bytes key="NSWhite">MC42NjY2NjY2ODY1AA</bytes>
+                                                                               <bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
                                                                        </object>
                                                                </object>
                                                                <object class="NSColor" key="NSTextColor" id="888276067">
                                                                                                <bool key="EncodedWithXMLCoder">YES</bool>
                                                                                                <object class="NSTableColumn" id="611630035">
                                                                                                        <string key="NSIdentifier">icon</string>
-                                                                                                       <double key="NSWidth">4.000000e+01</double>
-                                                                                                       <double key="NSMinWidth">1.600000e+01</double>
-                                                                                                       <double key="NSMaxWidth">1.000000e+03</double>
+                                                                                                       <double key="NSWidth">40</double>
+                                                                                                       <double key="NSMinWidth">16</double>
+                                                                                                       <double key="NSMaxWidth">1000</double>
                                                                                                        <object class="NSTableHeaderCell" key="NSHeaderCell">
-                                                                                                               <int key="NSCellFlags">75628032</int>
-                                                                                                               <int key="NSCellFlags2">0</int>
+                                                                                                               <int key="NSCellFlags">75628096</int>
+                                                                                                               <int key="NSCellFlags2">2048</int>
                                                                                                                <string key="NSContents"/>
                                                                                                                <object class="NSFont" key="NSSupport" id="26">
                                                                                                                        <string key="NSName">LucidaGrande</string>
-                                                                                                                       <double key="NSSize">1.100000e+01</double>
+                                                                                                                       <double key="NSSize">11</double>
                                                                                                                        <int key="NSfFlags">3100</int>
                                                                                                                </object>
                                                                                                                <object class="NSColor" key="NSBackgroundColor">
                                                                                                </object>
                                                                                                <object class="NSTableColumn" id="726607121">
                                                                                                        <string key="NSIdentifier">selected</string>
-                                                                                                       <double key="NSWidth">2.000000e+01</double>
-                                                                                                       <double key="NSMinWidth">1.000000e+01</double>
-                                                                                                       <double key="NSMaxWidth">3.402823e+38</double>
+                                                                                                       <double key="NSWidth">20</double>
+                                                                                                       <double key="NSMinWidth">10</double>
+                                                                                                       <double key="NSMaxWidth">3.4028229999999999e+38</double>
                                                                                                        <object class="NSTableHeaderCell" key="NSHeaderCell">
-                                                                                                               <int key="NSCellFlags">75628032</int>
-                                                                                                               <int key="NSCellFlags2">0</int>
+                                                                                                               <int key="NSCellFlags">75628096</int>
+                                                                                                               <int key="NSCellFlags2">2048</int>
                                                                                                                <string key="NSContents"/>
                                                                                                                <reference key="NSSupport" ref="26"/>
                                                                                                                <object class="NSColor" key="NSBackgroundColor" id="293291433">
                                                                                                </object>
                                                                                                <object class="NSTableColumn" id="555759630">
                                                                                                        <string key="NSIdentifier">playlist</string>
-                                                                                                       <double key="NSWidth">2.580000e+02</double>
-                                                                                                       <double key="NSMinWidth">1.000000e+01</double>
-                                                                                                       <double key="NSMaxWidth">3.402823e+38</double>
+                                                                                                       <double key="NSWidth">258</double>
+                                                                                                       <double key="NSMinWidth">10</double>
+                                                                                                       <double key="NSMaxWidth">3.4028229999999999e+38</double>
                                                                                                        <object class="NSTableHeaderCell" key="NSHeaderCell">
-                                                                                                               <int key="NSCellFlags">75628032</int>
-                                                                                                               <int key="NSCellFlags2">0</int>
+                                                                                                               <int key="NSCellFlags">75628096</int>
+                                                                                                               <int key="NSCellFlags2">2048</int>
                                                                                                                <string key="NSContents"/>
                                                                                                                <reference key="NSSupport" ref="26"/>
                                                                                                                <reference key="NSBackgroundColor" ref="293291433"/>
                                                                                                        <reference key="NSTableView" ref="163779105"/>
                                                                                                </object>
                                                                                        </object>
-                                                                                       <double key="NSIntercellSpacingWidth">3.000000e+00</double>
-                                                                                       <double key="NSIntercellSpacingHeight">2.000000e+00</double>
+                                                                                       <double key="NSIntercellSpacingWidth">3</double>
+                                                                                       <double key="NSIntercellSpacingHeight">2</double>
                                                                                        <reference key="NSBackgroundColor" ref="1023510502"/>
                                                                                        <object class="NSColor" key="NSGridColor">
                                                                                                <int key="NSColorSpace">6</int>
                                                                                                        <bytes key="NSWhite">MC41AA</bytes>
                                                                                                </object>
                                                                                        </object>
-                                                                                       <double key="NSRowHeight">1.700000e+01</double>
+                                                                                       <double key="NSRowHeight">17</double>
                                                                                        <int key="NSTvFlags">46137344</int>
+                                                                                       <reference key="NSDelegate"/>
+                                                                                       <reference key="NSDataSource"/>
                                                                                        <int key="NSColumnAutoresizingStyle">4</int>
                                                                                        <int key="NSDraggingSourceMaskForLocal">15</int>
                                                                                        <int key="NSDraggingSourceMaskForNonLocal">0</int>
                                                                        <reference key="NSSuperview" ref="52653404"/>
                                                                        <reference key="NSTarget" ref="52653404"/>
                                                                        <string key="NSAction">_doScroller:</string>
-                                                                       <double key="NSPercent">9.970502e-01</double>
+                                                                       <double key="NSPercent">0.9970502</double>
                                                                </object>
                                                                <object class="NSScroller" id="573066292">
                                                                        <reference key="NSNextResponder" ref="52653404"/>
                                                                        <int key="NSsFlags">1</int>
                                                                        <reference key="NSTarget" ref="52653404"/>
                                                                        <string key="NSAction">_doScroller:</string>
-                                                                       <double key="NSPercent">9.969512e-01</double>
+                                                                       <double key="NSPercent">0.99695120000000004</double>
                                                                </object>
                                                        </object>
                                                        <string key="NSFrame">{{32, 142}, {329, 340}}</string>
                                </object>
                                <string key="NSScreenRect">{{0, 0}, {1024, 746}}</string>
                                <string key="NSMinSize">{381, 549}</string>
-                               <string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string>
+                               <string key="NSMaxSize">{1.79769e+308, 1.79769e+308}</string>
                        </object>
                        <object class="NSCustomObject" id="719278169">
                                <string key="NSClassName">NotiPodController</string>
                                <string key="NSWindowTitle">Window</string>
                                <string key="NSWindowClass">NSWindow</string>
                                <nil key="NSViewClass"/>
-                               <string key="NSWindowContentMaxSize">{3.40282e+38, 3.40282e+38}</string>
+                               <string key="NSWindowContentMaxSize">{1.79769e+308, 1.79769e+308}</string>
                                <object class="NSView" key="NSWindowView" id="851027294">
                                        <nil key="NSNextResponder"/>
                                        <int key="NSvFlags">256</int>
                                                        <string key="NSFrame">{{18, 42}, {306, 20}}</string>
                                                        <reference key="NSSuperview" ref="851027294"/>
                                                        <int key="NSpiFlags">16394</int>
-                                                       <double key="NSMinValue">2.000000e+01</double>
-                                                       <double key="NSMaxValue">1.000000e+02</double>
+                                                       <double key="NSMinValue">20</double>
+                                                       <double key="NSMaxValue">100</double>
                                                </object>
                                                <object class="NSTextField" id="142560492">
                                                        <reference key="NSNextResponder" ref="851027294"/>
                                        <string key="NSFrameSize">{342, 100}</string>
                                </object>
                                <string key="NSScreenRect">{{0, 0}, {1024, 746}}</string>
-                               <string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string>
+                               <string key="NSMaxSize">{1.79769e+308, 1.79769e+308}</string>
                        </object>
                        <object class="NSCustomObject" id="371072707">
                                <string key="NSClassName">PlaylistModel</string>
                                <int key="NSWindowStyleMask">15</int>
                                <int key="NSWindowBacking">2</int>
                                <string key="NSWindowRect">{{196, -30}, {637, 540}}</string>
-                               <int key="NSWTFlags">603979776</int>
+                               <int key="NSWTFlags">1677721600</int>
                                <string key="NSWindowTitle">Preview</string>
                                <string key="NSWindowClass">NSWindow</string>
                                <nil key="NSViewClass"/>
+                               <string key="NSWindowContentMaxSize">{1.79769e+308, 1.79769e+308}</string>
                                <object class="NSView" key="NSWindowView" id="620478377">
                                        <reference key="NSNextResponder"/>
                                        <int key="NSvFlags">256</int>
                                                                                                                                        <bool key="EncodedWithXMLCoder">YES</bool>
                                                                                                                                        <object class="NSFont">
                                                                                                                                                <string key="NSName">LucidaGrande</string>
-                                                                                                                                               <double key="NSSize">1.000000e+01</double>
+                                                                                                                                               <double key="NSSize">10</double>
                                                                                                                                                <int key="NSfFlags">2843</int>
                                                                                                                                        </object>
                                                                                                                                        <object class="NSParagraphStyle">
                                                                                                                                                <object class="NSArray" key="NSTabStops">
                                                                                                                                                        <bool key="EncodedWithXMLCoder">YES</bool>
                                                                                                                                                        <object class="NSTextTab" id="520214937">
-                                                                                                                                                               <double key="NSLocation">0.000000e+00</double>
+                                                                                                                                                               <double key="NSLocation">0.0</double>
                                                                                                                                                        </object>
                                                                                                                                                        <object class="NSTextTab" id="918428484">
-                                                                                                                                                               <double key="NSLocation">5.600000e+01</double>
+                                                                                                                                                               <double key="NSLocation">56</double>
                                                                                                                                                        </object>
                                                                                                                                                        <object class="NSTextTab" id="427705103">
-                                                                                                                                                               <double key="NSLocation">1.120000e+02</double>
+                                                                                                                                                               <double key="NSLocation">112</double>
                                                                                                                                                        </object>
                                                                                                                                                        <object class="NSTextTab" id="616052540">
-                                                                                                                                                               <double key="NSLocation">1.680000e+02</double>
+                                                                                                                                                               <double key="NSLocation">168</double>
                                                                                                                                                        </object>
                                                                                                                                                        <object class="NSTextTab" id="251121933">
-                                                                                                                                                               <double key="NSLocation">2.240000e+02</double>
+                                                                                                                                                               <double key="NSLocation">224</double>
                                                                                                                                                        </object>
                                                                                                                                                        <object class="NSTextTab" id="772027856">
-                                                                                                                                                               <double key="NSLocation">2.800000e+02</double>
+                                                                                                                                                               <double key="NSLocation">280</double>
                                                                                                                                                        </object>
                                                                                                                                                        <object class="NSTextTab" id="497365205">
-                                                                                                                                                               <double key="NSLocation">3.360000e+02</double>
+                                                                                                                                                               <double key="NSLocation">336</double>
                                                                                                                                                        </object>
                                                                                                                                                        <object class="NSTextTab" id="28276513">
-                                                                                                                                                               <double key="NSLocation">3.920000e+02</double>
+                                                                                                                                                               <double key="NSLocation">392</double>
                                                                                                                                                        </object>
                                                                                                                                                        <object class="NSTextTab" id="783408926">
-                                                                                                                                                               <double key="NSLocation">4.480000e+02</double>
+                                                                                                                                                               <double key="NSLocation">448</double>
                                                                                                                                                        </object>
                                                                                                                                                        <object class="NSTextTab" id="436878533">
-                                                                                                                                                               <double key="NSLocation">5.040000e+02</double>
+                                                                                                                                                               <double key="NSLocation">504</double>
                                                                                                                                                        </object>
                                                                                                                                                        <object class="NSTextTab" id="5141469">
-                                                                                                                                                               <double key="NSLocation">5.600000e+02</double>
+                                                                                                                                                               <double key="NSLocation">560</double>
                                                                                                                                                        </object>
                                                                                                                                                        <object class="NSTextTab" id="524909670">
-                                                                                                                                                               <double key="NSLocation">6.160000e+02</double>
+                                                                                                                                                               <double key="NSLocation">616</double>
                                                                                                                                                        </object>
                                                                                                                                                        <object class="NSTextTab" id="1013337748">
-                                                                                                                                                               <double key="NSLocation">6.720000e+02</double>
+                                                                                                                                                               <double key="NSLocation">672</double>
                                                                                                                                                        </object>
                                                                                                                                                        <object class="NSTextTab" id="434194675">
-                                                                                                                                                               <double key="NSLocation">7.280000e+02</double>
+                                                                                                                                                               <double key="NSLocation">728</double>
                                                                                                                                                        </object>
                                                                                                                                                        <object class="NSTextTab" id="846568429">
-                                                                                                                                                               <double key="NSLocation">7.840000e+02</double>
+                                                                                                                                                               <double key="NSLocation">784</double>
                                                                                                                                                        </object>
                                                                                                                                                        <object class="NSTextTab" id="730398982">
-                                                                                                                                                               <double key="NSLocation">8.400000e+02</double>
+                                                                                                                                                               <double key="NSLocation">840</double>
                                                                                                                                                        </object>
                                                                                                                                                        <object class="NSTextTab" id="230391966">
-                                                                                                                                                               <double key="NSLocation">8.960000e+02</double>
+                                                                                                                                                               <double key="NSLocation">896</double>
                                                                                                                                                        </object>
                                                                                                                                                        <object class="NSTextTab" id="1030365073">
-                                                                                                                                                               <double key="NSLocation">9.520000e+02</double>
+                                                                                                                                                               <double key="NSLocation">952</double>
                                                                                                                                                        </object>
                                                                                                                                                        <object class="NSTextTab" id="510530429">
-                                                                                                                                                               <double key="NSLocation">1.008000e+03</double>
+                                                                                                                                                               <double key="NSLocation">1008</double>
                                                                                                                                                        </object>
                                                                                                                                                        <object class="NSTextTab" id="494875629">
-                                                                                                                                                               <double key="NSLocation">1.064000e+03</double>
+                                                                                                                                                               <double key="NSLocation">1064</double>
                                                                                                                                                        </object>
                                                                                                                                                        <object class="NSTextTab" id="573357803">
-                                                                                                                                                               <double key="NSLocation">1.120000e+03</double>
+                                                                                                                                                               <double key="NSLocation">1120</double>
                                                                                                                                                        </object>
                                                                                                                                                        <object class="NSTextTab" id="475980238">
-                                                                                                                                                               <double key="NSLocation">1.176000e+03</double>
+                                                                                                                                                               <double key="NSLocation">1176</double>
                                                                                                                                                        </object>
                                                                                                                                                        <object class="NSTextTab" id="202230893">
-                                                                                                                                                               <double key="NSLocation">1.232000e+03</double>
+                                                                                                                                                               <double key="NSLocation">1232</double>
                                                                                                                                                        </object>
                                                                                                                                                        <object class="NSTextTab" id="1053337948">
-                                                                                                                                                               <double key="NSLocation">1.288000e+03</double>
+                                                                                                                                                               <double key="NSLocation">1288</double>
                                                                                                                                                        </object>
                                                                                                                                                        <object class="NSTextTab" id="904016705">
-                                                                                                                                                               <double key="NSLocation">1.344000e+03</double>
+                                                                                                                                                               <double key="NSLocation">1344</double>
                                                                                                                                                        </object>
                                                                                                                                                        <object class="NSTextTab" id="81064722">
-                                                                                                                                                               <double key="NSLocation">1.400000e+03</double>
+                                                                                                                                                               <double key="NSLocation">1400</double>
                                                                                                                                                        </object>
                                                                                                                                                        <object class="NSTextTab" id="118917825">
-                                                                                                                                                               <double key="NSLocation">1.456000e+03</double>
+                                                                                                                                                               <double key="NSLocation">1456</double>
                                                                                                                                                        </object>
                                                                                                                                                        <object class="NSTextTab" id="60774078">
-                                                                                                                                                               <double key="NSLocation">1.512000e+03</double>
+                                                                                                                                                               <double key="NSLocation">1512</double>
                                                                                                                                                        </object>
                                                                                                                                                        <object class="NSTextTab" id="701542099">
-                                                                                                                                                               <double key="NSLocation">1.568000e+03</double>
+                                                                                                                                                               <double key="NSLocation">1568</double>
                                                                                                                                                        </object>
                                                                                                                                                        <object class="NSTextTab" id="722594874">
-                                                                                                                                                               <double key="NSLocation">1.624000e+03</double>
+                                                                                                                                                               <double key="NSLocation">1624</double>
                                                                                                                                                        </object>
                                                                                                                                                        <object class="NSTextTab" id="161690097">
-                                                                                                                                                               <double key="NSLocation">1.680000e+03</double>
+                                                                                                                                                               <double key="NSLocation">1680</double>
                                                                                                                                                        </object>
                                                                                                                                                        <object class="NSTextTab" id="148013213">
-                                                                                                                                                               <double key="NSLocation">1.736000e+03</double>
+                                                                                                                                                               <double key="NSLocation">1736</double>
                                                                                                                                                        </object>
                                                                                                                                                </object>
                                                                                                                                        </object>
                                                                                                                                        <bool key="EncodedWithXMLCoder">YES</bool>
                                                                                                                                        <object class="NSFont">
                                                                                                                                                <string key="NSName">LucidaGrande-Bold</string>
-                                                                                                                                               <double key="NSSize">1.000000e+01</double>
+                                                                                                                                               <double key="NSSize">10</double>
                                                                                                                                                <int key="NSfFlags">16</int>
                                                                                                                                        </object>
                                                                                                                                        <object class="NSParagraphStyle">
                                                                                                        <nil key="NSDelegate"/>
                                                                                                </object>
                                                                                                <reference key="NSTextView" ref="589394200"/>
-                                                                                               <double key="NSWidth">5.800000e+02</double>
+                                                                                               <double key="NSWidth">580</double>
                                                                                                <int key="NSTCFlags">1</int>
                                                                                        </object>
                                                                                        <object class="NSTextViewSharedData" key="NSSharedData">
                                                                                                                        <int key="NSColorSpace">1</int>
                                                                                                                        <bytes key="NSRGB">MCAwIDEAA</bytes>
                                                                                                                </object>
-                                                                                                               <integer value="1" id="9"/>
+                                                                                                               <integer value="1"/>
                                                                                                        </object>
                                                                                                </object>
                                                                                                <nil key="NSDefaultParagraphStyle"/>
                                                                        <reference key="NSSuperview" ref="603680047"/>
                                                                        <reference key="NSTarget" ref="603680047"/>
                                                                        <string key="NSAction">_doScroller:</string>
-                                                                       <double key="NSPercent">9.415205e-01</double>
+                                                                       <double key="NSPercent">0.94152049999999998</double>
                                                                </object>
                                                                <object class="NSScroller" id="818400468">
                                                                        <reference key="NSNextResponder" ref="603680047"/>
                                                                        <int key="NSsFlags">1</int>
                                                                        <reference key="NSTarget" ref="603680047"/>
                                                                        <string key="NSAction">_doScroller:</string>
-                                                                       <double key="NSCurValue">1.000000e+00</double>
-                                                                       <double key="NSPercent">9.456522e-01</double>
+                                                                       <double key="NSCurValue">1</double>
+                                                                       <double key="NSPercent">0.94565220000000005</double>
                                                                </object>
                                                        </object>
                                                        <string key="NSFrame">{{20, 20}, {597, 506}}</string>
                                        <reference key="NSSuperview"/>
                                </object>
                                <string key="NSScreenRect">{{0, 0}, {1280, 778}}</string>
-                               <string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string>
+                               <string key="NSMaxSize">{1.79769e+308, 1.79769e+308}</string>
                        </object>
                </object>
                <object class="IBObjectContainer" key="IBDocument.Objects">
                                        </object>
                                        <int key="connectionID">539</int>
                                </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBActionConnection" key="connection">
+                                               <string key="label">copy:</string>
+                                               <reference key="source" ref="589394200"/>
+                                               <reference key="destination" ref="922077048"/>
+                                       </object>
+                                       <int key="connectionID">586</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBActionConnection" key="connection">
+                                               <string key="label">selectAll:</string>
+                                               <reference key="source" ref="589394200"/>
+                                               <reference key="destination" ref="829012895"/>
+                                       </object>
+                                       <int key="connectionID">587</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBActionConnection" key="connection">
+                                               <string key="label">performClose:</string>
+                                               <reference key="source" ref="1014"/>
+                                               <reference key="destination" ref="40178727"/>
+                                       </object>
+                                       <int key="connectionID">605</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBActionConnection" key="connection">
+                                               <string key="label">performClick:</string>
+                                               <reference key="source" ref="703636579"/>
+                                               <reference key="destination" ref="150799132"/>
+                                       </object>
+                                       <int key="connectionID">608</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBActionConnection" key="connection">
+                                               <string key="label">performClick:</string>
+                                               <reference key="source" ref="952577652"/>
+                                               <reference key="destination" ref="909153648"/>
+                                       </object>
+                                       <int key="connectionID">609</int>
+                               </object>
                        </object>
                        <object class="IBMutableOrderedSet" key="objectRecords">
                                <object class="NSArray" key="orderedObjects">
                                        <bool key="EncodedWithXMLCoder">YES</bool>
                                        <object class="IBObjectRecord">
                                                <int key="objectID">0</int>
-                                               <reference key="object" ref="0"/>
+                                               <object class="NSArray" key="object" id="0">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                               </object>
                                                <reference key="children" ref="1048"/>
                                                <nil key="parent"/>
                                        </object>
                                                <int key="objectID">-2</int>
                                                <reference key="object" ref="1021"/>
                                                <reference key="parent" ref="0"/>
-                                               <string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string>
+                                               <string key="objectName">File's Owner</string>
                                        </object>
                                        <object class="IBObjectRecord">
                                                <int key="objectID">-1</int>
                                                        <bool key="EncodedWithXMLCoder">YES</bool>
                                                        <reference ref="694149608"/>
                                                        <reference ref="391199113"/>
+                                                       <reference ref="290859365"/>
+                                                       <reference ref="834915777"/>
                                                </object>
                                                <reference key="parent" ref="0"/>
                                                <string key="objectName">MainMenu</string>
                                                <reference key="object" ref="589394200"/>
                                                <reference key="parent" ref="603680047"/>
                                        </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">540</int>
+                                               <reference key="object" ref="290859365"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="441828579"/>
+                                               </object>
+                                               <reference key="parent" ref="649796088"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">541</int>
+                                               <reference key="object" ref="441828579"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="829012895"/>
+                                                       <reference ref="899265652"/>
+                                                       <reference ref="488119987"/>
+                                                       <reference ref="922077048"/>
+                                                       <reference ref="709060696"/>
+                                                       <reference ref="829675399"/>
+                                                       <reference ref="205941265"/>
+                                                       <reference ref="947720366"/>
+                                               </object>
+                                               <reference key="parent" ref="290859365"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">548</int>
+                                               <reference key="object" ref="829012895"/>
+                                               <reference key="parent" ref="441828579"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">549</int>
+                                               <reference key="object" ref="899265652"/>
+                                               <reference key="parent" ref="441828579"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">551</int>
+                                               <reference key="object" ref="488119987"/>
+                                               <reference key="parent" ref="441828579"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">552</int>
+                                               <reference key="object" ref="922077048"/>
+                                               <reference key="parent" ref="441828579"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">553</int>
+                                               <reference key="object" ref="709060696"/>
+                                               <reference key="parent" ref="441828579"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">554</int>
+                                               <reference key="object" ref="829675399"/>
+                                               <reference key="parent" ref="441828579"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">555</int>
+                                               <reference key="object" ref="205941265"/>
+                                               <reference key="parent" ref="441828579"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">556</int>
+                                               <reference key="object" ref="947720366"/>
+                                               <reference key="parent" ref="441828579"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">588</int>
+                                               <reference key="object" ref="834915777"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="1035673745"/>
+                                               </object>
+                                               <reference key="parent" ref="649796088"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">589</int>
+                                               <reference key="object" ref="1035673745"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="40178727"/>
+                                                       <reference ref="150799132"/>
+                                                       <reference ref="909153648"/>
+                                               </object>
+                                               <reference key="parent" ref="834915777"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">597</int>
+                                               <reference key="object" ref="40178727"/>
+                                               <reference key="parent" ref="1035673745"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">606</int>
+                                               <reference key="object" ref="150799132"/>
+                                               <reference key="parent" ref="1035673745"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">607</int>
+                                               <reference key="object" ref="909153648"/>
+                                               <reference key="parent" ref="1035673745"/>
+                                       </object>
                                </object>
                        </object>
                        <object class="NSMutableDictionary" key="flattenedProperties">
                                <bool key="EncodedWithXMLCoder">YES</bool>
                                <object class="NSArray" key="dict.sortedKeys">
                                        <bool key="EncodedWithXMLCoder">YES</bool>
-                                       <string>-1.IBPluginDependency</string>
-                                       <string>-2.IBPluginDependency</string>
                                        <string>-3.IBPluginDependency</string>
                                        <string>103.IBPluginDependency</string>
                                        <string>103.ImportedFromIB2</string>
                                        <string>29.WindowOrigin</string>
                                        <string>29.editorWindowContentRectSynchronizationRect</string>
                                        <string>371.IBEditorWindowLastContentRect</string>
+                                       <string>371.IBPluginDependency</string>
                                        <string>371.IBWindowTemplateEditedContentRect</string>
                                        <string>371.NSWindowTemplate.visibleAtLaunch</string>
                                        <string>371.editorWindowContentRectSynchronizationRect</string>
                                        <string>413.IBPluginDependency</string>
                                        <string>413.editorWindowContentRectSynchronizationRect</string>
                                        <string>414.IBPluginDependency</string>
-                                       <string>425.IBPluginDependency</string>
                                        <string>428.IBEditorWindowLastContentRect</string>
+                                       <string>428.IBPluginDependency</string>
                                        <string>428.IBWindowTemplateEditedContentRect</string>
                                        <string>428.NSWindowTemplate.visibleAtLaunch</string>
                                        <string>428.editorWindowContentRectSynchronizationRect</string>
                                        <string>469.IBPluginDependency</string>
                                        <string>470.IBPluginDependency</string>
                                        <string>472.IBPluginDependency</string>
-                                       <string>477.IBPluginDependency</string>
                                        <string>485.IBPluginDependency</string>
-                                       <string>490.IBPluginDependency</string>
                                        <string>509.IBPluginDependency</string>
                                        <string>510.IBPluginDependency</string>
                                        <string>514.IBPluginDependency</string>
                                        <string>535.IBPluginDependency</string>
                                        <string>536.IBPluginDependency</string>
                                        <string>537.IBPluginDependency</string>
+                                       <string>540.IBPluginDependency</string>
+                                       <string>541.IBEditorWindowLastContentRect</string>
+                                       <string>541.IBPluginDependency</string>
+                                       <string>548.IBPluginDependency</string>
+                                       <string>549.IBPluginDependency</string>
+                                       <string>551.IBPluginDependency</string>
+                                       <string>552.IBPluginDependency</string>
+                                       <string>553.IBPluginDependency</string>
+                                       <string>554.IBPluginDependency</string>
+                                       <string>555.IBPluginDependency</string>
+                                       <string>556.IBPluginDependency</string>
                                        <string>56.IBPluginDependency</string>
                                        <string>56.ImportedFromIB2</string>
                                        <string>57.IBPluginDependency</string>
                                        <string>57.editorWindowContentRectSynchronizationRect</string>
                                        <string>58.IBPluginDependency</string>
                                        <string>58.ImportedFromIB2</string>
+                                       <string>588.IBPluginDependency</string>
+                                       <string>588.ImportedFromIB2</string>
+                                       <string>589.IBEditorWindowLastContentRect</string>
+                                       <string>589.IBPluginDependency</string>
+                                       <string>589.ImportedFromIB2</string>
+                                       <string>589.editorWindowContentRectSynchronizationRect</string>
+                                       <string>597.IBPluginDependency</string>
+                                       <string>597.ImportedFromIB2</string>
+                                       <string>606.IBPluginDependency</string>
+                                       <string>607.IBPluginDependency</string>
                                </object>
                                <object class="NSMutableArray" key="dict.values">
                                        <bool key="EncodedWithXMLCoder">YES</bool>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <string>com.apple.InterfaceBuilderKit</string>
-                                       <string>com.apple.InterfaceBuilderKit</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <reference ref="9"/>
-                                       <string>{{87, 691}, {163, 23}}</string>
+                                       <integer value="1"/>
+                                       <string>{{460, 691}, {160, 23}}</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <reference ref="9"/>
+                                       <integer value="1"/>
                                        <string>{{98, 681}, {163, 23}}</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <reference ref="9"/>
+                                       <integer value="1"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <reference ref="9"/>
+                                       <integer value="1"/>
                                        <string>{{436, 809}, {64, 6}}</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <reference ref="9"/>
+                                       <integer value="1"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <reference ref="9"/>
+                                       <integer value="1"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <reference ref="9"/>
+                                       <integer value="1"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <reference ref="9"/>
+                                       <integer value="1"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <reference ref="9"/>
+                                       <integer value="1"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <reference ref="9"/>
+                                       <integer value="1"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <reference ref="9"/>
+                                       <integer value="1"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <reference ref="9"/>
-                                       <string>{{0, 714}, {148, 20}}</string>
+                                       <integer value="1"/>
+                                       <string>{{327, 750}, {234, 20}}</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <reference ref="9"/>
+                                       <integer value="1"/>
                                        <string>{74, 862}</string>
                                        <string>{{529, 476}, {148, 20}}</string>
-                                       <string>{{249, 160}, {381, 527}}</string>
-                                       <string>{{249, 160}, {381, 527}}</string>
-                                       <reference ref="9"/>
+                                       <string>{{329, 160}, {381, 527}}</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>{{329, 160}, {381, 527}}</string>
+                                       <integer value="1"/>
                                        <string>{{505, 213}, {252, 190}}</string>
                                        <boolean value="YES"/>
                                        <string>{381, 527}</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <string>{{89, 581}, {211, 33}}</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <string>{{82, 548}, {342, 100}}</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <string>{{82, 548}, {342, 100}}</string>
                                        <integer value="0"/>
                                        <string>{{196, 436}, {204, 74}}</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>{{329, 122}, {637, 540}}</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>{{329, 122}, {637, 540}}</string>
+                                       <boolean value="NO"/>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <string>{{158, 122}, {637, 540}}</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <string>{{158, 122}, {637, 540}}</string>
-                                       <boolean value="NO"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>{{456, 597}, {151, 153}}</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <reference ref="9"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <reference ref="9"/>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <integer value="1"/>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <integer value="1"/>
                                        <string>{{23, 551}, {192, 153}}</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <reference ref="9"/>
+                                       <integer value="1"/>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <integer value="1"/>
+                                       <string>{{414, 687}, {177, 63}}</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <integer value="1"/>
+                                       <string>{{323, 672}, {199, 203}}</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <integer value="1"/>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                </object>
                        </object>
                        <object class="NSMutableDictionary" key="unlocalizedProperties">
                                </object>
                        </object>
                        <nil key="sourceID"/>
-                       <int key="maxID">539</int>
+                       <int key="maxID">609</int>
                </object>
                <object class="IBClassDescriber" key="IBDocument.Classes">
                        <object class="NSMutableArray" key="referencedPartialClassDescriptions">
                                                <string key="NS.key.0">doSelectFolder:</string>
                                                <string key="NS.object.0">id</string>
                                        </object>
+                                       <object class="NSMutableDictionary" key="actionInfosByName">
+                                               <string key="NS.key.0">doSelectFolder:</string>
+                                               <object class="IBActionInfo" key="NS.object.0">
+                                                       <string key="name">doSelectFolder:</string>
+                                                       <string key="candidateClassName">id</string>
+                                               </object>
+                                       </object>
                                        <object class="NSMutableDictionary" key="outlets">
                                                <bool key="EncodedWithXMLCoder">YES</bool>
                                                <object class="NSArray" key="dict.sortedKeys">
                                                        <string>id</string>
                                                </object>
                                        </object>
+                                       <object class="NSMutableDictionary" key="toOneOutletInfosByName">
+                                               <bool key="EncodedWithXMLCoder">YES</bool>
+                                               <object class="NSArray" key="dict.sortedKeys">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <string>folderPopup</string>
+                                                       <string>window</string>
+                                               </object>
+                                               <object class="NSMutableArray" key="dict.values">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <object class="IBToOneOutletInfo">
+                                                               <string key="name">folderPopup</string>
+                                                               <string key="candidateClassName">id</string>
+                                                       </object>
+                                                       <object class="IBToOneOutletInfo">
+                                                               <string key="name">window</string>
+                                                               <string key="candidateClassName">id</string>
+                                                       </object>
+                                               </object>
+                                       </object>
                                        <object class="IBClassDescriptionSource" key="sourceIdentifier" id="660522976">
                                                <string key="majorKey">IBProjectSource</string>
                                                <string key="minorKey">notipod_gui.py</string>
                                                        <string>id</string>
                                                </object>
                                        </object>
+                                       <object class="NSMutableDictionary" key="actionInfosByName">
+                                               <bool key="EncodedWithXMLCoder">YES</bool>
+                                               <object class="NSArray" key="dict.sortedKeys">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <string>doCancel:</string>
+                                                       <string>doPreview:</string>
+                                                       <string>doSync:</string>
+                                               </object>
+                                               <object class="NSMutableArray" key="dict.values">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <object class="IBActionInfo">
+                                                               <string key="name">doCancel:</string>
+                                                               <string key="candidateClassName">id</string>
+                                                       </object>
+                                                       <object class="IBActionInfo">
+                                                               <string key="name">doPreview:</string>
+                                                               <string key="candidateClassName">id</string>
+                                                       </object>
+                                                       <object class="IBActionInfo">
+                                                               <string key="name">doSync:</string>
+                                                               <string key="candidateClassName">id</string>
+                                                       </object>
+                                               </object>
+                                       </object>
                                        <object class="NSMutableDictionary" key="outlets">
                                                <bool key="EncodedWithXMLCoder">YES</bool>
                                                <object class="NSArray" key="dict.sortedKeys">
                                                        <string>id</string>
                                                </object>
                                        </object>
+                                       <object class="NSMutableDictionary" key="toOneOutletInfosByName">
+                                               <bool key="EncodedWithXMLCoder">YES</bool>
+                                               <object class="NSArray" key="dict.sortedKeys">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <string>folderModel</string>
+                                                       <string>loadingIndicator</string>
+                                                       <string>loadingLabel</string>
+                                                       <string>loadingSheet</string>
+                                                       <string>playlistModel</string>
+                                                       <string>previewText</string>
+                                                       <string>previewWindow</string>
+                                                       <string>window</string>
+                                               </object>
+                                               <object class="NSMutableArray" key="dict.values">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <object class="IBToOneOutletInfo">
+                                                               <string key="name">folderModel</string>
+                                                               <string key="candidateClassName">id</string>
+                                                       </object>
+                                                       <object class="IBToOneOutletInfo">
+                                                               <string key="name">loadingIndicator</string>
+                                                               <string key="candidateClassName">id</string>
+                                                       </object>
+                                                       <object class="IBToOneOutletInfo">
+                                                               <string key="name">loadingLabel</string>
+                                                               <string key="candidateClassName">id</string>
+                                                       </object>
+                                                       <object class="IBToOneOutletInfo">
+                                                               <string key="name">loadingSheet</string>
+                                                               <string key="candidateClassName">id</string>
+                                                       </object>
+                                                       <object class="IBToOneOutletInfo">
+                                                               <string key="name">playlistModel</string>
+                                                               <string key="candidateClassName">id</string>
+                                                       </object>
+                                                       <object class="IBToOneOutletInfo">
+                                                               <string key="name">previewText</string>
+                                                               <string key="candidateClassName">id</string>
+                                                       </object>
+                                                       <object class="IBToOneOutletInfo">
+                                                               <string key="name">previewWindow</string>
+                                                               <string key="candidateClassName">id</string>
+                                                       </object>
+                                                       <object class="IBToOneOutletInfo">
+                                                               <string key="name">window</string>
+                                                               <string key="candidateClassName">id</string>
+                                                       </object>
+                                               </object>
+                                       </object>
                                        <reference key="sourceIdentifier" ref="660522976"/>
                                </object>
                                <object class="IBPartialClassDescription">
                                                <string key="NS.key.0">outlineView</string>
                                                <string key="NS.object.0">id</string>
                                        </object>
+                                       <object class="NSMutableDictionary" key="toOneOutletInfosByName">
+                                               <string key="NS.key.0">outlineView</string>
+                                               <object class="IBToOneOutletInfo" key="NS.object.0">
+                                                       <string key="name">outlineView</string>
+                                                       <string key="candidateClassName">id</string>
+                                               </object>
+                                       </object>
                                        <reference key="sourceIdentifier" ref="660522976"/>
                                </object>
                        </object>
                </object>
                <int key="IBDocument.localizationMode">0</int>
+               <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaFramework</string>
+               <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencies">
+                       <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.macosx</string>
+                       <integer value="1050" key="NS.object.0"/>
+               </object>
+               <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
+                       <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3</string>
+                       <integer value="3000" key="NS.object.0"/>
+               </object>
+               <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
                <string key="IBDocument.LastKnownRelativeProjectPath">../notipod.xcodeproj</string>
                <int key="IBDocument.defaultPropertyAccessControl">3</int>
+               <object class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">
+                       <bool key="EncodedWithXMLCoder">YES</bool>
+                       <object class="NSArray" key="dict.sortedKeys">
+                               <bool key="EncodedWithXMLCoder">YES</bool>
+                               <string>NSMenuCheckmark</string>
+                               <string>NSMenuMixedState</string>
+                               <string>NSSwitch</string>
+                       </object>
+                       <object class="NSMutableArray" key="dict.values">
+                               <bool key="EncodedWithXMLCoder">YES</bool>
+                               <string>{9, 8}</string>
+                               <string>{7, 2}</string>
+                               <string>{15, 15}</string>
+                       </object>
+               </object>
        </data>
 </archive>
index d5ca792b968f3e83be393e2f4faf9ff14c7e9b19..d3b13697599e782a9bffe9bf15c66dd91a0aadbd 100644 (file)
        <key>CFBundlePackageType</key>
        <string>APPL</string>
        <key>CFBundleShortVersionString</key>
-       <string>1.6</string>
+       <string>1.7</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
-       <string>1.6</string>
+       <string>1.7</string>
        <key>NSMainNibFile</key>
        <string>NotiPod</string>
        <key>NSPrincipalClass</key>
index 3e30e4d965d61f4e3e664b16a5b8c83d927a031e..76b7fb002a361cddd5fa27134c9d69c30c4ca15d 100644 (file)
@@ -44,6 +44,8 @@ class ITunesLibrary(NSObject):
                filename = os.path.expanduser(filename)
                yield "Reading library..."
                plist = read_plist(os.path.expanduser(filename))
+               if plist is None:
+                       raise Exception("Could not find music library: " + filename)
                self.folder = self.loc2name(plist["Music Folder"])
                pl_tracks = plist["Tracks"]
                pl_lookup = {}
index b21bfec52ffd60b4adb442a70cb3f3cff97b9663..0d7c44ebc0b32ce79cc2fc70aca68380fe018f7f 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env python
 
-VERSION = "1.6"
+VERSION = "1.7"
 
 import logging
 import optparse
index 5a0d3290de5eab19fea3038f1298d9fa5038aac2..85d2f159400e57eafca02dee407ac9308de92bb7 100644 (file)
@@ -4,6 +4,8 @@
 
 import logging
 import os
+import sys
+import traceback
 
 import objc
 from Foundation import *
@@ -167,6 +169,7 @@ class NotiPodController(NSObject):
                                        self.loadingLabel.setStringValue_, msg, True)
                except Exception, e:
                        NSRunAlertPanel("Error!", str(e), "Ok", None, None)
+                       traceback.print_exc()
                        finish = fail
                self.performSelectorOnMainThread_withObject_waitUntilDone_(
                        self.stopGenerator, finish, True)
@@ -188,11 +191,15 @@ class NotiPodController(NSObject):
                yield "Calculating changes..."
 
                folder = self.folders()[0]
-               playlists = [self.library.get_playlist_pid(pid) for pid in self.playlists()]
+               if not os.path.isdir(folder.encode("utf-8")):
+                       NSRunAlertPanel("Error!", "Destination " + folder + " does not exist, try mounting it first?", "Ok", None, None)
+                       return
 
                all_tracks = []
-               for playlist in playlists:
-                       all_tracks.extend(playlist.tracks)
+               for playlist_id in self.playlists():
+                       playlist = self.library.get_playlist_pid(playlist_id)
+                       if playlist is not None:
+                               all_tracks.extend(playlist.tracks)
 
                gen = libnotipod.sync(
                        dry_run=True,
@@ -217,14 +224,17 @@ class NotiPodController(NSObject):
        @objc.IBAction
        def doSync_(self, sender):
                folder = self.folders()[0]
-               playlists = [self.library.get_playlist_pid(pid) for pid in self.playlists()]
-
                if not os.path.isdir(folder.encode("utf-8")):
                        NSRunAlertPanel("Error!", "Destination " + folder + " does not exist, try mounting it first?", "Ok", None, None)
                        return
 
                all_tracks = []
-               for playlist in playlists:
+               for playlist_id in self.playlists():
+                       playlist = self.library.get_playlist_pid(playlist_id)
+                       if playlist is None:
+                               print "Forgetting unknown playlist:", playlist_id
+                               self.setPlaylist_selected_(playlist_id, False)
+                               continue
                        all_tracks.extend(playlist.tracks)
                        libnotipod.export_m3u(dry_run=False, dest=folder, path_prefix="",
                                        playlist_name=playlist.name, files=playlist.tracks)