fix-xmms-sid-subtunes.patch
| audacious-plugins-3.5.1/src/sid/xmms-sid.c 2014-09-02 01:15:08.000000000 +0300 | ||
|---|---|---|
| 333 | 333 | |
| 334 | 334 |
/* Get information from URL */ |
| 335 | 335 |
tuple = tuple_new_from_filename (filename); |
| 336 |
tune = tuple_get_int (tuple, FIELD_SUBSONG_NUM);
|
|
| 336 |
tune = tuple_get_int (tuple, FIELD_SUBSONG_ID);
|
|
| 337 | 337 | |
| 338 | 338 |
/* Get tune information from emulation engine */ |
| 339 | 339 |
pthread_mutex_lock(&xs_status_mutex); |
| ... | ... | |
| 345 | 345 | |
| 346 | 346 |
xs_get_song_tuple_info(tuple, info, tune); |
| 347 | 347 | |
| 348 |
if (xs_cfg.subAutoEnable && info->nsubTunes > 1 && ! tune)
|
|
| 348 |
if (xs_cfg.subAutoEnable && info->nsubTunes > 1 && tune == -1)
|
|
| 349 | 349 |
xs_fill_subtunes(tuple, info); |
| 350 | 350 | |
| 351 | 351 |
xs_tuneinfo_free(info); |
