User Tools

Site Tools


linux:ubuntu_24.04:kodi

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
linux:ubuntu_24.04:kodi [2024/05/20 19:12] excylelinux:ubuntu_24.04:kodi [2024/09/20 16:48] (current) – [Workaround voor cec startup loop] excyle
Line 10: Line 10:
 apt upgrade apt upgrade
 apt install flatpak openbox lightdm samba wsdd lm-sensors mc binutils build-essential subversion git unzip xterm dkms cec-utils ntpdate apt install flatpak openbox lightdm samba wsdd lm-sensors mc binutils build-essential subversion git unzip xterm dkms cec-utils ntpdate
 +</code>
  
 +Select lightdm as default display manager
 +
 +<code bash>
 flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
 flatpak install flathub tv.kodi.Kodi -y flatpak install flathub tv.kodi.Kodi -y
 </code> </code>
- 
-Select lightdm as default display manager 
  
  
Line 112: Line 114:
  
 Moderne versie van lirc lijken niet goed / anders te werken, hierom gaan we lirc installeren vanaf een losse DEB file. Moderne versie van lirc lijken niet goed / anders te werken, hierom gaan we lirc installeren vanaf een losse DEB file.
 +
 +de deb files staan hier in de wiki:
 +{{ :linux:ubuntu_24.04:liblircclient0_0.9.0-0ubuntu6_amd64.deb |}}
 +{{ :linux:ubuntu_24.04:lirc_0.9.0-0ubuntu1_amd64.deb |}}
 +download deze en installeer ze
  
 <code bash> <code bash>
 +apt install setserial libusb-0.1-4 libftdi1 libportaudio2
  
-wget {{ :linux:ubuntu_24.04:lirc_0.9.0-0ubuntu1_amd64.deb |}}+dpkg -i liblircclient0_0.9.0-0ubuntu6_amd64.deb 
 +dpkg -i lirc_0.9.0-0ubuntu1_amd64.deb
  
-apt update 
-apt install lirc/xenial 
 apt-mark hold lirc apt-mark hold lirc
 +apt-mark hold liblircclient0
 </code> </code>
  
Line 305: Line 313:
  
 <code bash> <code bash>
-mcedit /home/kodi/.var/app/tv.kodi.Kodi/data/userdata/Lircmap.xml+mcedit /home/kodi/.var/app/tv.kodi.Kodi/data/userdata/lircmap.xml
  
  
Line 312: Line 320:
 en zet hier het volgende in en zet hier het volgende in
  
-<code xml Lircmap.xml>+<code xml lircmap.xml>
 <lircmap> <lircmap>
