Coder Social home page Coder Social logo

choffm / mpd-ps Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 34 KB

MPD Playlist Synchronizer: A small python tool with numerous features, which copies the audio files in the current MPD playlist to a target directory.

License: GNU General Public License v3.0

Python 100.00%

mpd-ps's Introduction

mpd-ps

MPD Playlist Synchronizer: A small python tool with numerous features, which copies the audio files from the current MPD playlist to a target directory, optionally transcoding large files to opus, ogg vorbis or mp3.

Dependencies:

Features:

  • Incrementally syncs the current MPC playlist with a target directory / device
  • Optionally deletes files which were removed from MPD playlist
  • Optionally syncs album art
  • Optionally multi-threaded transcoding from FLAC, MP4 (.m4a) and MP3 to ogg vorbis, opus or lame mp3 using ffmpeg
  • Optionally bitrate dependend lossy to lossy transcoding, configurable separately for MP3 and M4A
  • Configuration via config file

Usage:

mpd-ps is controlled by mpd-ps.conf. An example file is included and must be placed either in $HOME/.config/mpd-ps/mpd-ps.conf respectively %APPDATA%\mpd-ps\mpd-ps.conf. Placing the config file in the same folder as the python script deactivates the config file in the config / APPDATA folder.

At least the source (src) and destination (dst) folder must be specified, all other options are optional. By default, FLAC files are transcoded to opus at 96kbit/s, lossy files are copied. See the packaged config file for other default values.

The threshold values define the lowest bitrate in bit/sec at which mp3/m4a files are not transcoded (if lossy transcoding is exlpicitely enabled).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.