Forums

iTunesSpy plugin (19 posts)

  1. crea-doo
    Member
    Posted 7 years ago #

    Just wanted to let everybody know I've finished my new plugin called iTunesSpy. It displays the recently played songs on iTunes on your Wordpres blog.
    You can download it here, mess around with it, and let me know if you like it or have any questions...
    iTunesSpy

  2. sesser
    Member
    Posted 7 years ago #

    I think the Amazon image search is busted. Seems wp_amazon plugin had to be updated to pull images from the XML.

    Also, have you considered using preg_match() for parsing out the info?


    preg_match("/<ImageUrlSmall>(.*)</ImageUrlSmall>/i", $items[$i], $smallURL);
    $artSmall = $smallURL[0];

    Or, better still, using DOM and possibly XPath to grab the info?

    Just curious. Thanks for the great plugin!

  3. behooved
    Member
    Posted 7 years ago #

    Does this work with iTunes Watcher for Mac? I'm guessing not since you've only got Windows installation instructions on the site.

    If not, there any plans to support the mac version of iTunes Watcher in the future? Or is there a similar wordpress plugin like this that will work with itunes for mac?

    thanks!

  4. sesser
    Member
    Posted 7 years ago #

    The latest version claims to support the Mac (via AppleScript) however, I have yet to get it working on my laptop at home. There should be an applescript file included in the distro (either in iTunesSpy or iTunesWatcher, I can't recall off hand).

  5. piginzen
    Member
    Posted 7 years ago #

    I didnt see the link for the Mac version, can you help a brother out?

    thanks

  6. behooved
    Member
    Posted 7 years ago #

    Download iTunes Watcher for mac

    I downloaded both this software and the iTunesSpy plugin yesterday. I installed the plugin, edited the iTunes Watcher applescript and made the application according to the instructions. Unfortunately, I can't find any way to get the plugin and the software on my mac to communicate with each other. iTunes Watcher for mac is no longer supported by its developer, so I'm pretty much stuck.

    If anyone has been able to get this plugin to work on a mac (or knows of a decent alternative besides Kung-Tunes, which is crap), please let me know!

  7. bk
    Member
    Posted 7 years ago #

    Too bad I don't use iTunes anymore. :(

  8. davidchait
    Member
    Posted 7 years ago #

    What don't you like about KungTunes? I had used it for a while when developing CG-WhatTunes, never had an issue with it. I prefer an app over a script for this kind of thing...

    -d

  9. behooved
    Member
    Posted 7 years ago #

    Actually I do like what KungTunes can do... I was able to integrate into my site's template with full creative control, which is great.. However, I have some issues with the program itself.

    If I want it to automatically upload the itunes data whenever I start playing music, I've got to set the preferences to "auto-start timer"... but when that's set, it automatically opens itunes on startup and starts playing music automatically. Most mornings I turn on my computer and leave it to go do other things while it's booting up... and when I get back it's already started playing the first few tracks in my itunes library and I have to pause it. It's messing up my audioscrobbler data by saying I've listened to the first few songs in my library way more than I actually have.

    But when I turn "auto-start timer" off, I've gotta remember to bring kung-tunes to the front and manually activate the timer every time I start listening to music, and then restart it again every time I pause itunes and start it again.

    Minor inconvenience... but it got annoying enough for me to have to stop using it. I'm still looking for an alternative...

  10. davidchait
    Member
    Posted 7 years ago #

    hmm... I thought iTunesWatcher had similar issues. I also thought there was another applet or two out there.

    if not, I could probably look at iTW and figure out what's up. Or check with the KungTunes guys and have them fix not opening iTunes if it isn't already open! ;)

    -d

  11. behooved
    Member
    Posted 7 years ago #

    That would be great! If you find anything out, let me know. :)

    I contemplated contacting the Kung-Tunes dude... but as the program hasn't been updated since january of 04, I figured he was probably no longer working on it or supporting it. I guess it's worth a try though.

    Cheers.

  12. sesser
    Member
    Posted 7 years ago #

    I actually helped contribute to this app in it's early stages (early). It's essentially the same thing as iTunesWatcher (except that it's been compiled and bundled as an application in Xcode). Simple Applescript that watches iTunes for a new song then uploads the new data to the server. You could probably download the source and do whatever you wanted.

  13. davidchait
    Member
    Posted 7 years ago #

    I just grabbed the source and will take a look when I get through all other to-do list items for the CG-PowerPack. Might just write something for scratch. Sounds like he 'moved on' as with AudioScrobbler producing plugins for most every player, it seemed redundant work to him.

    -d

  14. latitudes
    Member
    Posted 7 years ago #

    sorry for being dense - but i'm not sure how to include the itunes info into my posts. I've tried putting the variable into the code directly with no luck (ex. %album% ). "%album% gets printed in the post. and the php samples on the itunes spy site are nice, but i don't know what to do with them. when i put them in my posts they aren't parsed as php. Help please!

    Thanks

    -hannah

  15. tenthumbs
    Member
    Posted 7 years ago #

    this plugin won't work properly on hosts that disallow url_fopen() like eg. Dreamhost.
    rewriting function amazon_query to use curl instead should be pretty straight forward, tho

  16. latitudes
    Member
    Posted 7 years ago #

    FYI -- WORKING adapted vers of itunes watcher apple script for Mac now included w/latest versions of iTunes spy. go to http://www.crea-doo.at/itunesspy/ to download

  17. latitudes
    Member
    Posted 7 years ago #

    iTunesspy for Xoops WordPress (aka XPress) hack available in the downloads section at http://www.geekgrl.net/

  18. goldrank
    Member
    Posted 7 years ago #

    I have installed ItunesSpy for Mac, checked and re-checked the installation. All the test pages within the iTunesSpy Admin page seem to work and I've checked the code inserted into my sidebar many times. The authentication key is ok, so is the amazon ID key. I'm running this on an iMac G5, on WordPress 2 using the latest version of iTunesSpy. The Applescript is running without generating an error.

    Still, the songs played on my iTunes are not making it into my database. The only content showing up on the blog is the test data sent to the DB using the test and debug urls embedded in the admin page.

    Any help would be very appreciated.

    Chris

  19. goldrank
    Member
    Posted 7 years ago #

    Resolved...iTunespy was operating behind a password protected directory and though it was not generating errors it was unable to send data to the database.

Topic Closed

This topic has been closed to new replies.

About this Topic