Last active
December 14, 2015 06:28
-
-
Save ranbena/5042431 to your computer and use it in GitHub Desktop.
Raspbmc and xbmc commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# path ~/.xbmc/userdata/advancedsettings.xml | |
# full list of config http://wiki.xbmc.org/?title=advancedsettings.xml | |
# create this file if doesn't already exist | |
<advancedsettings> | |
<video> | |
<timeseekforward>60</timeseekforward> | |
<timeseekbackward>-10</timeseekbackward> | |
</video> | |
</advancedsettings> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# path /boot/config.txt | |
# all configurations here http://elinux.org/RPi_config.txt | |
arm_freq=800 | |
force_turbo=1 | |
disable_overscan=1 | |
gpu_mem=128 | |
start_file=start_x.elf | |
fixup_file=fixup_x.dat | |
# ignore wrong tv edid | |
hdmi_ignore_edid=0xa5000080 | |
# force edid 1080p/60Hz | |
hdmi_group=1 | |
hdmi_mode=16 | |
# force hdmi over dvi (no sound fix) | |
hdmi_drive=2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo umount /media/Bena\ Box_ | |
sudo chmod g+rw /media/Bena\ Box/ | |
sudo mount -t ntfs-3g /dev/sda1 /media/Bena\ Box/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh pi@<raspi-ip> | |
Password:raspberry |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# have to stop service to save settings | |
sudo /etc/init.d/transmission-daemon stop | |
#edit | |
sudo vi /etc/transmission-daemon/settings.json | |
#change the following and save | |
{ | |
... | |
"download-dir": "/media/Bena Box/Downloads",. | |
"incomplete-dir": "/media/Bena Box/Downloads/incomplete",. | |
"rpc-password": "<choose password>",. | |
"rpc-username": "<choose username>",. | |
"rpc-whitelist-enabled": false,. | |
... | |
} | |
# turn back on | |
sudo /etc/init.d/transmission-daemon start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# connect to raspi via ssh | |
ssh pi@<raspi-ip> | |
# install transmission | |
sudo apt-get install transmission-daemon | |
# if fails, might be required to update, and only then install transmission | |
sudo apt-get update | |
sudo apt-get install transmission-daemon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#connect to pi via ssh | |
ssh pi@<raspi-ip> | |
# stop transmission | |
sudo /etc/init.d/transmission-daemon stop | |
# unmount HD | |
cd /media | |
sudo umount Bena\ Box/ | |
# give transmission write permissions to HD | |
sudo mkdir Bena\ Box/ | |
sudo chmod g+rw Bena\ Box/ | |
sudo chgrp -R debian-transmission Bena\ Box/ | |
# remount and restart transmission | |
sudo mount -t ntfs-3g /dev/sda1 /media/Bena\ Box/ | |
sudo /etc/init.d/transmission-daemon start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment