From ivan at shumkov.ru Wed Nov 19 16:31:18 2008 From: ivan at shumkov.ru (=?KOI8-R?B?6dfBziD71c3Lz9c=?=) Date: Thu, 20 Nov 2008 00:31:18 +0300 Subject: [Rubyosa-discuss] How to check if track already exists in iTunes Message-ID: Hello guys! How to check (if exists?) before adding file to iTunes? I'm use: itunes = OSA.app('iTunes') library = itunes.sources.find {|s| s.kind == OSA::ITunes::ESRC::LIBRARY } music = library.playlists.find { |playlist| playlist.special_kind == OSA::ITunes::ESPK::MUSIC } tracks = music.search(tag.artist, OSA::ITunes::ESRA::ARTISTS) rescue tracks = nil unless tracks.nil? begin itunes_track = tracks.find do |track| track.size == File.size(file_path) and track.name == tag.title and track.artist == tag.artist end rescue sleep 2 retry end else itunes_track = false end But it is no good way! From mlists at pmade.com Thu Nov 20 10:39:53 2008 From: mlists at pmade.com (Peter Jones) Date: Thu, 20 Nov 2008 08:39:53 -0700 Subject: [Rubyosa-discuss] What is the Official Status of RubyOSA? Message-ID: This mailing list has gone very quiet with many unanswered questions, and it also seems that Laurent is busy with MacRuby these days. AFAICT, RubyOSA doesn't work with Ruby 1.8.7, and I'm skeptical that it will work with 1.9.1. So my obvious question is, what's the official status of RubyOSA? Laurent, will you be making further releases, or are you looking for a new maintainer? -- Peter Jones, http://pmade.com pmade inc. Louisville, CO US From laurent.sansonetti at gmail.com Thu Nov 20 17:34:59 2008 From: laurent.sansonetti at gmail.com (Laurent Sansonetti) Date: Thu, 20 Nov 2008 14:34:59 -0800 Subject: [Rubyosa-discuss] What is the Official Status of RubyOSA? In-Reply-To: References: Message-ID: <1be7247c0811201434p731b8225hc05b696b57247fc0@mail.gmail.com> Hi Peter, On Thu, Nov 20, 2008 at 7:39 AM, Peter Jones wrote: > This mailing list has gone very quiet with many unanswered questions, > and it also seems that Laurent is busy with MacRuby these days. Indeed, I'm spending most of my time on MacRuby now. > AFAICT, RubyOSA doesn't work with Ruby 1.8.7, and I'm skeptical that it > will work with 1.9.1. So my obvious question is, what's the official > status of RubyOSA? > > Laurent, will you be making further releases, or are you looking for a > new maintainer? > I personally don't have the time to make any further RubyOSA releases, so if one wants to take over the project's maintenance I would be very happy to give the maintenance rights. My plan for the future is to make MacRuby an OSA component and bundle an appscript-like (so not RubyOSA-like, though I have not really decided that yet) bridge with it. This should appear next year, maybe. If any of you is interested in working in this, please let me know :-) Laurent From apple.hater at googlemail.com Sun Nov 30 15:47:45 2008 From: apple.hater at googlemail.com (AH) Date: Sun, 30 Nov 2008 20:47:45 +0000 Subject: [Rubyosa-discuss] scripting quicktime Message-ID: <58f472cf0811301247r5e135193uc89188acddd4b3f5@mail.gmail.com> Hello everyone, I'm trying to script Quicktime Broadcaster but struggling to find documentation on what objects to pass to certain methods. The sdef for broadcaster says to send the 'start' command, and that takes 1 direct parameter: but I can't find information on what this should be. Any ideas where to go from here? thanks for reading. -------------- next part -------------- An HTML attachment was scrubbed... URL: