Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 1.27 KB

README.md

File metadata and controls

54 lines (40 loc) · 1.27 KB

beets-lms

This is a plugin for integrating Lyrion Music Server (LMS) with Beets.

Currently it implements a listener to trigger a library rescan on import. You can also manually trigger a rescan or check the rescan status.

Installation

pip:

pip install git+https://github.com/InvisibleFunction/beets-lms

Configuration

Add beets-lms to your list of plugins in your configfile:

plugins: beets-lms

Configure the hostname or ip address for your LMS server:

beets_lms:
  host: mylmshost.example.com

All available options (and their defaults):

beets_lms:
  host: localhost
  port: "9000" # Must be a string
  secure: False # HTTPS is untested
  library_root: "/music" # Where your library is mounted on your LMS server
  listener_method: full # `full` runs a full scan after every import, `path` is less tested

Functionality

  • import listener to trigger rescan on import
  • lmsstatus subcommand to check scanning status
  • lmsrescan subcommand to manually trigger rescan
  • lmspathscan subcommand to manually trigger a rescan on a path
me@compy:~$ beet lmsstatus
beets-lms: LMS not currently scanning
me@compy:~$ beet lmsrescan
beets-lms: LMS library rescan triggered.
me@compy:~$ beet lmsstatus
beets-lms: LMS Library scan in progress