Skip to content

Commit 701aa12

Browse files
committed
Add licensing info and readme
Also delete test.py since it's not useful
1 parent 444d37b commit 701aa12

File tree

3 files changed

+18
-5
lines changed

3 files changed

+18
-5
lines changed

readme.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Transcoder
2+
3+
This project consists of a daemon in the form of a python script which monitors for downloaded video and transcodes them using Handbrake. More specifically it monitors for downloaded video files from uTorrent and for recorded video from NextPVR.
4+
5+
Note: This script has only been tested on Windows and will likely require modification to run correctly on other OSes.
6+
7+
Installation:
8+
Copy transcode_daemon.py to desired location and modify the variables in the CONFIGURATION section of the script (especially update all of the path variables). Then simply run the script.
9+
10+
Debugging:
11+
After the transcode_daemon is run it shoudl create a file called transcode_daemon.log with logging information.

test.py

-4
This file was deleted.

transcode_daemon.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Transcode daemon
2+
# This script monitors for downloaded video files in uTorrent or recorded video
3+
# from NextPVR and transcodes the video files using Handbrake
4+
# Copyright (c) 2013 Ken Sharp
5+
# License: http://opensource.org/licenses/mit-license.php
6+
17
import os
28
import glob
39
import string
@@ -10,7 +16,7 @@
1016
import logging
1117
from xml.dom.minidom import parse
1218

13-
# Config
19+
# CONFIGURATION
1420
loglevel = logging.DEBUG
1521
dontDeleteSourceFiles = False
1622
maintenanceTime = 4 # hour of the day (in 24 hour format) to restart troublesome processes

0 commit comments

Comments
 (0)