LinuxMCE Forums

General => Developers => Topic started by: WhateverFits on October 09, 2009, 06:20:20 pm

Title: Hulu desktop app for Linux released
Post by: 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:

It has support for lirc and a settings file for keymaps, etc. so there might be some kind of hope for it.
Title: Re: Hulu desktop app for Linux released
Post by: PcCowboy on October 09, 2009, 06:32:14 pm
you. Beat me to the punch lol
Title: Re: Hulu desktop app for Linux released
Post by: totallymaxed on October 10, 2009, 11:52:42 am
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
Title: Re: Hulu desktop app for Linux released
Post by: tschak909 on October 10, 2009, 02:54:07 pm
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
Title: Re: Hulu desktop app for Linux released
Post by: PcCowboy on October 10, 2009, 03:31:31 pm
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.
Title: Re: Hulu desktop app for Linux released
Post by: qball4 on October 10, 2009, 10:23:58 pm
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
Title: Re: Hulu desktop app for Linux released
Post by: tschak909 on October 10, 2009, 10:28:21 pm
that will be good for  a first pass. Be sure to also provide the Resend A/V codes button.

-Thom
Title: Re: Hulu desktop app for Linux released
Post by: tschak909 on October 10, 2009, 10:32:02 pm
There will probably need to be a keyboard. You may need to base something off the generic app keyboard to start.

-Thom
Title: Re: Hulu desktop app for Linux released
Post by: l3mce on October 28, 2009, 04:16:16 am
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.
Title: Re: Hulu desktop app for Linux released
Post by: dlewis on October 28, 2009, 04:22:41 am
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...
Title: Re: Hulu desktop app for Linux released
Post by: l3mce on October 29, 2009, 02:48:14 pm
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.
Title: Re: Hulu desktop app for Linux released
Post by: dlewis on October 29, 2009, 05:46:45 pm
Why not just wait? We need help with our major bugs.
Title: Re: Hulu desktop app for Linux released
Post by: jimbodude on October 29, 2009, 06:55:33 pm
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?
Title: Re: Hulu desktop app for Linux released
Post by: Murdock on October 31, 2009, 07:42:25 pm
FYI - details for a build environment are here: http://wiki.linuxmce.org/index.php/Building_LinuxMCE_0810
Title: Re: Hulu desktop app for Linux released
Post by: rperre on November 06, 2009, 08:19:24 pm
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
Title: Re: Hulu desktop app for Linux released
Post by: l3mce on November 22, 2009, 05:39:46 am
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?

First, because it is not a waste of my time. Until 810 becomes more stable I have to sell working products/feature enhancements to pay for the time and hardware to throw at development. 710 works in a production environment with little annoyance. Learning and tinkering is one thing, trial by fire another. I want to tinker with a system I can sell. I would be drowning trying to squash bugs. I need development time. I am rusty, and a bit out of my element. I am a good at what I do... and somewhat task obsessed... and an insomniac. I offer value, but I know how I work. I need my feet wet. Bug running when I don't understand the processes behind the bugs would be the wrong way for me to learn. I need to develop first. If I can afford myself a couple of months at a time, I can do some damage here.


I think the picture viewer/slideshow idea is fantastic, and where I am going.

Thanks to all. Once work slows just a little, I'll be all in.
Title: Re: Hulu desktop app for Linux released
Post by: tschak909 on November 22, 2009, 05:44:01 am
heh. another fly by nighter...

have you gotten a license from Pluto?

-Thom
Title: Re: Hulu desktop app for Linux released
Post by: l3mce on November 26, 2009, 05:06:06 am
I don't fly, and I am always above board.


Not really sure what the attitude is about, but as it is shared by a few I have to assume I am just coming across as a douche.

I have a background in java portlet dev and designing/programming autonomous PLC based control systems. I have, to this point, only asked questions. My practical reasons for wanting to stick with 7 do not require anyones approval. I have been screwing around with lmce for about 6 months, almost entirely offline, and have done some interesting things, considering how green I am to linux and how long it has been since I punched code.

I am here because I want to help. I need to be in a position to do so first. IF I can reach that point serving a need... I guess I don't understand why someone would take issue with it. Trying not to get all butt hurt over your comment Thom, but its tough when I walk in holding such respect for you. You said you could write THIS in a day which was what caught my attention. Sounded like a good place to start.
Title: Re: Hulu desktop app for Linux released
Post by: totallymaxed on November 26, 2009, 09:33:21 am
I don't fly, and I am always above board.


Not really sure what the attitude is about, but as it is shared by a few I have to assume I am just coming across as a douche.

