|
| 1 | +# Advanced Configuration Options |
| 2 | + |
| 3 | +## Detached Mode (Best Experience) |
| 4 | + |
| 5 | +Out of the box, starting vlc-discord-rpc will open VLC, and closing VLC will close vlc-discord-rpc. |
| 6 | +This is the "attached" mode, and it is the default because "it just works" in most cases. |
| 7 | + |
| 8 | +Detached mode will not open VLC for you, and closing VLC won't close vlc-discord-rpc. |
| 9 | +It requires a bit of tweaking, but once it is configured, it allows you to open and close VLC as |
| 10 | +you normally would and still show a rich presence. |
| 11 | + |
| 12 | +### Instructions |
| 13 | + |
| 14 | +These instructions apply to all platforms. For a visual guide, see |
| 15 | +[this GIF](https://github.com/Pigpog/vlc-discord-rpc/blob/develop/setup.gif?raw=true) |
| 16 | + |
| 17 | + 1. Open VLC Media Player |
| 18 | + |
| 19 | + 2. In the Tools drop-down menu, select Preferences to open the Preferences window. |
| 20 | + |
| 21 | + 3. To the bottom left corner of the Preferences window, you'll see a box labeled "Show settings". Choose |
| 22 | +"All" to reveal the advanced preferences. |
| 23 | + |
| 24 | + 4. Type "Lua" into the search bar that appears in the top left, and click "Main interfaces" from the results. |
| 25 | + |
| 26 | + 5. Enable the HTTP interface by checking the "Web" checkbox. |
| 27 | + |
| 28 | + 6. Under "Main interfaces" in the left pane, click "Lua". |
| 29 | + |
| 30 | + 7. Enter a fresh new password into the Password field under Lua HTTP. |
| 31 | + |
| 32 | + 8. Click the Save button at the bottom of the window. |
| 33 | + |
| 34 | + 9. Open the config/config.js file in a text editor |
| 35 | + |
| 36 | + 10. Put the password you made earlier between the single-quotes of the `password: '',` line, and change `detached: false` |
| 37 | +to `detached: true` to enable detached mode. |
0 commit comments