Watching Flash Video Hulu.com

  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '1:2b333ce71a3269c2ed55b5dc0a6691fd' in /var/www/mythdora/html/includes/cache.inc on line 26.
  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: UPDATE cache_filter SET data = '<p>I have made it a goal to be able to watch hulu.com video on my mythtv. This is proving to be an interesting challenge that I thought others could help on. Here is quick run down on what I have done.</p>\n<p>1. Set firefox as the default browser since mythbrowser does not appear to support flash video.<br />\nCreate a script in the mythtv home directory.</p>\n<p>nano /home/mythtv/firefox.sh</p>\n<p>and add commands similar to:</p>\n<p>#!/bin/sh<br />\nshift #shift down the arguments that were passed so we can access the url<br />\nshift<br />\n/usr/bin/firefox --fullscreen $9 #what was argument 11 (the url) becomes 9<br />\necho $* #show all the passed arguments</p>\n<p>Then dont forget to make it executable<br />\nchmod +x /home/mythtv/firefox.sh</p>\n<p>Lastly add the line<br />\n/home/mythtv/firefox.sh</p>\n<p>to the Utilites/Setup-&gt;Setup-&gt;Info Center Settings -&gt; Web Settings -&gt;browser box.</p>\n<p>While in here you might as well add a bookmark for <a href=\"http://www.hulu.com\">http://www.hulu.com</a></p>\n<p>2. Install Flash</p>\n<p><code>wget <a href=\"http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm\">http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm</a><br />\nsu<br />\nrpm -Uvh adobe-release-i386-1.0-1.noarch.rpm<br />\nyum install flash-plugin<br />\n</code></p>\n<p>So now I can watch a hulu video on my media center my opening Information Center-&gt;Web -&gt;hulu. </p>\n<p>Here is a tentative list of what I need to work on to increase the WAF.</p>\n<p>Use the remote to select videos and control firefox (irexec commands added to lircrc)<br />\nAutomatically make videos run in full screen (some type of script to click the full screen button as there does not appear to be a way to control it with a key command)</p>\n<p>Paul Yanez (<a href=\"http://www.paulyanez.com/labs/hulu/hulu_media_player.html\">http://www.paulyanez.com/labs/hulu/hulu_media_player.html</a>) was done some increadable things with Adobe Air. I would love to create something similar regarding how he displays shows, and selects episodes, but am not really sure how to begin. My web coding skill are poor at best, but I figure this is a good opportunity to learn.</p>\n<p>I look forward to hearing everyones comments on this.</p>\n', created = 1369158220, expire = 1369244620, headers = '', serialized = 0 WHERE cid = '1:2b333ce71a3269c2ed55b5dc0a6691fd' in /var/www/mythdora/html/includes/cache.inc on line 109.
  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '1:a453ca6af3f3bc357dc3079b7f2379f9' in /var/www/mythdora/html/includes/cache.inc on line 26.
  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: UPDATE cache_filter SET data = '<p>I\'ve been meaning to try Hulu from my MD5 box. Will give it a go tonight. Thanks for blazing the trail!<br />\nJoe</p>\n', created = 1369158220, expire = 1369244620, headers = '', serialized = 0 WHERE cid = '1:a453ca6af3f3bc357dc3079b7f2379f9' in /var/www/mythdora/html/includes/cache.inc on line 109.
  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '1:3a368818b7341d48660e8dd6c5a77dbe' in /var/www/mythdora/html/includes/cache.inc on line 26.
  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: UPDATE cache_filter SET data = '<p>Joe</p>\n', created = 1369158220, expire = 1369244620, headers = '', serialized = 0 WHERE cid = '1:3a368818b7341d48660e8dd6c5a77dbe' in /var/www/mythdora/html/includes/cache.inc on line 109.
  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '1:bd4c9251732c46c56aa61519d1fd7280' in /var/www/mythdora/html/includes/cache.inc on line 26.
  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: UPDATE cache_filter SET data = '<p>Realized I was using a plugin for fullscreen that was not on MD5 by default. </p>\n<p>I was using AutoHide that can be found here:<br />\n<a href=\"http://www.krickelkrackel.de/autohide/autohide.htm\">http://www.krickelkrackel.de/autohide/autohide.htm</a><br />\nThis plugin add the ability to start firefox in fullscreen. It is not in the mozilla addons so I think most people would be hesitant to use it.</p>\n<p>Instead I found Full Fullscreen which can start firefox in fullscreen without the command line option.<br />\n<a href=\"https://addons.mozilla.org/en-US/firefox/downloads/file/15721/full_fullscreen-2.0-fx.xpi\">https://addons.mozilla.org/en-US/firefox/downloads/file/15721/full_fullscreen-2.0-fx.xpi</a></p>\n<p>I then changed my firefox.sh script to remove the --fullscreen command line option for firefox.</p>\n<p>Tonight I plan on trying to map remote commands to firefox commands using a plugin called keyconfig. I will post again with more details.</p>\n', created = 1369158220, expire = 1369244620, headers = '', serialized = 0 WHERE cid = '1:bd4c9251732c46c56aa61519d1fd7280' in /var/www/mythdora/html/includes/cache.inc on line 109.
  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '1:16b318b8ebdd9ddc8e040ead71ce6f05' in /var/www/mythdora/html/includes/cache.inc on line 26.
  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: UPDATE cache_filter SET data = '<p>\n<div class=\"quote-msg\">\n<div class=\"quote-author\">Quote:</div>\n<p>Here is a tentative list of what I need to work on to increase the WAF.</p>\n<p>Use the remote to select videos and control firefox (irexec commands added to lircrc)</p></div>\n</p><p>\nUsing irexec is correct to fire up an application. Using your remote to select things inside of a webpage \"can\" be done. Depending on what remote you use will depend on how easy it is. There is this that comes with lirc. Maybe tricky but doable I suppose.<br />\n<a href=\"http://www.lirc.org/html/configure.html#lircmd.conf_format\">http://www.lirc.org/html/configure.html#lircmd.conf_format</a><br />\n<a href=\"http://home.wanadoo.nl/meilof/2004/03/10/index.html#apps\">http://home.wanadoo.nl/meilof/2004/03/10/index.html#apps</a></p>\n<p>\n<div class=\"quote-msg\">\n<div class=\"quote-author\">Quote:</div>\n<p>Automatically make videos run in full screen (some type of script to click the full screen button as there does not appear to be a way to control it with a key command)</p></div>\n</p><p>Very easy to do. Create a script just like you did and use /usr/bin/firefox --fullscreen $9 using irexec and map this to a perticular button on your remote.</p>\n<p>\"Please ignore the man behind the curtain\"<br />\nDennis</p>\n', created = 1369158220, expire = 1369244620, headers = '', serialized = 0 WHERE cid = '1:16b318b8ebdd9ddc8e040ead71ce6f05' in /var/www/mythdora/html/includes/cache.inc on line 109.
  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '1:7ee834acd95a5efc693cacccaa73a62b' in /var/www/mythdora/html/includes/cache.inc on line 26.
  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: UPDATE cache_filter SET data = '<p>\"Please ignore the man behind the curtain\"<br />\nDennis</p>\n', created = 1369158220, expire = 1369244620, headers = '', serialized = 0 WHERE cid = '1:7ee834acd95a5efc693cacccaa73a62b' in /var/www/mythdora/html/includes/cache.inc on line 109.
  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '1:bc758f3886ded567fdffe3549aba46b7' in /var/www/mythdora/html/includes/cache.inc on line 26.
  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: UPDATE cache_filter SET data = '<p>Has anyone put together a tut or Wiki that will make this process easier and more complete?</p>\n<p>Is there support for it in MD 10.21?</p>\n', created = 1369158220, expire = 1369244620, headers = '', serialized = 0 WHERE cid = '1:bc758f3886ded567fdffe3549aba46b7' in /var/www/mythdora/html/includes/cache.inc on line 109.
  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '1:4e4472031a5ae8592b1842bb41ec3846' in /var/www/mythdora/html/includes/cache.inc on line 26.
  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: UPDATE cache_filter SET data = '<p>This is something that I have been playing with for sometime when I have free time. I am currently working on ussing the hulu RSS feeds to create links that open up in firefox. I have been writing a greasemonkey script that will strip out everything but the video. The problem I am having is that I cant get it to default to fullscreen so I am trying to write a script or a macro to do it.</p>\n', created = 1369158220, expire = 1369244620, headers = '', serialized = 0 WHERE cid = '1:4e4472031a5ae8592b1842bb41ec3846' in /var/www/mythdora/html/includes/cache.inc on line 109.
  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '1:8917ac3a53fe823acc05ee18ffaedfa2' in /var/www/mythdora/html/includes/cache.inc on line 26.
  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: UPDATE cache_filter SET data = '<p>Did you ever have any success with making this work?</p>\n', created = 1369158220, expire = 1369244620, headers = '', serialized = 0 WHERE cid = '1:8917ac3a53fe823acc05ee18ffaedfa2' in /var/www/mythdora/html/includes/cache.inc on line 109.
  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '1:de97195ef85278da5175bc57c68dffbb' in /var/www/mythdora/html/includes/cache.inc on line 26.
  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: UPDATE cache_filter SET data = '<p>Sounds good. Any idea on timeframe? </p>\n<p>I found this link about firefox. Not sure if it will help.</p>\n<p><a href=\"http://defindit.com/readme_files/firefox.html\">http://defindit.com/readme_files/firefox.html</a></p>\n', created = 1369158220, expire = 1369244620, headers = '', serialized = 0 WHERE cid = '1:de97195ef85278da5175bc57c68dffbb' in /var/www/mythdora/html/includes/cache.inc on line 109.

