Author Topic: Programming Exercise: Pandora support using Pianobar's code as a base.  (Read 2678 times)

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5495
  • DOES work for LinuxMCE.
    • View Profile
Okay fellas, Programming challenge...

Utilize the libraries that make up PianoBar to make a Pandora DCE player and corresponding PlugIn.

It should:

(1) be self contained. No spawning shells.
(2) be installable from the software modules page.
(3) as such, for this first pass, only have one set of credentials for a given media director. Expand this later.
(4) provide Orbiter remotes and OSDs to switch between stations, and to play/pause, go to next song, etc.
(5) be accessible from the Media menu as a distinct media type. A File Browser source would not make sense here.

notes:

Use Hulu_Player and PlugIn as a basis. Also look at Xine Player/PlugIn.

I can do this in a week, can any of you?

Go for it, and beat me to it.

-Thom

merkur2k

  • Addicted
  • *
  • Posts: 513
    • View Profile
Re: Programming Exercise: Pandora support using Pianobar's code as a base.
« Reply #1 on: February 24, 2010, 06:53:47 am »
To add some info:
pianobar source: http://6xq.net/html/00/17.html
an example of gui that uses pianobar: http://talk.maemo.org/showthread.php?t=42104

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2925
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Programming Exercise: Pandora support using Pianobar's code as a base.
« Reply #2 on: February 24, 2010, 09:24:58 am »
Great, just like Hulu, another waste of time.
Quote
Dear Pandora Visitor,

We are deeply, deeply sorry to say that due to licensing constraints, we can no longer allow access to Pandora for listeners located outside of the U.S. We will continue to work diligently to realize the vision of a truly global Pandora, but for the time being we are required to restrict its use. We are very sad to have to do this, but there is no other alternative.

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5495
  • DOES work for LinuxMCE.
    • View Profile
Re: Programming Exercise: Pandora support using Pianobar's code as a base.
« Reply #3 on: February 24, 2010, 04:36:44 pm »
actually, posde, the pianobar has a proxy in place...

-Thom

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5495
  • DOES work for LinuxMCE.
    • View Profile
Is anyone going to attempt this?

-Thom

nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Quote
Great, just like Hulu, another waste of time.
Hulu is available for US citizens only. So, I agree it's useless for LinuxMCE users from another countries. Not sure that Pandora player will be useful as well. It's good to study C++ and LinuxMCE but currently we have so many more important bugs and issues. 0810 is still beta and 10.04 version is even is not started.

P.S. Maybe it'd be better to finish Youtube player?
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4360
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Quote
Great, just like Hulu, another waste of time.
Hulu is available for US citizens only. So, I agree it's useless for LinuxMCE users from another countries. Not sure that Pandora player will be useful as well. It's good to study C++ and LinuxMCE but currently we have so many more important bugs and issues. 0810 is still beta and 10.04 version is even is not started.

P.S. Maybe it'd be better to finish Youtube player?

Well speaking as someone based in Europe who cannot access this service I would say that if some US based forum members want to work on this then that's fine.

All the best

Andrew
Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Read My Blog; http://ellipticalcurve.com

Contact me for Smart Home consulting advice here;
@herron on Twitter, totallymaxed+consulting@gmail.com via email or PM me here.

Get a Dianemo S License: http://forum.linuxmce.org/index.php?topic=8880.0
iOS Orbiter: http://wiki.linuxmce.org/index.php/Dianemo_iOS_Orbiter
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk

Techstyle

  • Addicted
  • *
  • Posts: 674
    • View Profile
    • Techstyle UK Ltd.
I think TSCHAK909 stated there is a proxy in place allowing non-US users to access it. 

I use Pandora all the time and I have introduced many friends to it because I think it is excellent.  I use it daily on LMCE via the computing menu but it would be great to control it via the Oribiter. 

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4360
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
I think TSCHAK909 stated there is a proxy in place allowing non-US users to access it. 

I use Pandora all the time and I have introduced many friends to it because I think it is excellent.  I use it daily on LinuxMCE via the computing menu but it would be great to control it via the Oribiter. 

Sure he did.

But my point was that even if their was no proxy there should be no reason why US based forum members should not implement this...just as European forum member might implement something that was specific to their locality.

Andrew
Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Read My Blog; http://ellipticalcurve.com

Contact me for Smart Home consulting advice here;
@herron on Twitter, totallymaxed+consulting@gmail.com via email or PM me here.

Get a Dianemo S License: http://forum.linuxmce.org/index.php?topic=8880.0
iOS Orbiter: http://wiki.linuxmce.org/index.php/Dianemo_iOS_Orbiter
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk