From 3c3228ad04dc2c457fcbda4fc008901c86142690 Mon Sep 17 00:00:00 2001 From: waker Date: Sun, 25 Aug 2013 20:33:59 +0200 Subject: pltbrowser: drag-n-drop --- playlist.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'playlist.c') diff --git a/playlist.c b/playlist.c index c09f7284..f59d8251 100644 --- a/playlist.c +++ b/playlist.c @@ -646,6 +646,7 @@ plt_free (playlist_t *plt) { void plt_move (int from, int to) { + trace ("%d -> %d\n", from, to); if (from == to) { return; } @@ -672,7 +673,7 @@ plt_move (int from, int to) { return; } - trace ("will rename %s->%s\n", path1, temp); +// trace ("will rename %s->%s\n", path1, temp); struct stat st; int err = stat (path1, &st); if (!err) { @@ -713,7 +714,7 @@ plt_move (int from, int to) { fprintf (stderr, "error: failed to make path string for playlist file\n"); continue; } - trace ("will rename %s->%s\n", path2, path1); +// trace ("will rename %s->%s\n", path2, path1); int err = stat (path2, &st); if (!err) { trace ("rename %s->%s\n", path2, path1); @@ -1490,7 +1491,7 @@ pl_add_files_begin (playlist_t *plt) { plt_ref (addfiles_playlist); } pl_unlock (); - trace ("adding to playlist %d (%s)\n", plt, addfiles_playlist->title); + trace ("adding to playlist %p (%s)\n", plt, addfiles_playlist->title); return 0; } -- cgit v1.2.3