sima.git
11 days agoci: Exposes unittest report to gitlab dev
kaliko [Wed, 5 May 2021 11:55:27 +0000 (13:55 +0200)]
ci: Exposes unittest report to gitlab

11 days 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.

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

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

2 weeks 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.

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

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

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

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

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

2 weeks 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 weeks agoAdd new command purge-history
kaliko [Fri, 23 Apr 2021 09:23:03 +0000 (11:23 +0200)]
Add new command purge-history

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

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

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

3 weeks 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 weeks 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 weeks 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 weeks agoDefault config definition more consistent
kaliko [Wed, 21 Apr 2021 10:17:40 +0000 (12:17 +0200)]
Default config definition more consistent

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

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

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

3 weeks 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 weeks 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 weeks agoFixed examples
kaliko [Mon, 19 Apr 2021 13:55:31 +0000 (15:55 +0200)]
Fixed examples

2 months 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)

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

2 months 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

2 months 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

2 months 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

2 months 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 months 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 months 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 months 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)

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

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

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

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

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

4 months 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

4 months 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

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

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

4 months 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)

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

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

4 months 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.

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

4 months 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.

4 months 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

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

4 months 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.

4 months 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)

4 months 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

5 months 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

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

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

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

5 months 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

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

5 months 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

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

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

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

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

5 months 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

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

5 months 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

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

5 months 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

5 months 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

5 months 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)

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

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

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

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

5 months 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

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

6 months 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)

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

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

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

11 months agoMPD client: set some log levels
kaliko [Sat, 23 May 2020 15:13:28 +0000 (17:13 +0200)]
MPD client: set some log levels

11 months agoImproved history management
kaliko [Sat, 23 May 2020 14:58:29 +0000 (16:58 +0200)]
Improved history management

11 months agoBumped version
kaliko [Thu, 21 May 2020 16:20:54 +0000 (18:20 +0200)]
Bumped version

11 months agoFixed regression introduced with 8870413
kaliko [Wed, 20 May 2020 14:10:21 +0000 (16:10 +0200)]
Fixed regression introduced with 8870413

12 months agoNeed at least python 3.6 (use of f-strings)
kaliko [Sat, 16 May 2020 13:03:57 +0000 (15:03 +0200)]
Need at least python 3.6 (use of f-strings)

12 months agoMaking a dev release 0.16.0.dev0
kaliko [Sat, 16 May 2020 12:52:24 +0000 (14:52 +0200)]
Making a dev release

12 months agoMPD client: Fixed bad changes introduce in 62332aa
kaliko [Sat, 16 May 2020 11:40:33 +0000 (13:40 +0200)]
MPD client: Fixed bad changes introduce in 62332aa

12 months agoFixed code smell in webserv/find_top
kaliko [Sat, 16 May 2020 09:55:01 +0000 (11:55 +0200)]
Fixed code smell in webserv/find_top

12 months agoGet rid of a useless direct db call
kaliko [Sat, 16 May 2020 09:53:04 +0000 (11:53 +0200)]
Get rid of a useless direct db call

12 months agoMPD client: Add cache in search_track (speedup top track mode)
kaliko [Sat, 16 May 2020 07:48:11 +0000 (09:48 +0200)]
MPD client: Add cache in search_track (speedup top track mode)

12 months agoGet rid of inefficient log string formatting
kaliko [Fri, 15 May 2020 16:10:08 +0000 (18:10 +0200)]
Get rid of inefficient log string formatting

12 months agoMPD client: Improved search_track
kaliko [Fri, 15 May 2020 15:45:03 +0000 (17:45 +0200)]
MPD client: Improved search_track

12 months agoMPD client: Improved search_artist with name auto correction.
kaliko [Fri, 15 May 2020 15:42:37 +0000 (17:42 +0200)]
MPD client: Improved search_artist with name auto correction.

12 months agoMPD client: Improved album search
kaliko [Fri, 15 May 2020 15:38:57 +0000 (17:38 +0200)]
MPD client: Improved album search

12 months agoCleanup code smell and update docstrings
kaliko [Thu, 14 May 2020 16:22:01 +0000 (18:22 +0200)]
Cleanup code smell and update docstrings

12 months agoMPD client: Use tagtypes to control and set tags
kaliko [Thu, 14 May 2020 16:16:28 +0000 (18:16 +0200)]
MPD client: Use tagtypes to control and set tags

12 months agoMPD client: Rewrote search_albums from scratch
kaliko [Thu, 14 May 2020 13:27:27 +0000 (15:27 +0200)]
MPD client: Rewrote search_albums from scratch

12 months agoCleanup log calls/comments
kaliko [Tue, 12 May 2020 08:27:01 +0000 (10:27 +0200)]
Cleanup log calls/comments