News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Hulu desktop app for Linux released

Started by WhateverFits, October 09, 2009, 06:20:20 PM

Previous topic - Next topic

WhateverFits

With the release of the Hulu desktop app at http://www.hulu.com/labs/hulu-desktop-linux, does anyone have any ideas how (or if) there is an integration path for this?

The application comes in a deb for Ubuntu 32 or 64 and depends on:

  • GTK+ 2.12 or higher
  • GLib 2.16 or higher
  • LIRC 0.8.2 or higher

It has support for lirc and a settings file for keymaps, etc. so there might be some kind of hope for it.
[url="http://www.seanwalker.org"]http://www.seanwalker.org[/url]

PcCowboy


totallymaxed

Quote from: WhateverFits on October 09, 2009, 06:20:20 PM
With the release of the Hulu desktop app at http://www.hulu.com/labs/hulu-desktop-linux, does anyone have any ideas how (or if) there is an integration path for this?

The application comes in a deb for Ubuntu 32 or 64 and depends on:

  • GTK+ 2.12 or higher
  • GLib 2.16 or higher
  • LIRC 0.8.2 or higher

It has support for lirc and a settings file for keymaps, etc. so there might be some kind of hope for it.

Well if it has a way to send it control commands and receive responses back (ie as we do with Myth or vdr via port) then i would say its doable. If your interested in adding support for Hulu why not get involved and gather some like minded forum members around you and go do it?

We always welcome and support people who are willing to learn to make things happen :-)

All the best

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

tschak909

Guys, integration of this will be easy. But I won't do it this time. I want one of YOU to do it.

My advice? study the mythtv plugin and the mame player. You will need to generate devices for the Hulu Plugin, and the Hulu Player.

Since the communication is one way, sending keypresses back to the window, we have no way of knowing the program's state, and can therefore not do things like change Orbiter's currently viewed remote in response to changes in interactivity. I put this in bold letters to avoid this question later, "Can we do things like have a playlist on the left?" No, not this time.

You'll also need to make a new media type for Hulu, and create screens for the Hulu Player to interact with. Seeing as we will have NO feedback on the first pass, you would have:

* Hulu Remote
* Hulu OSD
* Hulu OSD Options (e.g. for UI1 where things can't be overlaid)

for each of the variations, and one SmallUI variant for the Cisco 7970 UI.

The Hulu Player is simple, use my WindowUtils library to launch hulu and send keystrokes to the hulu window.

The Hulu Plugin merely needs to set up the entertainment area mappings, and forward the request to the running Hulu Player.

UpdateEntArea merely needs to be modified to create the Hulu scenario. It would merely consist of an MH Play Media of the new Hulu Media Type.

Then Package definitions need to be made for the Hulu Plugin and Player, and associated with the device templates, so that the system can install the right packages for the DCE device, the DCE Plugin, and the Hulu Player.

Then, the InstallWizard, and InstallWizard_Distro tables need to be modified so that the user can check to have the package installed.

I could do this in about a day.

However, I'm tired of being the ONLY one in over two years, to have done a new media type. It's time that somebody else actually learned. This is especially poignant because LOTS of people WANT media features, but NOBODY wants to code them.

Well, sorry guys, you want this feature? YOU CODE IT. THERE IS MORE THAN ENOUGH EXAMPLE CODE IN THE SVN TO DO IT.

So Grow a Pair and STEP UP.

:)

-Thom

PcCowboy

i might give it a try after i get my box up and working. if no one has started it. it would maybe be a good one to learn on since tschak says its easy.

qball4

I'll do the screens. These are the buttons I see as necessary:

Navigation: up, down, left, right, select, exit
Media: play/pause, fast forward, rewind
Home
Power

Anything else needed?

:Matt

tschak909

that will be good for  a first pass. Be sure to also provide the Resend A/V codes button.

-Thom

tschak909

There will probably need to be a keyboard. You may need to base something off the generic app keyboard to start.

-Thom

l3mce

So would it be equally easy to make a 0710 port for this? Or are there dependencies not satisfied by gutsy?


Cause it sounds fun.
I never quit... I just ping out.

dlewis

We've got this integrated already:

http://forum.linuxmce.org/index.php?topic=9042.0

It won't be in the build until we fix some of the bugs...

l3mce

I guess I thought it was integrated into beta. I was looking for a project, and since Thom said he wanted us to do it to begin with, and should be pretty easy, I would try to make my own for 710 without cheating and looking at his. Banging my head against a thing I have no way of knowing will work seems less helpful in a learning capacity than a thing I know will work if I do it right. No Godzilla sized bugs etc.
I never quit... I just ping out.

dlewis

Why not just wait? We need help with our major bugs.

jimbodude

Instead of wasting time and energy implementing something for an old, out of date version that is already well underway in the new version, why not get yourself a copy of 0810 and learn by either squashing bugs or by implementing (or finishing) other new features?

Murdock


rperre

l3mce why don't you make a picture viewer for lmce, should be fairly easy  ;D

http://forum.linuxmce.org/index.php?topic=9059.0

Richard
My setup at: [url="http://wiki.linuxmce.com/index.php/User:Rperre"]http://wiki.linuxmce.com/index.php/User:Rperre[/url]