Commit 6eb5c03f authored by Rafaël Carré's avatar Rafaël Carré

last.fm no longer requires submissions to be local files

Closes #3006
parent 1a562007
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
* http://www.audioscrobbler.net/development/protocol/ * http://www.audioscrobbler.net/development/protocol/
* *
* TODO: "Now Playing" feature (not mandatory) * TODO: "Now Playing" feature (not mandatory)
* Update to new API? http://www.lastfm.fr/api
*/ */
/***************************************************************************** /*****************************************************************************
* Preamble * Preamble
...@@ -540,9 +541,9 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var, ...@@ -540,9 +541,9 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
} }
var_Change( p_input, "video-es", VLC_VAR_CHOICESCOUNT, &video_val, NULL ); var_Change( p_input, "video-es", VLC_VAR_CHOICESCOUNT, &video_val, NULL );
if( ( video_val.i_int > 0 ) || p_item->i_type == ITEM_TYPE_NET ) if( video_val.i_int > 0 )
{ {
msg_Dbg( p_this, "Not an audio local file, not submitting"); msg_Dbg( p_this, "Not an audio-only input, not submitting");
vlc_object_release( p_input ); vlc_object_release( p_input );
return VLC_SUCCESS; return VLC_SUCCESS;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment