Commit Graph

31 Commits

Author SHA1 Message Date
Sebastian Chlad
e8799bfd2d tools/bluetooth-player: Formatting commands
Formatting commands passed to bluetooth player.
Whitespace character trimmed.
2013-12-31 13:32:59 +02:00
Luiz Augusto von Dentz
adce984e04 tools/bluetooth-player: Make show-item command print Player property
This makes show-item command to print Player property that indicates
which player the item belongs to.
2013-07-17 14:31:49 +03:00
Luiz Augusto von Dentz
96ef167192 tools/bluetooth-player: Fix crash when using search command
Invalid read of size 8
   at 0x3F34619C4A: dbus_message_iter_append_basic (in /usr/lib64/libdbus-1.so.3.7.2)
   by 0x40B764: search_setup (bluetooth-player.c:893)
   by 0x4094FC: g_dbus_proxy_method_call (client.c:742)
   by 0x40C2A4: cmd_search (bluetooth-player.c:941)
   by 0x40B307: rl_handler (bluetooth-player.c:1099)
   by 0x3733E2AFDA: rl_callback_read_char (in /usr/lib64/libreadline.so.6.2)
   by 0x40BC0D: input_handler (bluetooth-player.c:1216)
   by 0x3F31A47A54: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3400.2)
   by 0x3F31A47D87: ??? (in /usr/lib64/libglib-2.0.so.0.3400.2)
   by 0x3F31A48181: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3400.2)
   by 0x40445F: main (bluetooth-player.c:1434)
 Address 0x4d4beb0 is 0 bytes inside a block of size 4 alloc'd
   at 0x4A0887C: malloc (vg_replace_malloc.c:270)
   by 0x3F31A4D68E: g_malloc (in /usr/lib64/libglib-2.0.so.0.3400.2)
   by 0x3F31A63F0B: g_strdup (in /usr/lib64/libglib-2.0.so.0.3400.2)
   by 0x40C281: cmd_search (bluetooth-player.c:939)
   by 0x40B307: rl_handler (bluetooth-player.c:1099)
   by 0x3733E2AFDA: rl_callback_read_char (in /usr/lib64/libreadline.so.6.2)
   by 0x40BC0D: input_handler (bluetooth-player.c:1216)
   by 0x3F31A47A54: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3400.2)
   by 0x3F31A47D87: ??? (in /usr/lib64/libglib-2.0.so.0.3400.2)
   by 0x3F31A48181: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3400.2)
   by 0x40445F: main (bluetooth-player.c:1434)
2013-06-12 16:37:23 +03:00
Luiz Augusto von Dentz
29952ebbb7 tools/bluetooth-player: Add show-item command
Add support for show-item command which can be used to print item
information.
2013-06-10 11:06:46 +03:00
Luiz Augusto von Dentz
d7adaaf844 tools/bluetooth-player: Add search command
Add support for search command which can be used to search a for items
containing a given string.
2013-06-10 11:06:46 +03:00
Luiz Augusto von Dentz
d876366199 tools/bluetooth-player: Add scan command
Add support for scan command which can be used to set scan mode.
2013-06-10 11:06:46 +03:00
Luiz Augusto von Dentz
ad3acd58f8 tools/bluetooth-player: Add shuffle command
Add support for shuffle command which can be used to set shuffle mode.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
f899c1fad7 tools/bluetooth-player: Add repeat command
Add support for equalizer command which can be used to set repeat mode.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
9d60d860ba tools/bluetooth-player: Add equalizer command
Add support for equalizer command which can be used to enable/disable
equalizer.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
630a3e581c tools/bluetooth-player: Add queue command
Add support for queue command which can be used to add an item to the
current playlist.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
d8d4f1699d tools/bluetooth-player: Add item argument to play command
Add item argument to play command so it can be used to e.g. jump to
different item in the playlist.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
e742b25652 tools/bluetooth-player: Add list-items command
Add support for list-items command which can be used list items of
current folder.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
e3c4a32f93 tools/bluetooth-player: Add change-folder command
Add support for change-folder command which can be used to change
current folder.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
7c804e29bb tools/bluetooth-player: Print playlist name in command show
This makes command show to print playlist name if available
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
45cf57c3e8 tools/bluetooth-player: Add proxy handling for org.bluez.MediaItem1
This adds proxy handling for org.bluez.MediaItem1 so changes to the
proxy are printed in the output.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
3c32cbf901 tools/bluetooth-player: Add folder properties to command show output
This add folder properties to command show output if MediaFolder1 is
supported.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
2fcad91d23 tools/bluetooth-player: Add proxy handling for org.bluez.MediaFolder1
This adds proxy handling for org.bluez.MediaFolder1 so changes to the
proxy are printed in the output.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
2c71af29bc tools/bluetooth-player: Add select command
Add support for select command which can be used to set the default
player
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
1193019637 tools/bluetooth-player: Add show command
Add support for show command which can be used to show player
information
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
37f085ae5d tools/bluetooth-player: Add list command
Add support for list command which can be used to list available players
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
ccc7d6726f tools/bluetooth-player: Add rewind command
Add support for rewind command which can be used to rewind the playback
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
ffba5601a8 tools/bluetooth-player: Add fast-forward command
Add support for fast-forward command which can be used to fast forward
the playback
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
9948de8271 tools/bluetooth-player: Add previous command
Add support for next command which can be used to jump to the previous
item
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
5f5953ebee tools/bluetooth-player: Add next command
Add support for next command which can be used to jump to the next item
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
4d8386628a tools/bluetooth-player: Add stop command
Add support for stop command which can be used to stop the playback
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
49618d1f4d tools/bluetooth-player: Add pause command
Add support for pause command which can be used to resume the playback
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
cd279e5075 tools/bluetooth-player: Add play command
Add support for play command which can be used to resume the playback
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
82e12919af tools/bluetooth-player: Add support for container types to print_iter
This adds support for container types to print_iter so it can now print
'Track' property properly.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
171049e873 tools/bluetooth-player: Add proxy handling for org.bluez.MediaPlayer1
This adds proxy handling for org.bluez.MediaPlayer1 so changes to the
proxy are printed in the output.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
8f3995f25c tools/bluetooth-player: Add initial code
This add initial code for things like input handling as well as some
basic commands.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
4302478ff6 build: Add bluetooth-player command line client
bluetooth-player is intended to control players connected over bluetooth.
2013-06-10 11:06:45 +03:00