Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Commit c7ccb1e

Browse files
authored
Merge pull request #128 from bem13/master
Fixed external players not working, updated Readme, added building instructions
2 parents a406a6c + 50ae5ae commit c7ccb1e

File tree

3 files changed

+36
-5
lines changed

3 files changed

+36
-5
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ Its an [Electron](https://electronjs.org) based application for Live.me Social V
3030
- See and navigate user's followers and followings
3131
- Watch and download replays
3232
- Allows downloading of replays using internal downloader or FFMPEG
33-
- Supports [LAMD](https://github.com/thecoder75/lamd)
3433
- FFMPEG Hardware-Accelerated video transcoding supported on Linux only!
3534
- Fully supports VAAPI on AMD and Intel cards for now.
3635

@@ -80,7 +79,7 @@ If you find any bugs or would like to help add features or additional functions,
8079
* [Tashiketh](https://notabug.org/Tashiketh)
8180
* [monstergarden](https://github.org/monstergarden)
8281
* [mustang-sally](https://github.com/mustang-sally)
83-
* [marcell](https://github.com/bem13)
82+
* [bem13](https://github.com/bem13)
8483

8584
### License
8685
This project is now licensed under the [GNU AGPLv3](LICENSE) License.

docs/building.md

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
11
## Building/Compiling LiveMe Pro Tools
22

3-
*This document will contain directions on how to compile LiveMe Pro Tools from source when we have time to write the steps.*
3+
## Building on Linux
4+
First of all, you will need to install Node.js and make sure it works.
5+
- [Follow the instructions provided here to install it](https://nodejs.org/en/download/package-manager/)
6+
- [Then follow these instructions to test if it works correctly](https://www.electronjs.org/docs/tutorial/development-environment#setting-up-linux)
7+
If both commands return a version number, you should be good to go.
8+
9+
If you've been using LMPT for a while, you probably want to back up your settings, bookmarks, etc. before you build a new version. Copy the following files from `/home/your_username/.config/Electron` to some safe location:
10+
- Preferences
11+
- Settings
12+
- bookmarks.json
13+
- downloaded.json
14+
- errored.json
15+
- follows.json
16+
- ignored.json
17+
- profiles.json
18+
- queued.json
19+
- watched.json
20+
21+
1. Clone the repository to some directory:
22+
`git clone https://github.com/thecoder75/liveme-pro-tools.git`
23+
24+
2. `cd` into that directory:
25+
`cd liveme-pro-tools`
26+
27+
3. Issue the command `npm install` to download the dependencies
28+
29+
4. Issue `npm start` to start the app
30+
31+
That's it!
32+
If you want to work on the code, you'll need to close all running instances of the app, issue the command `npm rebuild` and restart the app to see your changes.
33+
34+
## Building on Windows
35+
TODO

src/electron/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -674,8 +674,8 @@ ipcMain.on('watch-replay', (event, arg) => {
674674
.then(video => {
675675

676676
console.log('Player Selection: ' + appSettings.get('player.pick'))
677-
switch(appSettings.get('player.selection') || 0) {
678-
case 99: // External Player
677+
switch(appSettings.get('player.pick') || 0) {
678+
case '99': // External Player
679679
let playerPath = appSettings.get('player.path') || ' '
680680
exec(playerPath.replace('%url%', LiveMe.pickProperVideoSource(video)))
681681
break

0 commit comments

Comments
 (0)