Can yo do it please? So we keep all this changes in your branch.


2013/4/18 Fabricio Costa Alisedo <notifications@github.com>

> In mosto.js:
>
> > @@ -27,16 +58,30 @@ function mosto(configFile) {
> >                  return true;
> >              }
> >          });
> > -        playlist.loaded = self.playlists[i].loaded;
> > -        self.playlists[i] = playlist;
> > -        console.log("mbc-mosto: [INFO] Updated playlist:\nid: " + playlist.id
> > -                + "\nname: " + playlist.name
> > -                + "\nstartDate: " + playlist.startDate
> > -                + "\nendDate: " + playlist.endDate);
> > +
> > +        //update may create if needed
> > +        //TODO: chech time window: startDate-endDate
> > +        if (i==-1) {
> > +            self.playlists.push(playlist);
> > +        } else {
> > +            playlist.loaded = self.playlists[i].loaded;
>
> I dont use it anymore. Remove.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/inaes-tic/mbc-mosto/pull/69/files#r3860373>
> .
>