Changeset b81ff26d35c2a1a3c3c6ba6cb6fc8fad69c67869
- Timestamp:
- 14/09/07 02:00:17
(1 year ago)
- Author:
- Rafaël Carré <funman@videolan.org>
- git-committer:
- Rafaël Carré <funman@videolan.org> 1189728017 +0000
- git-parent:
[c74a75e96a5bf4752d1e3d6a697ddbde67435e61]
- git-author:
- Rafaël Carré <funman@videolan.org> 1189728017 +0000
- Message:
Do not try to connect to last.fm every second if the request fails, and server allows immediate retry
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r3c80258 |
rb81ff26 |
|
| 450 | 450 | |
|---|
| 451 | 451 | /* record interval */ |
|---|
| 452 | | p_buffer_pos = strstr( ( char * ) p_buffer, "INTERVAL" ); |
|---|
| | 452 | p_buffer_pos = strstr( ( char * ) p_buffer, "INTERVAL " ); |
|---|
| 453 | 453 | if ( p_buffer_pos ) |
|---|
| 454 | 454 | { |
|---|
| … | … | |
| 463 | 463 | /* woops, submission failed */ |
|---|
| 464 | 464 | msg_Dbg( p_this, "%s", p_buffer_pos ); |
|---|
| | 465 | /* Buggy last.fm server sometimes return INTERVAL 1 */ |
|---|
| | 466 | p_sys->time_next_exchange += DEFAULT_INTERVAL; |
|---|
| 465 | 467 | vlc_mutex_unlock ( &p_sys->lock ); |
|---|
| 466 | 468 | continue; |
|---|