Hi,

The problem is that VCR_CMD uses the channel from TV_CHANNELS which is what
tvtime uses, but I need somehow to translate the channel to an mplayer 
compatible one.

Ie. TV_CHANNELS has S13, which is OK for tvtime but really should be SE13.

If I change it to SE13 then recording is ok but tvtime is not. I 
couldn't figure out how to bodge tvtime.py to accept SE13 so I added the 
frequencies to freq.py and changed VCR_CMD to use frequency instead of 
channel, but that is not working: recordserver error "Unable to get 
channel list for EUROPE".

I had a look at tvtime.py line 357 and there are no europe entries, 
which might correspond to the recordserver error "Unable to get channel 
list for EUROPE".

Hmmmmm

Amadeus

Duncan Webb wrote:
> Amadeus Stevenson wrote:
>   
>> I updated the wiki (section WinFast Expert in TV config) with a script 
>> that handles this behaviour, although it's ugly it works.
>>
>> Integrating freq.py would save a lot of time; but I don't know how to do it.
>>
>> Enough for now from me;
>>
>> Amadeus
>>
>> John Molohan wrote:
>>   
>>     
>>> Amadeus Stevenson wrote:
>>>   
>>>     
>>>       
>>>> Hello,
>>>>
>>>> With the help of the v4l mailing list I can now get mplayer to record my 
>>>> television programs with sound on my Winfast Expert video card.
>>>>
>>>> There is a problem however; the following is my channel list as for use 
>>>> with tvtime:
>>>>
>>>> TV_CHANNELS = [
>>>>         ( "euronews", "Euronews", "S37"),
>>>>         ( "bbc1", "BBC1", "S13" ),
>>>>         ( "tf1", "TF1", "E6"),
>>>>         ( "france2", "France 2", "U24"),
>>>>         ( "france3", "France 3", "S5"),
>>>>         ( "arte", "Arte", "S16" ),
>>>>         ( "tv5", "TV5", "S17"),
>>>>         ( "la%20une", "La Une", "E7"),
>>>>         ( "la%20deux", "La Deux", "S15"),
>>>>         ( "kanaal2", "KanaalTwee", "S6"),
>>>>         ( "vt4", "VT4", "S12"),
>>>>         ( "tv1", "Een", "E5" ),
>>>>         ( "vtm", "VTM", "S11"),
>>>>         ( "ketnet", "ketnet", "E11"),
>>>>         ( "mtv", "MTV", "U26", ('1234567','1800','0559')),
>>>>         ( "mtv", "nickelodeon", "U26", ('1234567','0600','1759')) ] 
>>>>
>>>> However some of these channel names don't exist in freq.py (such as S13, 
>>>> U26) and mplayer/mencoder seems to use the same data as freq.py so I 
>>>> can't record some channels. The corresponding channel list using freq.py 
>>>> is:
>>>>
>>>> TV_CHANNELS = [
>>>>     ( "euronews", "Euronews", "S37"),
>>>>     ( "bbc1", "BBC1", "SE13" ),
>>>>     ( "tf1", "TF1", "E6"),
>>>>     ( "france2", "France 2", "24"),
>>>>     ( "france3", "France 3", "SE5"),
>>>>     ( "arte", "Arte", "SE16" ),
>>>>     ( "tv5", "TV5", "SE17"),
>>>>     ( "la%20une", "La Une", "E7"),
>>>>     ( "la%20deux", "La Deux", "SE15"),
>>>>     ( "kanaal2", "KanaalTwee", "SE6"),
>>>>     ( "vt4", "VT4", "SE12"),
>>>>     ( "tv1", "Een", "E5" ),
>>>>     ( "vtm", "VTM", "SE11"),
>>>>     ( "ketnet", "ketnet", "E11"),
>>>>     ( "canvas", "canvas", "E11"),
>>>>     ( "mtv", "MTV", "26", ('1234567','1800','0559')),
>>>>     ( "nickelodeon", "nickelodeon", "26", ('1234567','0600','1759')) ]
>>>>
>>>> Which works with mplayer.
>>>>
>>>> However, the mplayer channel list doesn't work with the tvtime list so I 
>>>> can choose either to watch tv or record it but not both using freevo!
>>>>
>>>> Is there a way I can specify two channel frequencies for a channel that 
>>>> are passed to viewing and recording apps?
>>>>
>>>> Otherwise I will modify my recording script to change the tvtime channel 
>>>> names before passing them onto mplayer, which is a bodge.
>>>>
>>>> Amadeus
>>>>   
>>>>     
>>>>       
>>>>         
>>> I've been using an ivtv card for a while so I'm a bit rusty on this. 
>>>  From what I remember this stems from the fact that tvtime uses a 
>>> separate it's own createChannelsLookupTables function instead of using 
>>> the freq.py file like the rest of the tv plugins. There's no way to use 
>>> two different sets of channels. I hacked the tvtime plugin a long time 
>>> ago to use freq.py and from what I remember I got it working but I could 
>>> be wrong. If you're stuck I can try dig out that copy and post it for 
>>> you to continue work on. It really should be patched to use freq.py and 
>>> if you can do it that would be great. One other method might be to just 
>>> use mplayer as your tv player but try the following option;
>>>
>>> # For pal and dvb-t recordings, the following looks good
>>> MPLAYER_VF_INTERLACED = 'pp=md/de,phase=U'
>>>
>>> Now I just checked the list and saw your next post so I guess this is 
>>> irrelevant :)
>>>   
>>>     
>>>       
>>>> ps. freevo still shows both sets of channels that are time dependent. Is 
>>>> there anyway to hide a channel when it isn't broadcasting?
>>>>   
>>>>     
>>>>       
>>>>         
>>> Haven't tried that feature so I'm not sure.
>>>       
> Don't know if the frequency table works with tvtime as I never use it 
> but it does work with mplayer.
>
> TV_CHANNELS = [
>     ('bbcprime.com', u'BBC Prime', 'K32', '', '0', '881'),
>     ('cnn.com', u'CNN Int.', 'S13'),
>     ('kika.de',       u'KiKa',    'K21', ('1234567','0600','2059')),
>     ('arte.de',       u'Arte',    'K21', ('1234567','2100','2359'),
>                                         ('1234567','0000','0559'), 0, 150),
>     ('C1.sfdrs.ch', u'SF 1', 'K05', '', '0', '777'),
>     ('C2.sfdrs.ch', u'SF 2', 'K10', '', '0', '777'),
> etc
>     ('webcam1', u'WebCam1', '0', '', '1'),
> ]
> NB
> The fifth parameter is the video group device
> The sixth parameter is the subtitle page for use with vbi2srt
> I've made the channel names Unicode for the ΓΌ in some channels
>
> FREQUENCY_TABLE = {
>     'K32' : 559250,
>     'S13' : 246250,
>     'K34' : 575250,
>     'K21' : 471250,
>     'K05' : 175500,
>     'K10' : 211000,
> etc
>     'S06' : 140250,
> }
>
> HTH
> Duncan
>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Freevo-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>
>   

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to