User Tools

Site Tools


raspberry-pi:kodi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
raspberry-pi:kodi [2016/04/09 18:53]
josep [rtorrent + rutorrent]
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 41: Line 65:
     * Pulsar MC's The Pirate Bay Provider     * Pulsar MC's The Pirate Bay Provider
     * Pulsar MC's TorrentZ 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 118: 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>​ <​code>​
 sudo apt-get install rtorrent sudo apt-get install rtorrent
  
 wget https://​raw.githubusercontent.com/​rakshasa/​rtorrent/​master/​doc/​rtorrent.rc -O ~/​.rtorrent.rc 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>​ </​code>​
  
Line 134: Line 309:
   * 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   * 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 =====
raspberry-pi/kodi.1460220788.txt.gz · Last modified: 2016/10/16 18:40 (external edit)