summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-03-29 14:23:36 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-03-29 14:25:19 +0100
commit5799e252930691bf3bcae69d342aa6c4f9e2ab59 (patch)
treeb055aff1451d753c584965616b230d7afef79bb5
parentdb729644d9c032680748f458d48d57d9b1cdfd6a (diff)
gnu: Add mopidy-local.
* gnu/packages/music.scm (mopidy-local): New variable. Change-Id: I9534635f0e27ce3ae5ebfd4fa0f5697a89aaefa0
-rw-r--r--gnu/packages/music.scm38
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 69b9d48fcc8..86077996292 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -555,6 +555,44 @@ from local disk or cloud services, and can be controlled using a variety of
MPD and web clients.")
(license license:asl2.0)))
+(define-public mopidy-local
+ (package
+ (name "mopidy-local")
+ (version "3.3.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mopidy/mopidy-local")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1fqw6rq39w4q53w6jgl80x358rhzl4c9gdqb9kfgckmcz6vbcfm1"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-pytest
+ python-setuptools))
+ (propagated-inputs
+ (list mopidy
+ python-pykka
+ python-uritools))
+ (home-page "https://mopidy.com/ext/local/")
+ (synopsis "Mopidy extension for playing music from local file archive")
+ (description
+ "This package provides Mopidy's extension for playing music from local
+file archive.
+
+In contrast to @url{https://mopidy.com/ext/file, Mopidy-File}, Mopidy-Local
+builds an index of archive’s metadata ahead of time, and can thus provide
+additional features like search.
+
+The music metadata is stored in a SQLite database. This lets users to browse
+their music collection by album, artist, composer and performer, and provides
+full-text search capabilities based on SQLite’s FTS modules. It also notices
+updates via @command{mopidy local scan} while Mopidy is running, so you can
+scan your media library periodically, for example from a cron job.")
+ (license license:asl2.0)))
+
(define-public clementine
;; Clementine has one automatic release per commit at
;; <https://github.com/clementine-player/Clementine/releases>.