• I don’t understand what I’m doing wrong. I pasted the following URL into the HTTP Post field:
    acid-stars.com/wp-content/plugins/cg-plugins/tracktunes.php?add=1&t=%t&a=%a&g=%g&al=%b
    (http:// automatically added)

    When I click on Tunes in my WP admin interface, I see a table that looks something like this:
    Date Song Artist Album
    Mon, 28 Mar 2005 09:19:05 -0800 %t %a %b
    Mon, 28 Mar 2005 09:17:05 -0800 %t
    Mon, 28 Mar 2005 09:06:18 -0800 %t
    Mon, 28 Mar 2005 09:05:31 -0800
    Mon, 28 Mar 2005 09:02:40 -0800 %t %a %b

    What am I doing wrong? Why are my tunes not showing up?

    (I have activated both the CG-Amazon and CG-WhatTunes plugins. I am using WinAmp 5.05 and WordPress 1.5.)

    Thank you 🙂

Viewing 15 replies - 1 through 15 (of 15 total)
  • Ummm, what are you using with WinAmp to auto-POST the song info? I’ve only ever used iTunes (mac and windows), or a beta script with WMP. It is likely that the format of the POST string is different for WinAmp than it is for iTunes, and you just need to find the right format. If you can point me in the general direction, I’ll help you figure it out…

    I just downloaded WinAmp 5.08, so just let me know what plugin/etc. you are using.

    -d

    Thread Starter Allie

    (@allie)

    I downloaded & installed the “Now Playing” plugin for WinAmp, found at http://www.cc.jyu.fi/~ltnevala/nowplaying/index.php

    Thanks! 🙂

    –Allie

    I’d need to write customized code for the tracktunes.php file to be able to interpret the POST format the Now Playing plugin is posting. Hmmm…

    Thread Starter Allie

    (@allie)

    OK, well… I have iTunes also. I just couldn’t find where to paste the URL to POST. Is there a plugin I should download … or am I just completely missing it?

    –Allie

    iTunesBlogger for windows:
    http://www.ituneshacking.com/wiki/wakka.php?wakka=iTunesBloggerHomePage&v=687

    I can probably make something for winamp-now-playing at some point as well…

    -d

    I figured out how to configure the “Now Playing” plugin for Winamp so that it writes the “tracktunes.txt” file to look like this:

    Usher – Caught Up Confessions
    Tim McGraw – Tiny Dancer Tim McGraw & The Dancehall Doctors
    Dispatch – Two Coins

    Took me a while, but I got it. This helped: http://www.cc.jyu.fi/~ltnevala/nowplaying/hints.html#textfile

    Now the only problem is that in the “Tunes” section of my wp-admin interface, all of that information is located under the “Song” column, rather than being split into their respective categories. Can you help?

    I’ll be putting up a new PowerPack with this fix over the weekend — but until then, here’s a revised tracktunes.php that works with the NowPlaying plugin’s Http-POST option — or, at the least, worked in my quickie testing. 😉 There’s still certain to be edge conditions or other issues.

    tracktunes.zip

    -d

    I tried using the fixed tracktunes.php and still no dice. Hopefully your new PowerPack will fix things.

    Using the HTTP-post to tracktunes.php should be working fine. Writing custom stuff into the tracktunes.txt file won’t — it needs to match my formatting… Don’t know which you tried… 😉

    -d

    How would I get the sidebar to look like this?:

    “Song Title”
    Album Image (link to amazon)
    Album Name (link to amazon)
    Band name (no link)

    Even if it looked like it looks in my WP Admin interface, that would be cool. I was looking at some of the CSS, and i can’t figure any of it out… I’m a pretty big novice.

    I get unneccesary underlines for some reason. You can see what it looks like at http://www.jakebouma.com. Let me know what you think. Also, whenever a song has an apostrophe in it, a “/” get’s added, i.e. “U Know What\’s Up”. Is that something that can be fixed? Thanks man.

    Thanks for all of your pro-bono help. I’ll link to you your site.

    Jake

    Is it also possible to get a 1px black border around the amazon image?

    I’ll try to take a look later tonight when I get a break. If you don’t hear from me, I’m just busy — feel free to ping again.

    The extra underlines are due to links — as specified in CSS for either “a” or “li a” or “{menu} ul li a”, or something like that. Off the top of my head, could try:
    #sidebar .amazon-block a {
    border: none;
    }

    The extra slash thing has me bugged… There’s some encoding happening, but I already do one stripslashes — so must be that there’s one on the sending side, and then I’m introducing a SECOND one on the receiving side… GRRRRrrrr… Will look into it.

    The black border around the image is easy, something like the following might work (make sure it is defined AFTER the example above!):
    #sidebar .amazon-block img {
    border: 1px solid black;
    }

    You might also want to throw a UL or UL LI around the amazon output, which would ‘insulate’ it better. Not sure what that’d mess with in your theme. (I don’t have Minima Plus installed here, or I’d try this all directly…)

    -d

    Wow, thank you for all of your help!

    The underline of the link is gone, and I got the border around the album, but I still have the ul or something between the song name and the album cover, and the album and link are on the same line. I also tried going into the php to change the picture size, but it is the same.

    Sorry to keep bugging you. Your help is really appreciated.

    No problem! Obviously, I want EVERYONE to use my plugins, since they’re so awesome! 😉 😉 (Now, if I just made them a little easier to use/configure/tweak… 🙂 )

    For a different picture size, you want to find the line in cga-config.php:
    // $defaultAmazonImage = 'SmallMediumShadowed';
    Uncomment it, and try ‘SmallMedium’ instead. ‘Medium’ is really big, and ‘Large’ is just enormous.

    As for single-line thing, that’s because you don’t have cg-amazon.css installed — though it probably would have caused OTHER visual problems. The key line that should solve the problem is at the top of cg-amazon.css:
    .amazon-item-wrap span {display: block; }

    Let me know if that doesn’t do the job.

    And of course, once you’ve gotten this far, you can also easily add other Amazon stuff to your sidebar (select items, ‘reading now’ lists, your Wishlist, etc.), or direct in posts. See all the CG-Amazon threads around here if you want more info. 😉

    -d

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘CG-WhatTunes’ is closed to new replies.