Dear Wiki user, You have subscribed to a wiki page or wiki category on "Freevo Wiki" for change notification.
The following page has been changed by 66.167.187.2: http://freevo.sourceforge.net/cgi-bin/moin.cgi/DocumentationPage ------------------------------------------------------------------------------ @@ -122,11 +122,13 @@ If you're too lazy to edit freevo_config.py manually, and you have a /tmp/TV.xml file downloaded, here's a small shell script which will generate the TV channels for you. You can then change the order or make corrections to the naming. {{{ -# cat /tmp/TV.xml | grep "id=" | awk '{FS="\""; a=a+1; print "(\x27" $2 "\x27, " "\x27" $2 "\x27, \x27" a "\x27),"}' +# cat /tmp/TV.xml | grep "id=" | awk '{FS="\""; a=a+1; print "(\x27" $2 "\x27, " \ +"\x27" $2 "\x27, \x27" a "\x27),"}' }}} or, alternatively, to create a sorted list: {{{ -# grep "<channel id=" /tmp/TV.xml | sed -e 's#^.*<channel id="\([^"]\+\)">#\1#g' | sort -n | awk '{a=a+1; printf("(\x27%s\x27, \x27%s\x27, \x27%s\x27),\n", $0, $0, a)}' +# grep "<channel id=" /tmp/TV.xml | sed -e 's#^.*<channel id="\([^"]\+\)">#\1#g' \ +| sort -n | awk '{a=a+1; printf("(\x27%s\x27, \x27%s\x27, \x27%s\x27),\n", $0, $0, a)}' }}} ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Freevo-wikilog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-wikilog
