Total Pageviews

Friday, 19 February 2016

OS X Media Center - El Capitan edition


Note:

A clean install will erase all of the contents on your disk drive. Make sure to back up your important files, settings and apps before proceeding. If needed, upgrade the system to El Capitan
Performing a clean install:
  1. Restart your Mac and hold down the Command key and the R key (cmd⌘+R). Press and hold these keys until the Apple logo appears.
  2. For a clean install, open up Disk Utility and erase your main hard drive. Once you've done so, you can go back to the Install OS X Mavericks disk and choose "Install a new copy of OS X."

Install

OS X Additions
  •  Cheetah
  •  Dotfiles
    •  bash_aliases
    •  bash_autocomplete
    •  bash_exports
    •  bash_functions
    •  bash_options
    •  bash_profile
    •  bash_prompt
  •  HomeBrew
    •  ffmpeg
  •  MySQL
  •  OS X Server
  •  Python PIP (Package Manager)
    •  Python LXML
Applications
  •  Auto-Sub (https://github.com/BenjV/autosub:small_red_triangle:
    •  LaunchAgent
  •  CouchPotato (https://couchpota.to)
    •  LaunchAgent
    •  WebApp Proxy
    •  SabNZBD+ integration
    •  Spotweb integration
  •  NewzNAB
  •  NzbToMedia
  •  Plex Home Theater
  •  Plex Media Server
  •  SABnzbd+
    •  LaunchAgent
    •  WebApp Proxy
    •  Folder creation
    •  NzbToMedia (SickBeard)
  •  SickBeard
    •  LaunchAgent
    •  WebApp Proxy
    •  SABnzbd+ integration (text step-by-step, not (yet) automated)
    •  Spotweb integration (text step-by-step, not (yet) automated) :small_red_triangle:
  •  Sonarr
    •  WebApp Proxy
  •  Spotweb :small_red_triangle:
    •  API enablement check
    •  LaunchAgent: Periodic retrieval
    •  SabNZBD+ integration (text step-by-step, not (yet) automated)
  •  etc.

Usefull links:

Plex Information page(s)
Hue informatino page(s)
OS X Server
Dot files
Github
lsd error
  • sudo mkdir /private/var/db/lsd
  • xattr -wr com.apple.finder.copy.source.checksum#N 4 /private/var/db/lsd
  • xattr -wr com.apple.metadata:_kTimeMachineNewestSnapshot 50 /private/var/db/lsd
  • xattr -wr com.apple.metadata:_kTimeMachineOldestSnapshot 50 /private/var/db/lsd
  • sudo touch /private/var/db/lsd/com.apple.lsdschemes.plist
  • sudo /usr/libexec/repair_packages --repair --standard-pkgs --volume /
  • https://support.apple.com/en-us/HT203129
OS X Server WebApp
Other
Sed
  • sudo sed -i "s/^;date.timezone =./date.timezone = Europe\/Amsterdam/" /etc/php5//php.ini
  • sudo sed -i 's/"$/:\/usr\/local\/mysql\/bin"/' /etc/environment
  • sudo sed -i 's/basedir = \/usr/basedir =\/usr\/local\/mysql/' /etc/mysql/my.cnf
  • sudo sed -i 's/lc-messages-dir = \/usr\/share\/mysql/lc-messages-dir = \/usr\/local\/mysql\/share\nlc-messages =en_GB\n/' /etc/mysql/my.cnf
  • sudo sed -i 's/myisam-recover /myisam-recover-options /' /etc/mysql/my.cnf
  • sudo sed -i 's/key-buffer /key-buffer-size /' /etc/mysql/my.cnf
  • sed -i '/bind-address/d' /etc/mysql/my.cnf
Spotweb
# Remove NL Subs from QoQ Series:
  • UPDATE spots SET title= REPLACE (title, ' NLSubs ', ' ') WHERE spotterid = 'C7w1uw' AND subcatz = 'z1|'
# Remove (2015) from QoQ Series:
  • UPDATE spots SET title= REPLACE (title, '(2015)', '') WHERE spotterid = 'C7w1uw' AND subcatz = 'z1|'
# Remove (2016) from QoQ Series:
  • UPDATE spots SET title= REPLACE (title, '(2016)', '') WHERE spotterid = 'C7w1uw' AND subcatz = 'z1|'
Food for Thought

from https://github.com/ajongsma/OSX_MediaCenter