On Jan 7, 2008 3:12 PM, Jonathan Isom <[EMAIL PROTECTED]> wrote:
>
> It does occur to me that 2 record servers could be run on the same
> computer. Multiple accounts would be needed
> and a user could user the web interface to set recordings on the
> second card. obviously freevo would not detect recording to the same
> file but freevo might work fine . going to try this later.
Well, I think I have this working. the config for the second
record/web server is attached.
this config has almost everthing but what is need to record. I
appended a record number
to both servers so it won't write to the same file but this would only
happen if you select to
record the same show at the same time. This is using dvbstreamer btw.
Not sure if all the
*_PORT are required but it can't hurt.
Later
Jonathan
#if 0
# -----------------------------------------------------------------------
# freevo_config.py - System configuration
# -----------------------------------------------------------------------
# $Id: local_conf.py.example,v 1.37.2.4 2005/01/09 10:45:55 dischi Exp $
#
# Notes:
# This file contains the freevo settings. To change the settings
# you can edit this file, or better, put a file named local_conf.py
# # in the same directory and add your changes there. E.g.: when
# you # want a alsa as mplayer audio out, just put
# "MPLAYER_AO_DEV = # 'alsa9'" in local_conf.py
#
# This is no normal config file, it's Python code. Because of that, you
# need to follow some rules to avoid crashes. The examples should explain
# the settings, but make sure a line starting with a variable has
# NO SPACES OR TABS at the beginning.
#
#
# -----------------------------------------------------------------------
# Freevo - A Home Theater PC framework
# Copyright (C) 2002 Krister Lagerstrom, et al.
# Please see the file freevo/Docs/CREDITS for a complete list of authors.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MER-
# CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# -----------------------------------------------------------------------
#endif
CONFIG_VERSION = 5.22
CONFIG_EDIT_FILE = '/home/freevo/.freevo/local_conf.py'
# ======================================================================
# General freevo settings:
# ======================================================================
MAJOR_AUDIO_CTRL = 'PCM' # Freevo takes control over one audio ctrl
TV_AUDIO_CTRL = 'PCM' # 'VOL', 'PCM' 'OGAIN' etc.
MIXER_CONTROL_ALL = 0 # Should Freevo take complete control of audio
MIXER_VOLUME_MAX = 92 # Set what you want maximum volume level to be.
MIXER_VOLUME_DEFAULT= 50 # Set default volume level.
MIXER_VOLUME_TV_IN = 45 # Set this to your preferred level 0-100.
MIXER_VOLUME_STEP = 2
DEFAULT_PCM_VOLUME = 50
DEFAULT_SUR_VOLUME = 50
DEFAULT_CTR_VOLUME = 50
DEFAULT_LFE_VOLUME = 50
MAX_VOLUME = 92
START_FULLSCREEN_X = 0 # Start in fullscreen mode if using x11 or xv.
IMAGEVIEW_ASPECT = 1.3333
SHUTDOWN_CONFIRM = 1 # ask before shutdown
MPLAYER_VERSION = "1.0.0"
XINE_VERSION = "99.5"
VLC_VERSION = "0.9.0"
VIDEO_AUTOJOIN = 0
OVERLAY_DIR = '/MultiMedia/Freevo/Cache1/Overlay'
FREEVO_CACHEDIR = "/MultiMedia/Freevo/Cache1"
TV_RECORD_SCHEDULE = ("%s/record_schedule.xml" % FREEVO_CACHEDIR)
XMLTV_FILE = '/tmp/TV.xml'
#ROM_DRIVES = [ ('/mount/dvd', '/dev/dvd','dvd player')]
TV_TIMEFORMAT = '%I:%M %p'
CLOCK_FORMAT = "%a %d %I:%M %p"
USE_NETWORK = 0
#
UMASK = 022
#--------------------------------------------------
#plugin.activate('tv.dvbstreamer.vlc_http_live_pause')
DVBCTRL_COMMAND = '/usr/local/bin/dvbctrl'
#LIVE_PAUSE_BUFFER_PATH = '/MultiMedia/Video/Pause/live.buf' # Location of the file to use for pausing live TV
LIVE_BUFFER_SIZE=(22.00,30 * 60) # Size of the live buffer as a tuple of max Mbps of the TV and seconds, default 6.25Mbps and 30 minutes.
plugin.remove('tv.generic_record')
plugin_record = plugin.activate('tv.dvbstreamer.record')
plugin.remove('audio')
plugin.remove('games')
plugin.remove('image')
plugin.remove('video')
plugin.remove('audio.detach')
plugin.remove('headlines')
plugin.remove('rom_drives.rom_items')
plugin.remove('shutdown')
plugin.remove('ejectromdrives')
plugin.remove('file_ops')
plugin.remove('video.bookmarker')
plugin.remove('video.imdb')
plugin.remove('audio.detachbar')
plugin.remove('idlebar')
plugin.remove('mixer')
plugin.remove('rom_drives.autostart')
plugin.remove('tiny_osd')
plugin.remove('audio.mplayer')
plugin.remove('audio.xine')
plugin.remove('tv.mplayer')
plugin.remove('tv.view_recordings')
plugin.remove('video.mplayer')
plugin.remove('video.xine')
plugin.remove('idlebar.clock')
plugin.remove('idlebar.diskfree')
plugin.remove('idlebar.cdstatus')
plugin.remove('idlebar.progactive')
plugin.remove('idlebar.tv')
#--------------------------------------------------
VIDEO_ITEMS = [ ('Recordings' ,'/MultiMedia/Video/Recordings')]
TV_RECORD_DIR = '/MultiMedia/Video/Recordings/'
TV_RECORD_FILE_MASK = '%%Y %%m %%d %%a %%H:%%M %(progname)s - %(title)s recorder1'
TV_RECORD_PADDING_PRE = 0
TV_RECORD_PADDING_POST = 0
TV_RECORD_FILE_SUFFIX= '.ts'
TV_VIDEO_GROUPS = [
# Use this group for watching tv
VideoGroup(vdev='1',
group_type='dvb',
desc='recordserver 2',
record_group=0),
]
TV_CHANNELS = [('02a5.03e1.0003', '3-1 WCIA-DT', '02a5.03e1.0003'),
('02a5.03e1.0004', '3-2 WCFN-DT', '02a5.03e1.0004'),
('00bd.0435.0003', '12-1 WILL-HD', '00bd.0435.0003'),
('00bd.0435.0004', '12-2 WILLSD1', '00bd.0435.0004'),
('00bd.0435.0005', '12-3 WILLSD2', '00bd.0435.0005'),
('027b.03e3.0003', '15-1 WICD-DT', '027b.03e3.0003'),
('01f1.03fb.0003', '17-1 WAND-DT', '01f1.03fb.0003'),
('01f1.03fb.0004', '17-2 WAND-SD', '01f1.03fb.0004'),
('0209.0004.0003', '23-1 WBUI HD', '0209.0004.0003'),
('0209.0004.0004', '23-2 WBUI SD', '0209.0004.0004'),
('0221.0437.0003', '27-1 WCCU-DT', '0221.0437.0003') ]
#
WEBSERVER_PORT = 8081
#
# Username / Password combinations to login to the web interface.
#
WWW_USERS = { "user" : "password"}
#
ENABLE_NETWORK_REMOTE = 1
REMOTE_CONTROL_TCP_HOST = '127.0.0.1'
REMOTE_CONTROL_TCP_PORT = 16331
REMOTE_CONTROL_PORT = 16330
# RECORDSERVER PORTS
RECORDSERVER_IP = '127.0.0.1'
RECORDSERVER_PORT = 18032
RECORDSERVER_PORT2 = 18033
RECORDSERVER_SECRET= 'this is a test ;'
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users