- Rewritten into TypeScript
This allows you to watch your favorite series on VLC and automatically synchronize series with Series-Tracker.
- App listens to VLC port and triggers an event on status change, then checks if it has season and episode.
- If its recognized as a series(have season and episode in meta or in title/filename) will be processed and then App will fetch all your series from site through WP-Rest API.
- Then it checks if the name of series that's got from VLC exists on Website and if there's a difference between season and/or episodes, then app will send an update request to WP-Rest API, if the series doesn't already exist in Rest, then app will try to create a new series post.
- Requirements:
- Node.js
- NPM (installed with Node.js)
- VLC
- A series-tracker website to be registered on.
- Download last release
- Unzip folder and grab it where do you want
- Double click on install.bat and wait for all modules to install or open the project's main directory in terminal and type "npm install" and wait for all modules to install
-
Be sure you've passed VLC Configuration & Tracker Configuration below.
-
Windows: double-click on "start.bat"
-
Terminal: type "node main"
-
If your VLC is working correctly and is running then it will automatically connect and will respond with something like "Succesfully connected"
-
Now just play your favorite series on VLC and Tracker will automatically sync your series to website
- You need to have enabled Web(http) interface module and your password set.
- Open VLC.
- Click at Tools and Preferences.
- At left bottom click to "All" under "Show settings".
- Scroll down to "Interface" and click on "Main interfaces", be sure you have checked "Web" option.
- Click to "Main interfaces" dropdown arrow.
- Click on "Lua" and at your right-side under "Lua HTTP" and enter Password you want to use.
- You have to use any text editor or IDE to edit config.js
- Use example shown under this text to edit your config
export default {
tracker: {
username: "name", // Login name to series-tracker website
password: "password", // Login password to series-tracker website
},
vlc: {
password: "password", // Your VLC HTTP password
host: "localhost", // If u running VLC on same PC as Tracker then keep that on 'localhost'
port: "8080", // Your VLC port, default is 8080
refreshMs: 20000, // Time between updates in VLC web client in miliseconds
},
};