XBMC
Från Wikipedia, den fria encyklopedin.
Innehåll |
XBMC
Installation
Ubuntu 9.04
- Install regular Ubuntu 9.04 from USB Live
- Install latest nvidia (180.53) - http://blog.mymediasystem.net/uncategorized/my-five-must-have-settings-for-ubuntu-904-jaunty-jackalope/
- Install latest alsa (1.20.0) - http://ubuntuforums.org/showthread.php?p=6589810
- Remove pulseaudio - http://www.ubuntugeek.com/how-to-remove-pulse-audio-ubuntu-810-intrepid-ibex.html
- Install XBMC from SVN repos - http://lathund.wordpress.com/2009/03/25/xbmc-svn-forrad-aven-for-ubuntu-904/
- Fix so that menu and mp3 sound is working - http://xbmc.org/forum/showthread.php?t=35901
- Make sure mouse pointer is not in the way after resume - http://ubuntu-tutorials.com/2008/07/07/auto-hide-your-mouse-pointer-when-idle-with-unclutter/
- Install 'lirc'
- Add extra irexec commands
- Add script that toggles XBMC to lircrc.
- Remove startup/shutdown sound for Ubuntu
- Install Aeon skin
- Rename GAMES to PROGRAMS in main menu in language file: ~/.xbmc/skin/aeon/language/English/strings.xml
- Set shutdown in XBMC to 'Quit', since suspend is handled by irexec.
- Enable SMS like searching.
- Enable OpenSubtitles_OSD.
- Configure remote button to start playlist.
Ubuntu 8.10
My last install was directly from the development branch, i.e. not a stable release. It works a lot better than 8.10 which I tried before that. It is a bit more work though.
Development version
I followed the tutorial below for the most part. However I installed a regular Ubuntu 8.10 instead of the mini iso. Because of that I had to disable gdm and also uninstall pulse audio.
- http://xbmc.org/wiki/?title=HOW-TO:_Install_XBMC_for_Linux_on_Ubuntu_8.10_(Intrepid)_step-by-step
- Uninstall PulseAudio: http://ubuntuforums.org/showthread.php?t=963914&page=2 (post 17)
Stable version
- Uninstall PulseAudio: http://ubuntuforums.org/showthread.php?t=963914&page=2 (post 17)
- http://www.xbmc.nu/index.php?option=com_content&view=article&id=112:guide-installera-xbmc-pa-ubuntu-810&catid=27&Itemid=40
- instructions at their web site, http://xbmc.org/download/
Keyboard and mouse shortcuts
Fullscreen
\ (backslash)
Other shortcuts
Remotes
Wii remote
- install package xbmc-eventclients-wiiremote
- run xbmc-wiiremote
- start XBMC
- Press 1+2 on remote to connect
That's it!
MCE Remote
Nothing special needed just make sure the remote is installed, instructions here.
For info on keymaps etc: http://www.xbmc.org/wiki/?title=Universal_Remote_Control
Might want to follow my guide here to be able to do more stuff with your remote, when XBMC is not running.
SMS like searching
To be able to search in list using letters on numpad of remote:
- edit ~/.xbmc/userdata/keymaps/remote.xml
- If the file does not exist: cp /usr/share/xbmc/system/keymaps/remote.xml ~/.xbmc/userdata/keymaps/remote.xml
- change numbers under global to be:
<keymap> <global> <remote> <two>JumpSMS2</two> <three>JumpSMS3</three> <four>JumpSMS4</four> <five>JumpSMS5</five> <six>JumpSMS6</six> <seven>JumpSMS7</seven> <eight>JumpSMS8</eight> <nine>JumpSMS9</nine> - Remove any conflicting numbers from other sections. For instance 3,6 and 9 are volume controlling in some other sections.
- http://xbmc.org/forum/showthread.php?t=45791
- http://www.xbmc.org/forum/showthread.php?p=338434
- http://xbmc.org/forum/showthread.php?t=36623
- http://xbmc.org/wiki/?title=Keymap.xml
Enable song skipping in slideshow
The default action for the skip button is to show next picture, but since the direction right button does the same thing I prefer to map the skip button to next song.
- See SMS like searching on which file to modify.
- Locate the <SlideShow> tag and remove the <skip...> tags
Configure remote button to start playlist
- See SMS like searching on which file to modify.
- Add a new element under home/remote node. See example below, where playlist will be started if I press zero when in home window:
<Home>
<remote>
...
<zero>XBMC.PlayMedia(/mnt/NFS/silencium/Arkiv2/Mp3/Playlists/2009-collection.m3u)</zero>
...
</remote>
</Home>
Make play button open context menu
Default is to play the item when Play button is pressed. However, if you prefer to open the context menu instead, like I do, do the following.
- See SMS like searching on which file to modify.
- Search for <play> tag and change the value to ContextMenu instead of Play.
Start on other display
DISPLAY=":0.1" xbmc
Assuming you have X server configured to run the other monitor in an own X display. This can be configured with nvidia-settings.
Fanart
Skins
Usually you should download the skin from the web site instead of using the package manager. Here are my favorites:
- Rapier
- Mediastream
- Aeon
- Script to install (recommended)
- Official thread - Installation, backdrops etc
Set skin from command line
If skin crashes you might have to change skin from command prompt. Edit the file ~/.xbmc/userdata/guisetttings.xml and search for skin-tag.
Plugins
Plugins can for instance be video plugins, e.g. watching youtube with XBMC. Download the SVN Repo Installer and extract it to ~/.xbmc/plugins/programs.
Backdrops / backgrounds / fanart
- http://www.htbackdrops.com/
- http://www.teirney.net/blog/2008/05/21/photeon-backdrops-for-xbmc-aeon-skin-released/
- http://xbmc.org/forum/showthread.php?t=48494&highlight=settings+backdrops
- http://xbmc.org/forum/showthread.php?t=48134&page=2
Launcher
Using the launcher you can run external programs from within XBMC. Install the program from here http://xbmc.org/forum/showthread.php?t=35739.
Mine didn't start from the beginning, so I enabled debugging and checked in ~/.xbmc/temp/xbmc.log. There it stated:
[Errno 13] Permission denied: '/usr/share/xbmc/UserData'
so I made a symlink from /usr/share/xbmc/UserData to /usr/share/xbmc/userdata. After that it worked.
Juddery playback in videos
Ok, so it is not really XBMC related, but I noticed this when using XBMC. Read more about it here: http://xbmc.org/forum/showthread.php?t=54428
OpenSubtitles_OSD
- http://xbmc.org/forum/showthread.php?t=56083
- Make sure the movie folder is writable, as the script will download subtitles to the movie folder.
- Change settings by going to SCRIPTS then press Play ("c" on keyboard) on OpenSubtiltes_OSD
TV Streaming
This script will enable SVT play, TV3 play etc.
If you do not see any fonts:
