]>
kaliko git repositories - mpd-sima.git/log
kaliko [Fri, 23 Jul 2021 14:17:32 +0000 (16:17 +0200)]
Configure SAST in
kaliko [Mon, 5 Jul 2021 08:19:58 +0000 (10:19 +0200)]
More robust MPD client (start addressing #53)
This actually closes the issue but I believe the client does not
currently detect half-opened connection, for instance router
reboot|crash|host roaming.
kaliko [Sun, 4 Jul 2021 17:26:15 +0000 (19:26 +0200)]
Cleanup Exceptions
kaliko [Tue, 29 Jun 2021 07:44:22 +0000 (09:44 +0200)]
Fixed crash when player.search_track returns nothing
kaliko [Fri, 18 Jun 2021 10:38:06 +0000 (12:38 +0200)]
Fixed double quote error, missing escape character (Closes #52)
kaliko [Thu, 17 Jun 2021 11:48:57 +0000 (13:48 +0200)]
Fixed crash when player.find_tracks returns nothing
With the block list, player.find_tracks might return an empty list.
kaliko [Thu, 17 Jun 2021 11:46:53 +0000 (13:46 +0200)]
Remove to_add attibute
kaliko [Tue, 8 Jun 2021 18:39:15 +0000 (20:39 +0200)]
MPD client: Tries to resolve MusicBrainzArtistID when possible (fixed
b36c71a )
kaliko [Tue, 8 Jun 2021 15:12:04 +0000 (17:12 +0200)]
doc: Update docstrings
kaliko [Tue, 8 Jun 2021 14:46:40 +0000 (16:46 +0200)]
MPD client: Tries to resolve MusicBrainzArtistID when possible.
kaliko [Tue, 8 Jun 2021 14:30:01 +0000 (16:30 +0200)]
PlayerError inherit from MPDError instead of plain Exception
kaliko [Tue, 8 Jun 2021 11:34:46 +0000 (13:34 +0200)]
Better debug message, complete a comment
kaliko [Mon, 7 Jun 2021 19:02:09 +0000 (21:02 +0200)]
Use Track Album attribute to avoid missing album name
Track.Album as a fallback is name is not provided.
kaliko [Mon, 7 Jun 2021 13:09:06 +0000 (15:09 +0200)]
Fixed bad implementation of blocklist for albums
kaliko [Mon, 7 Jun 2021 12:34:14 +0000 (14:34 +0200)]
doc: Update docstrings
kaliko [Mon, 7 Jun 2021 12:31:29 +0000 (14:31 +0200)]
man: Fixed error in XDG env. var.
kaliko [Mon, 7 Jun 2021 12:28:32 +0000 (14:28 +0200)]
Fixed issue with multivalued musicbrainz_artistid (Closes #47)
kaliko [Sat, 5 Jun 2021 05:43:06 +0000 (07:43 +0200)]
Update Changelog
kaliko [Fri, 4 Jun 2021 17:27:44 +0000 (19:27 +0200)]
Update Changelog, end sqlite rewrite phase (closes #45, #49, #33)
kaliko [Fri, 4 Jun 2021 14:22:09 +0000 (16:22 +0200)]
simadb: More consistent use of albumartist info in fetch_albums_history
fetch_albums_history() returns a list of Album objects with an Artist
attribute set to albumartist (if provided, else falls back to artist).
We want an Album view of history.
fetch_albums_history(needle) returns a list of Album objects with
Artist attribute set to artist (in this case we want album played for
artist == needle). Here we want the artist view on album history.
kaliko [Fri, 4 Jun 2021 14:18:18 +0000 (16:18 +0200)]
simadb: Fixed timezone, record play timestamp as UTC (Closes #51)
Convert all utcnow() to now(timezone.utc)
kaliko [Fri, 4 Jun 2021 09:18:56 +0000 (11:18 +0200)]
Use MusicBrainz_albumid for album search (Closes #30)
kaliko [Thu, 3 Jun 2021 14:36:48 +0000 (16:36 +0200)]
Rewrote blocklist feature with the new simadb API
kaliko [Thu, 3 Jun 2021 09:01:06 +0000 (11:01 +0200)]
Improved filter_track plugin method
kaliko [Thu, 3 Jun 2021 08:57:24 +0000 (10:57 +0200)]
simadb: Expose file in view_bl
It permits to build a Track object for comparison
kaliko [Wed, 2 Jun 2021 16:08:03 +0000 (18:08 +0200)]
Artist object changes
Use name for albumartist if albumartist is not provided.
kaliko [Wed, 2 Jun 2021 15:41:40 +0000 (17:41 +0200)]
Add Album property to Track objects
kaliko [Wed, 2 Jun 2021 15:31:16 +0000 (17:31 +0200)]
Do not limit valid UUID to version 4
kaliko [Mon, 10 May 2021 09:05:14 +0000 (11:05 +0200)]
simadb: Fixed early connection close
kaliko [Sun, 9 May 2021 16:17:34 +0000 (18:17 +0200)]
Update manual
kaliko [Sun, 9 May 2021 09:55:35 +0000 (11:55 +0200)]
simadb: Propagate add option
kaliko [Sun, 9 May 2021 09:48:57 +0000 (11:48 +0200)]
Add blocklist commands, remove simadb_cli
Move all command to a subparser
kaliko [Thu, 6 May 2021 09:32:29 +0000 (11:32 +0200)]
MPD client: Remove useless check on use_mbid
kaliko [Wed, 5 May 2021 18:20:01 +0000 (20:20 +0200)]
Use os.getenv instead of os.environ.get
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
kaliko [Wed, 5 May 2021 15:58:12 +0000 (17:58 +0200)]
Fixed test_config
568365b introduced a file acces control on db_file
kaliko [Tue, 4 May 2021 18:37:34 +0000 (20:37 +0200)]
simadb: do not fetch NULL genre
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.
kaliko [Tue, 4 May 2021 13:37:44 +0000 (15:37 +0200)]
Update simadb API
kaliko [Tue, 4 May 2021 13:15:53 +0000 (15:15 +0200)]
Update file access controls
kaliko [Mon, 3 May 2021 11:40:49 +0000 (13:40 +0200)]
Use new sqlite module
kaliko [Mon, 3 May 2021 07:41:14 +0000 (09:41 +0200)]
Add genres tables to the database, update Genre plugin (related to #48)
kaliko [Sat, 1 May 2021 17:13:53 +0000 (19:13 +0200)]
Update simadb API
kaliko [Sat, 1 May 2021 13:28:37 +0000 (15:28 +0200)]
Add fetch history methods
kaliko [Fri, 30 Apr 2021 09:35:59 +0000 (11:35 +0200)]
Add Triggers for blocklist→albums|artists
kaliko [Fri, 30 Apr 2021 08:02:30 +0000 (10:02 +0200)]
Fixed indentation
kaliko [Thu, 29 Apr 2021 14:03:27 +0000 (16:03 +0200)]
Add drop_all, fetch_artists*, get_bl_* methods
kaliko [Wed, 28 Apr 2021 11:06:36 +0000 (13:06 +0200)]
Rewrote simadb
kaliko [Wed, 5 May 2021 11:55:27 +0000 (13:55 +0200)]
ci: Exposes unittest report to gitlab
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.
kaliko [Sat, 1 May 2021 17:15:12 +0000 (19:15 +0200)]
Remove dead code
kaliko [Fri, 30 Apr 2021 08:04:10 +0000 (10:04 +0200)]
Cleanup obsolete code (ralated to
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.
kaliko [Thu, 29 Apr 2021 14:37:49 +0000 (16:37 +0200)]
Add missing command in bash completion
kaliko [Wed, 28 Apr 2021 16:02:39 +0000 (18:02 +0200)]
Removed obsolete CLI options
kaliko [Wed, 28 Apr 2021 15:51:41 +0000 (17:51 +0200)]
Remove HTML files
kaliko [Wed, 28 Apr 2021 15:50:27 +0000 (17:50 +0200)]
Bump version
kaliko [Wed, 28 Apr 2021 15:36:29 +0000 (17:36 +0200)]
Releasing 0.17.0
kaliko [Wed, 28 Apr 2021 11:00:13 +0000 (13:00 +0200)]
Add support of musicbrainz_{albumid,trackid} in Track object
kaliko [Fri, 23 Apr 2021 09:23:03 +0000 (11:23 +0200)]
Add new command purge-history
kaliko [Fri, 23 Apr 2021 08:53:03 +0000 (10:53 +0200)]
Update bash completion (closes #44)
kaliko [Fri, 23 Apr 2021 08:36:18 +0000 (10:36 +0200)]
Aesthetic changes in usage messages
kaliko [Thu, 22 Apr 2021 13:17:00 +0000 (15:17 +0200)]
Fixed Genre plugin documenation
kaliko [Thu, 22 Apr 2021 13:15:15 +0000 (15:15 +0200)]
Add new command (closes #43)
Add config-test, create-db, generate-config
kaliko [Wed, 21 Apr 2021 13:31:55 +0000 (15:31 +0200)]
Extract Tags control_config method from plugin
Ease reuse outside of plugin
kaliko [Wed, 21 Apr 2021 12:28:36 +0000 (14:28 +0200)]
Expose only config in MPDClient instance.
Remove useless daemon argument
kaliko [Wed, 21 Apr 2021 10:17:40 +0000 (12:17 +0200)]
Default config definition more consistent
kaliko [Tue, 20 Apr 2021 08:42:02 +0000 (10:42 +0200)]
setup.py: Remove useless import
kaliko [Mon, 19 Apr 2021 16:59:31 +0000 (18:59 +0200)]
Add Genre plugin
kaliko [Mon, 19 Apr 2021 15:40:53 +0000 (17:40 +0200)]
Fixed manual for Tags plugin
kaliko [Mon, 19 Apr 2021 15:17:13 +0000 (17:17 +0200)]
Use duration instead of time in Track objects (closes #37)
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.
kaliko [Mon, 19 Apr 2021 13:55:31 +0000 (15:55 +0200)]
Fixed examples
kaliko [Sun, 21 Feb 2021 16:34:42 +0000 (17:34 +0100)]
Fixed variable in info log message (typo introduced in
baa6dc7 )
kaliko [Sat, 20 Feb 2021 16:22:14 +0000 (17:22 +0100)]
Exposes genres in Track objets
kaliko [Fri, 19 Feb 2021 17:38:44 +0000 (18:38 +0100)]
Fixed previous commit, cannot apply shuffle on MetaContainer
kaliko [Fri, 19 Feb 2021 17:32:53 +0000 (18:32 +0100)]
Add randomness in Tags plugin artist selection
kaliko [Fri, 19 Feb 2021 17:24:00 +0000 (18:24 +0100)]
Some cleanup in log, get messages more uniform across plugins
kaliko [Fri, 19 Feb 2021 17:17:54 +0000 (18:17 +0100)]
Fixed plugin album_candidate method, missing loop break
kaliko [Sat, 6 Feb 2021 11:30:12 +0000 (12:30 +0100)]
Fixed "artist with quotes not found" (closes #41)
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.
kaliko [Fri, 5 Feb 2021 13:08:18 +0000 (14:08 +0100)]
Fixed crashes with untagged title (closes #40)
kaliko [Sat, 9 Jan 2021 11:45:05 +0000 (12:45 +0100)]
Releasing 0.16.1
kaliko [Sat, 9 Jan 2021 08:29:11 +0000 (09:29 +0100)]
Update log string
kaliko [Tue, 22 Dec 2020 11:08:02 +0000 (12:08 +0100)]
Use set-comprehension in simadb
kaliko [Tue, 22 Dec 2020 10:30:26 +0000 (11:30 +0100)]
Cleanup linter warnings
kaliko [Mon, 21 Dec 2020 16:40:41 +0000 (17:40 +0100)]
Uniform use of MetaContainer
kaliko [Mon, 21 Dec 2020 15:15:13 +0000 (16:15 +0100)]
Ensure in MPD filters there is at least the minimum metadata needed
kaliko [Sun, 20 Dec 2020 17:52:12 +0000 (18:52 +0100)]
Fixed issues in reorg and album_candidate
kaliko [Sun, 20 Dec 2020 17:43:46 +0000 (18:43 +0100)]
Remove dead clode from Tags plugin
kaliko [Sun, 20 Dec 2020 17:00:34 +0000 (18:00 +0100)]
Update random plugin
kaliko [Sun, 20 Dec 2020 16:50:56 +0000 (17:50 +0100)]
Fixed bug in history plugin (24h db cleanup not fired)
kaliko [Fri, 18 Dec 2020 09:58:42 +0000 (10:58 +0100)]
Integrate pylint-gitlab and dependency scanning
kaliko [Fri, 18 Dec 2020 11:38:12 +0000 (12:38 +0100)]
Cleanup linter warnings
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.
kaliko [Fri, 18 Dec 2020 08:47:33 +0000 (09:47 +0100)]
Lower log message level
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.
kaliko [Thu, 17 Dec 2020 14:45:10 +0000 (15:45 +0100)]
Add album queue mode to Tags plugin
kaliko [Wed, 16 Dec 2020 13:34:23 +0000 (14:34 +0100)]
Fixed some code style and comment
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.