Skip to content

Angular + Electron App to Organize Movies, TV Series & Other Media files from Local File System.

Notifications You must be signed in to change notification settings

vukkumsp/local-entertainment-system

Repository files navigation

Local Entertainment System

NPM Tests Electron Build

Why this project is created ?

LES or Local Entertainment System is inspired from Emdb tool. We are trying to make it more cross platform and less complicated.

Development

Run npm run electron for dev app to run locally.

Distribution

We are using electron-package library for generating an executable package based on OS & Architecture. Steps:

  1. Install NPM Libraries with npm install
  2. Generate package with npx electron-packager . LESv1 --platform=win32 --arch=x64 --electron-version=18.2.0 --out=dist-electron-app
    • It will generate an executable file along with its support files in ./dist-electron-app folder for windows os
    • You can refer to Electron-Packager Github page README file for understanding the above cmd here and also customizing for other Operating Systems & Architectures.

How to use the App ?

  1. Generate package with script npm run build-dist-app
  2. Create a basic dbConfig.json file somewhere
  3. Either copy the generated package to resources location or just run the executable file .exe in the generated folder.
  4. Go to Settings page of App
  5. Update the dbConfig file path and click 'Update'
  6. Update the 'Movies' folder path & 'TV Series' folder path and click 'Update Paths'
  7. Finally click 'Sync Folder Data'
  8. Now, App should have generated all the resources in dbConfig.json file
  9. Go to Movies page or TV Series page and explore.

Resources & Knowledge

IPC is being used when some features are not available to frontend process. Example: Angular process won't allow accessing local file system apart from its project assets folder. To mitigate this we take help of NodeJs process.

IPC is explained better in here

To Do

  • Electron build is generated executable with whole angular project into it causing too big size of executable files. Need to resolve this.

Preview / Screenshots with Dummy Data

Screenshot 2022-09-18 134159

Screenshot 2022-09-18 134237

Screenshot 2022-09-18 134259

image

Notes

This project was generated with Angular CLI version 13.3.4. & based on Electron Project

About

Angular + Electron App to Organize Movies, TV Series & Other Media files from Local File System.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published