-<remote device="Harmony"> +  <remote device="Harmony"> 
-<Up>Up</Up> +    <Up>Up</Up> 
-<Down>Down</Down> +    <Down>Down</Down> 
-<Left>Left</Left> +    <Left>Left</Left> 
-<Right>Right</Right> +    <Right>Right</Right> 
-<Select>Ok</Select> +    <Select>Ok</Select> 
-<Back>Menu</Back> +    <Back>Menu</Back> 
-<ChannelPlus>ChannelUp</ChannelPlus> +    <ChannelPlus>ChannelUp</ChannelPlus> 
-<ChannelMinus>ChannelDown</ChannelMinus> +    <ChannelMinus>ChannelDown</ChannelMinus> 
-<VolumePlus>VolumeUp</VolumePlus> +    <VolumePlus>VolumeUp</VolumePlus> 
-<VolumeMinus>VolumeDown</VolumeMinus> +    <VolumeMinus>VolumeDown</VolumeMinus> 
-<Star>Clear</Star> +    <Star>Clear</Star> 
-<Hash>Enter</Hash> +    <Hash>Enter</Hash> 
-<Red>Red</Red> +    <Red>Red</Red> 
-<Green>Green</Green> +    <Green>Green</Green> 
-<Yellow>Yellow</Yellow> +    <Yellow>Yellow</Yellow> 
-<Blue>Blue</Blue> +    <Blue>Blue</Blue> 
-<Mute>Mute</Mute> +    <Mute>Mute</Mute> 
-<Back>Back</Back> +    <Back>Back</Back> 
-<obc1>Exit</obc1> +    <obc1>Exit</obc1> 
-<Guide>Guide</Guide> +    <Guide>Guide</Guide> 
-<Menu>Prev</Menu> +    <Menu>Prev</Menu> 
-<obc101>Info</obc101> +    <obc101>Info</obc101> 
-<Record>Rec</Record> +    <Record>Rec</Record> 
-<Reverse>Rew</Reverse> +    <Reverse>Rew</Reverse> 
-<Forward>Fwd</Forward> +    <Forward>Fwd</Forward> 
-<Pause>Pause</Pause> +    <Pause>Pause</Pause> 
-<Play>Play</Play> +    <Play>Play</Play> 
-<SkipPlus>Skip</SkipPlus> +    <SkipPlus>Skip</SkipPlus> 
-<SkipMinus>Replay</SkipMinus> +    <SkipMinus>Replay</SkipMinus> 
-<Stop>Stop</Stop> +    <Stop>Stop</Stop> 
-<obc2>Aspect</obc2> +    <obc2>Aspect</obc2> 
-<MyMusic>F1</MyMusic> +    <MyMusic>F1</MyMusic> 
-<obc11>F10</obc11> +    <obc11>F10</obc11> 
-<obc12>F11</obc12> +    <obc12>F11</obc12> 
-<obc13>F12</obc13> +    <obc13>F12</obc13> 
-<obc103>F13</obc103> +    <obc103>F13</obc103> 
-<obc102>F14</obc102> +    <obc102>F14</obc102> 
-<MyVideo>F2</MyVideo> +    <MyVideo>F2</MyVideo> 
-<MyTV>F3</MyTV> +    <MyTV>F3</MyTV> 
-<obc6>F4</obc6> +    <obc6>F4</obc6> 
-<obc7>F5</obc7> +    <obc7>F5</obc7> 
-<obc16>F6</obc16> +    <obc16>F6</obc16> 
-<obc5>F7</obc5> +    <obc5>F7</obc5> 
-<obc9>F8</obc9> +    <obc9>F8</obc9> 
-<obc10>F9</obc10> +    <obc10>F9</obc10> 
-<LargeDown>LargeDown</LargeDown> +    <LargeDown>LargeDown</LargeDown> 
-<LargeUp>LargeUp</LargeUp> +    <LargeUp>LargeUp</LargeUp> 
-<obc100>PwrToggle</obc100> +    <obc100>PwrToggle</obc100> 
-<obc3>Queue</obc3> +    <obc3>Queue</obc3> 
-<obc4>Sleep</obc4> +    <obc4>Sleep</obc4> 
-<One>1</One> +    <One>1</One> 
-<Two>2</Two> +    <Two>2</Two> 
-<Three>3</Three> +    <Three>3</Three> 
-<Four>4</Four> +    <Four>4</Four> 
-<Five>5</Five> +    <Five>5</Five> 
-<Six>6</Six> +    <Six>6</Six> 
-<Seven>7</Seven> +    <Seven>7</Seven> 
-<Eight>8</Eight> +    <Eight>8</Eight> 
-<Nine>9</Nine> +    <Nine>9</Nine> 
-<Zero>0</Zero> +    <Zero>0</Zero> 
-</remote>+  </remote>
 </lircmap> </lircmap>
 +
  
  
 </code> </code>
  
-Maak een /home/kodi/.var/app/tv.kodi.Kodi/data/userdata/keymaps/Harmony.xml aan+Maak een /home/kodi/.var/app/tv.kodi.Kodi/data/userdata/keymaps/harmony.xml aan
  
 <code bash> <code bash>
-mcedit /home/kodi/.var/app/tv.kodi.Kodi/data/userdata/keymaps/Harmony.xml+mcedit /home/kodi/.var/app/tv.kodi.Kodi/data/userdata/keymaps/harmony.xml
  
  
Line 391: Line 400:
 en zet hier het volgende in en zet hier het volgende in
  
-<code xml Harmony.xml>+<code xml harmony.xml>
 <keymap> <keymap>
