emms-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emms-patches] darcs patch: emms-streams: When the user wants emms-strea


From: Michael Olson
Subject: [Emms-patches] darcs patch: emms-streams: When the user wants emms-streams to play...
Date: Tue, 30 May 2006 10:45:09 -0400

Tue May 30 10:42:43 EDT 2006  Michael Olson <address@hidden>
  * emms-streams: When the user wants emms-streams to play the selected stream 
instead of add it, create our own playlist buffer.  When quitting, if we own 
the current playlist buffer, kill it.
New patches:

[emms-streams: When the user wants emms-streams to play the selected stream 
instead of add it, create our own playlist buffer.  When quitting, if we own 
the current playlist buffer, kill it.
Michael Olson <address@hidden>**20060530144243] {
hunk ./emms-streams.el 86
+(defvar emms-stream-owns-buffer nil
+  "Indicate whether the current EMMS playlist buffer is owned by
+emms-streams.")
+(make-variable-buffer-local 'emms-stream-owns-buffer)
+
hunk ./emms-streams.el 176
+  (when (string= emms-stream-default-action "play")
+    (save-excursion
+      (with-current-buffer (setq emms-playlist-buffer (emms-playlist-new))
+        (setq emms-stream-owns-buffer t))))
hunk ./emms-streams.el 495
+  (save-excursion
+    (when (and (buffer-live-p emms-playlist-buffer)
+               (with-current-emms-playlist emms-stream-owns-buffer))
+      (emms-stop)
+      (emms-playlist-current-kill)))
hunk ./emms.el 561
-    (if new
+    (if (buffer-live-p new)
}

Context:

[allow nonzero ogginfo exit plus some reindenting
Martin Schoenmakers <address@hidden>**20060530130411
 
 When ogginfo gave a nonzero value on exit, any valid data would get tossed
 if there was any. This prevented emms from showing info for files that are
 tagged but a bit odd.
 
 Also reindented emms-info-ogginfo accordingly, which incidentally removed
 some tabs in favour of spaces.
 
] 
[emms-streams: Re-implement yank and kill so that they do the right thing with 
emms-stream-list.
Michael Olson <address@hidden>**20060530045429] 
[emms-streams: Implement kill and yank.
Michael Olson <address@hidden>**20060530040114] 
[emms-streams: Make hitting RET on a URL do the right thing, improve cursor 
movement, and mark the buffer as unmodified after performing a save.
Michael Olson <address@hidden>**20060529030043] 
[emms-player-mpd: Use more robust method of detecting whether we need to 
force-feed MusicPD our playlist.
Michael Olson <address@hidden>**20060525014253] 
[emms-playlist-mode: Make "d" kill the entire line.  This seems to be a good 
compromise of those who use C-k and those who want more standard object-killing 
behavior.
foo**20060524200008] 
[emms-player-mpd: When showing the currently-playing song, prepend the name of 
the radio station, if it exists.
foo**20060524195911] 
[emms-player-mpd: Make seek work correctly.
Michael Olson <address@hidden>**20060525033120] 
[emms-player-mpd: Fix bug that caused unconditional reloading of the entire 
MusicPD playlist whenever the track was changed manually.
Michael Olson <address@hidden>**20060524061655] 
[emms-player-mpd: Overhaul for streamlist support, and fix a few miscellaneous 
issues.
Michael Olson <address@hidden>**20060524055707] 
[emms-player-mpd: Add a few checks to make sure that the given buffer exists 
before trying to do anything with it.
Michael Olson <address@hidden>**20060517035419] 
[emms-source-playlist: Do not expand names of files in playlists, as this can 
cause problems with emms-player-mpd in some configurations.
Michael Olson <address@hidden>**20060516081257] 
[emms-playlist-mode: Implement the option (disabled by default) of opening a 
new EMMS buffer for a playlist, when hitting RET on one.
Michael Olson <address@hidden>**20060510040730] 
[emms-playlist-mode.el: Don't put a period after the mode map. This hangs 21.4 
on display.
address@hidden 
[TAG 2.0
address@hidden 
Patch bundle hash:
f0da5c4f73556a68d0d4534d708dac1b3cd2ad7b

reply via email to

[Prev in Thread] Current Thread [Next in Thread]