Renaud Casenave-Péré
dcf07df87d
Add empc-send-play command
2019-09-10 13:50:24 +09:00
1f53a4198a
Remove crossfade reference, doesn't seem to exist anymore
2016-09-25 12:37:34 +02:00
076ea9d295
When mpd is paused or stopped, kill the streaming process
2013-06-14 15:36:42 +09:00
Renaud Casenave-Péré
4005c3fc2c
Fix indentation
2012-08-03 18:42:41 +09:00
Renaud Casenave-Péré
b96930ddeb
Cleanup resources when empc has been disconnected by the server
2012-08-03 18:42:18 +09:00
453e148bf3
Fix toggle commands
2011-10-06 17:36:58 +09:00
f4aee5ef91
Fix goto current song in playlist
2011-10-06 17:36:31 +09:00
bb2fd85e51
Kill the log buffer when empc quits.
2011-09-06 16:21:22 +09:00
a5f5e07a3b
When the new playlist is shorter than the previous one, kill the line no longer relevant in the playlist buffer.
2011-09-06 16:20:00 +09:00
902926e3ee
Quick and dirty hack to avoid crashing when trying to notify a song when there
...
is not even a current one defined.
2011-09-06 16:18:35 +09:00
824b93b91e
Add a log buffer that logs sent commands.
2011-09-01 18:46:59 +09:00
0738898a72
Fix song deletion.
2011-08-31 19:05:58 +09:00
a00104236e
Add facilities to ease work in the buffer ; Add delete command that make use of these facilities.
2011-08-31 16:04:44 +09:00
2e601eb9dc
Change the way songs are inserted in the playlist buffer.
2011-08-29 19:30:38 +09:00
e6da8b0fa7
Temporarily Fix notify system.
2011-08-29 19:30:00 +09:00
1c129c9313
Fix a bug that prevented sending any command.
2011-08-29 19:28:59 +09:00
f82a7a8b01
Fix typo that prevent evaluation
2011-08-28 10:26:09 +09:00
fbd33008cb
Bugfix in `empc-mode-line-to-string'
2011-08-27 22:08:33 +09:00
18d96b8a8f
If there is no alive process, don't try to send commands but store then into the queue
2011-08-27 22:07:59 +09:00
cd4eabe65f
Don't try to send a command if we know it isn't available
2011-08-27 22:07:22 +09:00
48a87e927c
Merge commands into a single command_list directly in queue management.
...
`empc-send-list' is now discarded and replaced by `empc-queue-merge' before
trying to send a command.
2011-08-27 22:04:20 +09:00
0cd8704346
Tentative to fix string formats if some informations are missing.
2011-08-27 17:40:47 +09:00
dd6431a10f
When playlist has been changed, fetch only what is new.
2011-08-27 17:31:22 +09:00
4efbc722b5
Fix the mode-line
2011-08-26 19:51:08 +09:00
aecf561c6a
Add the possibility to talk to the server synchronously.
2011-08-26 19:49:48 +09:00
9d0d66b9e3
Add facilities to customize format used to display mode-line and songs in playlist.
2011-08-26 11:42:26 +09:00
765bee5074
Clean the code.
...
discard an unsused function and fix a parameter name to match the comment.
2011-08-25 16:43:45 +09:00
f8eceba6c6
May now clear the playlist.
2011-08-25 16:33:17 +09:00
6e0762a0a0
Move idle state management directly into the queue push/pop functions.
2011-08-25 16:31:39 +09:00
5671d41659
Directly use empc-object in several functions.
2011-08-25 12:59:37 +09:00
3962b7de8f
Rewrite the transfert queue #2/2: rewrite the transfert queue as part of empc.
...
Add plenty of accessors for empc-object.
Thanks to those accessors the implementation of empc-object may be changed if
I find a better idea than a weird tree-like structure.
Use the new queue management.
Due to what I consider a weird behavior of the original tq, function called
from the process-filter may now be properly debugged.
Functions are now called outside any `with-current-buffer' macro so *empc*
buffer also work as expected.
It will now be possible to put idle commands directly in queue management.
Fix what was broken by previous commit.
Every feature should work like before.
2011-08-24 18:36:33 +09:00
730902179e
Rewrite the transfert queue #1 : Replace several global variables by a single object.
2011-08-23 14:39:03 +09:00
a8f862e0c3
Add a keymap for the empc-playlist-mode and 2 macros to send commands with song id as parameter.
2011-08-19 15:40:34 +09:00
5f881d5a61
Refactor some functions to prepare for a proper empc-playlist-mode.
2011-08-19 15:39:53 +09:00
96d9ef4bda
Pulse when moving the cursor to the currently playing song in *empc* buffer
2011-08-19 10:29:07 +09:00
702624395d
Fix the mode-line
2011-08-19 10:28:27 +09:00
e7d4bd426e
Create a buffer *empc* containing the current playlist.
...
The buffer is rewritten when playlist changes and point follows the currently playing song.
2011-08-18 19:57:50 +09:00
0c46d0b8d1
Add simplistic facilities to write in the mode-line various informations.
2011-08-18 19:56:40 +09:00
36d917c633
Echo the error message, if any, in the minibuffer.
2011-08-18 17:14:54 +09:00
3726b60b0b
Add notification for option changes (repeat, single, etc)
2011-08-16 18:38:12 +09:00
ac17003eeb
Modify `empc-echo-song' to be able to be called as a command.
...
Without argument, echoes the currently playing song.
2011-08-15 19:13:49 +09:00
5e43a7a4f4
Don't release the stream-process pointer just because the client disconnects
2011-08-10 15:47:33 +09:00
85add54a72
Allow the use of command_lists through `empc-send-list'.
2011-08-10 15:46:12 +09:00
79ac4c2a6e
Fix an error in `empc-response-get-status' when there is nothing to notify.
2011-08-10 14:35:32 +09:00
25a569d640
string-to-int' is obsolete, so use string-to-number'
2011-08-09 16:47:35 +09:00
33c1a8797a
Rewrite the way the status is retrieved.
...
Compute a diff between `empc-current-status' and the server response to know more easily what has changed.
2011-08-09 16:43:44 +09:00
1819c8b28e
Fix comment.
2011-08-09 16:43:13 +09:00
41e1d812ea
Keep the stream process in `empc-stream-process' variable.
...
Check the process is not yet running in `empc-stream-start'.
Rewrite the sentinel for `empc-stream-process' for better management.
2011-08-09 16:39:48 +09:00
cb7856fc15
Start the streaming process when receiving an idle interruption.
...
When the stream is started using another client, empc will still be able to play
the stream, provided it is connected to the server.
2011-08-05 15:44:06 +09:00
d461203139
Revive the `with-updated-status' macro which updates the status before sending the command specified.
2011-08-05 15:32:10 +09:00