[Freevo-users] Recordserver problem

2005-09-29 Thread Henrik Farre
I can't get Freevo to record anything. Live TV works fine with MPlayer,
but the recordserver only produces a *.fxd file but no recording.

Output from recordserver-1000.log and my /etc/freevo/local_conf.py is
attached.

-- 
Mvh. / Kind regards
Henrik Farre - http://www.rockhopper.dk
2005/09/29 15:40 CEST [*RecordServer*] Recorder::Record: 2005-09-29 15:40 to 2005-09-29 15:45  001.tv.tv2.dk Manuel optagelse
2005/09/29 15:40 CEST [*RecordServer*] Record_Thread::run: mode=record
2005/09/29 15:40 CEST [*RecordServer*] Record_Thread::run: started recording
2005/09/29 15:40 CEST [*RecordServer*] CHAN: K11
2005/09/29 15:40 CEST [*RecordServer*] Video Opened at /dev/video0
2005/09/29 15:40 CEST [*RecordServer*] Setting Input to 6
2005/09/29 15:40 CEST [*RecordServer*] Setting Channel to K11
2005/09/29 15:40 CEST [*RecordServer*] USING CUSTOM FREQUENCY: chan=K11, freq=217250
2005/09/29 15:40 CEST [*RecordServer*] Video Opened at /dev/video0
2005/09/29 15:40 CEST [*RecordServer*] Driver: ivtv
2005/09/29 15:40 CEST [*RecordServer*] Card: WinTV PVR 150
2005/09/29 15:40 CEST [*RecordServer*] Version: 777
2005/09/29 15:40 CEST [*RecordServer*] Capabilities: 17235985
2005/09/29 15:40 CEST [*RecordServer*] Enumerating supported Standards.
2005/09/29 15:40 CEST [*RecordServer*]   0: 0x3000 NTSC
2005/09/29 15:40 CEST [*RecordServer*]   1: 0xff PAL
2005/09/29 15:40 CEST [*RecordServer*]   2: 0x7f SECAM
2005/09/29 15:40 CEST [*RecordServer*] Current Standard is: 0xff
2005/09/29 15:40 CEST [*RecordServer*] Enumerating supported Inputs. 
2005/09/29 15:40 CEST [*RecordServer*]   0: S-Video 0
2005/09/29 15:40 CEST [*RecordServer*]   1: S-Video 1
2005/09/29 15:40 CEST [*RecordServer*]   2: Composite 0
2005/09/29 15:40 CEST [*RecordServer*]   3: Composite 1
2005/09/29 15:40 CEST [*RecordServer*]   4: Composite 2
2005/09/29 15:40 CEST [*RecordServer*]   5: Composite 3
2005/09/29 15:40 CEST [*RecordServer*]   6: Tuner 0
2005/09/29 15:40 CEST [*RecordServer*]   7: Tuner 1
2005/09/29 15:40 CEST [*RecordServer*] Input: 6
2005/09/29 15:40 CEST [*RecordServer*] Exception in thread Thread-1:Traceback (most recent call last):
2005/09/29 15:40 CEST [*RecordServer*]   File /usr/lib/python2.3/threading.py, line 442, in __bootstrap
2005/09/29 15:40 CEST [*RecordServer*] self.run()
2005/09/29 15:40 CEST [*RecordServer*]   File /usr/lib/python2.3/site-packages/freevo/tv/plugins/ivtv_record.py, line 160, in run
2005/09/29 15:40 CEST [*RecordServer*] if DEBUG: v.print_settings()
2005/09/29 15:40 CEST [*RecordServer*]   File /usr/lib/python2.3/site-packages/freevo/tv/ivtv.py, line 139, in print_settings
2005/09/29 15:40 CEST [*RecordServer*] tv.v4l2.Videodev.print_settings(self)
2005/09/29 15:40 CEST [*RecordServer*]   File /usr/lib/python2.3/site-packages/freevo/tv/v4l2.py, line 316, in print_settings
2005/09/29 15:40 CEST [*RecordServer*] (buf_type, width, height, pixelformat, field, bytesperline,
2005/09/29 15:40 CEST [*RecordServer*]   File /usr/lib/python2.3/site-packages/freevo/tv/v4l2.py, line 247, in getfmt
2005/09/29 15:40 CEST [*RecordServer*] r = fcntl.ioctl(self.device,GET_FMT_NO,val)
2005/09/29 15:40 CEST [*RecordServer*] IOError: [Errno 22] Invalid argument
2005/09/29 15:41 CEST [*RecordServer*] in checkToRecord
CONFIG_VERSION = 5.14

CHILDAPP_DEBUG = 1 
DEBUG = 1

MAJOR_AUDIO_CTRL= 'PCM'   # Freevo takes control over one audio ctrl
CONTROL_ALL_AUDIO   = 1   # Should Freevo take complete control of audio
MAX_VOLUME  = 90  # Set what you want maximum volume level to be.
DEFAULT_VOLUME  = 84  # Set default volume level.
DEV_MIXER   = ''# mixer device 
START_FULLSCREEN_X  = 1   # Start in fullscreen mode if using x11 or xv.
ROM_DRIVES = [ ('/mnt/cdrom', '/dev/cdrom', 'DVD') ]
HIDE_UNUSABLE_DISCS = 1   
ROM_SPEED = 8
CONFIRM_SHUTDOWN= 1   # ask before shutdown
ENABLE_SHUTDOWN_SYS = 0
SHUTDOWN_SYS_CMD = 'sudo /sbin/shutdown -h now'
RESTART_SYS_CMD  = 'sudo /sbin/shutdown -r now'
MENU_ARROW_NAVIGATION = 1
USE_NETWORK = 1
UMASK = 002
MMPYTHON_CREATE_MD5_ID = 1
MEDIAINFO_USE_MEMORY   = 1
CACHE_IMAGES = 1


plugin.remove('tv.generic_record')
plugin_record = plugin.activate('tv.ivtv_record')

plugin.remove('audio.mplayer')

plugin.activate('headlines', level=45) 
HEADLINES_LOCATIONS = [ ('Slashdot', 'http://slashdot.org/index.rss') ] 

plugin.activate('video.appletrailers')
plugin.activate( 'idlebar' ) 
plugin.activate( 'idlebar.logo', level=5 )
plugin.activate( 'idlebar.clock', level=50, args=('%a %m %d %H:%M') )
plugin.activate( 'audio.coversearch', args=('0XXEP25NFRDV7MHWGB02'))

plugin.activate('audio.cdbackup') 
AUDIO_BACKUP_DIR = '/home/freevo/Music/' 
CD_RIP_PN_PREF= '%(artist)s/%(album)s/%(song)s' 
CDPAR_CMD = 'cdparanoia' 
LAME_CMD = 'lame' 
CD_RIP_LAME_OPTS = '-h --abr 160 --vbr-new' 
   
IMDB_REMOVE_FROM_LABEL = ('season[\._ -][0-9]+', 'disc[\._ -][0-9]+', 'd[\._ -][0-9]+', 'german', 'cd[\._ 

Re: [Freevo-users] Recordserver problem

2005-09-29 Thread Robert Winder
On Thursday, September 29, 2005, 7:43:15 PM, freevo-users wrote:

 I can't get Freevo to record anything. Live TV works fine with MPlayer,
 but the recordserver only produces a *.fxd file but no recording.

 Output from recordserver-1000.log and my /etc/freevo/local_conf.py is
 attached.


Comment DEBUG=1 and try to record again. Long time ago but IRC DEBUG
has to be disabled to record something with a ivtv card with 1.5.3.


/Robert 



---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] tvtime tuning troubles

2005-09-29 Thread Scott Serr

Sunil Goda wrote:


 Hi.  I can use tvtime outside of freevo to watch TV just fine, but
I'm having trouble getting it to tune correctly channel when using the
TV guide in freevo.  I'm using tvtime 1.0.1 and freevo 1.5.3.  When I
press enter on a particular entry in the TV guide (for a show
currently playing), this is the command that is used to launch tvtime:

ChildApp.__init__(), pid=3714, app= /usr/bin/tvtime  -k -I 640 -n NTSC
-d /dev/video0 -f freevo -c 0 -i 0 -M, poll=-1

 The problem(s) are two-fold.  First, it is passing a -f freevo
command when it should be -f us-cable.  Second, the actual channel
being passed -c 0 is lower by a variable amount than the channel
that should be passed.  For example, if I choose the lowest channel
number that I can tune into (channel 2), then the argument to tvtime
should be -c 2 (which works from the command line), but -c 0 is
being passed.

 The relevant line in tvtime.py is (I believe):

command = '%s %s -k -I %s -n %s -d %s -f %s -c %s -i %s' % (config.TVTIME_CMD,
  outputplugin,
  w,
  s_norm,
  cf_device,
  'freevo',
  mychan,
  cf_input)
 

I don't know how tvtime works but... with mplayer TV passthrough in the 
local_conf.py you just use the variable channel not mychan.  Check 
the comments in the VCR_CMD section of the config file.


For us-cable that should be pulled from the freevo.conf.  It's 
accessible in local_conf.py by using the variable chanlist.


-Scott


 I can easily change the 'freevo' to 'us-cable', but I'm not sure how
to get the channels to work properly.  I tried looking through the
mailing list archives, but I didn't see anything that solved my
problem.

 Thanks,
   Sunil


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users
 





---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users