This file contains 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
chrome.extension.onRequest.addListener(function(request, sender, sendResponse) { | |
// how many buttons? | |
if (request.method == "getStatus"){ | |
if(localStorage["xbmc_count"]) | |
sendResponse({status: localStorage["xbmc_count"]}); | |
else | |
sendResponse({status: 0}); | |
} | |
if (request.method == "getImage") | |
sendResponse({image: localStorage["imageNo"]}); |
This file contains 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
# this script will go thru all sub folders (recursively) and look for mp3s it will add these mp3s to iTunes | |
# after all mp3s where added iTunes "Match" will be updated (optional) | |
# all mps3 will be deleted (optional) | |
# for every added files a growl message is send (optional) | |
# please see propertys bellow for settings. 0 = Off / No. 1 = ON / Yes | |
# USAGE: set this script as a folder action for a folder you want to watch or use it from the command line with: osascript add_mp3s_to_itunes.scpt <folder_to_process> | |
# for use with sabnzbd create a "sabToitunes.py" python script and place it next to this file. the contense is as follows (without the leading "(*" and trailing "*)"): | |
(* | |
#!/usr/bin/python |
This file contains 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
body{ | |
background: #000; | |
} | |
#header{ | |
display: none; | |
} | |
#footerPopover{ | |
height: 100%; |
This file contains 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 | |
# ---------- | |
# This script uses HandBrakeCLI to convert any mkv x264 video to 8-bit (high @ 4.1 Profile) | |
# and this only when needed!! | |
#----------- | |
# based on the script by enolive located here http://pastebin.com/2rCh13Pk | |
# ---------- | |
# Needed tools: | |
# HandBrakeCLI get it here http://handbrake.fr/downloads2.php | |
# ---------- |
This file contains 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
// ==UserScript== | |
// @name SickBeard UserScript | |
// @description Add movies to your CouchPotato via external sites like IMDB | |
// @include http*://*.imdb.com/title/tt* | |
// @include http*://imdb.com/title/tt* | |
// @include http://lad1337.ath.cx:8083/* | |
// @include http://*.sharethe.tv/movies/* | |
// @include http://sharethe.tv/movies/* | |
// @include http://*.moviemeter.nl/film/* | |
// @include http://moviemeter.nl/film/* |
This file contains 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
""" | |
Usage: | |
python buildPackage.py | |
""" | |
from distutils.core import setup | |
import sys | |
import os | |
import re |
This file contains 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
<!-- This file contains the mapping of keys (gamepad, remote, and keyboard) to actions within XBMC --> | |
<keymap> | |
<FullscreenVideo> | |
<keyboard> | |
<up>AudioNextLanguage</up> | |
<down>ShowSubtitles</down> | |
</keyboard> | |
</FullscreenVideo> | |
</keymap> |
This file contains 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
var port = 8000; | |
var WebSocketServer = require('websocket').server; | |
var http = require('http'); | |
var exec = require('child_process').exec | |
var child; | |
function createGrowlNotification(cmd){ | |
child = exec('growlnotify -m "'+cmd.body+'" -t "'+cmd.title+'" --image "'+cmd.icon+'"', |
NewerOlder