···1212 * [Last.fm (Source)](#lastfm--source-)
1313 * [Deezer](#deezer)
1414 * [Youtube Music](#youtube-music)
1515+ * [MPRIS (Linux Desktop)](#mpris)
1516* [Client Configurations](#client-configurations)
1617 * [Maloja](#maloja)
1718 * [Last.fm](#lastfm)
···321322### File-Based
322323323324See [`ytmusic.json.example`](/config/ytmusic.json.example) or [explore the schema with an example and live editor/validator](https://json-schema.app/view/%23/%23%2Fdefinitions%2FYTMusicSourceConfig?url=https%3A%2F%2Fraw.githubusercontent.com%2FFoxxMD%2Fmulti-scrobbler%2Fdevelop%2Fsrc%2Fcommon%2Fschema%2Fsource.json)
325325+326326+## [MPRIS](https://specifications.freedesktop.org/mpris-spec/latest/)
327327+328328+MPRIS is a standard interface for communicating with Music Players on **linux operating systems.**
329329+330330+If you run Linux and have a notification tray that shows what media you are listening to, you likely have access to MPRIS.
331331+332332+
333333+334334+multi-scrobbler can listen to this interface and scrobble tracks played by **any media player** that communicates to the operating system with MPRIS.
335335+336336+**NOTE:** multi-scrobbler needs to be running as a [**Local Installation**](/docs/installation.md#local) in order to use MPRIS. This cannot be used from docker.
337337+338338+### ENV-Based
339339+340340+| Environmental Variable | Required? | Default | Description |
341341+|------------------------|-----------|---------|----------------------------------------------------------------------------------|
342342+| MPRIS_ENABLE | No | | Use MPRIS as a Source (useful when you don't need any other options) |
343343+| MPRIS_BLACKLIST | No | | Comma-delimited list of player names not to scrobble from |
344344+| MPRIS_WHITELIST | No | | Comma-delimited list of players names to ONLY scrobble from. Overrides blacklist |
345345+346346+### File-Based
347347+348348+See [`mpris.json.example`](/config/mpris.json.example) or [explore the schema with an example and live editor/validator](https://json-schema.app/view/%23/%23%2Fdefinitions%2FMPRISSourceConfig?url=https%3A%2F%2Fraw.githubusercontent.com%2FFoxxMD%2Fmulti-scrobbler%2Fdevelop%2Fsrc%2Fcommon%2Fschema%2Fclient.json)
324349325350326351# Client Configurations
+1-1
src/common/index.ts
···11import * as path from 'path';
22-import {fileURLToPath} from "url";
22+//import {fileURLToPath} from "url";
3344//const __filename = fileURLToPath(import.meta.url);
55//const __dirname = path.dirname(__filename);