Pandora Internet Radio Plugin Vote | Page 3

Discussion in 'Improvement Suggestions' started by ErikLarsson, July 15, 2006.

?

Should Mediaportal feature a true Pandora plugin?

  1. Yes, i dont mind the ads and this this service will be great.

    99.3%
  2. No, i wont use it and im happy with Pandora in a browser

    0.7%
  1. afidel

    afidel Portal Member

    Joined:
    June 5, 2007
    Messages:
    17
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    United States of America United States of America
    If anyone has sufficient programming skills there is already a C# based program that wraps up pandora into a tray applet. It shouldn't be too much work to turn it into a mediaportal addon but I don't have the skill (I realized after 2 years of CS that I had the skill to do scripting level programming and was much more natural as a sysadmin). The app source is at http://openpandora.googlecode.com/svn/trunk/OpenPandora/ :D


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. moiristo

    moiristo Portal Pro

    Joined:
    November 17, 2006
    Messages:
    342
    Likes Received:
    27
    Occupation:
    Senior software developer
    Location:
    Enschede
    Ratings:
    +27 / 0
    Home Country:
    Netherlands Netherlands
    It sucks that the whole thing is undocumented, but I think that with some effort it can be done. Most important I think is to understand how Player.cs works...I saw a lot of javascript code analyzes in there while browsing through it
     
  4. Wormfishin

    Wormfishin Portal Member

    Joined:
    September 29, 2006
    Messages:
    14
    Likes Received:
    0
    Ratings:
    +0 / 0
  5. afidel

    afidel Portal Member

    Joined:
    June 5, 2007
    Messages:
    17
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    United States of America United States of America
    Another approach would be to use the XML generated by Pandora for blogs and consume it to make a list page that then loads the target in an iframe with some javascript to catch the esc key which depending on if an iframe is open will either close the iframe or close the plugin. You'd simply need to use this javascript
    Code (Text):
    1.  
    2. function lookupEmail(form) {
    3.     var emailAddress = $("input[@name=email]", form).val();
    4.     if (emailAddress != "enter email address" && emailAddress.length > 0) {
    5.         if (cache[emailAddress] == null) {
    6.             jQuery.getJSON(
    7.                 "/services/ajax/",
    8.                 { method : "authenticate.emailToWebname", email : emailAddress },
    9.                 function(json) {
    10.                     if (json.stat == "ok") {
    11.                         cache[emailAddress] = json.result.webname;
    12.                         showFeed(form, json.result.webname);
    13.                     } else {
    14.                         showError(form, "ERROR: Could not find email address");
    15.                     }
    16.                 }
    17.             );
    18.         } else {
    19.             showFeed(form, cache[emailAddress]);
    20.         }
    21.     } else {
    22.         alert("Please enter your email address.");
    23.     }
    24. }
    25.  
    26.  
    from http://www.pandora.com/feeds

    to generate a URL in the form http://feeds.pandora.com/feeds/people/<username>/stations.xml?max=<1-100>
    which is an rss which lists the users current n channels.

    This would even be kosher because the iframe would include the ads so pandora doesn't lose any ad revenue.
     
  6. Wormfishin

    Wormfishin Portal Member

    Joined:
    September 29, 2006
    Messages:
    14
    Likes Received:
    0
    Ratings:
    +0 / 0
    This sounds good to me, would it be possible to use a remote control then to thumb up or down songs?
     
  7. afidel

    afidel Portal Member

    Joined:
    June 5, 2007
    Messages:
    17
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    United States of America United States of America
    It should be, you'd need to send + and - for whatever keys were defined for the remote in the plugin section of the mapping area of MP, I'm not sure what would be good defaults for this to work with the widest array of input devices.
     
  8. The_Stig
    • Premium Supporter

    The_Stig Retired Team Member

    Joined:
    April 5, 2005
    Messages:
    2,176
    Likes Received:
    288
    Ratings:
    +426 / 5
    This has been discussed several times. Biggest problem was that due to copyright-issues this was limited to US only. Is that not the case anymore?

    And to the limitations of last.fm: If you guys do tagging it gets better by the minute :)
     
  9. afidel

    afidel Portal Member

    Joined:
    June 5, 2007
    Messages:
    17
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    United States of America United States of America
    It's still the case but there are posted methods for using tor to get the the site from outside the US.
    http://openpandora.blogspot.com/2007/06/complete-guide-for-using-openpandora.html
     
  10. tonyscha

    tonyscha Portal Pro

    Joined:
    May 2, 2007
    Messages:
    103
    Likes Received:
    2
    Location:
    Iowa
    Ratings:
    +2 / 0
    Home Country:
    United States of America United States of America
    I just discovered Pandora... Is there any hint of progress on this plugin or is it dead...
     
  11. peege3

    peege3 Portal Member

    Joined:
    April 24, 2008
    Messages:
    30
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    United States of America United States of America
    It seems like there was some good thinking going here and then all of the sudden nothing. Given that enough people have expressed interest in this, and I would too for that matter, I wonder if anyone is still interested in taking this project on?
    So I guess you could call this a bump. :)
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!