Pandora MusicBox 1.3.3 | Page 10

Discussion in 'MediaPortal 1 Plugins' started by fforde, September 13, 2010.

  1. grooves12

    grooves12 Portal Pro

    Joined:
    November 1, 2006
    Messages:
    133
    Likes Received:
    18
    Ratings:
    +19 / 0
    • Like Like x 1
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. fforde

    fforde Community Plugin Dev

    Joined:
    June 7, 2007
    Messages:
    2,666
    Likes Received:
    1,690
    Occupation:
    Software Engineer
    Location:
    Texas
    Ratings:
    +1,696 / 0
    Home Country:
    United States of America United States of America
    Re: Pandora MusicBox 1.0.4

    Sorry for the delay, I have been a bit busy lately. I will take a look at your issue later today, I think ZealotSix is right and if he is it should be an easy fix.

    EDIT: I was able to reproduce the problem and I think I have a fix. I will get a new build pushed out tomorrow.
     
  4. farsight

    farsight New Member

    Joined:
    February 16, 2011
    Messages:
    1
    Likes Received:
    0
    Ratings:
    +0 / 0
    Re: Pandora MusicBox 1.0.4

    Hello,

    I don't suppose I could convince you to do a very basic psuedo code walkthrough of the pandora api ? I'm looking to implement this in a new language (ruby) and would appreciate having a overview to look at as I look through your code base.

    Specifically, how one authenticates, and starts streaming music...
     
  5. fforde

    fforde Community Plugin Dev

    Joined:
    June 7, 2007
    Messages:
    2,666
    Likes Received:
    1,690
    Occupation:
    Software Engineer
    Location:
    Texas
    Ratings:
    +1,696 / 0
    Home Country:
    United States of America United States of America
    Re: Pandora MusicBox 1.0.4

    Their API uses XML-RPC and the client encrypts outgoing messages with a blowfish cypher. Incoming messages are in plain text but the url for audio files are partially encrypted with the same cypher but a different key. The two keys used are embedded in the flash object on the official Pandora website although they are obfusticated. Once you can decrypt things though, its just a matter of watching traffic and examining the XML-RPC messages sent back and forth. The method signatures are pretty explicitly stated in our code, although we only implement a subset of the API. There are other open source applications out there like pianobar that implement more of the interface, but frankly, once you can look at the raw XML messages its pretty easy to reverse engineer what is going on.

    That is the high level over view. If you want to talk more please log into the #moving-pictures channel on irc.freenode.net. I am active most of the day CST.
     
  6. fforde

    fforde Community Plugin Dev

    Joined:
    June 7, 2007
    Messages:
    2,666
    Likes Received:
    1,690
    Occupation:
    Software Engineer
    Location:
    Texas
    Ratings:
    +1,696 / 0
    Home Country:
    United States of America United States of America
    Re: Pandora MusicBox 1.0.4

    Please try the new version and let me know if this resolves your problems.
     
  7. jacc1234

    jacc1234 Portal Pro

    Joined:
    April 11, 2008
    Messages:
    167
    Likes Received:
    8
    Ratings:
    +8 / 0
    Re: Pandora MusicBox 1.0.4

    Great, thanks for figuring it out. What was going on if I may ask?
     
  8. fforde

    fforde Community Plugin Dev

    Joined:
    June 7, 2007
    Messages:
    2,666
    Likes Received:
    1,690
    Occupation:
    Software Engineer
    Location:
    Texas
    Ratings:
    +1,696 / 0
    Home Country:
    United States of America United States of America
    Re: Pandora MusicBox 1.0.4

    Basically what ZealotSix was saying, there was extra whitespace at the end of some advertisement URLs. The Double Click ad network was serving up data inconsistently. Passing the url with the carriage return included caused an exception from DirectX. The plugin was waiting for the ad to end, but MediaPortal never started it.
     
  9. jacc1234

    jacc1234 Portal Pro

    Joined:
    April 11, 2008
    Messages:
    167
    Likes Received:
    8
    Ratings:
    +8 / 0
    Re: Pandora MusicBox 1.0.4

    Ok thanks! I am testing the new version now and will report any issues.
     
  10. jacc1234

    jacc1234 Portal Pro

    Joined:
    April 11, 2008
    Messages:
    167
    Likes Received:
    8
    Ratings:
    +8 / 0
    Re: Pandora MusicBox 1.0.5

    Working without a hitch so far. Great work!
     
    • Like Like x 1
  11. Slammed1000

    Slammed1000 Portal Member

    Joined:
    January 16, 2009
    Messages:
    8
    Likes Received:
    2
    Ratings:
    +2 / 0
    Home Country:
    United States of America United States of America
    Re: Pandora MusicBox 1.0.5

    Working great here also!
     
    • Like Like x 1

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!