summaryrefslogtreecommitdiff
path: root/playlist.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2013-08-25 20:33:59 +0200
committerGravatar waker <wakeroid@gmail.com>2013-08-25 20:33:59 +0200
commit3c3228ad04dc2c457fcbda4fc008901c86142690 (patch)
tree43195de0a522400ffa8d5a4a7570fc6e7331b690 /playlist.c
parent3543abea87e19212c410b54c4388f017d2bc8b03 (diff)
pltbrowser: drag-n-drop
Diffstat (limited to 'playlist.c')
-rw-r--r--playlist.c7
1 files changed, 4 insertions, 3 deletions
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;
}