|
Line
Link Here
|
| 0 |
-- /home/falco/playback.c.orig 2006-10-30 11:32:34.000000000 +0100 |
0 |
++ /home/falco/playback.c 2007-01-06 21:35:33.000000000 +0100 |
|
Lines 82-87
Link Here
|
| 82 |
bmp_playback_initiate(void) |
82 |
bmp_playback_initiate(void) |
| 83 |
{ |
83 |
{ |
| 84 |
PlaylistEntry *entry = NULL; |
84 |
PlaylistEntry *entry = NULL; |
|
|
85 |
int penalty; |
| 85 |
if (playlist_get_length() == 0) |
86 |
if (playlist_get_length() == 0) |
| 86 |
return; |
87 |
return; |
|
Lines 104-110
Link Here
|
| 104 |
* |
105 |
* |
| 105 |
* - nenolod |
106 |
* - nenolod |
| 106 |
*/ |
107 |
*/ |
| 107 |
while (entry != NULL && !bmp_playback_play_file(entry)) |
108 |
for (penalty=0; penalty < 15 && entry != NULL && !bmp_playback_play_file(entry); penalty++) |
| 108 |
{ |
109 |
{ |
| 109 |
playlist_next(); |
110 |
playlist_next(); |