CAM4Recorder/README.md

31 lines
1.3 KiB
Markdown
Raw Normal View History

2017-05-30 07:15:17 +08:00
# CAM4Recorder
This is script to automate the recording of public webcam shows from cam4.
## Requirements
I have only tested this on debian(7+8) and Mac OS X (10.10.4), but it should run on other OSs
Requires python3.5 or newer. You can grab python3.5.2 from https://www.python.org/downloads/release/python-352/
to install required modules, run:
```
2017-09-04 04:35:40 +08:00
python3.5 -m pip install livestreamer
2017-05-30 07:15:17 +08:00
```
2017-09-23 10:12:35 +08:00
## setup
Configure the settings in the config file. Set the path to the wishlist and save_directory. You can adjust the check interval, or leave it at 20 seconds
2017-05-30 07:17:21 +08:00
Add models to the "wanted.txt" file (only one model per line). The model should match the models name in their chatrooms URL (https://www.cam4.com/{modelname}).
2017-09-23 10:12:35 +08:00
you can create your own post processing script to run on the completed files and set the command and number of threads (the number of files which could be processed at one time) in the config file. The arguments that are passed to the script are:
1 = full file path (ie: /Users/Joe/cam4/hannah/2017.07.26_19.34.47_hannah.mp4)
2 = filename (ie : 2017.07.26_19.34.47_hannah.mp4)
3 = directory (ie : /Users/Joe/cam4/hannah/)
4 = models name (ie: hannah)
5 = filename without the extension (ie: 2017.07.26_19.34.47_hannah)
6 = 'cam4' - thats it, just 'cam4' to identify the site