1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-04-15 21:33:31 +02:00

initial import

This commit is contained in:
root
2010-02-09 21:25:29 +01:00
commit b2719dc011
1080 changed files with 41656 additions and 0 deletions

View File

@@ -0,0 +1 @@
MD5 eb5b53815eb91f5294f76ca424369b7f xmms-scrobbler-0.3.6.tar.bz2 338393

View File

@@ -0,0 +1 @@
MD5 bcdd2fe672dc7d29adb805d0811f1ebf xmms-scrobbler-0.3.7.tar.bz2 253583

View File

@@ -0,0 +1 @@
MD5 e933c7660fe9103916ca022ec60ad654 xmms-scrobbler-0.3.8.1.tar.bz2 257740

View File

@@ -0,0 +1,24 @@
--- orig/scrobbler.c
+++ mod/scrobbler.c
@@ -488,6 +488,7 @@
{
GString *submitentry;
int nsubmit;
+ int i;
int wait;
if(sc_submit_timeout < time(NULL) && sc_bad_users < 3)
@@ -512,7 +513,12 @@
pthread_mutex_lock(&mutex);
#ifdef ALLOW_MULTIPLE
- q_free();
+ if (nsubmit < q_len()) {
+ for (i=0; i<nsubmit; i++)
+ q_get();
+ } else {
+ q_free();
+ }
#else
q_get();
#endif

View File

@@ -0,0 +1,11 @@
--- orig/xmms_scrobbler.c
+++ mod/xmms_scrobbler.c
@@ -344,6 +344,8 @@
/* keep current value for next iteration */
ps_p = ps_c;
+ if ( file_p != NULL )
+ g_free(file_p);
file_p = file_c;
playtime_p = playtime_c;
pos_p = pos_c;