New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

mpdump

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mpdump

Dump all the songs stored in a MPD database into a raw list that may be parsed to JSON

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

mpdump

Dump all the songs stored in a MPD database into a raw list that may be parsed to JSON.

Install

The following tools are written in ECMAScript. You need Node > 6 to run them.

Execute npm i to install the dependencies.

Usage

Dump

  • MPD must be running
  • execute node dump.js
  • it generates a dump.raw file in the current directory by executing listallinfo
  • CTRL+C to kill the client when the dump is finished. (OK is written on the screen)

Config

By default the client connects on port 6600 and the result is called dump.raw. Simply edit the dump.js to tweak those values. Don't be scared, the script is only a few lines long!

Parse

  • dump.raw must have been generated (see above) in the current directory
  • execute node parse.js
  • it generates a dump.json file in the current directory
  • ???
  • PROFIT!

Bonus

You can also run npm run dump and npm run parse

License

MIT

Keywords

mpd

FAQs

Package last updated on 23 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts