Fabio Manganiello
09baceab4b
Include album_id and the list of tracks in music.tidal.get_album
2022-09-19 20:39:21 +02:00
Fabio Manganiello
36dd645209
Use session.playlist instead of session.user.playlist to query playlists
2022-09-18 06:04:53 +02:00
Fabio Manganiello
61cda60751
Proper implementation for Tidal's add_to_playlist and remove_from_playlist methods
...
- Using tidalapi's `UserPlaylist.add` and `UserPlaylist.delete` methods
instead of defining my own through `_api_request`, so we won't have to
deal with the logic to set the ETag header.
- Added `remove_from_playlist` method.
2022-09-18 05:22:12 +02:00
Fabio Manganiello
7c610adc84
FIX: Apply expanduser to the credentials_file setting in music.tidal
2022-09-17 06:30:20 +02:00
Fabio Manganiello
a9ebb4805a
Fixed doc warnings
2022-09-17 06:25:28 +02:00
Fabio Manganiello
e1aa214bad
tidal-integration ( #223 )
...
Reviewed-on: #223
2022-09-16 21:48:09 +02:00
Fabio Manganiello
4682fb4210
Throw an assertion error when on_duplicate_update is specified on db.insert with no key_columns
2022-09-04 16:02:37 +02:00
Fabio Manganiello
0143dac216
Improved support for bulk database statements
...
- Wrapped insert/update/delete operations in transactions
- Proper (and much more efficient) bulk logic
- Better upsert logic
- Return inserted/updated records if the engine supports it
2022-09-04 13:30:35 +02:00
Fabio Manganiello
1ea53a6f50
Support for query placeholders in `db.select`
2022-09-04 00:28:08 +02:00
Fabio Manganiello
61c96612bc
Merge branch 'master' into 219-opml-import-export
2022-09-02 00:23:57 +02:00
Fabio Manganiello
6c6e68b512
Added support for OPML import and export in the RSS plugin.
...
[closes #219 ]
2022-09-02 00:21:40 +02:00
Fabio Manganiello
a286cf5000
Updated PopcornTime base URL
2022-09-01 11:13:16 +02:00
Fabio Manganiello
540a7d469e
- Fixed documentation errors and warnings
...
- Split Matrix integration into `plugin` and `client` files.
2022-08-29 00:55:46 +02:00
Fabio Manganiello
c417d2f692
Implemented last Matrix integration features.
...
- Added presence, typing and seen receipt events.
- Added set display_name and avatar methods.
2022-08-28 15:17:11 +02:00
Fabio Manganiello
e479ca7e3e
Completing the Matrix plugin integration
...
Newly implemented actions:
- `get_messages`
- `get_room_members`
- `update_device`
- `delete_devices`
- `room_alias_to_id`
- `add_room_alias`
- `delete_room_alias`
- `kick`
- `ban`
- `unban`
- `forget`
2022-08-28 12:26:27 +02:00
Fabio Manganiello
d890b6cbe8
Added create_room action
2022-08-27 23:26:42 +02:00
Fabio Manganiello
912168626c
Added join_room, leave_room and invite_to_room and extended handling on invitation events
2022-08-27 21:50:48 +02:00
Fabio Manganiello
513195b396
Implemented support for file upload
2022-08-27 15:12:50 +02:00
Fabio Manganiello
48ec6ef68b
Implemented proper support for encrypted media and added download method
2022-08-26 23:48:29 +02:00
Fabio Manganiello
e4eb4cd7dc
More granular control over trusted devices, and added global synchronization event
2022-08-25 00:34:01 +02:00
Fabio Manganiello
c89c712928
Fixed device trust process
2022-08-24 01:49:43 +02:00
Fabio Manganiello
05908e1a77
Fixing key verification process
2022-08-17 10:28:31 +02:00
Fabio Manganiello
c04bc8d2bc
The matrix plugin joins the AsyncRunnablePlugin family too
2022-08-15 02:18:29 +02:00
Fabio Manganiello
2797ffbe53
The websocket plugin now extends AsyncRunnablePlugin too
2022-08-15 02:18:29 +02:00
Fabio Manganiello
770a14daae
ntfy plugin migrated to AsyncRunnablePlugin.
...
This commit removes a lot of the loop management boilerplate.
2022-08-15 02:18:29 +02:00
Fabio Manganiello
dba03d3e33
Added AsyncRunnablePlugin class.
...
This class handles runnable plugins that have their own asyncio event
loop, without the pain usually caused by the management of multiple
threads + asyncio loops.
2022-08-15 02:18:28 +02:00
Fabio Manganiello
f4672ce5c3
Refactored concurrency model in ntfy plugin
2022-08-15 02:18:28 +02:00
Fabio Manganiello
9e2b4a0043
Removed references to deprecated websockets attributes
2022-08-15 02:18:28 +02:00
Fabio Manganiello
dc7ba881f1
Merge branch 'master' into matrix-integration
2022-08-12 14:39:13 +02:00
Fabio Manganiello
4e1e6da67e
Added recv action on websocket plugin
2022-08-12 14:16:01 +02:00
Fabio Manganiello
354f3906f9
Changed autojoin_on_invite default value
2022-08-12 00:11:15 +02:00
Fabio Manganiello
7ab02e705d
Removed redundant _action_wrapper decorator
2022-08-05 19:04:43 +02:00
Fabio Manganiello
cbe2e7bbfe
[WIP]
2022-08-04 03:08:54 +02:00
Fabio Manganiello
c32142c8b5
Added wait_stop() method to RunnablePlugin
2022-07-23 17:33:23 +02:00
Fabio Manganiello
cc29136db7
[ #2 ] Support for caching rooms info and exposing them in the events
2022-07-15 00:37:21 +02:00
Fabio Manganiello
719bd4fddf
[ #217 WIP] Initial plugin implementation.
...
- Added initial synchronization and users cache.
- Added loop to poll for new events (TODO: use websocket after the first sync)
- Added login, sync and join actions
2022-07-14 01:50:46 +02:00
Fabio Manganiello
c6c7128099
Wrapped clipboard management logic in a try-except block to prevent the clipboard plugin from failing hard
2022-06-14 16:47:52 +02:00
Fabio Manganiello
8d26c8634d
Keep the ntfy process in stop_wait state even when the plugin is configured with no subscriptions
2022-06-09 11:59:29 +02:00
Fabio Manganiello
115bed7d8b
Added limit parameter to `lastfm.get_similar_tracks`
2022-06-06 14:12:45 +02:00
Fabio Manganiello
3d22d6b082
Added get_track and get_similar_tracks methods on `lastfm` plugin
2022-06-05 18:49:34 +02:00
Fabio Manganiello
5971ec32c8
Removed `clipboard` backend.
...
The relevant clipboard monitoring logic has been moved to the
`clipboard` plugin. Thus, enabling the plugin should provide all the
feature, with no need for an additional backend.
2022-06-04 12:32:02 +02:00
Fabio Manganiello
cb7021152f
Added `get_recent_tracks` method to the `lastfm` plugin
2022-06-02 20:57:35 +02:00
Fabio Manganiello
d3f4865395
Fixed variable name conflict
2022-06-02 01:44:38 +02:00
Fabio Manganiello
f080478385
s/click_url/url/g in ntfy message definitions
2022-06-02 00:40:26 +02:00
Fabio Manganiello
8be515c17b
[ closes #219 ] Added ntfy integration
2022-06-01 23:01:29 +02:00
Fabio Manganiello
7a0e39111d
FIX: A feed entry may not necessarily have an `id` attribute
2022-05-06 14:38:25 +02:00
Fabio Manganiello
da73a5f1b9
Replaced deprecated json_output arg in NextCloud client with response.json_data
2022-04-26 19:30:26 +02:00
Fabio Manganiello
486801653a
Added `.exception` action to logger plugin
2022-04-03 00:26:39 +02:00
Fabio Manganiello
ffd23cf04d
[ #212 ] Support for asynchronous event monitoring on the GPIO plugin
2022-03-27 16:14:30 +02:00
Fabio Manganiello
fdf6d8fb4e
Better auto-generated documentation and fixed docstring warnings
2022-03-03 20:26:25 +01:00