summaryrefslogtreecommitdiff
path: root/tools/bluetooth-player.c
Commit message (Collapse)AuthorAgeFilesLines
* client/player: Use QoS interval on transport.sendLuiz Augusto von Dentz2022-08-291-1/+0
| | | | This makes use of QoS interval when sending a file.
* client/player: Add support for PACS endpointsLuiz Augusto von Dentz2022-08-291-1/+1
| | | | | This adds support for PAC_SINK and PAC_SOURCE endpoints as well as LC3 presets.
* client: Add support for player submenuLuiz Augusto von Dentz2022-03-301-1066/+15
| | | | | This moves adds the functionality of bluetooth-player into bluetoothctl.
* tools: Add SPDX License IdentifierTedd Ho-Jeong An2020-09-291-14/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds SPDX License Identifier and removes the license text. ------------------------------------- License COUNT ------------------------------------- GPL-2.0-or-later : 97 LGPL-2.1-or-later : 38 GPL-2.0-only : 2 License: GPL-2.0-or-later tools/l2cap-tester.c tools/hcisecfilter.c tools/ciptool.c tools/btsnoop.c tools/check-selftest.c tools/btpclientctl.c tools/hci-tester.c tools/hcitool.c tools/btiotest.c tools/oobtest.c tools/btinfo.c tools/hwdb.c tools/hciattach_bcm43xx.c tools/mgmt-tester.c tools/hex2hcd.c tools/hciattach_st.c tools/smp-tester.c tools/bluetooth-player.c tools/hciattach_tialt.c tools/gap-tester.c tools/bluemoon.c tools/bneptest.c tools/gatt-service.c tools/rctest.c tools/rfcomm-tester.c tools/hcieventmask.c tools/hciattach_ti.c tools/seq2bseq.c tools/scotest.c tools/bcmfw.c tools/hciconfig.c tools/btattach.c tools/l2ping.c tools/obexctl.c tools/l2test.c tools/hciattach_intel.c tools/hciattach.h tools/create-image.c tools/bnep-tester.c tools/userchan-tester.c tools/rfcomm.c tools/btmon-logger.c tools/hcidump.c tools/rtlfw.c tools/hciattach_qualcomm.c tools/btproxy.c tools/nokfw.c tools/hciattach_ath3k.c tools/3dsp.c tools/bdaddr.c tools/sco-tester.c tools/hciattach.c tools/amptest.c tools/btgatt-server.c tools/btgatt-client.c tools/cltest.c tools/ibeacon.c tools/mcaptest.c tools/hid2hci.c tools/btmgmt.c tools/advtest.c tools/eddystone.c tools/avtest.c tools/mpris-proxy.c tools/avinfo.c tools/sdptool.c tools/btconfig.c tools/update_compids.sh tools/parser/parser.h tools/parser/obex.c tools/parser/amp.c tools/parser/sdp.c tools/parser/tcpip.c tools/parser/sap.c tools/parser/cmtp.c tools/parser/avctp.c tools/parser/lmp.c tools/parser/ppp.c tools/parser/rfcomm.h tools/parser/hci.c tools/parser/sdp.h tools/parser/parser.c tools/parser/rfcomm.c tools/parser/avdtp.c tools/parser/avrcp.c tools/parser/ericsson.c tools/parser/hcrp.c tools/parser/bpa.c tools/parser/hidp.c tools/parser/bnep.c tools/parser/capi.c tools/parser/att.c tools/parser/l2cap.c tools/parser/smp.c tools/parser/csr.c tools/parser/l2cap.h tools/parse_companies.pl License: LGPL-2.1-or-later tools/test-runner.c tools/btpclient.c tools/meshctl.c tools/mesh-cfgclient.c tools/mesh/model.h tools/mesh/util.h tools/mesh/config-model.h tools/mesh/cfgcli.h tools/mesh/mesh-db.c tools/mesh/mesh-db.h tools/mesh/keys.c tools/mesh/util.c tools/mesh/agent.h tools/mesh/remote.c tools/mesh/keys.h tools/mesh/agent.c tools/mesh/cfgcli.c tools/mesh/remote.h tools/mesh-gatt/prov.c tools/mesh-gatt/util.h tools/mesh-gatt/prov.h tools/mesh-gatt/net.c tools/mesh-gatt/util.c tools/mesh-gatt/prov-db.h tools/mesh-gatt/crypto.c tools/mesh-gatt/crypto.h tools/mesh-gatt/gatt.c tools/mesh-gatt/config-server.c tools/mesh-gatt/keys.h tools/mesh-gatt/onoff-model.c tools/mesh-gatt/net.h tools/mesh-gatt/gatt.h tools/mesh-gatt/node.c tools/mesh-gatt/config-client.c tools/mesh-gatt/mesh-net.h tools/mesh-gatt/node.h tools/mesh-gatt/onoff-model.h tools/mesh-gatt/prov-db.c License: GPL-2.0-only tools/obex-server-tool.c tools/obex-client-tool.c
* build: Move declaration of _GNU_SOURCE back into individual source filesMarcel Holtmann2018-12-061-0/+1
|
* tools/bluetooth-player: Return exit status for non-interactiveERAMOTO Masaya2018-03-271-2/+3
|
* tools/bluetooth-player: Add item-generator for change-folderERAMOTO Masaya2018-03-121-1/+2
|
* tools/bluetooth-player: Merge cmd_play{,_item}()ERAMOTO Masaya2018-03-121-23/+12
|
* tools/bluetooth-player: Fix lines going beyond 80 columnsLuiz Augusto von Dentz2018-03-011-1/+2
|
* tools/bluetooth-player: Use g_dbus_dict_append_entry()ERAMOTO Masaya2018-03-011-35/+3
|
* tools/bluetooth-player: Quit when done with commandLuiz Augusto von Dentz2018-02-281-64/+102
| | | | | This ensures that the commands don't stay hanging since bt_shell no longer quits immediatelly after executing a command.
* tools/bluetooth-player: Only enable attach input when connectedLuiz Augusto von Dentz2018-02-221-1/+2
|
* tools/bluetooth-player: Add generator for player/itemERAMOTO Masaya2018-01-021-5/+31
|
* tools/bluetooth-player: Use g_dbus_proxy_lookup() instead of find_*ERAMOTO Masaya2018-01-021-63/+35
| | | | Uses g_dbus_proxy_lookup() instead of find_{player,folder,item}
* toosl/bluetooth-player: Remove extra commandsERAMOTO Masaya2017-12-111-9/+0
| | | | | | Removes the output of redundant commands in bluetooth-player since the previous patch ("shared/shell: Fix hidden default menu if no submenu") made bluetooth-player output the default menu.
* shell: Add bt_shell_optLuiz Augusto von Dentz2017-12-081-1/+1
| | | | Make use of struct option and getopt_long to parse the options given.
* tools/bluetooth-player: Fix arg format for search commandLuiz Augusto von Dentz2017-12-081-1/+1
| | | | Mandatory command should always be quoted with <>.
* tools/bluetooth-player: Use bt_shell helpersLuiz Augusto von Dentz2017-12-081-399/+100
| | | | | This makes bluetooth-player use bt_shell to manage the menus and command handling.
* tools: Only add unique entries to readline historyLuiz Augusto von Dentz2017-09-201-1/+3
| | | | | Don't add duplicate commands to history this is similar to what HISTCONTROL=ignoredups does.
* tools: Fix includes for gdbus.h headerMarcel Holtmann2015-02-281-2/+2
|
* tools/bluetooth-player: check path validitySebastian Chlad2014-01-131-0/+5
| | | | | | | Bluetooth-player change-folder cmd approves any argument however it can be and then should a valid path only. Failing in providing a valid path crashes bluetooth-player thus argument should be checked if it's a valid path.
* tools/bluetooth-player: Formatting commandsSebastian Chlad2013-12-311-0/+1
| | | | | Formatting commands passed to bluetooth player. Whitespace character trimmed.
* tools/bluetooth-player: Make show-item command print Player propertyLuiz Augusto von Dentz2013-07-171-0/+1
| | | | | This makes show-item command to print Player property that indicates which player the item belongs to.
* tools/bluetooth-player: Fix crash when using search commandLuiz Augusto von Dentz2013-06-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* tools/bluetooth-player: Add show-item commandLuiz Augusto von Dentz2013-06-101-0/+25
| | | | | Add support for show-item command which can be used to print item information.
* tools/bluetooth-player: Add search commandLuiz Augusto von Dentz2013-06-101-0/+65
| | | | | Add support for search command which can be used to search a for items containing a given string.
* tools/bluetooth-player: Add scan commandLuiz Augusto von Dentz2013-06-101-0/+34
| | | | Add support for scan command which can be used to set scan mode.
* tools/bluetooth-player: Add shuffle commandLuiz Augusto von Dentz2013-06-101-0/+34
| | | | Add support for shuffle command which can be used to set shuffle mode.
* tools/bluetooth-player: Add repeat commandLuiz Augusto von Dentz2013-06-101-0/+34
| | | | Add support for equalizer command which can be used to set repeat mode.
* tools/bluetooth-player: Add equalizer commandLuiz Augusto von Dentz2013-06-101-0/+44
| | | | | Add support for equalizer command which can be used to enable/disable equalizer.
* tools/bluetooth-player: Add queue commandLuiz Augusto von Dentz2013-06-101-0/+41
| | | | | Add support for queue command which can be used to add an item to the current playlist.
* tools/bluetooth-player: Add item argument to play commandLuiz Augusto von Dentz2013-06-101-15/+37
| | | | | Add item argument to play command so it can be used to e.g. jump to different item in the playlist.
* tools/bluetooth-player: Add list-items commandLuiz Augusto von Dentz2013-06-101-0/+132
| | | | | Add support for list-items command which can be used list items of current folder.
* tools/bluetooth-player: Add change-folder commandLuiz Augusto von Dentz2013-06-101-0/+51
| | | | | Add support for change-folder command which can be used to change current folder.
* tools/bluetooth-player: Print playlist name in command showLuiz Augusto von Dentz2013-06-101-0/+30
| | | | This makes command show to print playlist name if available
* tools/bluetooth-player: Add proxy handling for org.bluez.MediaItem1Luiz Augusto von Dentz2013-06-101-0/+50
| | | | | This adds proxy handling for org.bluez.MediaItem1 so changes to the proxy are printed in the output.
* tools/bluetooth-player: Add folder properties to command show outputLuiz Augusto von Dentz2013-06-101-0/+24
| | | | | This add folder properties to command show output if MediaFolder1 is supported.
* tools/bluetooth-player: Add proxy handling for org.bluez.MediaFolder1Luiz Augusto von Dentz2013-06-101-11/+61
| | | | | This adds proxy handling for org.bluez.MediaFolder1 so changes to the proxy are printed in the output.
* tools/bluetooth-player: Add select commandLuiz Augusto von Dentz2013-06-101-0/+23
| | | | | Add support for select command which can be used to set the default player
* tools/bluetooth-player: Add show commandLuiz Augusto von Dentz2013-06-101-65/+119
| | | | | Add support for show command which can be used to show player information
* tools/bluetooth-player: Add list commandLuiz Augusto von Dentz2013-06-101-24/+35
| | | | Add support for list command which can be used to list available players
* tools/bluetooth-player: Add rewind commandLuiz Augusto von Dentz2013-06-101-0/+30
| | | | Add support for rewind command which can be used to rewind the playback
* tools/bluetooth-player: Add fast-forward commandLuiz Augusto von Dentz2013-06-101-0/+31
| | | | | Add support for fast-forward command which can be used to fast forward the playback
* tools/bluetooth-player: Add previous commandLuiz Augusto von Dentz2013-06-101-0/+30
| | | | | Add support for next command which can be used to jump to the previous item
* tools/bluetooth-player: Add next commandLuiz Augusto von Dentz2013-06-101-0/+30
| | | | Add support for next command which can be used to jump to the next item
* tools/bluetooth-player: Add stop commandLuiz Augusto von Dentz2013-06-101-0/+30
| | | | Add support for stop command which can be used to stop the playback
* tools/bluetooth-player: Add pause commandLuiz Augusto von Dentz2013-06-101-0/+30
| | | | Add support for pause command which can be used to resume the playback
* tools/bluetooth-player: Add play commandLuiz Augusto von Dentz2013-06-101-0/+41
| | | | Add support for play command which can be used to resume the playback
* tools/bluetooth-player: Add support for container types to print_iterLuiz Augusto von Dentz2013-06-101-0/+19
| | | | | This adds support for container types to print_iter so it can now print 'Track' property properly.
* tools/bluetooth-player: Add proxy handling for org.bluez.MediaPlayer1Luiz Augusto von Dentz2013-06-101-0/+133
| | | | | This adds proxy handling for org.bluez.MediaPlayer1 so changes to the proxy are printed in the output.