I have made it a goal to be able to watch hulu.com video on my mythtv. This is proving to be an interesting challenge that I thought others could help on. Here is quick run down on what I have done.

1. Set firefox as the default browser since mythbrowser does not appear to support flash video.
Create a script in the mythtv home directory.

nano /home/mythtv/firefox.sh

and add commands similar to:

#!/bin/sh
shift #shift down the arguments that were passed so we can access the url
shift
/usr/bin/firefox --fullscreen $9 #what was argument 11 (the url) becomes 9
echo $* #show all the passed arguments

Then dont forget to make it executable
chmod +x /home/mythtv/firefox.sh

Lastly add the line
/home/mythtv/firefox.sh

to the Utilites/Setup->Setup->Info Center Settings -> Web Settings ->browser box.

While in here you might as well add a bookmark for http://www.hulu.com

2. Install Flash

wget http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
su
rpm -Uvh adobe-release-i386-1.0-1.noarch.rpm
yum install flash-plugin

So now I can watch a hulu video on my media center my opening Information Center->Web ->hulu.

Here is a tentative list of what I need to work on to increase the WAF.

Use the remote to select videos and control firefox (irexec commands added to lircrc)
Automatically make videos run in full screen (some type of script to click the full screen button as there does not appear to be a way to control it with a key command)

