[MPlayer-dev-eng] [PATCH] TV auto scan and channel list in file

Nico Sabbi nsabbi at email.it
Thu Aug 23 21:51:42 CEST 2007


Vladimir Voroshilov wrote:

>Hi, Reimar
>
>2007/8/24, Reimar Döffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de>:
>  
>
>>Hello,
>>On Fri, Aug 17, 2007 at 03:48:07AM +0200, ?tv?s Attila wrote:
>>    
>>
>>>This patch implement automatic scan TV channels with -tvscan option.
>>>This patch implement TV channel list store to XML file and mplayer read or
>>>write this file.
>>>      
>>>
>>I forgot to say:
>>IMO you absolutely can't use the asx parser code. ASX is not necessarily
>>valid XML and we might have to adapt the parser for newer asx versions
>>that might completely break the way you use it here.
>>
>>    
>>
>
>Is XML config preferred?
>  
>

absolutely not: overly complex, extremely stupid and source
of dependency on libxml & co.

>What about xawtv-like config file?
>It is much easy to parse, imho, even with floating [defaults] and
>[global] sections ("floating" means that this sections can be e.g.last
>sections of file)
>
>Fixed order of sections: 1-global,2-defaults, other-channels will make
>parsing more simple. What will you say about such restriction?
>  
>
agree




More information about the MPlayer-dev-eng mailing list