yeah, I saw that on some other posts. People have reported stability issues so I think I'll wait till it's tested and released via normal update. Thanks for working on it, it's nearly where it needs to be. I can live with the exit issues for now.gkreidl wrote:With the 15.0-beta-Version I compiled and published it is possible, to start kodi from the desktop and return to it (using my startkodi script, which also patched into the desktop file).
But there may be lots of other problems (especially with plugins); it's an early beta (or even alpha). I'm using it mostly as a media player and that's working fine.
I'll compile a new version next week or so ...
Yes, if you run it in the background before starting kodi.emeric wrote:hi,
Could i run a program on rasbian that reeds a analoge value of a tempsensor in one of the gpio pins and uses that info to control a coolingfan. All while running the kodi program?
Either use one of the black screen bug fixes or kill it from another computer using ssh or use kodi-15-beta (which has other problems but the black screen, hanging kodi bug is fixed)bismosa wrote:Yes, i run this as root. So can i reboot the machine from the Exit menu.
It makes no difference if i run as root or as user. I cant kill it if does not respond. I tried to kill it as root...
It is important for me that it no longer crashes. So it is not useful for me...
Code: Select all
kodi --version
14.2 Git:7cc53a9 Media Center Kodi
Copyright (C) 2005-2013 Team Kodi - http://kodi.tv
I'm interested in looking at your scripts mate...could you post/upload them somewhere?raspi_fan wrote:I don't want to just bother so I ask - is anybody interested in my set of scripts that keeps working fine since a few weeks with the standardthat I installed from the standard repository? I have to mention that I replaced Lxde with Xfce and removed Xscreensaver (I prefer Xserver screen blanking) before I started to fiddle around with Kodi - which may make a difference (?). Basically I copied most of the stuff I found in this thread and then tried this and that. Accidentally I seem to have come across something that works on two Raspberries here. Still a framebuffer-resetting and desktop-restarting flickering on exiting Kodi, but it does the job. Surely could be optimized by the pros here...Code: Select all
kodi --version 14.2 Git:7cc53a9 Media Center Kodi Copyright (C) 2005-2013 Team Kodi - http://kodi.tv
Code: Select all
http://gizmeo.eu/raspbian-mit-xfce/Code: Select all
sudo apt-get install xfce4 xfce4-goodiesCode: Select all
sudo dpkg --set-selectionsCode: Select all
sudo apt-get remove lxde lxappearance lxde-common lxde-core lxde-icon-theme lxinput lxmenu-data lxpanellxpolkit lxrandr lxsession lxsession-edit lxshortcut lxtasklxterminalCode: Select all
sudo chmod +x path_to_script/scriptname.shCode: Select all
cd /home/pi/Dokumente
./scoff.sh
LOG_FILE=$HOME/.kodi/temp/kodi.log
rm $LOG_FILE 2>/dev/null
/usr/lib/kodi/kodi.bin --standalone &
while [[ ! -f $LOG_FILE ]] ; do
sleep 1s
done
while read line ; do
if [[ ${line} =~ "application stopped" ]] ; then
break
fi
done < <(tail --pid=$$ -f -n0 $LOG_FILE)
killall kodi.bin 2>/dev/null
cd /home/pi/Dokumente
./sc.sh
fbset -depth 8 && fbset -depth 16
xfce4-panel -r -d 2>/dev/null
xfdesktop --reload 2>/dev/null
xrefreshCode: Select all
xset s on
xset -dpms
xset s 120Code: Select all
xset s offCode: Select all
xfce4-terminal --hide-borders --hide-toolbars --hide-menubar -x /home/pi/Dokumente/startkodi.shCode: Select all
Desktop Entry]
Version=1.0
Name=Kodi Media Center
GenericName=Media Center
Comment=Manage and view your media
Exec=xfce4-terminal --hide-borders --hide-toolbars --hide-menubar -x /home/pi/Dokumente/startkodi.sh
Icon=kodi
Terminal=false
Type=Application
Categories=AudioVideo;Video;Player;TV;
Actions=Fullscreen;Standalone;
X-XFCE-Source=file:///usr/share/applications/start-kodi.desktop
Path=/home/pi/Dokumente
StartupNotify=false
[Desktop Action Fullscreen]
Name=Open in fullscreen
Exec=/home/pi/Dokumente/startkodi.sh
OnlyShowIn=Unity;
[Desktop Action Standalone]
Name=Open in standalone mode
Exec=/home/pi/Dokumente/startkodi.sh
OnlyShowIn=Unity;Most important, it shows the file name with a blinking cursor at the end. Just hit Return (and afterwards CTRL +x to quit).rubiks wrote:Very new to Raspbian.
For step 2. "enter the following and save "deb http://archive.mene.za.net/raspbian wheezy contrib"
I Ctl +O to write out, but it shows Doc, Mac etc. What do I need to do to save the repository? Thanks.
There are some workarounds, which you can find on the forum. But a much better solution may be to upgrade to kodi-15, where the bug has been fixed. It's very stable now (Release Candidate 3).rubiks wrote:Thanks for the guide. Got everything working on my Pi 2 except the black screen. How do get back to Raspbian or Kodi screen from the black screen? Thanks.
Code: Select all
sudo dpkg -r kodi
sudo apt-get install kodi