blob: a9c55359fe459c26f17201520dc10730a3a87efa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
--- mailnotify.c.orig Mon Mar 31 16:55:38 2003
+++ mailnotify.c Mon Mar 31 16:55:52 2003
@@ -675,16 +675,18 @@
dummy = xmms_remote_get_playlist_file(mailnotify.xmms_session, saved_position);
printf(" which is %s\n", dummy);
#endif
- if(!wasplaying)
- xmms_remote_stop(mailnotify.xmms_session);
-
+ xmms_remote_stop(mailnotify.xmms_session);
xmms_remote_set_playlist_pos(mailnotify.xmms_session, saved_position);
xmms_remote_playlist_delete(mailnotify.xmms_session, afpos);
-#ifdef CONTINUE_WHERE_INTERRUPTED
if(wasplaying)
+ {
+ xmms_remote_play(mailnotify.xmms_session);
+#ifdef CONTINUE_WHERE_INTERRUPTED
xmms_remote_jump_to_time(mailnotify.xmms_session, saved_offset);
#endif
+ }
+
}
else
{
|