]> git.sesse.net Git - vlc/commitdiff
audioscrobbler: more explicit debug messages
authorRafaël Carré <funman@videolan.org>
Fri, 23 Nov 2007 00:04:52 +0000 (00:04 +0000)
committerRafaël Carré <funman@videolan.org>
Fri, 23 Nov 2007 00:04:52 +0000 (00:04 +0000)
modules/misc/audioscrobbler.c

index a5910da7b47a31d0b99be35a8392ac74b345c956..19d5ee509364df6556b0a44dd51d1793491897a3 100644 (file)
@@ -418,7 +418,7 @@ static void Run( intf_thread_t *p_intf )
         p_buffer_pos = strstr( ( char * ) p_buffer, "BADSESSION" );
         if ( p_buffer_pos )
         {
-            msg_Dbg( p_intf, "Authentication failed, handshaking again" );
+            msg_Dbg( p_intf, "Authentication failed (BADSESSION), are you connected to last.fm with another program ?" );
             p_sys->b_handshaked = VLC_FALSE;
             HandleInterval( &p_sys->next_exchange, &p_sys->i_interval );
             continue;
@@ -437,7 +437,8 @@ static void Run( intf_thread_t *p_intf )
         }
         else
         {
-            msg_Dbg( p_intf, "Authentication failed, handshaking again" );
+            msg_Dbg( p_intf, "Authentication failed, handshaking again (%s)", 
+                             p_buffer );
             p_sys->b_handshaked = VLC_FALSE;
             HandleInterval( &p_sys->next_exchange, &p_sys->i_interval );
             continue;