XBMC: Difference between revisions
No edit summary |
|||
Line 178: | Line 178: | ||
Scroll to the bottom of the same page, and set as default for all (library) movies. | Scroll to the bottom of the same page, and set as default for all (library) movies. | ||
</pre> | </pre> | ||
= Controlling the device through your TV remote = | |||
In order for the Pulse CEC to work on LG TVs you need to enable Simplink (Settings -> All settings -> General -> Simplink (HDMI-CEC) | |||
= LiveTV = | = LiveTV = |
Revision as of 12:13, 22 December 2016
OpenElec
You can find a whole load of settings files in:
/storage/.xbmc/userdata/
/storage/.config
SSH
login as user: root pass: openelec
Optimising
Menu speed
Turn off Extract thumbnail and video information from System => Settings => File lists
Turn off the RSS feed in System => Settings => Appearance.
Improving stutter
To ensure your Raspberry Pi can keep up in fast moving complex scenes you need to set the refresh rate of your monitor to match that of the video. To achieve this head over to System => Settings => Videos => Playback and set Adjust display refresh rate to match video to Always. Now fast moving scenes will play without glitches or stuttering because XBMC no longer has to pull up the refresh rate to 50 or 60 Hz.The only downside is the slightly increased chance of interference patterns. But these are still far less annoying than shocking movement in scenes.
ALSO 1080p MKV files stutter like hell. The solution is to mount the NAS using NFS, see below!
and here for stuff about changing the buffering, but that shouldn't be necessary if you're mounting properly using NFS
Mounting with NFS
Also see here mount stuff in:
mount -t nfs 192.168.0.101:/volume1/video /storage/INVADERvideos/ -o udp,noatime,rsize=32768,wsize=32768,nolock,nfsvers=3
NB The udp option could be causing problems, so try dropping it if it does. Instead use noatime,nolock,vers=4 as options See here for source
Note: You also need to give permissions on the NFS server :) See [1] for Synology instructions. NB Because the synology has permissions set per IP, set the ip of the sleepypi to 192.168.0.99 or change sharing permissions on the synology.
To remount at boot, don't use fstab (it's readonly), but either:
Using systemd
make sure /storage/INVADERvideos exists :)
/storage/.config/system.d/storage-INVADERvideos.mount
[Unit] Description=mount INVADER Videos Requires=network-online.service After=network-online.service Before=xbmc.service [Mount] What=192.168.0.101:/volume1/video Where=/storage/INVADERvideos Options=udp,noatime,rsize=32768,wsize=32768,nolock,nfsvers=3 Type=nfs [Install] WantedBy=multi-user.target
After running this you need to enable the mount
systemctl enable storage-INVADERvideos.mount
NB in the example it says servicectl this is wrong it needs to be systemctl!
Using autostart.sh
This method is depreciated! vi /storage/.config/autostart.sh
#!/bin/sh (sleep 30; \ mount -t nfs 192.168.0.100:/c/media/Videos /storage/NAS -o nolock; \ )&
chmod +x /storage/.config/autostart.sh
Autostart scripts
vi /storage/.config/autostart.sh
#!/bin/sh (sleep 30; \ stuff you want run; \ )&
chmod +x /storage/.config/autostart.sh
Add ons
Turkish
XBMCTR Dream-Clup addon
XBMCTR forum
XBMCTR scraper
Codec keys:
Thank you for purchasing codec license keys from the Raspberry Pi Store.To enable codecs on your device(s), add the following lines to the config.txt file in the FAT partition of your SD card:
mount -o remount,rw /flash nano /flash/config.txt Make your changes, then ctrl+x to save. mount -o remount,ro /flash reboot
Pi v1
decode_MPG2=0x5c6af7b5
decode_WVC1=0xad51e9bb
Pi v3
decode_MPG2=0x149360ce
decode_WVC1=0x45655d11
If you want to verify that the codecs are now enabled, the following commands will report their status:
vcgencmd codec_enabled MPG2
vcgencmd codec_enabled WVC1
Regards
The Raspberry Pi Foundation
Bluetooth
lsusb - shows you if the device is there
Bus 001 Device 007: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
bluetoothctl - opens a control panel to help play with your bluetooth device. Use help for commands.
list - lists the controller show - shows the statusses scan on - scans for devices devices - shows you the devices it has found
you can also use hcitool - it has a few more options
hcitool scan
rebooting a LOT helps a lot on the pi!
disabling subtitles
Run a video from the library. Press ENTER to show the OSD menu (On-Screen-Display) Select the Sound icon Go to the 7th line for enabling/disabling subtitles. Scroll to the bottom of the same page, and set as default for all (library) movies.
Controlling the device through your TV remote
In order for the Pulse CEC to work on LG TVs you need to enable Simplink (Settings -> All settings -> General -> Simplink (HDMI-CEC)
LiveTV
The system needs to be running Tvheadend which takes the input from a DVB card and moves it to XBMC Live TV. It's configured through a web interface. In the Howto's there's a section on Ziggo that may apply to UPC as well.
DVB
DVB-C = cable DVB-S or S2 = satellite DVB-T or T2 = terrestrial
A list of linux (and therefore XBMC compatible) hardware is to be found on the LinuxTV wiki
Standard you need a DVB-C card with a CI interface. Some DVB-T boxen also have DVB-C compatibility and a CI card.
The HDHomeRun with TVHeadEnd is your best bet, but unfortunately this is not CI+ certified. So far, nothing is, as CI+ was developed to stop people from watching TV on their PCs.
You can find a list of raspberry pi verified peripherals at here