WordPress.org

Ready to get started?Download WordPress

Forums

124

WP iTunes (107 posts)

  1. lucky33
    Member
    Posted 9 years ago #

    Just wanted to let everybody know I've finished my new plugin called WP iTunes...it will allow you to display the currently playing song on your iTunes on your WordPress blog...You can see it running on the front page of my site, so download it, mess around with it, and let me know if you like it or have any questions...
    WP iTunes

  2. 7milesdown
    Member
    Posted 9 years ago #

    Great. Im going to try this out. Let you know how it works for me.

  3. 7milesdown
    Member
    Posted 9 years ago #

    How does the ITUNES BLOGGER WORK? I tried to open it and it give me this error. Im on Windows XP.
    The application failed to intitialize properly.

  4. lucky33
    Member
    Posted 9 years ago #

    I'm not sure what would be wrong with iTunesBlogger...it has always worked ok for me...i would suggest e-mailing the developers or leaving a question on their site...

  5. Anonymous
    Unregistered
    Posted 9 years ago #

    Does anyone know of a an application like ITUNES BLOGGER for Mac OS X?

  6. moisie
    Member
    Posted 9 years ago #

    Recent tunes allows you to upload loads of data in relation to what you're playing, although what you do with it is up to you.

    Recent Tunes
    Recent Tunes stores a list of recently played iTunes songs in your menu bar for quick access. Choosing a recently played tune from the list immediately plays the song in iTunes. Version 2.0 adds the ability to upload files to your Web server (via FTP, SSH1, or SSH 2) or to a database (via HTTP GET) - perfect for bloggers looking to post a list of their Recent Tunes online!

  7. somefool
    Member
    Posted 9 years ago #

    hesed: for the mac i use nowplaying - http://www.big.or.jp/~crane/soft/nowPlaying/ - uploads a lovely PNG

  8. lucky33
    Member
    Posted 9 years ago #

    hesed: without looking at it, I would guess Recent tunes would be your best choice. iTunesBlogger simply makes a GET request to your site, and it looks like Recent tunes would allow you to do the same thing. However, I don't have a Mac, so you would be on your own figuring it out to work with WP iTunes. Good luck with this and let us know how it goes.

  9. davidchait
    Member
    Posted 9 years ago #

    BTW, my CG-WhatTunes plugin has been discussed numerous times along with setting up the associated bloggers for both platforms. I used HTTP GET for WT as it is lower overhead, and WT then ties in with CG-Amazon to display cover art (when there's a match -- and then no bandwidth hit to you) plus a link to Amazon to purchase.
    ... and for those who don't want to search, yes, Recent Tunes is the best Mac equivalent... ;)
    -d

  10. OshKoshPoshJosh
    Member
    Posted 9 years ago #

    I get this error where my songs should appear on the page:
    Database error: [Table 'okpjcom_new.wp_itunes' doesn't exist]
    SELECT * FROM wp_itunes ORDER BY added_date DESC LIMIT 1
    I installed WP iTunes once and it worked, but I had to reinstall WordPress. I had cleared out all the WordPress files from the database, and now I get this error whenever I try to use the wp itunes plugin. The plugin doesn't seem to make the wp itunes file in the database.
    Any solutions? Thanks

  11. magoo
    Member
    Posted 9 years ago #

    I am recieving this error when I try to run the hack.
    --
    Fatal error: Call to undefined function: wp_get_itunes() in /home/studioki/public_html/blog/wp-sidebar.php on line 19
    --
    In the wp-sidebar.php on line 19 is where I placed <?php wp_get_itunes(3); ?> isn't that how you call that function? A little lost right now, thanks.

  12. lucky33
    Member
    Posted 9 years ago #

    magoo, sounds like you haven't activated the plugin in the admin...that is the only reason i can think of why you would get the undefined function error...

  13. Anonymous
    Unregistered
    Posted 9 years ago #

    Lucky33 - *excellent* site, really like the design. Best WP-based site I've seen

  14. magoo
    Member
    Posted 9 years ago #

    When activating the plugin is it suppose to create a table in the database? If so mine is not creating a table. I have the plugin activated in the admin panel. :-/

  15. dawson
    Member
    Posted 9 years ago #

    I have the same problem like OshKoshPoshJosh
    Database error: [Table 'test_new.wp_itunes' doesn't exist]
    SELECT * FROM wp_itunes ORDER BY added_date DESC LIMIT 1
    or
    Database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1]
    SELECT * FROM wp_itunes ORDER BY added_date DESC LIMIT
    Solutions!?

  16. lucky33
    Member
    Posted 9 years ago #

    the table is created the first time iTunesBlogger posts a song to your blog...this is probably something i need to correct in the future...oshkoshposhjosh had a problem with the URL setting in iTunesBlogger, so it was not correctly posting any songs to his blog...i would start checking there

  17. magoo
    Member
    Posted 9 years ago #

    Aww ok well I deleted the xml file and redid the settings, the itunesblogger is writing to the database. Am I calling the function properly? Or do I need to point the function to the wpitunes.php file.
    I now have the function in index.php, and am stating <?php wp_get_itunes(3); ?>
    Am I calling the function properly?
    Thanks for the help :)

  18. dawson
    Member
    Posted 9 years ago #

    Ok...today all the tables are created in the database..but i still get the same error:
    Database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1]
    SELECT * FROM wp_itunes ORDER BY added_date DESC LIMIT
    if the code in de wp-itunes.php is
    $itunes_key = "personaltest";
    the line in the ITunesBlogger must be..
    http://www.myweblog.com/?wpitunes=personaltest&track=%t&artist=%a&album=%b&genre=%g
    or is this wrong?

  19. dawson
    Member
    Posted 9 years ago #

    Still waiting for an answer :(

  20. lucky33
    Member
    Posted 9 years ago #

    dawson, the line in iTunesBlogger looks fine, it looks like there is some problem with the database query to retrieve the iTunes tracks...Do you know what version of mySQL your host is running? also, is the table named something like wp_itunes in your database, or whatever the prefix is for all your other wordpress tables?

  21. dawson
    Member
    Posted 9 years ago #

    Hi Lucky thanks for your answer...the mysql Version is 4.0.20 , the table in the database is named wp_itunes and there are following fields in the table:
    itunes_id
    album
    track
    artist
    genre
    image
    added_date
    The output-code on the page is '<?php get_wp_itunes($limit); ?>'
    Thanks for your help, love this plugin! Hope we can solve my problem :)

  22. lucky33
    Member
    Posted 9 years ago #

    silly question, but does $limit have a value in the output code above? try putting a value in there, like 3 or just leaving it as '<?php get_wp_itunes(); ?>'...

  23. lucky33
    Member
    Posted 9 years ago #

    that should be all you have to put in the output file...have you looked in the database and seen if there are any songs in the wp_itunes table? if there are no values there, something is not set correctly between iTunesBlogger and your WordPress install...it could either be the $itunes_key value, or the URL is not pointing to the correct path on your site...

  24. dawson
    Member
    Posted 9 years ago #

    No there are no values in the wp_itunes table so...i'll check the ituneskey and URL.. :)
    thx

  25. missteresa
    Member
    Posted 9 years ago #

    I don't think the plugin is creating the table for me either. I went into MyPHPAdmin and I don't see a WP-itunes table. I think this is because my wordpress is installed in a separate directory (/wp). Anyway, this plug-in sounded cool. Too bad I lack the SQL and PHP skills to install it correctly. :(
    Here is the error if anyone wants to help me out:
    Fatal error: Call to undefined function: wp_get_itunes() in /home/asian/public_html/wp/wp-includes/footer.php on line 50
    Also, I think I might have this error because I split up my index.php into three parts (header, main, footer). I'm going to deactivate the plugin for now. Any suggestions/help would be greatly appreciated. Thanks!

  26. DirtyF
    Member
    Posted 9 years ago #

    If you look at the code you can see that the function is :
    get_wp_itunes(); and not wp_get_itunes();
    I had same problem, but now it works fine :)

  27. Anonymous
    Unregistered
    Posted 9 years ago #

    Okay I fixed that, and as expected, I don't think I have the table created. When does the plugin create the table? Is it when I activated it in WP? Anyway, here is the error message:

    Database error: [Table 'asian_wrdp1.wp_itunes' doesn't exist]
    SELECT * FROM wp_itunes ORDER BY added_date DESC LIMIT 1

    How does one create the table manually in PHPMyAdmin? I need a very descriptive method since it looks very confusing. Thanks.
    :)

  28. lucky33
    Member
    Posted 9 years ago #

    the table gets created the first time that iTunesBlogger posts a playing song to your site...

  29. missteresa
    Member
    Posted 9 years ago #

    ooh i got it working . anyone know how to adjust the time to EST? right now it shows up as 3:30 am (dec 5) when it's 10:30 pm on dec. 4. yay!

  30. emorgoch
    Member
    Posted 9 years ago #

    Alright, since installing the plugin, I'm getting two errors.
    Firstly, I'm having a caching trouble where when I reload my home page, the track listing isn't getting updated with the most recent tracks played.
    Has anyone else seen this issue? I'm running the server on a Windows 2000 Pro box, running Apache 2, MySQL 4.0.22, and PHP 5.0.3.
    Oh, and is there an easy way to mod the plugin so that if no image was found from Amazon that a general image could be loaded? Thanks

124

Topic Closed

This topic has been closed to new replies.

About this Topic