-<!-- Blue toggles watched indicator --> +  <!-- Blue toggles watched indicator --> 
-<!-- Yellow will toggle the library views between 'show everything' and 'show watched only' --> +  <!-- Yellow will toggle the library views between 'show everything' and 'show watched only' --> 
-<Global> +  <Global> 
-<remote> +    <remote> 
-<red>SubtitleSearch</red> +      <red>SubtitleSearch</red> 
-<blue>ToggleWatched</blue> +      <blue>ToggleWatched</blue> 
-<yellow>SendClick(25,14)</yellow> +      <yellow>SendClick(25,14)</yellow> 
-</remote> +    </remote> 
-<universalremote> +    <universalremote> 
-<obc100>Powerdown</obc100> +      <obc100>Powerdown</obc100> 
-<obc101>ContextMenu</obc101> +      <obc101>ContextMenu</obc101> 
-<obc102>XBMC.EjectTray()</obc102> +      <obc102>XBMC.EjectTray()</obc102> 
-<obc103>PreviousMenu</obc103> +      <obc103>PreviousMenu</obc103> 
-</universalremote> +    </universalremote> 
-</Global> +  </Global> 
- +  <!-- Home screen --> 
-<!-- Home screen --> +  <!-- Red update video library --> 
-<!-- Red update video library --> +  <Home> 
-<Home> +    <remote> 
-<remote> +      <red>UpdateLibrary(video)</red> 
-<red>UpdateLibrary(video)</red> +      <green>CleanLibrary(video)</green> 
-<green>CleanLibrary(video)</green> +    </remote> 
-</remote> +  </Home> 
-</Home> +  <!-- While whatching full-screen video --> 
- +  <!-- Red download subtitles --> 
-<!-- While whatching full-screen video --> +  <!-- Green Subtitle delay settings --> 
-<!-- Red download subtitles --> +  <!-- Yellow cycles through the subtitles --> 
-<!-- Green Subtitle delay settings --> +  <!-- Blue cycles through the audio streams --> 
-<!-- Yellow cycles through the subtitles --> +  <FullscreenVideo> 
-<!-- Blue cycles through the audio streams --> +    <remote> 
-<FullscreenVideo> +      <red>ActivateWindow(SubtitleSearch)</red> 
-<remote> +      <green>SubtitleDelay</green> 
-<red>ActivateWindow(SubtitleSearch)</red> +      <yellow>NextSubtitle</yellow> 
-<green>SubtitleDelay</green> +      <blue>AudioNextLanguage</blue> 
-<yellow>NextSubtitle</yellow> +    </remote> 
-<blue>AudioNextLanguage</blue> +    <universalremote> 
-</remote> +      <obc100>Powerdown</obc100> 
-<universalremote> +      <obc101>ContextMenu</obc101> 
-<obc100>Powerdown</obc100> +      <obc102>XBMC.EjectTray()</obc102> 
-<obc101>ContextMenu</obc101> +      <obc103>PreviousMenu</obc103> 
-<obc102>XBMC.EjectTray()</obc102> +    </universalremote> 
-<obc103>PreviousMenu</obc103> +  </FullscreenVideo>
-</universalremote> +
-</FullscreenVideo>+
 </keymap> </keymap>
 +
  
  
Line 444: Line 452:
 ====== Kodi configureren ====== ====== Kodi configureren ======
  
-===== CPU/GPU temp =====+===== CPU temp =====
  
 Maak een /home/kodi/.var/app/tv.kodi.Kodi/data/userdata/advancedsettings.xml aan Maak een /home/kodi/.var/app/tv.kodi.Kodi/data/userdata/advancedsettings.xml aan
Line 458: Line 466:
 <code xml advancedsettings.xml> <code xml advancedsettings.xml>
 <advancedsettings> <advancedsettings>
-<cputempcommand>echo "$(sensors -u | head -n10 | grep temp1_input | awk '{print $2 }' |awk '{printf("%d\n",$1   0.5);}') C"</cputempcommand> +<cputempcommand>echo "$(sensors -u coretemp-isa-0000 | head -n10 | grep temp2_input | awk '{print $2 }' |awk '{printf("%d\n",$1 0.5);}') C"</cputempcommand>
-<gputempcommand>echo "$(sensors -| head -n10 | grep temp2_input | awk '{print $2 }' |awk '{printf("%d\n",$1   0.5);}') C"</gputempcommand>+
 </advancedsettings> </advancedsettings>
  
Line 566: Line 573:
 <code bash> <code bash>
 mkdir /etc/systemd/system.conf.d mkdir /etc/systemd/system.conf.d
-printf '[Manager]\nDefaultTimeoutStopSec=10s' | tee -a /etc/systemd/system.conf.d/faster-shutdown.conf+printf '[Manager]\nDefaultTimeoutStopSec=10s\n' | tee -a /etc/systemd/system.conf.d/faster-shutdown.conf
  
 </code> </code>
Line 580: Line 587:
 #!/bin/bash #!/bin/bash
 /bin/echo "standby 0" | /usr/bin/cec-client -s -d 1 /bin/echo "standby 0" | /usr/bin/cec-client -s -d 1
 +
 </code> </code>
  
linux/ubuntu_24.04/kodi.1716225162.txt.gz · Last modified: by excyle

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki