Revision: 5644 Author: pebender Date: Sat Oct 10 07:07:10 2009 Log: - Added MM_HULU_REMOTE. - Added documenation of MM_HULU_* variables.
http://code.google.com/p/minimyth/source/detail?r=5644 Modified: /trunk/gar-minimyth/html/minimyth/conf/minimyth.conf /trunk/gar-minimyth/html/minimyth/document-changelog.txt /trunk/gar-minimyth/html/minimyth/document-minimyth_conf.html /trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/conf/MM_HULU.pm /trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/hulu.pm ======================================= --- /trunk/gar-minimyth/html/minimyth/conf/minimyth.conf Sun Sep 20 18:33:25 2009 +++ /trunk/gar-minimyth/html/minimyth/conf/minimyth.conf Sat Oct 10 07:07:10 2009 @@ -197,6 +197,13 @@ # MM_FLASH_URL ################################################################################ +################################################################################ +# Hulu Desktop configuration variables. +# +# MM_HULU_URL +# MM_HULU_REMOTE +################################################################################ + ################################################################################ # Theme configuration variables. # ======================================= --- /trunk/gar-minimyth/html/minimyth/document-changelog.txt Sat Oct 10 04:40:26 2009 +++ /trunk/gar-minimyth/html/minimyth/document-changelog.txt Sat Oct 10 07:07:10 2009 @@ -21,7 +21,7 @@ - The Hulu Desktop is similar to the binary codecs and Adobe Flash Player. It is not included in the image, but it can be fetched and saved using the MiniMyth Tools menu. - - At the moment, remote control works only with an mceusb remote. + - Added MM_HULU_URL and MM_HULU_REMOTE. - Added MM_DHCP_ADDRESS, MM_DHCP_BROADCAST, MM_DHCP_SUBNET_MASK, and MM_DHCP_ROUTERS for statically configuring network the interface. - Removed auto-detection of sensor chip on ASUS motherboards as ASUS ======================================= --- /trunk/gar-minimyth/html/minimyth/document-minimyth_conf.html Sun Sep 20 18:33:25 2009 +++ /trunk/gar-minimyth/html/minimyth/document-minimyth_conf.html Sat Oct 10 07:07:10 2009 @@ -44,6 +44,7 @@ <li><a href="#MM_EXTRAS">Configuration variables for: extras directory</a></li> <li><a href="#MM_CODECS">Configuration variables for: CODECs directory</a></li> <li><a href="#MM_FLASH">Configuration variables for: Adobe Flash Player</a></li> + <li><a href="#MM_HULU">Configuration variables for: Hulu Desktop</a></li> <li><a href="#MM_THEME">Configuration variables for: themes</a></li> <li><a href="#MM_MEDIA">Configuration variables for: media directories</a></li> <li><a href="#MM_GAME">Configuration variables for: games</a></li> @@ -1791,7 +1792,7 @@ <p> You can extend MiniMyth by adding <a href="http://www.adobe.com/products/flashplayer/">Adobe Flash Player</a> - for use in MythBrowser. + for use by MythBrowser and Hulu Desktop. </p> <p> The URLs in this section must have the form described in the @@ -1815,9 +1816,10 @@ If the value is 'auto', then MiniMyth will assume that the file is a shared library file located in the MiniMyth read-write configuration directory and having the name 'libflashplayer.{arch}.so', - where {arch} is 32. + where {arch} is 32 or 64. That is, - MiniMyth will assume MM_FLASH_URL='confrw:libflashplayer.32.so' when compiled for a 32-bit architecture. + MiniMyth will assume MM_FLASH_URL='confrw:libflashplayer.32.so' when compiled for a 32-bit architecture + and MM_FLASH_URL='confrw:libflashplayer.64.so' when compiled for a 64-bit architecture. </p> <p> The Myth frontend menus contain the 'MiniMyth Tools' menu @@ -1829,9 +1831,10 @@ <ol> <li>fetches <a href="http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz">32-bit Adobe Flash Player</a> + or + <a href="http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.32.18.linux-x86_64.so.tar.gz">64-bit Adobe Flash Player (beta)</a> from the Internet,</li> - <li>creates a temporary browser plugins directory,</li> - <li>installs the downloaded Adobe Flash Player in the temporary browser plugins directory, and</li> + <li>extracts the Adobe Flash Player shared library, and</li> <li>saves the Adobe Flash Player shared library in the <a href="document-configure.html#location">MiniMyth read-write configuration directory</a>.</li> </ol> @@ -1843,19 +1846,102 @@ For the newly downloaded Adobe Flash Player to take effect, you must reboot your MiniMyth system. </p> <p> - The MythBrowser did not support NPAPI plugins until after release 0.21.x. - Therefore, this setting does not apply to MythTV until after release 0.21.x. + Not that MythBrowser did not include support NPAPI plugins until after release 0.21.x. + Therefore, MythBrowser cannot use Adobe Flash Player until after release 0.21.x. </p> + </dd> + </dl> + <p> + Alternatively, copy the Adobe Flash Player shared library to the browser plugin directory by adding the appropriate commands to the 'minimyth.pm' package. + </p> + </div> + <div id="MM_HULU" class="section"> + <div class="heading">Configuration variables for: Hulu Desktop</div> + <ul> + <li><a href="#MM_HULU-overview">Overview</a></li> + </ul> + <ul> + <li><a href="#MM_HULU_URL">MM_HULU_URL</a></li> + <li><a href="#MM_HULU_REMOTE">MM_HULU_REMOTE</a></li> + </ul> + <dl> + <dt id="MM_HULU-overview"><strong>Overview</strong></dt> + <dd> <p> - At the this time Adobe Flash Player shared library only supports 32-bit architectures. - Therefore, this setting does not apply when MiniMyth is compiled for a 64-bit architecture. - Once Adobe releases the Adobe Flash Player for 64-bit architectures, - MiniMyth will be updated to support it. + You can extend MiniMyth by adding + <a href="http://www.hulu.com/labs/hulu-desktop">Hulu Desktop</a>. + </p> + <p> + The URLs in this section must have the form described in the + <a href="#MM_EXTRAS">Extras directory ...</a> + section. </p> + </dd> + <dt id="MM_HULU_URL"><strong>MM_HULU_URL</strong></dt> + <dd> + <p> + Set the location of the Hulu Desktop executable that will be installed at + '/usr/bin/huludesktop'. + Valid values are a URL, 'none' and 'auto', with 'auto' being the default. + </p> + <p> + If the value is 'none', + then nothing will be installed at + '/usr/bin/huludesktop'. + </p> + <p> + If the value is 'auto', + then MiniMyth will assume that the file is an executable file + located in the MiniMyth read-write configuration directory and having the name 'huludesktop.{arch}', + where {arch} is 32 or 64. + That is, + MiniMyth will assume MM_HULU_URL='confrw:huludesktop.32' when compiled for a 32-bit architecture + and MM_HULU_URL='confrw:huludesktop.64' when compiled for a 64-bit architecture. + </p> + <p> + The Myth frontend menus contain the 'MiniMyth Tools' menu + (under the 'Utilities / Setup' menu in a regular theme and under the main menu in a classic theme). + The 'MiniMyth Tools' menu contains the menu item 'Fetch and Save Hulu Desktop' + to help with fetching and saving the Hulu Desktop executable ('huludesktop.{arch}'). + The 'Fetch and Save Hulu Desktop' menu item does the following: + </p> + <ol> + <li>fetches + <a href="http://download.hulu.com/huludesktop_i386.deb">32-bit Hulu Desktop</a> + or + <a href="http://download.hulu.com/huludesktop_amd64.deb">64-bit Hulu Desktop</a> + from the Internet,</li> + <li>extracts the Hulu Desktop executable, and</li> + <li>saves the Hulu Desktop executable in the + <a href="document-configure.html#location">MiniMyth read-write configuration directory</a>.</li> + </ol> + <p> + During the time that it takes MiniMyth to fetch and save the Hulu Desktop executable, + MiniMyth will display a terminal window with status information. + </p> + <p> + For the newly downloaded Hulu Desktop to take effect, you must reboot your MiniMyth system. + </p> + </dd> + <dt id="MM_HULU_REMOTE"><strong>MM_HULU_REMOTE</strong></dt> + <dd> + Set the name of the remote control that Hulu will use. + Valid values are remote control name with, 'mceusb' the default. + </dd> + <dd> + For some reason, Hulu Desktop requires the name of the remote control. + It ignores remote control input that is not from the named remote control. + </dd> + <dd> + In order to determine the name of your remote control, + telnet into your MiniMyth system, + run the command 'irw' and + press a key on your remote control. + The name of your remote control is the word at the end of each line output by 'irw' </dd> </dl> <p> - Alternatively, copy the Adobe Flash Player shared library to the browser plugin directory by adding the appropriate commands to the 'minimyth.pm' package. + Alternatively, copy the Hulu Desktop executable to the binary directory by adding the appropriate commands to the 'minimyth.pm' package. </p> </div> <div id="MM_THEME" class="section"> @@ -3329,7 +3415,7 @@ alt="Valid CSS!" height="31" width="88" /></a> </div> <div class="version"> - Last Updated on 2009-09-20 + Last Updated on 2009-10-10 <br /> < mailto : webmaster at minimyth dot org > </div> ======================================= --- /trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/conf/MM_HULU.pm Fri Oct 9 13:44:36 2009 +++ /trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/conf/MM_HULU.pm Sat Oct 10 07:07:10 2009 @@ -42,4 +42,11 @@ value_none => '' }; +$var_list{'MM_HULU_REMOTE'} = +{ + value_default => 'mceusb', + value_valid => '.+', + value_none => '' +}; + 1; ======================================= --- /trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/hulu.pm Fri Oct 9 13:44:36 2009 +++ /trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/hulu.pm Sat Oct 10 07:07:10 2009 @@ -59,7 +59,7 @@ $gui_y_offset = 0; } - my $remote = 'mceusb'; + my $remote = $minimyth->var_get('MM_HULU_REMOTE'); $minimyth->file_replace_variable( '/home/minimyth/.huludesktop', --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "minimyth-commits" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/minimyth-commits?hl=en -~----------~----~----~----~------~----~------~--~---
