pkgsrc/audio/xmms-cdread/patches/patch-aa
wiz 0bd60b8459 Initial import of xmms-cdread from wip, packaged by cheusov (same as xmms-nas).
xmms-cdread - plugin for xmms.

At the moment, the idea is to add /dev/cdrom to your playlist.
If you have multiple CDROM units (like a burner) you can add all
those devices to the playlist and it should work.

I know this exists already, but that's such an uugly hack I decided to
make my own version, which actually reads the audio data, and will also
not need the subdirectory trick to get the tracks into the playlist:
The tracks will be added and removed automatically as CDs are inserted
and removed.

It now has CDDB support, local database editing as well as server queries.
2011-03-06 16:46:04 +00:00

22 lines
546 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2011/03/06 16:46:04 wiz Exp $
--- playlist.c.orig 2001-06-03 19:58:51.000000000 +0300
+++ playlist.c
@@ -5,6 +5,8 @@
#include "cdread.h"
#include "playlist.h"
+#include <string.h>
+
extern GList *playlist;
extern pthread_mutex_t playlist_mutex;
@@ -161,7 +163,7 @@ playlist_replace(gchar *prefix, GList *l
pthread_mutex_unlock(&playlist_mutex);
playlistwin_update_list();
- if (regen_shuffle) playlist_generate_shuffle_list();
+
if (set_info_text) mainwin_set_info_text();
if (restart_playing)
{