User Scripts » Discussions

Highlight Same Artist - (Opera specific script)

 
    • snyde1 said...
    • Subscriber
    • 3 Apr 2007, 22:05

    Highlight Same Artist - (Opera specific script)

    This is a script similar to the Greasemonkey script. It will display the artists that you have in common with the user whose page you're currently browsing.

    This version will allow you to check all of your top artists (up to 500, or whatever the current limit is in the charts). This version has this scaled back to the top 300 artists.

    If the artist match is in your top 50, the artist name will be bolded and underlined; if in the next 50, just bolded; and if in the last bunch, italicised and underlined. Feel free to change the styles.

    Hilight.user.js


    Note: while coloured text could be used to highlight, this distinction would be lost if you used a custom theme.

    Did I hear that right? Mondegreens - for the misheard word.
    Like Odds? Can't get better than Even Odds!

    Speak your truth quietly and clearly; and listen to others, even to the dull and the ignorant; they too have their story.
    • snyde1 said...
    • Subscriber
    • 6 Jul 2007, 04:20
    Okay, this incarnation is the latest and shiniest.

    There are a bunch of changes. As noted in the preview, there is a sidebar panel which allows you to see the number of matches in each grouping. You can select which of your charts to use in the panel - the default is your overall artist chart. Beyond the preview: you can toggle between hiding and showing those artists that don't match yours; use this on group charts; and adding the "taste-o-meter" reading at the bottom of the panel. There is also the possibility of setting the minimum number of plays in your chart to allow it to be elegible for matching. This has been set to 1.

    I've made a break with the past, and have used colours in this one for the matches. You have the option of changing these as you see fit, by editting the file. You can also add your own divisions, if you wish.

    Right click on the link below, and save it to your user script directory. Make sure to name it with the .user.js extension.

    ArtistMatch.Opera.user.js


    Enjoy!

    EDIT: Note - this doesn't work on the user's main page any more. You have to go to the charts (or change the top of the scripts).

    Did I hear that right? Mondegreens - for the misheard word.
    Like Odds? Can't get better than Even Odds!

    Speak your truth quietly and clearly; and listen to others, even to the dull and the ignorant; they too have their story.
    • [Deleted user] said...
    • User
    • 6 Jul 2007, 16:54
    hmm... seems that it doesnt work on the charts pages.

    "This summary used 67 artists from the 247 on your overall chart, and 0 artists on this page."

    but if you add
    // @include http://www.last.fm/user/*
    it works quite well on users main pages

    • snyde1 said...
    • Subscriber
    • 6 Jul 2007, 22:25
    B4sti4n said:
    hmm... seems that it doesnt work on the charts pages.

    "This summary used 67 artists from the 247 on your overall chart, and 0 artists on this page."

    You will see that on non-chart pages, if you make change you indicate below:
    but if you add
    // @include http://www.last.fm/user/*
    it works quite well on users main pages


    Can you please include the url of a page where the script is not working for you?

    Thanks.

    Did I hear that right? Mondegreens - for the misheard word.
    Like Odds? Can't get better than Even Odds!

    Speak your truth quietly and clearly; and listen to others, even to the dull and the ignorant; they too have their story.
    • snyde1 said...
    • Subscriber
    • 16 Nov 2007, 04:59

    Fixed for Quilts

    It was pointed out to me that the greasemonkeys version of this script did not work for those people that use quilts.

    So, thanks to kuge and teganblue, we're now getting a fixed version here.

    Please let me know if you have any trouble with this one.

    ArtistMatch.Opera.user.js

    Did I hear that right? Mondegreens - for the misheard word.
    Like Odds? Can't get better than Even Odds!

    Speak your truth quietly and clearly; and listen to others, even to the dull and the ignorant; they too have their story.
    • snyde1 said...
    • Subscriber
    • 17 Mar 2008, 01:24
    As this has some problems being hosted here, I have moved it to UserScripts.org.

    Did I hear that right? Mondegreens - for the misheard word.
    Like Odds? Can't get better than Even Odds!

    Speak your truth quietly and clearly; and listen to others, even to the dull and the ignorant; they too have their story.
    • snyde1 said...
    • Subscriber
    • 19 Jul 2008, 07:29
    Updated for new Last.fm format - ugly, but it works. Get it here

    Did I hear that right? Mondegreens - for the misheard word.
    Like Odds? Can't get better than Even Odds!

    Speak your truth quietly and clearly; and listen to others, even to the dull and the ignorant; they too have their story.
  • great job, luv ur scripts :)
    do u can make an option to hide same artists?

    greetz

    Der Strom wird erst durch den Körper gejagt und dann durch die Beine. -= A.C. Leuchter =-
    • snyde1 said...
    • Subscriber
    • 28 Jul 2008, 16:47
    chatterer said:
    do u can make an option to hide same artists?

    That is a great idea. You can see what other people play that you don't. I'll work on that as the next enhancement.

    Did I hear that right? Mondegreens - for the misheard word.
    Like Odds? Can't get better than Even Odds!

    Speak your truth quietly and clearly; and listen to others, even to the dull and the ignorant; they too have their story.
  • yes, that was my idea. ;)

    Der Strom wird erst durch den Körper gejagt und dann durch die Beine. -= A.C. Leuchter =-
    • snyde1 said...
    • Subscriber
    • 30 Jul 2008, 04:55
    Something changed on the site and the script stopped working for me. I have updated it, with chatterer 's request included. (The fix is only on the Opera version.)

    Did I hear that right? Mondegreens - for the misheard word.
    Like Odds? Can't get better than Even Odds!

    Speak your truth quietly and clearly; and listen to others, even to the dull and the ignorant; they too have their story.
  • the reverse-button is great, huge thnx

    Der Strom wird erst durch den Körper gejagt und dann durch die Beine. -= A.C. Leuchter =-
    • snyde1 said...
    • Subscriber
    • 7 Jun 2009, 03:26
    Fixed formatting issue.

    Did I hear that right? Mondegreens - for the misheard word.
    Like Odds? Can't get better than Even Odds!

    Speak your truth quietly and clearly; and listen to others, even to the dull and the ignorant; they too have their story.
    • snyde1 said...
    • Subscriber
    • 17 Jan 2010, 01:15
    For Opera users, new feature - sort by match. This uses the "dot product" rating to score the matches. For Greasemonkey users, umm - you get to see the number of artists and plays on the chart page! (That's new.)

    Did I hear that right? Mondegreens - for the misheard word.
    Like Odds? Can't get better than Even Odds!

    Speak your truth quietly and clearly; and listen to others, even to the dull and the ignorant; they too have their story.
  • Great and very useful, thank you!
    I'm using the Opera script right now, but it only seems to work with the default timeframe of the user whose charts I am browsing.. is there any way for this to be fixed?

    imma run you over with a steamroller k?
    • snyde1 said...
    • Subscriber
    • 6 Apr 2010, 21:36
    You will need to open the tab fully for other periods of time (e.g. under Opera, right-click on the tab and select the "Open" item).

    I can't seem to trigger on the switch between tabs that Last.fm does from within a user script. If anyone has ideas on how to do that, please let me know.

    Did I hear that right? Mondegreens - for the misheard word.
    Like Odds? Can't get better than Even Odds!

    Speak your truth quietly and clearly; and listen to others, even to the dull and the ignorant; they too have their story.
Anonymous users may not post messages. Please log in or create an account to post in the forums.