input: es_out: store and refactor meta in programs
input: es_out: store and refactor meta in programs

Avoids losing metadata when program isn't current

xkfz007/vlc,xkfz007/vlc,xkfz007/vlc,xkfz007/vlc,xkfz007/vlc,xkfz007/vlc,xkfz007/vlc