User Tools

Site Tools


unix:xbmc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
unix:xbmc [2009/07/04 14:48]
robm created
unix:xbmc [2011/05/28 14:53] (current)
robm
Line 3: Line 3:
  
 Xbox Media Center is an open-source "home theatre PC" project that was originally developed for Microsoft's first Xbox console (hacked to run Linux of course). It has since been ported to run on ordinary desktop Linux and even Windows and Mac. Xbox Media Center is an open-source "home theatre PC" project that was originally developed for Microsoft's first Xbox console (hacked to run Linux of course). It has since been ported to run on ordinary desktop Linux and even Windows and Mac.
 +
 +===== Standlone Mode =====
 +*Challenge*: Get XBMC to run on a separate X-screen, isolated from my desktop environment.
 +
 +Made with reference to Ubuntu 9.10 (Karmic) for AMD64.
 +
 +==== 1. X11: Separate X screens ====
 +
 +  - Install nVidia restricted drivers (login and let Karmic offer to do this for you, or install ''nvidia-glx'')
 +  - Fix the missing symlink: ''ln -s /usr/lib/nvidia/libnvidia-cfg.so.185.18.36 /usr/lib/libnvidia-cfg.so.1''
 +    * [[https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-180/+bug/414225|There's a bug on this]]
 +  - ''sudo service gdm stop'' to drop to a proper shell
 +  - Run ''sudo nvidia-xconfig -a --separate-x-screens --force-generate'' to create a new ''/etc/xorg.conf'' with both X screens
 +  - ''sudo X -wr'' to start X with a white region as the background (so you know it's worked!)
 +  - ''DISPLAY=:0.0 xeyes'' should display on one screen ...
 +  - ''DISPLAY=:0.1 xeyes'' should display on the other ...
 +
 +==== 2. Sound: Pulseaudio at System Start ====
 +
 +See also http://pulseaudio.org/wiki/SystemWideInstance
 +
 +  - ''sudoedit /etc/default/pulseaudio''
 +    * ''PULSEAUDIO_SYSTEM_START=1''
 +    * ''DISALLOW_MODULE_LOADING=0''
 +  - Start pulseaudio: ''sudo service pulseaudio start''
 +  - Add yourself to the ''pulse-access'' group, or you'll get "Access denied": ''sudo adduser {your-username} pulse-access''
 +  - Logout and back in to make the new group effective. No really. 
 +    * Check effective groups with ''id'':
 +      * ''uid=1000(meermanr) gid=1000(meermanr) groups=4(adm),20(dialout),24(cdrom),46(plugdev),104(lpadmin),115(admin),118(pulse-access),120(sambashare),1000(meermanr)''
 +  - Try playing something: ''DISPLAY=: paplay /usr/share/sounds/ubuntu/stereo/system-ready.ogg''
 +    * You need the ''DISPLAY'' variable only if you are SSH'd in from another machine; pulseaudio tries to forward the sound over X. Isn't SSH awesome?
 +
 +==== 3. XBMC: Installing and running ====
 +
 +  - Follow install instructions at [[https://launchpad.net/~team-xbmc/+archive/karmic-ppa]]
 +  - Run ''DISPLAY=0.1 xbmc --standalone''
 +
 +==== 4. TODO ====
 +
 +  * Prevent XBMC capturing the X keyboard and mouse - how will GDM use them?
 +  * Get GDM to run on *just* DISPLAY=:0.0
  
 ===== Tips ===== ===== Tips =====
   - You can press "''\''" to toggle fullscreen mode   - You can press "''\''" to toggle fullscreen mode
 +
 +===== Library filename schemes =====
 +[[http://www.xbmc.org/wiki/?title=TV_Shows#TV_show_file_naming_conventions|TV Show file naming conventions]]
 +
 +TODO: Configure ''tvrenamer.pl'' (or complete ''tvrenamer.py'') for XBMC
  
 ===== Getting AC3 / DTS passthrough to work, despite pulseaudio ===== ===== Getting AC3 / DTS passthrough to work, despite pulseaudio =====
Line 326: Line 372:
 [INFO/MainProcess] process shutting down [INFO/MainProcess] process shutting down
 </code> </code>
 +
 +===== BBC iPlayer + YouTube =====
 +==== 1. Install SVN Repo Installer plugin ====
 +<code>
 +cd ~/.xbmc/plugins/programs
 +svn co "http://xbmc-addons.googlecode.com/svn/trunk/plugins/programs/SVN Repo Installer"
 +</code>
 +
 +==== 2. Use SVN Repo Installer plugin ====
 +  - Start XBMC
 +  - (Assuming default Project Midnight skin) Home Window -> Settings -> Skin Settings (side-bar) -> Home Windows (side-bar) -> Show programs in main menu
 +  - Home Window -> Programs -> Program plugins -> SVN Repo Installer -> xbmc-addons -> plugins -> video -> IPlayer
 +  - Home Window -> Programs -> Program plugins -> SVN Repo Installer -> xbmc-addons -> plugins -> video -> YouTube
 +
 +==== 3. Use iPlayer / YouTube ====
 +  - Home Window -> Video -> Video plugins -> etc
 +
 +===== Playing Blurays =====
 +  * [[http://forum.xbmc.org/showpost.php?p=484790&postcount=1|BluRay Player with MakeMKV]]
 +  * www.MakeMKV.com
 +
  
unix/xbmc.1246718922.txt.gz · Last modified: 2009/07/04 14:48 by robm