goto x command for lirc

Feature requests for VLC.
bery

goto x command for lirc

Postby bery » 30 Jan 2006 21:10

i use vlc for playing TV from our vlc streamig server - then I have 5 items in playlist and a want choose betwene them by pressing number on my remote controler[/list]

Albert
Cone that earned his stripes
Cone that earned his stripes
Posts: 102
Joined: 15 Mar 2006 08:17

Postby Albert » 16 Dec 2006 13:20

Hello,
I would like to ask developers for the same feature:

My idea: vlc receives lirc command, decodes the command (e.g. key-next)

lirc.c

Code: Select all

else if( !strcmp( c, "NEXT" ) ) { p_playlist = vlc_object_find( p_intf, VLC_OBJECT_PLAYLIST, FIND_ANYWHERE ); if( p_playlist ) { playlist_Next( p_playlist ); vlc_object_release( p_playlist ); } }
and moves to the next playlist item. So vlc could receice lirc command
(a number from remote control) and could use this number onto jump to this position in playlist (like goto in rc.c)

Code: Select all

else if (!strcmp( psz_cmd, "goto" ) ) { if( strlen( newval.psz_string ) > 0) { val.i_int = atoi( newval.psz_string ); playlist_Goto( p_playlist, val.i_int); } }
Could be done in this way?
Thanks
Albert


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 12 guests