This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
raspberry-pi:kodi [2015/09/04 23:55] josep [Transmission] |
raspberry-pi:kodi [2019/01/02 22:29] (current) josep [Player Info] |
||
---|---|---|---|
Line 4: | Line 4: | ||
* OSMC: https://osmc.tv/ | * OSMC: https://osmc.tv/ | ||
* OpenELEC: http://openelec.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): | ||
+ | |||
+ | <code> | ||
+ | <advancedsettings> | ||
+ | <cache> | ||
+ | <buffermode>1</buffermode> | ||
+ | <memorysize>104857600</memorysize> | ||
+ | <readfactor>10</readfactor> | ||
+ | </cache> | ||
+ | </advancedsettings> | ||
+ | </code> | ||
+ | |||
+ | ===== 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 ===== | ===== Manual installation ===== | ||
Line 26: | Line 50: | ||
* Will soon change name to plexus | * Will soon change name to plexus | ||
* pelisalacarta | * pelisalacarta | ||
- | * [[http://forum.kodi.tv/showthread.php?tid=200957|Pulsar]] | + | * [[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) | * Stream (fork of XBMCtorrent) | ||
* tvalacarta | * tvalacarta | ||
Line 36: | Line 75: | ||
* Aeon Nox | * Aeon Nox | ||
* Amber | * Amber | ||
+ | * Maximinimalism | ||
+ | * Genesis | ||
+ | |||
+ | ===== Web interfaces ===== | ||
+ | * [[https://github.com/tuxfuxch/yarc|yarc]] | ||
===== librtmp ===== | ===== librtmp ===== | ||
Line 71: | Line 115: | ||
"incomplete-dir": "/home/osmc/torrents/temp", | "incomplete-dir": "/home/osmc/torrents/temp", | ||
"incomplete-dir-enabled": true, | "incomplete-dir-enabled": true, | ||
+ | "script-torrent-done-enabled": true, | ||
+ | "script-torrent-done-filename": "/home/osmc/update-library.sh", | ||
"trash-original-torrent-files": true, | "trash-original-torrent-files": true, | ||
"umask": 0, | "umask": 0, | ||
"watch-dir": "/home/osmc/torrents/watch", | "watch-dir": "/home/osmc/torrents/watch", | ||
"watch-dir-enabled": true, | "watch-dir-enabled": true, | ||
+ | </code> | ||
+ | |||
+ | Create this script in **/home/osmc/update-library.sh**: | ||
+ | <code> | ||
+ | #!/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 | ||
</code> | </code> | ||
Line 90: | Line 143: | ||
===== rtorrent + rutorrent ===== | ===== rtorrent + rutorrent ===== | ||
+ | <code> | ||
+ | sudo apt-get install rtorrent | ||
+ | mkdir ~/.rtorrent.session | ||
+ | </code> | ||
+ | |||
+ | The configuration goes to **~/.rtorrent.rc**: | ||
+ | <code> | ||
+ | # 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 | ||
+ | </code> | ||
+ | |||
+ | To launch at startup, create the following file **/etc/systemd/system/rtorrent.service**: | ||
+ | <code> | ||
+ | [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 | ||
+ | </code> | ||
+ | |||
+ | And enable at boot with: | ||
+ | <code> | ||
+ | sudo systemctl enable rtorrent | ||
+ | </code> | ||
+ | |||
+ | To compile from source: | ||
+ | <code> | ||
+ | sudo apt-get install rtorrent | ||
+ | |||
+ | wget https://raw.githubusercontent.com/rakshasa/rtorrent/master/doc/rtorrent.rc -O ~/.rtorrent.rc | ||
+ | </code> | ||
+ | |||
+ | <code> | ||
+ | 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 | ||
+ | </code> | ||
+ | |||
* http://forums.rutorrent.org/index.php?topic=256.0 | * http://forums.rutorrent.org/index.php?topic=256.0 | ||
* http://forums.rutorrent.org/index.php?topic=4665.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://crshd.github.io/2014/12/16/ruTorrent-Seedbox-on-Debian/ | ||
* https://wiki.archlinux.org/index.php/RTorrent | * https://wiki.archlinux.org/index.php/RTorrent | ||
Line 98: | Line 308: | ||
* https://discourse.osmc.tv/t/howto-rtorrent-instead-of-transmission/6069 | * 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 | ||
+ | * 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 ===== | ===== Movies: CouchPotato ===== | ||
Line 107: | Line 320: | ||
===== TV Shows: SickRage ===== | ===== TV Shows: SickRage ===== | ||
* https://github.com/SiCKRAGETV/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 ===== | ===== HTPC Manager ===== | ||
* http://htpc.io/ | * 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 ===== | ===== Keyboard Layout ===== |