thecoder1975 838d00d06e Update 'readme.md' | il y a 6 ans | |
---|---|---|
modules | il y a 6 ans | |
_config.yml | il y a 6 ans | |
changelog.md | il y a 6 ans | |
lamd.js | il y a 6 ans | |
package.json | il y a 6 ans | |
readme.md | il y a 6 ans |
This is a stand-alone application designed to run in the background and monitor Live.me Social accounts and automatically download new replays as they are detected.
Downloads can be found on the releases page.
Please note that you must have FFMPEG already installed on your computer or located in the same place as LAMD for downloading to work.
You can now specify whether you want to use FFMPEG for downloading or the older (and faster) stream downloader.
Download and install FFMPEG into your C:\Windows
folder.
Download and install FFMPEG into a folder that is accessible in your path on your computer.
You can either download a static build or install the version maintained by your distribution using either sudo apt install ffmpeg
or sudo yum install ffmpeg
.
The app will use internal defaults if no config.json
file is found. To write out the default config.json
file, you can start the program with the --writecfg
parameter. Information on monitored accounts will be stored in the accounts.json
file.
config.json
file{
"downloaderFFMPEG": false,
"downloadPath": "/home/user/Downloads",
"downloadChunks": 25,
"downloadTemplate": "%%replayid%%",
"loopCycle": 15,
"localPort": 8280,
"console_output": true
}
Set to true to use FFMPEG for downloading, false to use the internal stream downloader. Default is true
.
Set to where you want the downloaded replays stored. Default is the current users's Downloads folder.
Only used when using the internal downloader, specifies how many chunks or segments to download at a time. Valid range is 2 to 250, default is 10
.
Specifies how you want the replay files named. Default is %%replayid%%
.
Tag | Description |
---|---|
%%broadcaster%% |
Broadcaster's Nickname |
%%longid%% |
Broadcaster's Long User ID Number |
%%replayid%% |
Video ID of the replay |
%%replayviews%% |
Number of views |
%%replaylikes%% |
Number of likes |
%%replayshares%% |
Number of shares |
%%replaytitle%% |
Title of the replay (WARNING: Most replays have no title!) |
%%replayduration%% |
Duration of the replay in HH:MM:SS |
%%replaydatepacked%% |
Date the replay was originally recorded in YYYYMMDD format |
%%replaydateus%% |
Date the replay was originally recorded in MM-DD-YYYY format |
%%replaydateeu%% |
Date the replay was originally recorded in DD-MM-YYYY format |
How many minutes between new replay scans. Valid range is 15 to 360, default is 30
.
Local port to listen for connections on. Default is 8280
.
Whether to enable or disable the pretty console output. Default is true
.
These are the support commands when the daemon is running.
Syntax: http://localhost:8280/add-account/[liveme-userid]
Response: JSON data indicating if account was added or not.
Syntax: http://localhost:8280/check-account/[liveme-userid]
Response: JSON data indicating if account is already in the watch list or not.
Syntax: http://localhost:8280/remove-account/[liveme-userid]
Response: JSON data indicating if account was removed.
Syntax: http://localhost:8280/list-accounts
Response: JSON data with list of all accounts currently in the watch list.
Syntax: http://localhost:8280/add-download/[video-id]
Response: JSON data indicating the replay was added for download.
Syntax: http://localhost:8280/shutdown
If you find any bugs or would like to help add features or additional functions, please create a pull request for review.
This project is licensed under the GPL-3 License - see the LICENSE file for details