]>
kaliko git repositories - mpd-sima.git/log
kaliko [Sat, 4 Dec 2021 11:24:59 +0000 (12:24 +0100)]
Cleanup some imports
kaliko [Sat, 4 Dec 2021 11:22:40 +0000 (12:22 +0100)]
doc: publish html target uses setuptools build
Use setuptools to build html to have version set.
kaliko [Tue, 23 Nov 2021 16:50:50 +0000 (17:50 +0100)]
doc: Add missig daemon section in all_settings.cfg
Fixed some typo/format
kaliko [Tue, 23 Nov 2021 09:51:55 +0000 (10:51 +0100)]
Update lastfm web API
kaliko [Tue, 23 Nov 2021 09:49:44 +0000 (10:49 +0100)]
Set max_art default value to 20
kaliko [Mon, 22 Nov 2021 16:13:03 +0000 (17:13 +0100)]
doc: Fixed migration glitch
kaliko [Mon, 22 Nov 2021 15:02:54 +0000 (16:02 +0100)]
doc: Merge manual in sphinx build
kaliko [Thu, 18 Nov 2021 11:44:12 +0000 (12:44 +0100)]
doc: Add publish target
kaliko [Tue, 16 Nov 2021 13:38:55 +0000 (14:38 +0100)]
doc: Fixed filter
Even it is a valid MPD filter, drop external enclosing parentheses
kaliko [Tue, 16 Nov 2021 12:43:48 +0000 (13:43 +0100)]
doc: Minor content changes
kaliko [Tue, 16 Nov 2021 12:37:16 +0000 (13:37 +0100)]
doc: Use default theme
kaliko [Sun, 14 Nov 2021 17:52:23 +0000 (18:52 +0100)]
doc: Fixed missing namespace
kaliko [Sun, 14 Nov 2021 17:51:40 +0000 (18:51 +0100)]
doc: Add queue plugins examples
kaliko [Mon, 7 Jun 2021 12:22:44 +0000 (14:22 +0200)]
doc: Update sphinx config, add user documentation
Also add SimaDB module documentation
kaliko [Fri, 15 May 2020 11:54:15 +0000 (13:54 +0200)]
doc: Update sphinx config and add sima.mpdclient.MPD
kaliko [Thu, 7 May 2020 06:38:36 +0000 (08:38 +0200)]
Remove echonest doc
kaliko [Mon, 1 May 2017 16:13:22 +0000 (18:13 +0200)]
Using bootstrap theme
kaliko [Sat, 14 Nov 2015 19:14:24 +0000 (20:14 +0100)]
Moved dev doc to sub folder
kaliko [Sat, 14 Nov 2015 16:58:00 +0000 (17:58 +0100)]
Add cache/echonest to sphinx doc.
kaliko [Wed, 11 Nov 2015 22:23:43 +0000 (23:23 +0100)]
Merged meta and track, switched to classic theme
kaliko [Wed, 11 Nov 2015 12:24:59 +0000 (13:24 +0100)]
Add sphinx build
kaliko [Sat, 20 Nov 2021 08:49:28 +0000 (09:49 +0100)]
Update venv installer
Require python 3.6
kaliko [Fri, 19 Nov 2021 14:26:28 +0000 (15:26 +0100)]
Remove bad heuristic to infer artist aliases
kaliko [Thu, 18 Nov 2021 12:56:48 +0000 (13:56 +0100)]
Fixed wording in manual
kaliko [Thu, 18 Nov 2021 12:56:25 +0000 (13:56 +0100)]
Bump version
kaliko [Tue, 16 Nov 2021 15:57:23 +0000 (16:57 +0100)]
Releasing 0.18.0
kaliko [Tue, 16 Nov 2021 15:42:58 +0000 (16:42 +0100)]
Fixed help message typo
kaliko [Tue, 16 Nov 2021 15:32:32 +0000 (16:32 +0100)]
Remove obsolete simadb_cli
kaliko [Tue, 16 Nov 2021 14:39:42 +0000 (15:39 +0100)]
Add some space padding in log format
Allows to align debug log message with mpdclient.py file
kaliko [Tue, 16 Nov 2021 14:24:52 +0000 (15:24 +0100)]
More robust Tags plugin MPD filter configuration
Remove external enclosing parentheses in user defined MPD filter, for
instance when there is more than one expression:
((genre == 'rock' ) AND (date =~ '198.')).
Even though it's a valid MPD filter, forge_filter will enclose it
properly. We do not want to through a syntax error at users since it's a
valid MPD filter, hence trying to transparently reformat the filter.
filter = ((genre == 'rock' ) AND (date =~ '198.'))
and
filter = (genre == 'rock' ) AND (date =~ '198.')
Will work the same, producing the valid MPD filter:
((genre == 'Punk') AND (date =~ '198[2-9]+') AND (artist != ''))
kaliko [Tue, 16 Nov 2021 13:32:18 +0000 (14:32 +0100)]
Fixed wrong use of musicpd for tagtypes command (Closes #60)
kaliko [Tue, 16 Nov 2021 10:52:04 +0000 (11:52 +0100)]
Cleanup code
Update Exceptions (cf.
3b4178f )
Add copyright header
Better error message
kaliko [Tue, 16 Nov 2021 10:23:42 +0000 (11:23 +0100)]
Revert previous refactoring around Exceptions
Mainly
774e755 and part of
94c7b5c
PlayerError is musicpd.MPDError a different family of exceptions not to
be merged in MPDSimaException, as initially implemented in
a978d29 .
kaliko [Sun, 14 Nov 2021 18:13:41 +0000 (19:13 +0100)]
man: Fixed and build mpd_sima.cfg.5 manual
kaliko [Sun, 7 Nov 2021 17:16:21 +0000 (18:16 +0100)]
Update bash completion (Closes #61)
kaliko [Sun, 7 Nov 2021 17:15:00 +0000 (18:15 +0100)]
Check Tags config onmy when it is configured as internal plugin
kaliko [Fri, 29 Oct 2021 11:55:15 +0000 (13:55 +0200)]
Fixed unhandled exception in monitor (idle MPD command)
Socket timeout was handled but musicpd exception raised on server lost
was not. For instance ConnectionError: "Connection lost while reading
line" was not catch.
kaliko [Mon, 25 Oct 2021 09:29:24 +0000 (11:29 +0200)]
ci: Add missing dependencies
kaliko [Mon, 25 Oct 2021 09:20:01 +0000 (11:20 +0200)]
Catch forgotten exception in mpdclient (Closes #59)
kaliko [Sat, 2 Oct 2021 13:23:04 +0000 (15:23 +0200)]
Mainly use literal for list/dict and f-strings when possible
kaliko [Sat, 2 Oct 2021 11:11:10 +0000 (13:11 +0200)]
Big cleanup, pyling warning, style, error
kaliko [Sat, 2 Oct 2021 11:09:51 +0000 (13:09 +0200)]
Init genre attribute in Track object
kaliko [Sat, 2 Oct 2021 11:09:01 +0000 (13:09 +0200)]
Some refactoring around Exceptions
kaliko [Sat, 2 Oct 2021 10:50:03 +0000 (12:50 +0200)]
Simplified first loop iteration detection
kaliko [Fri, 1 Oct 2021 18:29:57 +0000 (20:29 +0200)]
Clean some linter warnings and errors
kaliko [Thu, 30 Sep 2021 18:02:47 +0000 (20:02 +0200)]
ci: Fixed unittest
kaliko [Thu, 30 Sep 2021 17:52:25 +0000 (19:52 +0200)]
ci: Fixed unittest
kaliko [Thu, 30 Sep 2021 17:15:10 +0000 (19:15 +0200)]
Deal with lost connection (Closes #53)
kaliko [Thu, 30 Sep 2021 17:03:51 +0000 (19:03 +0200)]
Add more info in crash report (Closes #56)
kaliko [Thu, 30 Sep 2021 13:19:43 +0000 (15:19 +0200)]
Update dead http link
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.