@@ -5,38 +5,58 @@ HDHOMERUN recorder
5
5
Description:
6
6
============
7
7
A python program to record TV programs using hdhomerun tuner device.
8
- This should run on any system capable of running python. In other
9
- words, no other dependencies other than python and apscheduler
10
- python module.
8
+ This should run on any system capable of running python and
9
+ hdhomerun_config binary program.
11
10
12
11
The hdhomerun tuner doesn't need much processing power for recording
13
- a program. So this is mainly intended for embedded systems. I use it
14
- on my WDTV Live media player.
12
+ a program. So this is mainly intended for embedded systems. I used it
13
+ on my WDTV Live media player. Now I use it on my pogoplug running
14
+ arch Linux.
15
15
16
16
INSTALL:
17
17
========
18
18
1. Install python if you don't have it already
19
19
2. Install apscheduler from here. The old version of apscheduler has
20
20
some issues, so be sure to install the latest V2 version.
21
21
(https://bitbucket.org/agronholm/apscheduler)
22
- 3. Copy three files from this project to some place on your system
23
- 1. recorder.py: The main python program
24
- 2. config-file: My config file, replace at least the tuners and
25
- channelmap section with your tuner id and local channels.
26
- 3. schedule-file: This is an example schedule file. Modify entries
27
- with programs you like to record.
28
- 4. Copy hdhomerun_config binary to the directory that contains above
29
- files
30
- 5. Run ./recorder.py and watch ./logfile for log output.
31
-
32
- WDTV Live player:
33
- =================
34
- I use wdlxtv firmware (third party firmware, http://wiki.wdlxtv.com)
35
- on my WDTV Live media player. Since it does not come with python, I use
36
- optware bin and installed python using ipkg. Thanks to b-rad!
37
-
38
- Link to Optware for WDLXTV Live media player:
39
- http://b-rad.cc/optware-for-wdtv/
40
-
41
- Link to the actual opt.bin (be sure to install python using ipkg):
42
- http://b-rad.cc/binaries/opt.bin.tgz
22
+ 3. Install this package.
23
+ If you have "pip", do "pip install hdhomerun-recorder"
24
+ OR
25
+ If you have "easy_install". do "easy_install install hdhomerun-recorder"
26
+ OR
27
+ You can manually download the source from PyPI
28
+ (https://pypi.python.org/pypi/hdhomerun-recorder), extract and
29
+ then install it using: "python setup.cfg install"
30
+
31
+ 4. Create config-file
32
+ a) Run /usr/bin/hdhomerun_recorder_setup /etc/hdhomerun_recorder/config-file
33
+ This will ask few question and write your tuner and channel
34
+ mappings into /etc/hdhomerun_recorder/config-file file. This
35
+ will take some time as it scans your local channels
36
+
37
+ See /etc/hdhomerun_recorder/config-file.example to see how an
38
+ example config file looks like. You may need to create one by
39
+ hand if the above script fails to create one for any reason!
40
+ 5. Edit schedule file
41
+ See /etc/hdhomerun_recorder/schedule-file.example for details.
42
+ You have given schedule-file location in the config-file. Edit
43
+ that file with what and when you want to record etc.
44
+ 6. Run /usr/bin/hdhomerun_recorder /etc/hdhomerun_recorder/config-file
45
+
46
+ 7. Optional: See the logfile for information or errors.
47
+ 8. Optional. I have included /etc/hdhomerun_recorder/hdhomerun_recorder.service
48
+ file that can be used to automatically start the recording daemon
49
+ on reboot. You can stop, start and reload the daemon. The
50
+ "reload" option is useful when you update schedule file and you
51
+ want the daemon to use the changes. Of course, this only works if
52
+ you have systemd based start up (latest Ubuntu, Fedora, Arch
53
+ distros will have)!
54
+
55
+ a) Install service
56
+ cp /etc/hdhomerun_recorder/hdhomerun_recorder.service /etc/systemd/system/
57
+ b) Enable the service
58
+ systemctl enable hdhomerun_recorder.service
59
+ c) Start the service now
60
+ systemctl start hdhomerun_recorder.service
61
+
62
+ Run "systemctl reload hdhomerun_recorder.service" whenever you change your schedule-file!
0 commit comments