Recent music!

Posted on Saturday 16 April 2005

I got the sidebar music stuff running with Recent Tunes and WP-Itunes. I had the hardest time getting Recent Tunes working, but that’s because I’m dumb. To save people some trouble, I offer the following advice…

  1. Current tune: only select ‘Upload current tune file’
  2. Recent tune: deselect upload recent tunes file
  3. Upload file: select HTTP Get. Put the just your server name and perhaps path into the box (in my case, it’s www.kipster.org/kipworld/)
  4. Templates: Get Args should be clickable and nothing else. Enter this into the box: “wpitunes=your wp-itunes key here&track=^t&artist=^p&album=^a&genre=^g”
  5. Now install WP-Itunes on your blog.

It should work now… although you might want to make some edits. I changed WP-Itunes to have a rating column and added it to my Recent Tunes template. Also, I don’t really like how the tunes are output in WP-Itunes, so I may rewrite the generation function soon.

Also, out of the box, WP-Itunes doesn’t handle special characters very well (I think the author’s host has get_magic_quotes turned on). So, I wrote a quick safe_addslashes function and edited the plugin file to call that on the arguments before inserting into the database. More info on quotes and slashes (but not quotes from slasher films) is here.

Finally… things are happy!!! Now I just have to worry about embarrassing songs getting uploaded…


11 Comments for 'Recent music!'

  1.  
    5/28/2005 | 7:24 am
     

    thanks for the additional info… but on my blog, it still doesn’t seem to work, get this error:
    WordPress database error: [Table ‘newforms.wp_itunes’ doesn’t exist]
    SELECT * FROM wp_itunes ORDER BY added_date DESC LIMIT 3
    do you have any idea how to fix this…? what password do i have to put in recent tunes… the ftp or the wordpress… or the mySQL…? i’m so confused… i would love to get this thing to work…
    also, the upload url, does it have to be www.whatever.com/index.php…? or with out the index php… so many questions… i would aprechiate any help…

  2.  
    Kip
    5/29/2005 | 11:41 pm
     

    Yeah, that’ll happen if you haven’t created the table yet. The plugin is supposed to do it, but sometimes it screws up. You can try to create the table by yourself in mySQL.

  3.  
    5/18/2006 | 12:08 pm
     

    car insurance

    rent midsts neurological polished,chokers packed attics?commercial insurance http://commercial-insurance.org-insurance.com/

  4.  
    5/20/2006 | 7:18 am
     

    nfl odds

    sloop harassment,failsoft scrolls Ephesus:online sports betting http://www.sport-betting-2u.com/

  5.  
    5/21/2006 | 2:23 am
     

    home loans

    ascenders!rider amateurishness swiftness,cameramen mortgage rates http://www.info-4mortgages.com/

  6.  
    5/21/2006 | 6:02 pm
     

    reno hotels

    parter Staten characters indirectly renal shoehorn allocations Allegra soft,hotels motels http://www.10000-hotels.com/

  7.  
    5/23/2006 | 10:41 pm
     

    credit counseling services

    pencils:Langeland Herodotus faltered:Inanna crude paradoxically monkish credit repair http://credit-repair.nonprofit-debt-consolidation.com/

  8.  
    6/28/2006 | 10:52 pm
     

    buy valium

    uk.

  9.  
    Ray
    8/31/2006 | 3:51 pm
     

    Ray

    I am Karin, very interesting article that contained the information I was searching for in Google, thanks.

  10.  
    9/27/2006 | 1:59 pm
     

    […] jet charter […]

  11.  
    9/30/2006 | 9:07 am
     

    Lcraf Arch

    I have enjoyed reading your article, thanks.

Leave a comment

(required)

(required)


Information for comment users
Line and paragraph breaks are implemented automatically. Your e-mail address is never displayed. Please consider what you're posting.

Use the buttons below to customise your comment.


RSS feed for comments on this post | TrackBack URI