[vlc-devel] [PATCH] fix for #15713, checked for time duration, if time duration not present, implies directory else song item
Avani Sharma
avaninith at gmail.com
Thu Mar 17 11:07:57 CET 2016
Kindly suggest me what should be done in order to get this fixed?
On Thu, Mar 17, 2016 at 3:33 PM, Jean-Baptiste Kempf <jb at videolan.org>
wrote:
> What?
> If time duration not present, imply directory?
> That is totally false.
>
> On 17 Mar, Avani Sharma wrote :
> > ---
> > modules/notify/notify.c | 5 ++++-
> > 1 file changed, 4 insertions(+), 1 deletion(-)
> >
> > diff --git a/modules/notify/notify.c b/modules/notify/notify.c
> > index adc6de2..b6f3958 100644
> > --- a/modules/notify/notify.c
> > +++ b/modules/notify/notify.c
> > @@ -172,8 +172,11 @@ static int ItemChange( vlc_object_t *p_this, const
> > char *psz_var,
> >
> > /* Playing something ... */
> > input_item_t *p_input_item = input_GetItem( p_input );
> > + /* Checking for click on directories*/
> > + if(!input_item_GetDuration(p_input_item) > 0){
> > + return VLC_SUCCESS;
> > + }
> > psz_title = input_item_GetTitleFbName( p_input_item );
> > -
> > /* We need at least a title */
> > if( EMPTY_STR( psz_title ) )
> > {
> > --
> > 2.1.4
>
> > _______________________________________________
> > vlc-devel mailing list
> > To unsubscribe or modify your subscription options:
> > https://mailman.videolan.org/listinfo/vlc-devel
>
>
> --
> With my kindest regards,
>
> --
> Jean-Baptiste Kempf
> http://www.jbkempf.com/ - +33 672 704 734
> Sent from my Electronic Device
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20160317/87feec08/attachment.html>
More information about the vlc-devel
mailing list