2014-10-11, 12:00
i tried vlc in a chroot once before i got it working in xbmc... and this worked, and well it works in xbmc too if started manually.
find /usr/lib/ |grep -i libaacs |xargs ls -la && find /usr/lib/ |grep -i libbdplus |xargs ls -la
lrwxrwxrwx 1 root root 12 Jan 26 2014 /usr/lib/libaacs.so.0 -> libmmbd.so.0
lrwxrwxrwx 1 root root 12 Oct 24 2013 /usr/lib/libbdplus.so.0 -> libmmbd.so.0
OpenELEC:/usr/lib # find /usr/lib/ |grep -i libaacs |xargs ls -la && find /usr/lib/ |grep -i libbdplus |xargs ls -la
lrwxrwxrwx 1 root root 61 Oct 10 14:47 /usr/lib/libaacs.so -> /storage/.xbmc/addons/lib.multimedia.makemkv/lib/libmmbd.so.0
lrwxrwxrwx 1 root root 61 Oct 10 14:47 /usr/lib/libaacs.so.0 -> /storage/.xbmc/addons/lib.multimedia.makemkv/lib/libmmbd.so.0
lrwxrwxrwx 1 root root 61 Oct 10 14:47 /usr/lib/libaacs.so.0.4.1 -> /storage/.xbmc/addons/lib.multimedia.makemkv/lib/libmmbd.so.0
lrwxrwxrwx 1 root root 18 Oct 4 10:53 /usr/lib/libbdplus.so -> libbdplus.so.0.0.1
lrwxrwxrwx 1 root root 18 Oct 4 10:53 /usr/lib/libbdplus.so.0 -> libbdplus.so.0.0.1
-rwxr-xr-x 1 root root 85512 Oct 4 10:53 /usr/lib/libbdplus.so.0.0.1
(2014-10-11, 13:56)peisenhans Wrote: i have the same issue as da.schizzle.. while playing blurays via navigating into files, /BDMV/index.bdmv works with every bluray the shortcut with the script does not work and i get the same log..
xbmc-send --host=192.168.1.32 --port=9777 --action="PlayMedia("$BD_DISC")"
IP_ADDRESS=localhost
PORT_NUMBER=8080 #xbmc default
function xbmc_req {
curl -v -H "Content-type: application/json" -X POST -d "$1" http://"$IP_ADDRESS":"$PORT_NUMBER"/jsonrpc
}
xbmc_req '{ "jsonrpc": "2.0", "method": "Player.Open", "params":{"item": {"file":"'"$BD_DISC"'"}}, "id": "1" }'
#!/bin/bash
#script to play dvd/cd/bluray with xbmc
udevil mount -o ro,noatime /dev/sr0
BD_DISC=$(ls /media/*/BDMV/index.bdmv 2> /dev/null)
if [[ "$BD_DISC" ]]; then
IP_ADDRESS=localhost
PORT_NUMBER=8080 #xbmc default
function xbmc_req {
curl -v -H "Content-type: application/json" -X POST -d "$1" http://"$IP_ADDRESS":"$PORT_NUMBER"/jsonrpc
}
xbmc_req '{ "jsonrpc": "2.0", "method": "Player.Open", "params":{"item": {"file":"'"$BD_DISC"'"}}, "id": "1" }'
else
xbmc-send --host=127.0.0.1 --port=9777 --action="PlayDVD"
fi
Quote:OpenELEC:~/.xbmc/.scripts # chmod 755 xbmc-play-disc.sh
OpenELEC:~/.xbmc/.scripts # ls
xbmc-play-disc.py xbmc-play-disc.sh
OpenELEC:~/.xbmc/.scripts # xbmc-play-disc.sh
-sh: xbmc-play-disc.sh: not found