Fabio Manganiello
96ee21dc0e
More consistent naming for Kodi and Chromecast media methods
2019-02-05 11:02:31 +01:00
Fabio Manganiello
e2dbdcd66a
Parsing the right state attributes out of the Chromecast status
2019-02-05 10:02:27 +01:00
Fabio Manganiello
9add8890cd
Support for complete Chromecasts status
2019-02-05 09:49:50 +01:00
Fabio Manganiello
dc2a686d23
Support for casting torrents to Chromecast
2019-02-05 02:30:20 +01:00
Fabio Manganiello
3798414f22
Wait for the media file to be ready before failing
2019-02-05 00:52:14 +01:00
Fabio Manganiello
52d0ba442b
Refactored webtorrent plugin and synchronization with the player
...
The WebTorrent plugin now uses the `download -o <download_dir> -p <port>` options.
Improved interaction both with the webtorrent executable and the player
executable, and triggering the right events upon state changes, as well
as free support for torrent streaming through the webtorrent executable.
2019-02-05 00:15:36 +01:00
Fabio Manganiello
9506813dc2
Only propagate a MediaStopEvent when the awaited player actually stops
2019-02-04 09:27:12 +01:00
Fabio Manganiello
05abc86b90
Handling webtorrent instance stop from mplayer interface
2019-02-04 01:55:14 +01:00
Fabio Manganiello
286eb431f0
Refactored torrent module
2019-02-04 01:01:39 +01:00
Fabio Manganiello
a4f80d4622
Added media.webtorrent plugin
2019-02-03 17:43:30 +01:00
Fabio Manganiello
4b7730d4cf
Added status method to mplayer plugin
2019-02-02 17:55:29 +01:00
Fabio Manganiello
9ebb265458
Only copy the environment to the mplayer executable if it's set, and don't copy the whole environment from platypush
2019-02-02 17:32:56 +01:00
Fabio Manganiello
c18650c964
quit method implemented as part of the media interface
2019-02-02 17:12:22 +01:00
Fabio Manganiello
ed4b7e1da9
mplayer step_property volume doesn't really work as intended
2019-02-02 16:36:47 +01:00
Fabio Manganiello
3a5d7c7cba
MPlayer has a quite weird way of handling the volume
2019-02-02 16:28:55 +01:00
Fabio Manganiello
535c4bbc17
Added set_volume action to mplayer plugin
2019-02-02 16:11:31 +01:00
Fabio Manganiello
d0a288b423
Don't start the mplayer pipe with shell=True
2019-02-02 16:06:56 +01:00
Fabio Manganiello
7068530eb0
Strip the file:// part out of the resource name
2019-02-02 15:58:18 +01:00
Fabio Manganiello
36725f7136
typo
2019-02-02 15:54:44 +01:00
Fabio Manganiello
1713c0c940
Propagate enviornment variables to the player executable
2019-02-02 15:51:12 +01:00
Fabio Manganiello
63b423cf75
Refactored mplayer and omxplayer under the same media player
2019-02-02 00:06:28 +01:00
Fabio Manganiello
56b6e6a899
More optimized check against supported extensions
2019-01-20 10:01:07 +01:00
Fabio Manganiello
297d1114e7
Implemented generic media plugin and made MPlayer extend it (TODO: omxplayer and vlc)
2019-01-20 08:50:05 +01:00
Fabio Manganiello
d59044fa2d
Added MPlayer plugin
2019-02-01 09:34:50 +01:00
Fabio Manganiello
bb966f123f
Added back and forward methods to Chromecast plugin
2018-11-13 23:23:14 +01:00
Fabio Manganiello
025309cae8
Fixed Chromecast media_controller methods
2018-11-13 23:17:51 +01:00
Fabio Manganiello
632da318b1
Expanded Chromecast plugin
2018-11-13 23:09:19 +01:00
Fabio Manganiello
6fcc3a2397
Support for YouTube media in Chromecast plugin
2018-11-13 20:20:55 +01:00
Fabio Manganiello
26f3842724
Added support for Plex to Chromecast
2018-11-13 01:29:24 +01:00
Fabio Manganiello
42053dcf3b
Expanded Plex plugin
2018-11-12 23:23:21 +01:00
Fabio Manganiello
1459630661
Added Plex and Chromecast plugins
2018-11-12 16:50:20 +01:00
Fabio Manganiello
7adfb67c12
Fixed Kodi plugin
2018-10-20 19:27:15 +02:00
Fabio Manganiello
2dac094aea
player_id should be optional in media.kodi.stop
2018-10-20 18:00:53 +02:00
Fabio Manganiello
4fce1dd2e1
More features on the Kodi plugin
2018-10-20 17:17:29 +02:00
Fabio Manganiello
5b5fdd0933
Kodi player plugin improved
2018-10-20 16:59:47 +02:00
Fabio Manganiello
e16b444b0b
player_id selection implemented in Kodi
2018-10-20 16:40:12 +02:00
Fabio Manganiello
4f3c7f715f
Expanded Kodi actions
2018-10-18 16:24:22 +02:00
Fabio Manganiello
b6a4432528
Added Kodi plugin
2018-10-18 16:14:39 +02:00
Fabio Manganiello
eb229a6fbe
Added call to parent constructor in media.ctrl
2018-07-06 02:37:47 +02:00
Fabio Manganiello
66d78c8615
[ #61 ] Plugins actions refactoring
...
- Using `@action` annotation to indicate methods that are allowed to be
executed as actions
- The output and errors of an action are automatically wrapped into a
`Response` object without any response build required on the plugin side
2018-07-06 02:08:38 +02:00
Fabio Manganiello
f3bdeaf418
Fixed Spotify URIs conversion
2018-06-27 08:56:25 +02:00
Fabio Manganiello
c4401b25be
Reload logic on media.ctrl in case the connection with the media plugin has been reset
2018-04-22 23:39:23 +02:00
Fabio Manganiello
a783efd0d7
Added status method to media.ctrl plugin
2018-04-20 15:18:20 +02:00
Fabio Manganiello
ded4ac3b95
- Introduced a more consistent Enum for managing playing states across different players
...
- media.ctrl can now spot which player is playing and control only the right one
- Extended video.omxplayer plugin methods
2018-04-20 12:17:27 +02:00
Fabio Manganiello
61e851dd8e
Fixes
2018-04-19 00:32:20 +02:00
Fabio Manganiello
12295f2f77
youtube_search_and_play moved back to video.omxplayer
2018-04-19 00:30:43 +02:00
Fabio Manganiello
d2b881fee7
YouTube search and play code moved to media.ctrl plugin
2018-04-18 00:50:19 +02:00
Fabio Manganiello
eff046f1d1
Added __init__.py
2017-12-27 10:30:33 +01:00
Fabio Manganiello
92b691041e
Added more general media control plugin, #10
2017-12-27 10:19:35 +01:00