Women in Technology

Hear us Roar



Article:
  Controlling iTunes with Perl
Subject:   If only I could install it
Date:   2002-11-25 22:13:41
From:   timct
Response to: If only I could install it

I hunted down Mac::Path::Util via google installed the alpha that I found. However even after successfully compiling Mac::iTunes it failes many of the controller tests and thus refuses to install without forcing it to. Any ideas? I am running Perl 5.8.0 on Jaguar.
Full Threads Oldest First

Showing messages 1 through 6 of 6.

  • brian d foy photo If only I could install it
    2002-11-25 23:13:58  brian d foy | O'Reilly AuthorO'Reilly Blogger [View]

    Some of the controller tests seem to depend on the state of iTunes. If you change iTunes during the test, like minimizing it, some tests can fail.

    As for Mac::Path::Util, or any Perl module, your first stop should be http://search.cpan.org.

    If you send me any error messages you get, I would be happy to help you fix them. :)
    • Apple Events in iTunes
      2005-09-06 03:25:50  Bill_Palmer [View]

      Hi Brian

      Do you know how to access iTunes Events from Applescript or Perl on Mac OS X.

      On the Windows version, the COM object emits events such as OnPlayerPlayEvent and OnDatabaseChangedEvent but I can't find any equivalent in the documentation of the Mac version.

      I'm using your Mac::iTunes module to interface with iTunes but the project needs to know when tracks are deleted from iTunes. With events this would be easy but with regular polling of iTunes state it is too processor intensive.
    • If only I could install it
      2002-11-26 11:15:16  timct [View]

      Brian, when interacting with the controller, I keep getting these type of messages. Is this normal?

      ## Component Manager: attempting to find symbols in a component alias of type (regR/carP/x!bt)

      • If only I could install it
        2003-10-25 18:25:14  anonymous2 [View]

        It's a common problem caused by Toast: See if you have a file called Toast Video CD Support.qtx in the main /Library/QuickTime/ directory on your system. If so, delete it or move it to some other location (unless you really want to have Video CD support in Toast!).
      • brian d foy photo If only I could install it
        2002-11-26 20:22:02  brian d foy | O'Reilly AuthorO'Reilly Blogger [View]

        That does not look like a Perl error. That looks like something else is wrong.
    • If only I could install it
      2002-11-26 11:10:00  timct [View]

      I ended up doing a force install Mac::iTunes. I am testing/writing a script right now. I'll post any problems that I might come across.