]> kaliko git repositories - mpd-sima.git/log
mpd-sima.git
3 years agosimadb: Propagate add option
kaliko [Sun, 9 May 2021 09:55:35 +0000 (11:55 +0200)]
simadb: Propagate add option

3 years agoAdd blocklist commands, remove simadb_cli
kaliko [Sun, 9 May 2021 09:48:57 +0000 (11:48 +0200)]
Add blocklist commands, remove simadb_cli

Move all command to a subparser

3 years agoMPD client: Remove useless check on use_mbid
kaliko [Thu, 6 May 2021 09:32:29 +0000 (11:32 +0200)]
MPD client: Remove useless check on use_mbid

3 years agoUse os.getenv instead of os.environ.get
kaliko [Wed, 5 May 2021 18:20:01 +0000 (20:20 +0200)]
Use os.getenv instead of os.environ.get

3 years agoAdd abstract unix socket support for MPD connection
kaliko [Wed, 5 May 2021 16:30:45 +0000 (18:30 +0200)]
Add abstract unix socket support for MPD connection

Add unittests for env var parsing

3 years agoFixed test_config
kaliko [Wed, 5 May 2021 15:58:12 +0000 (17:58 +0200)]
Fixed test_config

568365b introduced a file acces control on db_file

3 years agosimadb: do not fetch NULL genre
kaliko [Tue, 4 May 2021 18:37:34 +0000 (20:37 +0200)]
simadb: do not fetch NULL genre

3 years agoAdd new database replacement code.
kaliko [Tue, 4 May 2021 18:21:13 +0000 (20:21 +0200)]
Add new database replacement code.

In case a previous database is loaded, it is renamed with a prefix
"-old-version-backup" in the same directory. No migration managed.

3 years agoUpdate simadb API
kaliko [Tue, 4 May 2021 13:37:44 +0000 (15:37 +0200)]
Update simadb API

3 years agoUpdate file access controls
kaliko [Tue, 4 May 2021 13:15:53 +0000 (15:15 +0200)]
Update file access controls

3 years agoUse new sqlite module
kaliko [Mon, 3 May 2021 11:40:49 +0000 (13:40 +0200)]
Use new sqlite module

