User Tools

Site Tools


pi:jetthe

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
pi:jetthe [2013/01/12 14:15] jetthepi:jetthe [2013/05/17 08:15] – [Fjärrkontroll] jetthe
Line 1: Line 1:
 +====== Raspberry Pi ======
  
-[[pi:jetthe:shoppat|Inköpslista]]+[[pi:jetthe:shoppat|Inköpslista]] - Vad som handlades.
  
-====== Samba ====== +====== Samba/NFS ====== 
-Mounta samban i fstab istället för att gå via XBMC. Då scannas innehållet vid uppstart av XBMC och nya prylar syns snabbare!+Mounta samban i fstab istället för att gå via XBMC. Då scannas innehållet vid uppstart av XBMC och nya filmer och tv-serier läggs till snabbare i rätt modul!
  
 **/etc/fstab** **/etc/fstab**
Line 9: Line 10:
 //192.168.0.x/sharenmae   /media/sharename  cifs   guest,_netdev   0 0 //192.168.0.x/sharenmae   /media/sharename  cifs   guest,_netdev   0 0
 </code> </code>
 +
 +Ännu bättre, strunta i Samba och kör NFS istället!
 +
 +Ref till guide: [[http://www.crazysquirrel.com/computing/debian/servers/setting-up-nfs4.jspx]]
 +
 +Enklast möjliga read-only NFSv3 mellan server och R-Pi:
 +
 +**Server-side: /etc/exports**
 +<code>
 +/torrents/Series    192.168.0.18(ro,sync,subtree_check)
 +/torrents/complete  192.168.0.18(ro,sync,subtree_check)
 +</code>
 +
 +**Client-side: /etc/fstab**
 +<code>
 +192.168.0.12:/www/torrents/Series       /media/BrutusSeries     nfs     defaults        0       0
 +192.168.0.12:/www/torrents/complete     /media/BrutusComplete   nfs     defaults        0       0
 +</code>
 +
 ====== Fjärrkontroll ====== ====== Fjärrkontroll ======
  
Line 16: Line 36:
  
 <code> <code>
-<!--    %appdata%\xbmc\userdata\keymaps\remote panasonic viera.xml      for WINDOWS            --> +<!--    \home\pi\.xbmc\userdata\keymaps\viera.xml        -->
- <!--    \home\pi\.xbmc\userdata\keymaps\remote panasonic viera.xml      for LINUX            --> +
- <!--    In \userdata\keymaps remove remote.xml or any other .xml file, that is using <remote> commands,    --> +
- <!--    and replace it with this file                                    --> +
- <!--    file name is not important, since XBMC looks in all .xml files for <remote> commands.        --> +
- <!--    I've put commands in <Home> section, because some commands are already set in global remote.xml    --> +
- <!--    if you need help, feel free to mail me sass@siol.com                        --> +
  
  <keymap>  <keymap>
        <global>        <global>
              <remote>              <remote>
 +                   <power>Pause</power>
  
                    <left>Left</left>                    <left>Left</left>
Line 61: Line 74:
              <skipplus>SkipNext</skipplus>              <skipplus>SkipNext</skipplus>
  
-                   <guide>FullScreen</guide>+                   <blue>Contextmenu</blue>
                    <teletext>NextSubtitle </teletext>                    <teletext>NextSubtitle </teletext>
                    <subtitle>ShowSubtitles</subtitle>                    <subtitle>ShowSubtitles</subtitle>
Line 75: Line 88:
                    <green>XBMC.ActivateWindow(MyVideos)</green>                    <green>XBMC.ActivateWindow(MyVideos)</green>
                   <yellow>XBMC.ActivateWindow(MyMusic)</yellow>                   <yellow>XBMC.ActivateWindow(MyMusic)</yellow>
-                   <blue>XBMC.ActivateWindow(MyPictures)</blue> 
  
              <clear>ActivateWindow(shutdownmenu)</clear>              <clear>ActivateWindow(shutdownmenu)</clear>
Line 102: Line 114:
                    <green>RunScript(script.xbmc.subtitles)</green>                    <green>RunScript(script.xbmc.subtitles)</green>
                    <yellow>RunScript(script.xbmc.subtitles)</yellow>                    <yellow>RunScript(script.xbmc.subtitles)</yellow>
-                   <blue>RunScript(script.xbmc.subtitles)</blue> 
              <subtitle>RunScript(script.xbmc.subtitles)</subtitle>              <subtitle>RunScript(script.xbmc.subtitles)</subtitle>
  
Line 124: Line 135:
                    <green>ToggleWatched</green>                    <green>ToggleWatched</green>
                    <yellow>ToggleWatched</yellow>                    <yellow>ToggleWatched</yellow>
-                   <blue>ToggleWatched</blue> 
              </remote>              </remote>
      </MyVideoLibrary>      </MyVideoLibrary>
Line 133: Line 143:
                    <green>ToggleWatched</green>                    <green>ToggleWatched</green>
                    <yellow>ToggleWatched</yellow>                    <yellow>ToggleWatched</yellow>
-                   <blue>ToggleWatched</blue> 
              </remote>              </remote>
        </MyVideoFiles>        </MyVideoFiles>
Line 142: Line 151:
                    <green>Fullscreen</green>                    <green>Fullscreen</green>
                    <yellow>Fullscreen</yellow>                    <yellow>Fullscreen</yellow>
-                   <blue>Fullscreen</blue> 
              </remote>              </remote>
        </VideoOSD>        </VideoOSD>
pi/jetthe.txt · Last modified: 2013/06/13 22:32 by jetthe