Mercurial > audlegacy
comparison src/audacious/main.c @ 2574:40407b7363f3 trunk
[svn] - enforce playback stop when clearing the playlist to load new files in. closes #808.
author | nenolod |
---|---|
date | Sun, 25 Feb 2007 00:53:19 -0800 |
parents | 7b1b52eb663b |
children | 1ceaf00f9c6d |
comparison
equal
deleted
inserted
replaced
2573:a04777621ca6 | 2574:40407b7363f3 |
---|---|
913 | 913 |
914 if (options->enqueue && options->play) | 914 if (options->enqueue && options->play) |
915 pos = xmms_remote_get_playlist_length(session); | 915 pos = xmms_remote_get_playlist_length(session); |
916 | 916 |
917 if (!options->enqueue) | 917 if (!options->enqueue) |
918 { | |
918 xmms_remote_playlist_clear(session); | 919 xmms_remote_playlist_clear(session); |
920 xmms_remote_stop(session); | |
921 } | |
919 | 922 |
920 xmms_remote_playlist_add_url_string(session, filename); | 923 xmms_remote_playlist_add_url_string(session, filename); |
921 | 924 |
922 if (options->enqueue && options->play && | 925 if (options->enqueue && options->play && |
923 xmms_remote_get_playlist_length(session) > pos) | 926 xmms_remote_get_playlist_length(session) > pos) |