On Tuesday, Sep 16, 2003, at 13:48 US/Pacific, Jeff Lowrey wrote:
[..]
use Mac::Glue
my $iTunes=>Mac::Glue->new("iTunes");
my $temp =
$iTunes->prop(location=>file_tracks,library_playlist=>'Library');
my @alias = $temp->get();
print scalar(@alias);
gives me the right number.
so if one didn't wan
At 8:57 AM -0400 9/16/03, Jeff Lowrey wrote:
At 8:27 AM -0400 9/16/03, Jeff Lowrey wrote:
It works, at least.
But what I really want,
my @alias = $iTunes->prop(location=>file_tracks,library_playlist=>'Library');
doesn't seem to.
At least, if I do
use Mac::Glue
my $iTunes=>Mac::Glue->new("iTunes");
At 16:43 -0400 2003.09.16, Jeff Lowrey wrote:
>I wasn't planning on retrieving the value until after I had the list
>of all of them...? That is, I wanted to get all the file track
>locations, and then loop over the list, and get the value of each one.
Then what "doesn't work"?
>Or should I be d
At 8:27 AM -0400 9/16/03, Jeff Lowrey wrote:
It works, at least.
But what I really want,
my @alias = $iTunes->prop(location=>file_tracks,library_playlist=>'Library');
doesn't seem to.
At least, if I do
use Mac::Glue
my $iTunes=>Mac::Glue->new("iTunes");
my @alias = $iTunes->prop(location=>file_tra
At 6:14 PM -0700 9/15/03, Chris Nandor wrote:
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Jeff Lowrey) wrote:
Are you sure about that?
If I were sure, then I woudn't have asked... :-)
And here's my version:
use Mac::Glue;
my $iTunes = Mac::Glue->new("iTunes");
my $alias = $iTunes-
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Jeff Lowrey) wrote:
> So it's easy enough to get the file for a song, I just ask iTunes
> for the location of the file track...
> my $iTunes = Mac::Glue->new("iTunes");
> my $alias = $iTunes->obj(location,
> of=>file_track=>gFirst=>of=>library
So maybe I'm going about this the wrong way (well, probably).
I need to play around with the ID3 tags of some songs in my iTunes
library. So I want to get the path to an actual file for a
particular song, and then do stuff with the file.
So it's easy enough to get the file for a song, I just