2006/11/26, Christopher Michael <[EMAIL PROTECTED]>:
>
> Oliver,
>
> Try this :)
>
>
> _isound_cb_check(inst);
> if(!check_timer)
>         check_timer = ecore_timer_add(1.0, _isound_cb_check, inst);
>
>
>
> > static int _isound_cb_check(void *data) {
> >       Instance *inst;
> >       mpd_Song *song;
> >       char buf[1024];
> >
>         inst = data;
> >       mpd_status_update(mo);
> >       song = mpd_playlist_get_current_song(mo);
> >       snprintf(buf, sizeof(buf), "%s - %s" ,
> >                       song->artist, song->title);
> >       edje_object_part_text_set(inst->isound,"song",buf);
> >
> >     return 1;
> > }
>
> Cheers,
> devilhorns
>
>

Thank you so much ;-)

Olivier
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to