Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/polarisation/clementine-music-library
Load track data from your Clementine music library
https://github.com/polarisation/clementine-music-library
clementine node-module
Last synced: about 2 months ago
JSON representation
Load track data from your Clementine music library
- Host: GitHub
- URL: https://github.com/polarisation/clementine-music-library
- Owner: Polarisation
- License: mit
- Created: 2016-12-02T18:15:47.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-19T10:57:30.000Z (over 6 years ago)
- Last Synced: 2024-10-31T17:27:48.980Z (2 months ago)
- Topics: clementine, node-module
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Clementine Music Library Access for Node.js
Load track data from your Clementine music library with Node.js[![Build Status](https://travis-ci.org/Polarisation/clementine-music-library.svg?branch=master)](https://travis-ci.org/Polarisation/iclementine-music-library)
[![NPM](https://nodei.co/npm/clementine-music-library.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/clementine-music-library/)## Install
```
$ npm install clementine-music-library
```Be aware that this is not pure javascript, it relies on SQLite3 binaries. The correct binary should
be automatically downloaded but there can be issues, for example when running under Electron it is
necessary to run [electron-rebuild](https://github.com/electron/electron-rebuild).## Usage
require("clementine-music-library");
clementineMusicLibrary.getSongs({ played: true }, function(song) {
console.log(song)
}).then(function() {
console.log("Loaded all played songs from Clementine")
});