Paul Yanez (http://www.paulyanez.com/labs/hulu/hulu_media_player.html) was done some increadable things with Adobe Air. I would love to create something similar regarding how he displays shows, and selects episodes, but am not really sure how to begin. My web coding skill are poor at best, but I figure this is a good opportunity to learn.

I look forward to hearing everyones comments on this.

I've been meaning to try

I've been meaning to try Hulu from my MD5 box. Will give it a go tonight. Thanks for blazing the trail!
Joe

Joe

Update

Realized I was using a plugin for fullscreen that was not on MD5 by default.

I was using AutoHide that can be found here:
http://www.krickelkrackel.de/autohide/autohide.htm
This plugin add the ability to start firefox in fullscreen. It is not in the mozilla addons so I think most people would be hesitant to use it.

Instead I found Full Fullscreen which can start firefox in fullscreen without the command line option.
https://addons.mozilla.org/en-US/firefox/downloads/file/15721/full_fullscreen-2.0-fx.xpi

I then changed my firefox.sh script to remove the --fullscreen command line option for firefox.

Tonight I plan on trying to map remote commands to firefox commands using a plugin called keyconfig. I will post again with more details.

Quote:

Quote:

Here is a tentative list of what I need to work on to increase the WAF.

Use the remote to select videos and control firefox (irexec commands added to lircrc)

Using irexec is correct to fire up an application. Using your remote to select things inside of a webpage "can" be done. Depending on what remote you use will depend on how easy it is. There is this that comes with lirc. Maybe tricky but doable I suppose.
http://www.lirc.org/html/configure.html#lircmd.conf_format
http://home.wanadoo.nl/meilof/2004/03/10/index.html#apps

Quote:

Automatically make videos run in full screen (some type of script to click the full screen button as there does not appear to be a way to control it with a key command)

Very easy to do. Create a script just like you did and use /usr/bin/firefox --fullscreen $9 using irexec and map this to a perticular button on your remote.

"Please ignore the man behind the curtain"
Dennis

"Please ignore the man behind the curtain"
Dennis

Has anyone put together a

Has anyone put together a tut or Wiki that will make this process easier and more complete?

Is there support for it in MD 10.21?

This is something that I

This is something that I have been playing with for sometime when I have free time. I am currently working on ussing the hulu RSS feeds to create links that open up in firefox. I have been writing a greasemonkey script that will strip out everything but the video. The problem I am having is that I cant get it to default to fullscreen so I am trying to write a script or a macro to do it.

Did you ever have any

Did you ever have any success with making this work?

Sounds good. Any idea on

Sounds good. Any idea on timeframe?

I found this link about firefox. Not sure if it will help.

http://defindit.com/readme_files/firefox.html