WordPress.org

Ready to get started?Download WordPress

Forums

iTunes Lookup Widget
[resolved] Excluding some releases (8 posts)

  1. Andrew Laws
    Member
    Posted 9 months ago #

    I have a client who is in the interesting situation of not being the only artist with his name on iTunes. So the widget is showing up his releases and a couple of releases from someone else with the same name as him.

    Can I exclude some releases to block the 'other' artists?

    The site is at http://www.tomsandersonmusic.com/

    http://wordpress.org/extend/plugins/itunes-lookup-widget/

  2. ollybach
    Member
    Plugin Author

    Posted 9 months ago #

    i don't think i understand.
    the widget displays/selects albums etc by artists id, not by name, so it's irrelevant if the artists have the same name if you have the right id....

  3. Andrew Laws
    Member
    Posted 9 months ago #

    That's what I thought! The ID is 356837601 and the album and single named 'Bombus' is a different Tom Sanderson. So I guess the problem really is that itunes thinks these two people are one person.

    But I stand little hope of getting iTunes to realise they are two different people so I need to exclude the Bombus releases.

    Any ideas? Ta star!

  4. ollybach
    Member
    Plugin Author

    Posted 9 months ago #

    yup. itunes is stupid.....

    the only idea i can come up with is to exclude/hide some of the items by css. so if you want to hide the 5th in that list do in your css somewhere

    div.ilw-ini>div>ul>li:nth-child(5){display:none}

    it's not 100% reliable as the order/number of items might change (and probably won't work on old browsers), but it's something. not my fault that apple do stupid things

    i might get around to put some id's on the relevant li elements, so you could just do

    #elementidhere{display:none}

    which should be a lot more reliable and work on old browsers but that's not implemented in the current version and I'm not sure when I'll get around to doing that

  5. ollybach
    Member
    Plugin Author

    Posted 9 months ago #

    as you rightly noticed even on apply its that way (just to prove it's not the widgets fault )

    https://itunes.apple.com/gb/artist/tom-sanderson/id356837601

  6. Andrew Laws
    Member
    Posted 9 months ago #

    Thank you ever so much for your help with this. I think we'll have to find another way of displaying this client's wares, which is a real shame as I love your plugin!

  7. ollybach
    Member
    Plugin Author

    Posted 9 months ago #

    Hi,

    had a couple of hours time.

    update your version to 0.5.2 and you'll find a "omit album/book/etc id..."
    just type in the id numbers you need to exclude (comma separated)

    hope that helps

  8. Andrew Laws
    Member
    Posted 9 months ago #

    That's astonishing, thank you SO much! I owe you a pint!

Reply

You must log in to post.

About this Plugin

About this Topic