Skip to content

Installation Pine A64

Dean Gardiner edited this page Nov 16, 2016 · 2 revisions

Table of Contents:

This guide has been derived from third-party sources (forum threads, other guides, etc..), so might have errors or missing information. If you find any problems with this guide please open an issue here.

Installation

This installation guide is written for Debian, if you are using a different operating system the guides listed on the Installation page specific to your operating system may be more helpful.

Install: Unsupported AppStore (v2)

  1. Download the latest release of the WebTools plugin from here

  2. Extract the downloaded ZIP archive

    unzip WebTools.bundle.zip
  3. Copy the WebTools.bundle folder to the Plug-ins folder on your system:

    sudo cp -r WebTools.bundle "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/"
  4. Restart Plex Media Server

    • SysVinit

      sudo /etc/init.d/plexmediaserver restart
    • Systemd

      sudo systemctl restart plexmediaserver
    • Upstart

      sudo initctl restart plexmediaserver
  5. Open the WebTools interface at http://<System IP>:33400 or http://<System IP>:33443 and login with your Plex.tv account

  6. Open the "Unsupported AppStore" module:

  7. Find the "Trakt.tv" plugin listed under "Application", and click "Install":

  8. The "Trakt.tv" plugin should appear at Plex/Web -> Channels in about one minute. (but can vary depending on the speed of your system)

    If the plugin doesn't appear after waiting a few minutes: the plugin may not be installed correctly, or has crashed on startup. Please post an issue here with the latest plugin log file for support.

  9. Configure the plugin by clicking on the plugin settings button at Plex/Web -> Channels:

Install: Manual

  1. Download the latest release of the Trakt.tv plugin

    • Stable (recommended)

      wget https://github.com/trakt/Plex-Trakt-Scrobbler/archive/master.zip -O Plex-Trakt-Scrobbler.zip
    • Beta

      wget https://github.com/trakt/Plex-Trakt-Scrobbler/archive/beta.zip -O Plex-Trakt-Scrobbler.zip
    • Development

      wget https://github.com/trakt/Plex-Trakt-Scrobbler/archive/develop.zip -O Plex-Trakt-Scrobbler.zip
  2. Extract the downloaded ZIP archive

    unzip Plex-Trakt-Scrobbler.zip
  3. Copy the Trakttv.bundle folder to the Plug-ins folder on your system:

    sudo cp -r Plex-Trakt-Scrobbler-*/Trakttv.bundle "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/"
  4. Restart Plex Media Server

    • SysVinit

      sudo /etc/init.d/plexmediaserver restart
    • Systemd

      sudo systemctl restart plexmediaserver
    • Upstart

      sudo initctl restart plexmediaserver
  5. The "Trakt.tv" plugin should appear at Plex/Web -> Channels in about one minute. (but can vary depending on the speed of your system)

    If the plugin doesn't appear after waiting a few minutes: the plugin may not be installed correctly, or has crashed on startup. Please post an issue here with the latest plugin log file for support.

  6. Configure the plugin by clicking on the plugin settings button at Plex/Web -> Channels:

Fixes

Fix: Permissions

Copying the plugin into the Plug-ins folder may result in incorrect permissions on the Trakttv.bundle folder, permissions can be fixed with the following steps:

  1. Determine the user + group which has ownership of Plex Media Server:

    stat --format '%U:%G' "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server"
  2. Update ownership of the Trakttv.bundle folder

    sudo chown -R plex:plex "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Trakttv.bundle"

    (Replace plex:plex with the output from step 1)

  3. Update permissions on the Trakttv.bundle folder

    sudo chmod -R 770 "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Trakttv.bundle"

Fix: CPU architecture detection

The Pine64 CPU architecture may not be detected correctly in some cases, the following steps will show you how to manually specify the current system CPU architecture (as ARMv7 HF):

  1. Navigate to the following directory (either via SSH, or other means):

    /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Data/com.plexapp.plugins.trakttv
    
  2. Create the advanced.ini file inside this directory with the following contents:

    [libraries]
    cpu_architecture = armv7_hf
    
  3. Restart Plex Media Server

(Discovered in issue #319)