Skip to content

nini22P/omp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

610db42 · Jan 26, 2025
Jan 26, 2025
Jan 15, 2025
Dec 23, 2024
Jan 25, 2025
Jan 2, 2025
Jun 1, 2024
Jan 26, 2025
Jun 4, 2023
Oct 26, 2024
Jan 15, 2025
Jan 2, 2025
Jun 1, 2024
Jan 24, 2025
Jan 26, 2025
Sep 14, 2023
Jan 24, 2025
Jan 24, 2025
Oct 25, 2024
Oct 26, 2024

Repository files navigation

logo

OMP - OneDrive Media Player

ci Afdaian ko-fi

English | 中文

Now Playing

Features

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

Screenshots

Audio light Audio dark

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 or the domain of your deploy
  5. API Permissions add User.Read Files.Read Files.ReadWrite.AppFolder

Run dev server

Add .env.development in project path

ONEDRIVE_AUTH=https://login.microsoftonline.com/common #VNET(https://login.partner.microsoftonline.cn/common)
ONEDRIVE_GME=https://graph.microsoft.com #VNET(https://microsoftgraph.chinacloudapi.cn)
CLIENT_ID=<clientId>
REDIRECT_URI=http://localhost:8760

Run npm i && npm run dev

Local build

Add .env in project path

ONEDRIVE_AUTH=https://login.microsoftonline.com/common #VNET(https://login.partner.microsoftonline.cn/common)
ONEDRIVE_GME=https://graph.microsoft.com #VNET(https://microsoftgraph.chinacloudapi.cn)
CLIENT_ID=<clientId>
REDIRECT_URI=<redirectUri>

Run npm i && npm run build

Donations

This project is free, if you think it works, feel free to donate to support it

License

AGPL 3.0

Star History

Star History Chart