====== Kodi ====== ===== Distributions ===== * OSMC: https://osmc.tv/ * OpenELEC: http://openelec.tv/ ===== Improve cache ===== https://kodi.wiki/view/HOW-TO:Modify_the_video_cache Memory set to 100MB (300MB free RAM required): 1 104857600 10 ===== Player Info ===== Activate the view with: Control+Shift+O (that's the uppercase letter o). Try the skin Rapier: https://kodi.wiki/view/Add-on:Rapier * https://forum.kodi.tv/showthread.php?tid=275260 * https://forum.kodi.tv/showthread.php?tid=306112 ===== Manual installation ===== * http://michael.gorven.za.net/ * https://www.raspberrypi.org/forums/viewtopic.php?t=99866 * https://fynxer.wordpress.com/2015/03/29/installing-kodi-on-raspberry-pi-2-raspbian-wheezy/ * http://drcobra.co.uk/?p=25 ===== Repos ===== * https://superrepo.org/get-started/ * http://www.tvaddons.ag/install-addons-kodi/ ===== Addons ===== * [[https://seo-michael.co.uk/how-to-manually-install-sportsdevil-on-xbmc/|Deportes]] ([[http://forums.tvaddons.ag/threads/32238-SportsDevil-Latest-Plugin-info-and-Librtmp|mirror]]) * LiveStreamsPro * http://ayuda.adryanlist.info/ * p2p-streams * Go to Add-on settings -> General -> Activate **Download modules on boot** (it's on by default) * Go to Add-on settings -> Lists/Parsers -> Run a python script -> http://bit.ly/allparsers * When asked, select **OpenELEC** as the OS (even when using OSMC) * NOTE: Acestream does NOT work with raspberry pi * Will soon change name to plexus * pelisalacarta * [[http://forum.kodi.tv/showthread.php?tid=200957|Pulsar]] (better than Stream and XBMCtorrent) * Torrent2Pulsar * Pulsar MC's Provider Manager * Pulsar MC's Divxatope (Español) Provider * Pulsar MC's Divxtotal (Español) Provider * Pulsar MC's EliteTorrent (Español) Provider * Pulsar kickass multilanguage Provider * Pulsar MC's BTjunkie Provider * Pulsar MC's ExtraTorrent Provider * Pulsar MC's KickAss Provider * Pulsar MC's LimeTorrents Provider * Pulsar MC's RARBG Provider * Pulsar MC's SumoTorrent Provider * Pulsar MC's The Pirate Bay Provider * Pulsar MC's TorrentZ Provider * [[https://github.com/scakemyer/plugin.video.quasar|Quasar]] (fork of Pulsar, maintained) * Stream (fork of XBMCtorrent) * tvalacarta * TwitchTV * XBMCtorrent (abandoned) * YouTube ===== Skins ===== * Aeon Nox * Amber * Maximinimalism * Genesis ===== Web interfaces ===== * [[https://github.com/tuxfuxch/yarc|yarc]] ===== librtmp ===== To update the library **librtmp** download the newest version by RedPenguin from https://www.mediafire.com/?x4cvp5hl4m9xr (right now is inside the folder **3-16-15-Fixes/RasPi**). The name of the downloaded file is **librtmp.so.0**, but has to replace the file **/usr/lib/arm-linux-gnueabihf/librtmp.so.1**. Official support thread: http://forum.kodi.tv/showthread.php?tid=162307 More info: https://discourse.osmc.tv/t/replacing-librtmp-so-0-with-custom-version/2067 Alternative version by superceleron: http://bit.ly/SCLibrtmp (https://www.mediafire.com/folder/3623pdo81n353/lib) ===== Transmission ===== Install and prepare folders and permissions: sudo apt-get install transmission-daemon sudo systemctl stop transmission-daemon.service mkdir -p /home/osmc/torrents/downloads mkdir -p /home/osmc/torrents/temp mkdir -p /home/osmc/torrents/watch sudo chmod g+rwx /home/osmc/torrents/downloads sudo chmod g+rwx /home/osmc/torrents/temp sudo chmod g+rwx /home/osmc/torrents/watch sudo usermod -a -G osmc debian-transmission Edit the settings file **/etc/transmission-daemon/settings.json**: "rpc-whitelist-enabled": false, "rpc-username": "username", "rpc-password": "password", "download-dir": "/home/osmc/torrents/downloads", "incomplete-dir": "/home/osmc/torrents/temp", "incomplete-dir-enabled": true, "script-torrent-done-enabled": true, "script-torrent-done-filename": "/home/osmc/update-library.sh", "trash-original-torrent-files": true, "umask": 0, "watch-dir": "/home/osmc/torrents/watch", "watch-dir-enabled": true, Create this script in **/home/osmc/update-library.sh**: #!/bin/sh /usr/bin/curl --silent --data-binary '{ "jsonrpc": "2.0", "method": "VideoLibrary.Scan", "id": "mybash"}' -H 'content-type: application/json;' http://nova:abaixardeTOT@localhost:8081/jsonrpc > /dev/null Start the daemon: sudo systemctl start transmission-daemon.service References: * http://www.htpcguides.com/install-transmission-raspberry-pi-latest-version-raspbian/ * http://posts.danharper.me/raspberry-pi-2-transmission/ * http://raspberryfacil.com/instalar-transmission-en-osmc-kodi/ * http://www.dennisjanssen.be/tutorials/raspberry-pi-media-center/ * http://www.robertsetiadi.com/installing-transmission-in-raspberry-pi/ ===== rtorrent + rutorrent ===== sudo apt-get install rtorrent mkdir ~/.rtorrent.session The configuration goes to **~/.rtorrent.rc**: # This is an example resource file for rTorrent. Copy to # ~/.rtorrent.rc and enable/modify the options as needed. Remember to # uncomment the options you wish to enable. scgi_port = 127.0.0.1:5000 # Maximum and minimum number of peers to connect to per torrent. #min_peers = 40 max_peers = 100 # Same as above but for seeding completed torrents (-1 = same as downloading) #min_peers_seed = 10 max_peers_seed = -1 # Maximum number of simultanious uploads per torrent. max_uploads = 50 # Global upload and download rate in KiB. "0" for unlimited. download_rate = 0 upload_rate = 0 # Default directory to save the downloaded torrents. directory = /home/osmc/torrents/downloads # Default session directory. Make sure you don't run multiple instance # of rtorrent using the same session directory. Perhaps using a # relative path? session = /home/osmc/.rtorrent.session # Watch a directory for new torrents, and stop those that have been # deleted. #schedule = watch_directory,5,5,load_start=./watch/*.torrent #schedule = untied_directory,5,5,stop_untied= # Close torrents when diskspace is low. schedule = low_diskspace,5,60,close_low_diskspace=1000M # The ip address reported to the tracker. #ip = 127.0.0.1 #ip = rakshasa.no # The ip address the listening socket and outgoing connections is # bound to. #bind = 127.0.0.1 #bind = rakshasa.no # Port range to use for listening. port_range = 55090-55090 # Start opening ports at a random position within the port range. port_random = no # Check hash for finished torrents. Might be usefull until the bug is # fixed that causes lack of diskspace not to be properly reported. #check_hash = no # Set whether the client should try to connect to UDP trackers. use_udp_trackers = yes # Alternative calls to bind and ip that should handle dynamic ip's. #schedule = ip_tick,0,1800,ip=rakshasa #schedule = bind_tick,0,1800,bind=rakshasa # Encryption options, set to none (default) or any combination of the following: # allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext # # The example value allows incoming encrypted connections, starts unencrypted # outgoing connections but retries with encryption if they fail, preferring # plaintext to RC4 encryption after the encrypted handshake # encryption = allow_incoming,enable_retry,prefer_plaintext # Enable DHT support for trackerless torrents or when all trackers are down. # May be set to "disable" (completely disable DHT), "off" (do not start DHT), # "auto" (start and stop DHT as needed), or "on" (start DHT immediately). # The default is "off". For DHT to work, a session directory must be defined. # dht = auto # UDP port to use for DHT. # dht_port = 55091 # Enable peer exchange (for torrents not marked private) # peer_exchange = yes # Enable logging log.open_file = "rtorrent.log", (cat,/home/osmc/.rtorrent.log) log.add_output = "notice", "rtorrent.log" encoding_list = UTF-8 To launch at startup, create the following file **/etc/systemd/system/rtorrent.service**: [Unit] Description=rTorrent After=network.target [Service] User=osmc Type=forking KillMode=none ExecStart=/usr/bin/screen -d -m -fa -S rtorrent /usr/bin/rtorrent ExecStop=/usr/bin/killall -w -s 2 /usr/bin/rtorrent WorkingDirectory=/home/osmc [Install] WantedBy=multi-user.target And enable at boot with: sudo systemctl enable rtorrent To compile from source: sudo apt-get install rtorrent wget https://raw.githubusercontent.com/rakshasa/rtorrent/master/doc/rtorrent.rc -O ~/.rtorrent.rc sudo apt-get install automake build-essential libcppunit-dev libcurl3 libncurses5-dev libssl-dev libtool libxmlrpc-core-c3-dev pkg-config zlib1g-dev mkdir -p ~/local/ cd ~/local/ git clone https://github.com/rakshasa/libtorrent.git cd libtorrent git checkout 0.13.6 ./autogen.sh ./configure --prefix=$HOME/local --with-posix-fallocate make make install cd ~/local/ git clone https://github.com/rakshasa/rtorrent.git cd rtorrent git checkout 0.9.6 ./autogen.sh export PKG_CONFIG_PATH="$HOME/local/lib/pkgconfig" ./configure --prefix=$HOME/local --with-xmlrpc-c make make install * http://forums.rutorrent.org/index.php?topic=256.0 * http://forums.rutorrent.org/index.php?topic=4665.0 * http://www.htpcguides.com/install-configure-rtorrent-and-rutorrent-on-debian/ * https://crshd.github.io/2014/12/16/ruTorrent-Seedbox-on-Debian/ * https://wiki.archlinux.org/index.php/RTorrent * https://github.com/Kerwood/rtorrent.auto.install/blob/master/Rtorrent-Auto-Install-1.1.0-Raspbian-Wheezy-Nginx * https://discourse.osmc.tv/t/rtorrent-for-app-store/5938 * https://discourse.osmc.tv/t/howto-rtorrent-instead-of-transmission/6069 * https://github.com/xombiemp/ultimate-torrent-setup * https://github.com/xombiemp/ultimate-torrent-setup/wiki#configure-the-gui-settings * http://community.rutorrent.org/RtorrentTroubleShooting * http://www.torrent-invites.com/seedbox-tutorials/252590-rutorrent-ratio-tutorial.html ===== Movies: CouchPotato ===== * https://couchpota.to/ ===== TV Shows: Sick Beard ===== * http://sickbeard.com/forums/viewtopic.php?f=9&t=3661 ===== TV Shows: SickRage ===== * https://github.com/SiCKRAGETV/SickRage ===== TV Shows: Sonarr (NzbDrone) ===== * https://sonarr.tv/ * https://github.com/Sonarr/Sonarr/wiki/Installation#linux * http://www.htpcguides.com/install-sonarr-raspberry-pi-mono-310/ * https://github.com/Sonarr/Sonarr/wiki/Autostart-on-Linux#systemd * https://discourse.osmc.tv/t/nzbget-couchpotato-and-sonarr/1681 ===== HTPC Manager ===== * http://htpc.io/ ===== Browser Extensions ===== * Firefox: [[https://addons.mozilla.org/es/firefox/addon/send-to-xbmc/|Send to XBMC/Kodi]] * Chrome: [[https://chrome.google.com/webstore/detail/play-to-kodi/fncjhcjfnnooidlkijollckpakkebden|Play to Kodi]] ===== Keyboard Layout ===== There seems to be a bug in OSMC where the external keyboard is always English and can't be changed. Bug report: https://discourse.osmc.tv/t/bug-report-hardware-keyboard-layout-not-working/3507 ===== Avoid sleep (blank screen) after a long time suspended ===== Go to My OSMC -> Pi Config and enable **store_hdmi_to_file**. * https://discourse.osmc.tv/t/screen-lost-after-a-night-of-running-without-tv/2280/5 * http://kodi.wiki/view/Raspberry_Pi_FAQ#TV_is_not_detected_unless_powered_on_first ===== References ===== * http://posts.danharper.me/raspberry-pi-2-installing-raspbian/