Small simple widget to display pandora radio. shadowk added window-shading and title updating! d.i.z. added a connect button, fixed the issue on initial minimizing, and corrected the validation problems!
Updated for player version 7.200 on 7/27. Also, major thanks to Tommy O from Opera for giving hints on getting it working in the latest builds and tobs999 for the Ajax call to get the current player version!
People don't seem to be reading the comments, so I'll restate things here.
1) I cannot do anything about the transparency until Opera officially supports flash in widgets. I have been told this will happen, but no timeline.
2) This just uses the current Pandora player. I cannot make a new improved skin for the player until Pandora releases a full API. They have assured me this will happen, but no timeline.
Thanks. I'll download the new version once it's released. BTW, I just upgraded to build 8542 and it still doesn't work, although I don't expect it to if they've changed their Flash player code again.
Thanks tobs999 - I'll get that updated this weekend, nice job!
arnie2 - Sorry, not sure offhand, unless it's just the player version being out of whack. I'll get that fix in this weekend and see if that gets things running for you.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Find Music You'll Love - Pandora</title>
I get the same problem as a number of others have reported - a totally black widget and silence. I'm using Opera 9.01 build 8533 and Flash 9. The Pandora site works fine. Any clues?
Just downloaded it and I really like where it's going. I'll throw my hat in the great big pile aobut transparency. Look forward to when that's fixed. Here's one I didn't see mentioned, though:
Is there a way to add a thumbs up and thumbs down button so I can rate songs without having to expand the widget? Also, is there any plan to skin it so it looks more at home on the Opera toolbar, instead of looking like some foreign app floating on top? I wish all widgets looked more like Opera was their natural home.
Actually, I had the exact same problem at work - which was very frustrating. I discovered that if you go to the Pandora site and quickly right click > block content (dont' block any content, just keep it in that mode) then you'll be able to have the player function. You will also notice that for some reason Opera keeps automatically adding it to the blocked items. I would suspect that this is also the case with the widget, since it's essentially just a webpage.
I actually downgraded my Opera version at work. And oddly enough, I do not get the behavior on any of my home machines in the same environment.
I have the same issue as tdzark - just cant get it to work with Flash. Have uninstalled and reinstalled both flash and the widget till I'm nearly dizzy. Widget starts - get the message that Pandora is loading then it goes back to black and stays that way. Any advice? Please? But when on the website, it does the same but just fades to nothing.
Timshel : The song information actually does show in the title bar of the player - though for some reason it works for me on some systems but not on others. I can try and look at it when I get a chance.
pale : That's a good idea. Unfortunately, I don't think I can open a second widget window underneath another one. Technically, a transparent flash object is supposed to show what's beneath it on the page, but the widgets just show completely through for some reason. Fortunately for me, I use a wallpaper that is black in the upper-left corner (which is where I put the widget) so it's not too horrible.
tdzark : Pandora should work fine with Flash 9 in Opera - I've had it running with Flash 9 (and the Flash 8.5 dev beta) without any issues.
marroland : It is hard how some of the keys are captured in Opera. A couple options would be to 1) Copy + paste your email address into it or 2) Go to pandora.com and sign in - then it should keep you signed in when you go to the widget (I've never had to sign in except for the first time on a machine).
wd.taylor : What version of Flash are you using? If pandora.com works for you, then the widget should work - unless there's a widget issue on ME
I have tried it on two different machines. On my Win 2K laptop the widget works perfectly, but on my Win/ME desktop machine, the Pandora web site works fine (even though it says it only supports Win 2K and XP), but the Pandora Widget does not. The "Pandora - Find music you'll love!" banner and the "Listen Now" button come up normally, but when you press the button, you briefly get a black box where the content is supposed to be, and then nothing. Since the Pandora Web site works fine, I am presuming that my version of Flash is adequate ... so any idea on what is going on?
I like it a lot the first time i listen to it, but the second time when i tryed to sing in a new account so i could use it again, i couldn´t write the " @ " in my email with any of my keyboard keys, so is there a way i can sign in?
Can this be fixed to work for the new flash 9 plugin? On every new computer I'm installing this widget on, I need Flash, and now only flash 9 is available, I haven't found any place to download the old flash 8. And, Pandora don't work for me in an flash 9 opera 9 environment
w1re, Deathfragger: The widget doesn't seem to respect locale keyboard layouts, so your are stuck with the english layout. That means that to get @ press SHIFT + 2 and it should be fine.
Transparency: I understand that this cannot be avoided right now, I'd only wish it didn't mess up the colors so much! A standard opacity would be fine... it's the "whitening" of all the colors that bothers me. This is NOT how to create a transparency effect.. for me anywasy It's like having a 2000W halogen lamp lightning up the background. The problem with this is that it messes up the colors so they do not fit anymore.. whatever nice color scheme you have on your desktop / webpage, it's now almost guaranteed to look ugly. I would greatly appreciate it if the transparency could be implemented without the "whitening."
I might have a tip on how to fix the transparancy problem! If I have a totally black desktop background, and no windows open the widget works fine. I guess the calcualtion of colors for transparancy behaves a bit strange. Couldnt you just make two windows for the widget, one that is totally black and is allways right behind the main widget window? Then you will get rid of the transparancy, or the transparancy calculation will allways show the right colors?
Re: the skipping problem I asked earlier about - further research and postings place the blame on Opera's setting the nice value for operpluginwraper to 19 (which un-intuitively is the lowest priority a process can be given in Linux)
4 stars from me... 1 bug... I can't scroll through my radio stations 1 suggestion... could the title bar be coded to retrieve the Artist and Song Title of the currently playing song - this would be great for the miniplayer.
Thanks. I'll download the new version once it's released. BTW, I just upgraded to build 8542 and it still doesn't work, although I don't expect it to if they've changed their Flash player code again.
By arnie2, # Jul 21, 2006 8:01:35 PM
arnie2 - Sorry, not sure offhand, unless it's just the player version being out of whack. I'll get that fix in this weekend and see if that gets things running for you.
By exorcyze, # Jul 21, 2006 7:36:34 PM
Pandora updated their flash-player again.
So I quickly hacked a routine, that retrieves the current flash filename directly from pandora.
changed config.xml:
==================
<?xml version="1.0" encoding="utf-8"?>
<widget>
<widgetname>Pandora : Opera Widget</widgetname>
<description>Pandora Music Radio - Find Music You'll Love</description>
<id>
<host>http://my.opera.com</host>
<name>Pandora Radio</name>
<revised>2006-06</revised>
</id>
<width>655</width>
<height>270</height>
<author>
<name>Mike Johnson</name>
<link>http://mx.coldstorageonline.com</link>
<organization>None</organization>
</author>
<security>
<access>
<host>pandora.com</host>
<port>80-4096</port>
</access>
<content>
<plugin required="false">application/x-macromedia-flash</plugin>
</content>
</security>
</widget>
head part of new index.html:
==================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Find Music You'll Love - Pandora</title>
<style type="text/css">
body{padding: 0px; margin: 0px; font-family: Georgia, serif; font-size: 12px; color: #F
By tobs999, # Jul 19, 2006 10:49:30 PM
By arnie2, # Jul 19, 2006 8:29:48 PM
Thins thing just keep playing all day long... I love it !
Thanks !
By Avena Quaker, # Jul 17, 2006 8:35:32 AM
By Criaturinha, # Jul 14, 2006 10:53:00 AM
Is there a way to add a thumbs up and thumbs down button so I can rate songs without having to expand the widget? Also, is there any plan to skin it so it looks more at home on the Opera toolbar, instead of looking like some foreign app floating on top? I wish all widgets looked more like Opera was their natural home.
By inkdrinker, # Jul 13, 2006 2:07:47 AM
By Timoo, # Jul 7, 2006 7:08:48 PM
Actually, I had the exact same problem at work - which was very frustrating. I discovered that if you go to the Pandora site and quickly right click > block content (dont' block any content, just keep it in that mode) then you'll be able to have the player function. You will also notice that for some reason Opera keeps automatically adding it to the blocked items. I would suspect that this is also the case with the widget, since it's essentially just a webpage.
I actually downgraded my Opera version at work. And oddly enough, I do not get the behavior on any of my home machines in the same environment.
By exorcyze, # Jul 7, 2006 3:14:59 PM
By hsunewman, # Jul 7, 2006 9:58:14 AM
Widget starts - get the message that Pandora is loading then it goes back to black and stays that way. Any advice? Please?
But when on the website, it does the same but just fades to nothing.
By soccer doc, # Jul 6, 2006 9:28:19 PM
pale : That's a good idea. Unfortunately, I don't think I can open a second widget window underneath another one. Technically, a transparent flash object is supposed to show what's beneath it on the page, but the widgets just show completely through for some reason. Fortunately for me, I use a wallpaper that is black in the upper-left corner (which is where I put the widget) so it's not too horrible.
tdzark : Pandora should work fine with Flash 9 in Opera - I've had it running with Flash 9 (and the Flash 8.5 dev beta) without any issues.
marroland : It is hard how some of the keys are captured in Opera. A couple options would be to 1) Copy + paste your email address into it or 2) Go to pandora.com and sign in - then it should keep you signed in when you go to the widget (I've never had to sign in except for the first time on a machine).
wd.taylor : What version of Flash are you using? If pandora.com works for you, then the widget should work - unless there's a widget issue on ME
By exorcyze, # Jul 6, 2006 2:58:08 PM
Maybe you can answer a question for me ...
I have tried it on two different machines. On my Win 2K laptop the widget works perfectly, but on my Win/ME desktop machine, the Pandora web site works fine (even though it says it only supports Win 2K and XP), but the Pandora Widget does not. The "Pandora - Find music you'll love!" banner and the "Listen Now" button come up normally, but when you press the button, you briefly get a black box where the content is supposed to be, and then nothing. Since the Pandora Web site works fine, I am presuming that my version of Flash is adequate ... so any idea on what is going on?
Thx ... Will
By wd.taylor, # Jul 4, 2006 4:20:16 AM
Thanks
By marroland, # Jul 4, 2006 2:33:43 AM
Can this be fixed to work for the new flash 9 plugin? On every new computer I'm installing this widget on, I need Flash, and now only flash 9 is available, I haven't found any place to download the old flash 8. And, Pandora don't work for me in an flash 9 opera 9 environment
By tdzark, # Jul 3, 2006 0:30:15 AM
The widget doesn't seem to respect locale keyboard layouts, so your are stuck with the english layout. That means that to get @ press SHIFT + 2 and it should be fine.
Transparency:
I understand that this cannot be avoided right now, I'd only wish it didn't mess up the colors so much! A standard opacity would be fine... it's the "whitening" of all the colors that bothers me. This is NOT how to create a transparency effect.. for me anywasy
Anyways, this is teh best ever widget
By tdzark, # Jul 1, 2006 2:23:01 PM
If I have a totally black desktop background, and no windows open the widget works fine. I guess the calcualtion of colors for transparancy behaves a bit strange.
Couldnt you just make two windows for the widget, one that is totally black and is allways right behind the main widget window?
Then you will get rid of the transparancy, or the transparancy calculation will allways show the right colors?
By pale, # Jun 29, 2006 9:29:08 AM
By Bill_P, # Jun 28, 2006 8:28:02 PM
By vladimirg, # Jun 28, 2006 3:37:06 PM
1 bug... I can't scroll through my radio stations
1 suggestion... could the title bar be coded to retrieve the Artist and Song Title of the currently playing song - this would be great for the miniplayer.
Excellent work.
By Timshel, # Jun 28, 2006 4:19:18 AM