This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# downloads all missing trailers - it goes through all your movies and matchs them up with an entry | |
# in plex, grabs the imdb id from plex, and then parses the trailer url from the imdb site, then passes | |
# that to youtube-dl to download the trailer, it skips entries that dont have a matching imdb entry | |
# or if the trailer already exists | |
# must have 'sqlite3' and 'youtube-dl' packages (apt-get install sqlite3 youtube-dl) | |
# set 'mpath' and 'pms' accordingly | |
if [ "$#" -ne 1 ]; then | |
echo "Usage: $0 <media path>" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
require 'fileutils' | |
require 'optparse' | |
xcodePath = %x{xcode-select -print-path} | |
puts "Checking simulator devices against Xcode: #{xcodePath}" | |
options = {} | |
OptionParser.new do |opts| |