<div dir="ltr"> Now playing notification turned off for other types also as<br> suggested by jb<br><br>---<br> modules/notify/notify.c | 7 +++++++<br> 1 file changed, 7 insertions(+)<br><br>diff --git a/modules/notify/notify.c b/modules/notify/notify.c<br>index adc6de2..5049e00 100644<br>--- a/modules/notify/notify.c<br>+++ b/modules/notify/notify.c<br>@@ -174,6 +174,13 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,<br> input_item_t *p_input_item = input_GetItem( p_input );<br> psz_title = input_item_GetTitleFbName( p_input_item );<br> <br>+ /* Checking for click on directories */<br>+ if(p_input_item->i_type == ITEM_TYPE_DIRECTORY || p_input_item->i_type == ITEM_TYPE_PLAYLIST<br>+ || p_input_item->i_type == ITEM_TYPE_NODE || p_input_item->i_type == ITEM_TYPE_UNKNOWN<br>+ || p_input_item->i_type == ITEM_TYPE_CARD){<br>+ return VLC_SUCCESS;<br>+ }<br>+<br> /* We need at least a title */<br> if( EMPTY_STR( psz_title ) )<br> {<br>-- <br>2.1.4<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 25, 2016 at 1:26 PM, Jean-Baptiste Kempf <span dir="ltr"><<a href="mailto:jb@videolan.org" target="_blank">jb@videolan.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 19 Mar, Avani Sharma wrote :<br>
<span class="">> Could you please help in knowing which of the following item types should<br>
> be ignored for "Now Playing" Notification.<br>
<br>
</span>OK.<br>
<br>
> ITEM_TYPE_UNKNOWN,<br>
> ITEM_TYPE_DIRECTORY,<br>
> ITEM_TYPE_CARD,<br>
> ITEM_TYPE_PLAYLIST,<br>
> ITEM_TYPE_NODE,<br>
<br>
All those.<br>
<div class="HOEnZb"><div class="h5"><br>
With my kindest regards,<br>
<br>
--<br>
Jean-Baptiste Kempf<br>
<a href="http://www.jbkempf.com/" rel="noreferrer" target="_blank">http://www.jbkempf.com/</a> - +33 672 704 734<br>
Sent from my Electronic Device<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="https://mailman.videolan.org/listinfo/vlc-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/vlc-devel</a><br>
</div></div></blockquote></div><br></div>