Skip to content
This repository has been archived by the owner on Oct 16, 2022. It is now read-only.

Pathchange dosent work #54

Closed
TureBentzin opened this issue Jul 6, 2021 · 2 comments
Closed

Pathchange dosent work #54

TureBentzin opened this issue Jul 6, 2021 · 2 comments

Comments

@TureBentzin
Copy link

Describe the bug
Hey, I have VLC installed to a "wierd spot" and also set this spot in config.js but it still shows the error..
Does the script show an error? - Yes
Does Discord display that you are "Playing VLC Media Player"? -> No

Terminal output

Starting script...

> vlc-discord-rpc@2.2.12 start D:\Data\Downloads\vlc-discord-rpc-win\vlc-discord-rpc
> node ./src/app.js

Connecting to Discord...
------------------------------------
ERROR: A problem occurred while launching VLC. Most likely, you installed VLC to a weird spot and will need to set the vlcPath value in config/config.js to the path to your vlc executable (eg. vlcPath: "C:/Program Files/videolan/vlc/vlc.exe")
------------------------------------
Waiting 20 seconds before exiting to give you time to read the error message :)
Logged in as TDR_Minecraft

Your Setup:
Windows 10 Pro x64
Node.js v14.17.3

config file

// See CONFIGURATION.md for more information

module.exports = {

	// Overrides command used to launch VLC when in attached mode
	// If blank, defaults are used
  vlcPath: "D:\Program Files\VideoLAN\VLC\vlc.exe",

  rpc: {
    id: '410664151334256663',
    updateInterval: 5000,
    sleepTime: 30000,
    // Show the album track number when applicable. Example: (2 of 10)
    displayTrackNumber: true,
    displayTimeRemaining: true,
    // If true, VLC will not be opened for you.
    // Note: You must set a password
    detached: false,
  },

  vlc: {
    // If blank, a random password is used
    password: '',
    port: 8080,
    address: 'localhost'
  },
};

@Pigpog
Copy link
Owner

Pigpog commented Jul 6, 2021

Use forward slashes (/) instead of backslashes () in the path

@TureBentzin
Copy link
Author

Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants