mirror of
https://github.com/IrosTheBeggar/mStream.git
synced 2025-10-27 07:31:02 +00:00
635 B
635 B
Get Metadata From DB
Retrieves albums and artists that match a given string
-
URL
/db/metadata
-
Method:
POST -
JSON Params
Required:
filepath- filepath of song -
JSON Example
{ 'filepath': '/path/to/file' } -
Success Response:
-
Code: 200
Content:{ "filepath":"/path/to/file.mp3", "metadata":{ "artist": "Artist", "album": "Album", "track": 1, "title": "Song Title", "year": 1990, "album-art": "hash.jpg", "hash": "sha256 hash" } }
-