Mark Muth
c83802fd06
Fix build with GCC 14.1 on Arch
...
Compiling with `gcc (GCC) 14.1.1 20240507` raised the following warning:
`error: implicit declaration of function ‘gettimeofday’ [-Wimplicit-function-declaration]`
Adding `#include <sys/time.h>` according to `man gettimeofday` fixes #509 .
2024-06-02 00:40:23 +02:00
Alberto Fanjul
f3debd5678
whitespace
2023-01-22 10:23:32 +01:00
Alberto Fanjul
279303d0d6
fix double free reading custom parameter
2023-01-22 10:17:44 +01:00
Tanish Azad
a36e9bd19f
fixed error message
2022-11-28 18:34:41 +01:00
Alberto Fanjul
439dac09c5
Ignore special chars on color prompt
2022-11-20 12:48:40 +01:00
Alberto Fanjul
31f7fbba33
Set custom ctl names
2022-11-20 11:47:35 +01:00
Alberto Fanjul
abc9b2f92c
set wfd elements on source selected
2022-11-14 07:14:05 +01:00
Alberto Fanjul
314aa5aed5
Use default rstp port
2022-11-14 07:12:25 +01:00
Alberto Fanjul
66c86f2971
fix memory error settting wfd_video_formats
2022-11-14 07:12:00 +01:00
Alberto Fanjul
788d37d7d2
CLI commands autocompletion
2022-11-13 11:37:22 +01:00
Alberto Fanjul
20816ad138
Add command friendly-name to sink controller
2022-11-08 08:52:53 +01:00
Alberto Fanjul
c215f05d5d
Exit CLI if daemon is not available
2022-11-08 08:52:53 +01:00
Alberto Fanjul
f9a61faaa2
Do not prefix command output with time
2022-11-08 08:52:53 +01:00
Alberto Fanjul
8cd144271a
log messages with time in human readable way
2022-10-30 01:28:43 +02:00
Alberto Fanjul
f740af2655
Clean cmake files
2022-10-29 13:32:27 +02:00
Alberto Fanjul
175495c729
fix cmake dependencies for
2022-10-29 13:32:27 +02:00
Alberto Fanjul
72f61549d9
log messages with time in human readable way
2022-10-29 13:32:27 +02:00
Andreas K. Hüttel
85723432f9
Option to use elogind instead of whole systemd
...
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
2022-10-16 13:17:41 +02:00
Alberto Fanjul
43505ab3dd
Allow to override/extend the request parameters
2022-05-28 10:46:44 +02:00
Alberto Fanjul
e816de93d3
Allow auto commands with any number of parameters
2022-05-28 10:43:12 +02:00
Alberto Fanjul
c42624885b
simplify pass request options
2022-05-26 20:55:51 +02:00
Edward Betts
3ab7d5913f
Correct spelling mistakes
2022-04-12 09:22:13 +02:00
Alberto Fanjul
a13c1b7c33
Do not fail stopping existing links
2021-01-03 19:45:49 +01:00
Alberto Fanjul
62c5b8daa8
Do not fail if peers are found before links
...
After discover peers, a miracle-sinkctl restart can lead to peers
without links. Just ignore that
2021-01-03 19:45:05 +01:00
Alberto Fanjul
3b3531de5c
Allow to set friendly name even if unmanaged
2021-01-03 14:04:38 +01:00
Alberto Fanjul
4111333521
Set readline as required package
...
autotools already set it, but cmake and meson no.
2019-08-27 11:01:22 +02:00
albfan
8151bb8cbd
whitespace
2018-09-30 12:41:40 +02:00
Xu Fasheng
8b76e3c212
Make miracle-wifid conexists with other network tools
...
The new option --lazy-managed will let miracle-wifid don't managed the
links automatically. Instead, the link will be managed only when the new
DBus property Managed was set to true. So this will be possible that
miracle-wifid could be coexists with other network tools like
networkmanager.
For example, unmanage the device in networkmanager with setting the DBus
property org.freedesktop.NetworkManager.Device.Managed to false and
manage it in miracle-wifid with setting
org.freedesktop.miracle.wifi.Link.Managed to true, then both them could
works and don't need to kill each other.
Besides, there is new command named make-managed in miracle-wifictl and
miracle-sinkctl.
closes #135 , #75
2018-09-21 13:41:16 +02:00
albfan
1d01ae2117
sink: Enable all resolutions by default
2018-02-22 22:30:09 +01:00
Derek Dai
6b5907ad45
Add meson build system
...
Use it as:
$ meson build
$ cd build
$ ninja build
$ ninja test
$ sudo ninja install
2017-04-14 11:32:27 +02:00
Eric Nelson
fe9a39bee8
miracle-sinkctl: don't use readline if no stdin
...
Signed-off-by: Eric Nelson <eric@nelint.com>
2017-04-08 09:53:36 +02:00
albfan
c3f6b7f683
Fix cmake compilation for ini files
2017-04-07 21:49:43 +02:00
albfan
b8de12cab3
Avoid config stdin if not a tty
...
Allow to run miracle-sinkctl as a service
relates to #98
2017-04-05 07:51:11 +02:00
albfan
04a1ec8aa3
Ini files for miracle-wifid
...
Honor ~/.miraclecast or ~/.config/miraclecastrc
Properties avaliable:
- wifid: log-level
- sinkctl: external-player, rstp-port, log-level, log-journal-level, autocmd
- wifictl: log-level, journal-log-level
Command line has always higher priority over ini files
fixes #113
2017-04-04 22:00:39 +02:00
albfan
a9da0067e3
Improve autocompletion
...
Standardize help commands
Add autocompletion for short arguments
Install autocompletion
2017-03-26 09:31:32 +02:00
albfan
3628f789b4
Add external player config
...
Allow to run custom player. It will be run within a wrapper that
respect -p/--port, option at least
fixes #87
2017-03-25 12:48:04 +01:00
albfan
016159bb1e
Check running as root
...
Detect running with elevated privileges to access dbus
fixes #89
2017-03-25 11:55:28 +01:00
Alberto Fanjul
e5795edd04
Read UIBC capability in raw mode
...
Some devices send its UIBC capabilities with spaces. Read in raw mode to parse port correctly
2016-10-28 11:37:16 +02:00
albfan
cedfeeebe1
Debug GStreamer execution
...
Allow to config gstreamer log level
2016-10-23 10:20:12 +02:00
albfan
472fbf4a24
Check source UIBC capability
...
If source has no UIBC capability don't try to connect UIBC controller,
and listen UIBC setting to disable UIBC
relates to #115
2016-10-23 09:46:02 +02:00
albfan
5e93ad0638
Fix compilation warnings
2016-10-23 04:27:17 +02:00
albfan
412ce067b6
Use resolution provided to resize viewer
2016-07-23 19:15:38 +02:00
albfan
1e69dd6dae
UIBC support
...
Basic support for UIBC (single mouse events and key events)
- Option --uibc on miracle-sinkctl to enable it
- Option --log-journal-level to see player execution on journalctl
- Controller for uibc miracle-uibcctl
- Player based on PyGtk to receive and communicate mouse and keyevents
closes #57
2016-07-02 15:47:15 +02:00
albfan
4637409d0b
relay on PATH to find executables
2016-07-02 15:22:13 +02:00
albfan
c94be167c8
open UIBC connection
...
relates to #57
2016-04-02 13:15:38 +02:00
albfan
117ed2071b
Parse text log level
...
closes #42
2015-08-30 14:53:12 +02:00
albfan
b0f985069c
change callback interface
...
resolves #30
2015-07-04 05:06:26 +02:00
albfan
8484a126be
fix cmake compilation
...
closes #7
2015-04-11 23:11:52 +02:00
albfan
640f731d44
Merge branch 'agusakov'
2015-03-30 13:40:52 +02:00
Andrey Gusakov
1a86754573
Show timeout error
...
Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
2015-03-30 12:06:38 +02:00