3 years agoAdd genres tables to the database, update Genre plugin (related to #48)
kaliko [Mon, 3 May 2021 07:41:14 +0000 (09:41 +0200)]
Add genres tables to the database, update Genre plugin (related to #48)

3 years agoUpdate simadb API
kaliko [Sat, 1 May 2021 17:13:53 +0000 (19:13 +0200)]
Update simadb API

3 years agoAdd fetch history methods
kaliko [Sat, 1 May 2021 13:28:37 +0000 (15:28 +0200)]
Add fetch history methods

3 years agoAdd Triggers for blocklist→albums|artists
kaliko [Fri, 30 Apr 2021 09:35:59 +0000 (11:35 +0200)]
Add Triggers for blocklist→albums|artists

3 years agoFixed indentation
kaliko [Fri, 30 Apr 2021 08:02:30 +0000 (10:02 +0200)]
Fixed indentation

3 years agoAdd drop_all, fetch_artists*, get_bl_* methods
kaliko [Thu, 29 Apr 2021 14:03:27 +0000 (16:03 +0200)]
Add drop_all, fetch_artists*, get_bl_* methods

3 years agoRewrote simadb
kaliko [Wed, 28 Apr 2021 11:06:36 +0000 (13:06 +0200)]
Rewrote simadb

3 years agoci: Exposes unittest report to gitlab
kaliko [Wed, 5 May 2021 11:55:27 +0000 (13:55 +0200)]
ci: Exposes unittest report to gitlab

3 years agoFixed crash when setting XDG_CONFIG_HOME (closes #50)
kaliko [Wed, 5 May 2021 14:33:28 +0000 (16:33 +0200)]
Fixed crash when setting XDG_CONFIG_HOME (closes #50)

Also add unittests for XDG env. var. management.

3 years agoRemove dead code
kaliko [Sat, 1 May 2021 17:15:12 +0000 (19:15 +0200)]
Remove dead code

3 years agoCleanup obsolete code (ralated to 6194c3a)
kaliko [Fri, 30 Apr 2021 08:04:10 +0000 (10:04 +0200)]
Cleanup obsolete code (ralated to 6194c3a)

3 years agoFixed bug introduced in 6194c3a
kaliko [Thu, 29 Apr 2021 14:38:23 +0000 (16:38 +0200)]
Fixed bug introduced in 6194c3a

DB was not created when missing on startup.

3 years agoAdd missing command in bash completion
kaliko [Thu, 29 Apr 2021 14:37:49 +0000 (16:37 +0200)]
Add missing command in bash completion

3 years agoRemoved obsolete CLI options
kaliko [Wed, 28 Apr 2021 16:02:39 +0000 (18:02 +0200)]
Removed obsolete CLI options

3 years agoRemove HTML files
kaliko [Wed, 28 Apr 2021 15:51:41 +0000 (17:51 +0200)]
Remove HTML files

3 years agoBump version
kaliko [Wed, 28 Apr 2021 15:50:27 +0000 (17:50 +0200)]
Bump version

3 years agoReleasing 0.17.0 0.17.0
kaliko [Wed, 28 Apr 2021 15:36:29 +0000 (17:36 +0200)]
Releasing 0.17.0

3 years agoAdd support of musicbrainz_{albumid,trackid} in Track object
kaliko [Wed, 28 Apr 2021 11:00:13 +0000 (13:00 +0200)]
Add support of musicbrainz_{albumid,trackid} in Track object

3 years agoAdd new command purge-history
kaliko [Fri, 23 Apr 2021 09:23:03 +0000 (11:23 +0200)]
Add new command purge-history

3 years agoUpdate bash completion (closes #44)
kaliko [Fri, 23 Apr 2021 08:53:03 +0000 (10:53 +0200)]
Update bash completion (closes #44)

3 years agoAesthetic changes in usage messages
kaliko [Fri, 23 Apr 2021 08:36:18 +0000 (10:36 +0200)]
Aesthetic changes in usage messages

3 years agoFixed Genre plugin documenation
kaliko [Thu, 22 Apr 2021 13:17:00 +0000 (15:17 +0200)]
Fixed Genre plugin documenation

3 years agoAdd new command (closes #43)
kaliko [Thu, 22 Apr 2021 13:15:15 +0000 (15:15 +0200)]
Add new command (closes #43)

Add config-test, create-db, generate-config

3 years agoExtract Tags control_config method from plugin
kaliko [Wed, 21 Apr 2021 13:31:55 +0000 (15:31 +0200)]
Extract Tags control_config method from plugin

Ease reuse outside of plugin

3 years agoExpose only config in MPDClient instance.
kaliko [Wed, 21 Apr 2021 12:28:36 +0000 (14:28 +0200)]
Expose only config in MPDClient instance.

Remove useless daemon argument

3 years agoDefault config definition more consistent
kaliko [Wed, 21 Apr 2021 10:17:40 +0000 (12:17 +0200)]
Default config definition more consistent

3 years agosetup.py: Remove useless import
kaliko [Tue, 20 Apr 2021 08:42:02 +0000 (10:42 +0200)]
setup.py: Remove useless import

3 years agoAdd Genre plugin
kaliko [Mon, 19 Apr 2021 16:59:31 +0000 (18:59 +0200)]
Add Genre plugin

3 years agoFixed manual for Tags plugin
kaliko [Mon, 19 Apr 2021 15:40:53 +0000 (17:40 +0200)]
Fixed manual for Tags plugin

3 years agoUse duration instead of time in Track objects (closes #37)
kaliko [Mon, 19 Apr 2021 15:17:13 +0000 (17:17 +0200)]
Use duration instead of time in Track objects (closes #37)

3 years agoFixed bad pid in Uniq core plugin (closes #32)
kaliko [Mon, 19 Apr 2021 14:38:12 +0000 (16:38 +0200)]
Fixed bad pid in Uniq core plugin (closes #32)

When daemonized the PID advertised by the plugin (channel's name) was
the PID before the double fork and not the actual daemon's PID.

3 years agoFixed examples
kaliko [Mon, 19 Apr 2021 13:55:31 +0000 (15:55 +0200)]
Fixed examples

3 years agoFixed variable in info log message (typo introduced in baa6dc7)
kaliko [Sun, 21 Feb 2021 16:34:42 +0000 (17:34 +0100)]
Fixed variable in info log message (typo introduced in baa6dc7)

3 years agoExposes genres in Track objets
kaliko [Sat, 20 Feb 2021 16:22:14 +0000 (17:22 +0100)]
Exposes genres in Track objets

3 years agoFixed previous commit, cannot apply shuffle on MetaContainer
kaliko [Fri, 19 Feb 2021 17:38:44 +0000 (18:38 +0100)]
Fixed previous commit, cannot apply shuffle on MetaContainer

3 years agoAdd randomness in Tags plugin artist selection
kaliko [Fri, 19 Feb 2021 17:32:53 +0000 (18:32 +0100)]
Add randomness in Tags plugin artist selection

3 years agoSome cleanup in log, get messages more uniform across plugins
kaliko [Fri, 19 Feb 2021 17:24:00 +0000 (18:24 +0100)]
Some cleanup in log, get messages more uniform across plugins

3 years agoFixed plugin album_candidate method, missing loop break
kaliko [Fri, 19 Feb 2021 17:17:54 +0000 (18:17 +0100)]
Fixed plugin album_candidate method, missing loop break

3 years agoFixed "artist with quotes not found" (closes #41)
kaliko [Sat, 6 Feb 2021 11:30:12 +0000 (12:30 +0100)]
Fixed "artist with quotes not found" (closes #41)

3 years agoRemove a, now useless, conditional import.
kaliko [Fri, 5 Feb 2021 16:43:55 +0000 (17:43 +0100)]
Remove a, now useless, conditional import.

Needed for early version of python3 only.

3 years agoFixed crashes with untagged title (closes #40)
kaliko [Fri, 5 Feb 2021 13:08:18 +0000 (14:08 +0100)]
Fixed crashes with untagged title (closes #40)

3 years agoReleasing 0.16.1 0.16.1
kaliko [Sat, 9 Jan 2021 11:45:05 +0000 (12:45 +0100)]
Releasing 0.16.1

3 years agoUpdate log string
kaliko [Sat, 9 Jan 2021 08:29:11 +0000 (09:29 +0100)]
Update log string

3 years agoUse set-comprehension in simadb
kaliko [Tue, 22 Dec 2020 11:08:02 +0000 (12:08 +0100)]
Use set-comprehension in simadb

3 years agoCleanup linter warnings
kaliko [Tue, 22 Dec 2020 10:30:26 +0000 (11:30 +0100)]
Cleanup linter warnings

3 years agoUniform use of MetaContainer
kaliko [Mon, 21 Dec 2020 16:40:41 +0000 (17:40 +0100)]
Uniform use of MetaContainer

3 years agoEnsure in MPD filters there is at least the minimum metadata needed
kaliko [Mon, 21 Dec 2020 15:15:13 +0000 (16:15 +0100)]
Ensure in MPD filters there is at least the minimum metadata needed

3 years agoFixed issues in reorg and album_candidate
kaliko [Sun, 20 Dec 2020 17:52:12 +0000 (18:52 +0100)]
Fixed issues in reorg and album_candidate

3 years agoRemove dead clode from Tags plugin
kaliko [Sun, 20 Dec 2020 17:43:46 +0000 (18:43 +0100)]
Remove dead clode from Tags plugin

3 years agoUpdate random plugin
kaliko [Sun, 20 Dec 2020 17:00:34 +0000 (18:00 +0100)]
Update random plugin

3 years agoFixed bug in history plugin (24h db cleanup not fired)
kaliko [Sun, 20 Dec 2020 16:50:56 +0000 (17:50 +0100)]
Fixed bug in history plugin (24h db cleanup not fired)

3 years agoIntegrate pylint-gitlab and dependency scanning
kaliko [Fri, 18 Dec 2020 09:58:42 +0000 (10:58 +0100)]
Integrate pylint-gitlab and dependency scanning

3 years agoCleanup linter warnings
kaliko [Fri, 18 Dec 2020 11:38:12 +0000 (12:38 +0100)]
Cleanup linter warnings

3 years agoMajor refactoring of Plugin class
kaliko [Fri, 18 Dec 2020 09:11:01 +0000 (10:11 +0100)]
Major refactoring of Plugin class

Add an AdvancedPlugin class with advanced Player/db query. It permits to
share album search for album queue mode and other utilities previously
available in LastFM (ie. webserv) only.

3 years agoLower log message level
kaliko [Fri, 18 Dec 2020 08:47:33 +0000 (09:47 +0100)]
Lower log message level

3 years agoMPD client: Update name and aliases in case of discrepancy
kaliko [Thu, 17 Dec 2020 14:50:18 +0000 (15:50 +0100)]
MPD client: Update name and aliases in case of discrepancy

When MPD library returns an artist name different from the name used in
the query, an alias is add in addition to name update.

3 years agoAdd album queue mode to Tags plugin
kaliko [Thu, 17 Dec 2020 14:45:10 +0000 (15:45 +0100)]
Add album queue mode to Tags plugin

3 years agoFixed some code style and comment
kaliko [Wed, 16 Dec 2020 13:34:23 +0000 (14:34 +0100)]
Fixed some code style and comment

3 years agoUse window option in find request
kaliko [Wed, 16 Dec 2020 13:05:29 +0000 (14:05 +0100)]
Use window option in find request

Limit response size since this is only to test filter validity, response
is useless anyway.

3 years agoEnsure metadata used in filter are available (closes #38)
kaliko [Wed, 16 Dec 2020 13:03:50 +0000 (14:03 +0100)]
Ensure metadata used in filter are available (closes #38)

3 years agoFixed errors in documentation and bumped version
kaliko [Wed, 16 Dec 2020 10:15:48 +0000 (11:15 +0100)]
Fixed errors in documentation and bumped version

3 years agoAdd missing tags.cfg needed for building manual
kaliko [Tue, 15 Dec 2020 15:47:31 +0000 (16:47 +0100)]
Add missing tags.cfg needed for building manual

3 years agoBump version
kaliko [Tue, 15 Dec 2020 15:55:19 +0000 (16:55 +0100)]
Bump version

3 years agoReleasing 0.16.0 0.16.0
kaliko [Tue, 15 Dec 2020 15:31:53 +0000 (16:31 +0100)]
Releasing 0.16.0

3 years agoFixed ancient INSTALL instructions
kaliko [Tue, 15 Dec 2020 14:04:50 +0000 (15:04 +0100)]
Fixed ancient INSTALL instructions

3 years agoinstall new manual test-tags-config.1
kaliko [Tue, 15 Dec 2020 14:04:01 +0000 (15:04 +0100)]
install new manual test-tags-config.1

3 years agoBumped requests version
kaliko [Tue, 15 Dec 2020 13:50:11 +0000 (14:50 +0100)]
Bumped requests version

3 years agoAdd missing option to documentation, some improvements
kaliko [Tue, 15 Dec 2020 13:49:26 +0000 (14:49 +0100)]
Add missing option to documentation, some improvements

3 years agoAdd test-tags-config helper
kaliko [Tue, 15 Dec 2020 13:46:43 +0000 (14:46 +0100)]
Add test-tags-config helper

3 years agoAdd example config for tags plugin
kaliko [Tue, 15 Dec 2020 12:30:57 +0000 (13:30 +0100)]
Add example config for tags plugin

3 years agoSome style formating
kaliko [Tue, 15 Dec 2020 12:26:29 +0000 (13:26 +0100)]
Some style formating

3 years agoDo no control empty filter
kaliko [Tue, 15 Dec 2020 12:24:30 +0000 (13:24 +0100)]
Do no control empty filter

3 years agoAdd missing default config options for Tags
kaliko [Tue, 15 Dec 2020 12:21:22 +0000 (13:21 +0100)]
Add missing default config options for Tags

3 years agoAdd missing plugin config filtering
kaliko [Tue, 15 Dec 2020 10:35:14 +0000 (11:35 +0100)]
Add missing plugin config filtering

3 years agoTags plugin configuration check and test
kaliko [Tue, 15 Dec 2020 10:24:44 +0000 (11:24 +0100)]
Tags plugin configuration check and test

Also improved internal Exception handling

3 years agoFixed typo
kaliko [Mon, 14 Dec 2020 14:10:47 +0000 (15:10 +0100)]
Fixed typo

3 years agoDocument new offline autoqueue plugin based on file tags only
kaliko [Mon, 14 Dec 2020 14:09:38 +0000 (15:09 +0100)]
Document new offline autoqueue plugin based on file tags only

3 years agoAvoid empty tags entries in config, strip space around values
kaliko [Sun, 13 Dec 2020 16:34:42 +0000 (17:34 +0100)]
Avoid empty tags entries in config, strip space around values

3 years agoControls MPD protocol version (need 0.21 at least for filters)
kaliko [Sun, 13 Dec 2020 14:37:02 +0000 (15:37 +0100)]
Controls MPD protocol version (need 0.21 at least for filters)

3 years agoStart work on new tags plugin
kaliko [Thu, 7 May 2020 14:28:21 +0000 (16:28 +0200)]
Start work on new tags plugin

3 years agoAdd a PluginConfException
kaliko [Sat, 12 Dec 2020 18:18:08 +0000 (19:18 +0100)]
Add a PluginConfException

3 years agoFixed code smell
kaliko [Sat, 12 Dec 2020 18:26:36 +0000 (19:26 +0100)]
Fixed code smell

3 years agoSplit needed tags setup (regular/mbid)
kaliko [Sat, 12 Dec 2020 18:07:19 +0000 (19:07 +0100)]
Split needed tags setup (regular/mbid)

3 years agoUpdate changelog: Need at least python 3.6
kaliko [Thu, 10 Dec 2020 17:25:35 +0000 (18:25 +0100)]
Update changelog: Need at least python 3.6

3 years agoTest commutativity fuzzy equality
kaliko [Thu, 10 Dec 2020 17:16:30 +0000 (18:16 +0100)]
Test commutativity fuzzy equality

3 years agoFixed JSONDecodeError with wrong http cached file (closes #35)
kaliko [Thu, 12 Nov 2020 17:59:32 +0000 (18:59 +0100)]
Fixed JSONDecodeError with wrong http cached file (closes #35)

3 years agoFixed bug in history plugin
kaliko [Sat, 26 Sep 2020 16:23:13 +0000 (18:23 +0200)]
Fixed bug in history plugin

3 years agoUpdate vinstall.py (Closes #34)
kaliko [Tue, 1 Sep 2020 14:33:33 +0000 (16:33 +0200)]
Update vinstall.py (Closes #34)

3 years agoWorking around last.fm timeout…
kaliko [Mon, 8 Jun 2020 15:11:56 +0000 (17:11 +0200)]
Working around last.fm timeout…