amtech / tool-omp

OMP - OneDrive Media Player on the web / 网页端 OneDrive 媒体播放器

Home Page:https://nini22p.github.io/omp/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

logo

OMP - OneDrive Media Player

English | 中文

Now Playing

Features

  • OneDrive Files View
  • Music Playback
  • Music Metadata
  • Video Playback
  • Play Queue
  • Dark Mode
  • Media Session
  • PWA
  • History Sync
  • Playlists Sync

Screenshots

203825 203915 204043 204226

FAQ

Where is my data stored?

All of OMP data is stored in the Apps / OMP folder in your OneDrive. Where history.json is the history and playlists.json is the playlists. If you have lost your data, you can restore an older version by visiting the OneDrive web version.

Running and Build

App registrations

  1. Go to https://portal.azure.com/
  2. Into App registrations register an application
  3. Supported account types select the third item (Accounts in any organizational directory and personal Microsoft accounts)
  4. Redirect URI select SPA, url enter http://localhost:8760
  5. API Permissions add User.Read Files.Read Files.ReadWrite.AppFolder

Run dev server

Add .env.development in project path

CLIENT_ID=<clientId>
REDIRECT_URI=http://localhost:8760

Run npm i && npm run dev

Local build

Add .env in project path

CLIENT_ID=<clientId>
REDIRECT_URI=<redirectUri>

Run npm i && npm run build

License

AGPL 3.0

About

OMP - OneDrive Media Player on the web / 网页端 OneDrive 媒体播放器

https://nini22p.github.io/omp/

License:GNU Affero General Public License v3.0


Languages

Language:TypeScript 95.9%Language:JavaScript 2.3%Language:HTML 1.3%Language:CSS 0.5%