Re: Trouble with Scripting Bridge

2008-08-31 Thread Tommy Nordgren
On 31 aug 2008, at 03.12, Peter Stirling wrote: Hi, I've been trying to do some python scripting of iTunes using pyobjc and ScriptingBridge, and I've been having some problems (I reduced everything to objective-c on its own in order work out if it was caused by pyobjc). According to:

Re: Trouble with Scripting Bridge

2008-09-02 Thread has
Tommy Nordgren wrote: On 31 aug 2008, at 03.12, Peter Stirling wrote: I've been trying to do some python scripting of iTunes using pyobjc and ScriptingBridge, and I've been having some problems (I reduced everything to objective-c on its own in order work out if it was caused by pyobjc).

Re: Trouble with Scripting Bridge

2008-09-02 Thread Peter Stirling
'=' and '==' are equivalent in predicate format strings (predicates are queries, so assignment isn't possible) I should probably have made clear in the first post: The program returns a list of all tracks that are marked as gapless from my mp3 collection (and only those marked gapless), the

Re: Trouble with Scripting Bridge

2008-09-03 Thread Fabian
Looks like you are getting the track for nothing. Try changing [track get]; to track = [track get]; or you will just be querying the reference for gapless. F. On Mon, Sep 1, 2008 at 4:21 PM, Peter Stirling <[EMAIL PROTECTED]> wrote: > '=' and '==' are equivalent in predicate format strings (p