Skip to content

Installing Hama and ASS on Ubuntu

Kezxo edited this page Aug 17, 2016 · 6 revisions

#Installing Hama and ASS on Ubuntu. This works for me on Ubuntu 16.04.1 LTS. There are probably easier ways to do this so if you know any then please make this better. For example if you know ways to install and update ASS via git in a way that puts the file in the right place then please share.

##installing:

sudo service plexmediaserver stop
cd /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Plug-ins/
sudo git clone https://github.com/ZeroQI/Hama.bundle.git
cd /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/
mkdir -p Scanners/Series/
cd /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Scanners/Series/
wget https://raw.githubusercontent.com/ZeroQI/Absolute-Series-Scanner/master/Scanners/Series/Absolute%20Series%20Scanner.py
cd /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/
wget https://github.com/ZeroQI/Hama.bundle/releases/download/v1.0/Plug-in.Support.folders.zip
unzip Plug-in.Support.folders.zip -d /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/
sudo chown -R plex:plex /var/lib/plexmediaserver
sudo chmod 775 -R /var/lib/plexmediaserver
sudo touch /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Plug-in\ Support/Data/com.plexapp.agents.hama/StoredValues
sudo chmod 777 /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Plug-in\ Support/Data/com.plexapp.agents.hama/StoredValues
sudo chown plex:plex /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Plug-in\ Support/Data/com.plexapp.agents.hama/StoredValues
sudo service plexmediaserver restart

##Updating.

sudo service plexmediaserver stop
cd /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Plug-ins/Hama.bundle
sudo git pull
cd /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Scanners/Series/
wget -N  https://raw.githubusercontent.com/ZeroQI/Absolute-Series-Scanner/master/Scanners/Series/Absolute%20Series%20Scanner.py && cd
sudo chown -R plex:plex /var/lib/plexmediaserver
sudo chmod 775 -R /var/lib/plexmediaserver
sudo touch /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Plug-in\ Support/Data/com.plexapp.agents.hama/StoredValues
sudo chmod 777 /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Plug-in\ Support/Data/com.plexapp.agents.hama/StoredValues
sudo chown plex:plex /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Plug-in\ Support/Data/com.plexapp.agents.hama/StoredValues
sudo service plexmediaserver restart