I have a background in java portlet dev and designing/programming autonomous PLC based control systems. I have, to this point, only asked questions. My practical reasons for wanting to stick with 7 do not require anyones approval. I have been screwing around with lmce for about 6 months, almost entirely offline, and have done some interesting things, considering how green I am to linux and how long it has been since I punched code.

I am here because I want to help. I need to be in a position to do so first. IF I can reach that point serving a need... I guess I don't understand why someone would take issue with it. Trying not to get all butt hurt over your comment Thom, but its tough when I walk in holding such respect for you. You said you could write THIS in a day which was what caught my attention. Sounded like a good place to start.

Hi l3mce,

Firstly welcome!

Dont mind Thom's attitude...he dishes out 'love n peace' to all comers here (and he does not discriminate when doing so!). Its just his way...and we love him for it too. Having said all that Thom is also probably the most prolific contributor here so he has more than paid his dues so to speak.

So put all of this behind you and get on with whatever gets your juices flowing about the system - we need people like you to get involved!

All the best


Andrew

PS Cascade & Dianemo are both based on LinuxMCE-0710 by the way.
Title: Re: Hulu desktop app for Linux released
Post by: tschak909 on November 26, 2009, 10:08:47 am
l3mce: Please understand, we deal with a lot of people who immediately try to take this system and start selling it without learning the ends and outs of the system, and those of us doing support have to pick up the pieces...

The Hulu integration has been done for some time and is in the source tree for 0810, if you'd like to take a look. The approach is literally to wrap the hulu desktop app, and use my WindowUtils library to send keypresses to it.

-Thom
Title: Re: Hulu desktop app for Linux released
Post by: wierdbeard65 on November 26, 2009, 12:38:17 pm
I don't fly, and I am always above board.
Why so touchy?

Thom is an obsessive developer (thank God for that!) who "burns the midnight oil" as they say. In other words a "fly by nighter". That was a welcome, not an insult.

Nobody was suggesting you aren't above board. A lot of people come here and go "Hey I can sell that and make my fortune" without realizing the legal requirements for a Pluto license.
Title: Re: Hulu desktop app for Linux released
Post by: l3mce on November 26, 2009, 06:17:35 pm
Thom is my hero. That is why I am so touchy.

I don't want a fortune. I want people to have a great product that stops costing ME thousands of dollars. I just want to recoup some losses. My current working system:

4x2 TB HW RAID 5 = 5.7Tb (finally booting from lsi megaraid 150-6)
ASUS m3n78-ev
Phenom II 2.8 dual
8gb corsair 800
Big corsair psu

UI2 alpha on 7.10 audio over optical/HDMI

Zwave cheap modules for lighting/climate

Alarm system I built on a 16 zone seimens PLC w autodial from a trac phone and a big gc unit. Not finished but functional.

I have several clients ready to buy. Haven't sold any because it, and I, are not ready.


I have a small computer shop, and we just picked up a large national client... so my time is limited lately to develop for something we do not do. In a few months my nerds will be able to handle most of the duties for the big client.

I love lmce, and am humbled and awed by this community, and would like very much to be a part of it. I just have to feed the fam while I play. Money is less of an issue now. It is just time.

I have not given up on 8.10, it solves so many 7 issues. I am just too dumb to make it work well. But I'm getting smarter... I really just want to get the guys foaming at the mouth a stable system by christmas.
Title: Re: Hulu desktop app for Linux released
Post by: wierdbeard65 on November 26, 2009, 09:15:33 pm
Sorry, I think you misunderstood my comment too  :-[

I was exagerating about the fortune thing  :o I was just pointing out that a lot of people have thought of selling MCE commercially (for whatever reason and for however much) without realizing that there is a license requirement. I've not explored what it involves, others have. It may just be a hoop to jump through, or it may be a costly experience, I don't know and they can advise.

Anyhow, good luck and let us know how it goes  :)

Now, enough thread-hijacking by me!
Title: Re: Hulu desktop app for Linux released
Post by: l3mce on November 26, 2009, 10:38:07 pm
My mysterious lady parts have stopped hurting. Thank you.


License cost isn't an issue with these clients.
Title: Re: Hulu desktop app for Linux released
Post by: Enigmus on December 17, 2009, 01:43:53 pm
I'm running the new 810 beta2 but I'm not seeing Hulu in the interface.  Is there some hoops I need to jump through to get it working?
Title: Re: Hulu desktop app for Linux released
Post by: tschak909 on December 17, 2009, 03:10:24 pm
I have not included it, as we have bigger bugs to squash atm.

-Thom