send Title not filename to last.fm, fixes submitting bug (submits don't
authorIlkka Ollakka <ileoo@videolan.org>
Sat, 25 Aug 2007 07:03:01 +0000 (07:03 +0000)
committerIlkka Ollakka <ileoo@videolan.org>
Sat, 25 Aug 2007 07:03:01 +0000 (07:03 +0000)
show up when filename is send)

modules/misc/audioscrobbler.c

index fa94cf1..e4c8e92 100644 (file)
@@ -1083,7 +1083,7 @@ static int ReadMetaData( intf_thread_t *p_this )
             msg_Dbg( p_this, "No artist.." );
             WAIT_METADATA_FETCHING( psz_artist )
         }
-        psz_meta = input_item_GetName( input_GetItem( p_input ) );
+        psz_meta = input_item_GetTitle( input_GetItem( p_input ) );
         if( psz_meta )
         {
             psz_title = encode_URI_component( psz_meta );