diff --git a/raspi.sh b/raspi.sh index e0c2875..5e965a5 100644 --- a/raspi.sh +++ b/raspi.sh @@ -156,7 +156,8 @@ chown ${user}: /home/${user} /home/${user}/.xsessionrc /home/${user}/.config /ho # install (new) addons -cd /home/user/.kodi/addons +[ -d /home/${user}/.kodi/addons ] || mkdir /home/${user}/.kodi/addons +cd /home/${user}/.kodi/addons # jellyfin from jellyfin repo if ! [ -d repository.jellyfin.kodi ] @@ -178,8 +179,8 @@ then fi if ! [ -d plugin.video.mediathekview ] then - wget https://kodirepo.mediathekview.de/repo-leia/plugin.video.mediathekview/plugin.video.mediathekview-1.1.2.zip - unzip plugin.video.mediathekview-1.1.2.zip + wget https://kodirepo.mediathekview.de/repo-matrix/plugin.video.mediathekview/plugin.video.mediathekview-1.1.3.zip + unzip plugin.video.mediathekview-1.1.3.zip fi ## officiall addons @@ -203,7 +204,7 @@ then unzip plugin.video.fosdem-0.0.8+matrix.1.zip fi -# create (new) kodi presets +## create (new) kodi presets cd /home/${user} [ -d debian.ansible.kodi ] && rm -r debian.ansible.kodi git clone https://gitea.ds9.dedyn.io/olli/debian.ansible.kodi.git @@ -215,5 +216,5 @@ mkdir -p /home/${user}/.config/autostart cp /usr/share/applications/kodi.desktop /home/${user}/.config/autostart/kodi.desktop # rights kodi -chown -R ${user}: .kodi +chown -R ${user}: /home/${user}/.kodi