Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Binary files nexdef2010//MLBviewer/config.pyc and mlbtesting//MLBviewer/config.pyc differ
- Binary files nexdef2010//MLBviewer/__init__.pyc and mlbtesting//MLBviewer/__init__.pyc differ
- Binary files nexdef2010//MLBviewer/LIRC.pyc and mlbtesting//MLBviewer/LIRC.pyc differ
- Binary files nexdef2010//MLBviewer/mlbprocess.pyc and mlbtesting//MLBviewer/mlbprocess.pyc differ
- diff -crB nexdef2010//MLBviewer/mlbtv.py mlbtesting//MLBviewer/mlbtv.py
- *** nexdef2010//MLBviewer/mlbtv.py 2011-03-14 16:27:04.000000000 -0500
- --- mlbtesting//MLBviewer/mlbtv.py 2011-03-14 22:33:46.000000000 -0500
- ***************
- *** 41,47 ****
- #DEBUG = None
- #from __init__ import AUTHDIR
- ! DEFAULT_F_RECORD = 'rtmpdump -f \"LNX 10,0,22,87\" -o %f -r %s'
- AUTHDIR = '.mlb'
- COOKIEFILE = os.path.join(os.environ['HOME'], AUTHDIR, 'cookie')
- --- 41,47 ----
- #DEBUG = None
- #from __init__ import AUTHDIR
- ! DEFAULT_F_RECORD = 'echo %s > /mnt/media/Baseball/mlbtv.strm'
- AUTHDIR = '.mlb'
- COOKIEFILE = os.path.join(os.environ['HOME'], AUTHDIR, 'cookie')
- ***************
- *** 1594,1615 ****
- rec_cmd_str = rec_cmd_str.replace('%f', '-')
- rec_cmd_str = rec_cmd_str.replace('%s', '"' + streamurl + '"')
- if self.play_path is not None:
- ! rec_cmd_str += ' -y "' + str(self.play_path) + '"'
- if self.app is not None:
- ! rec_cmd_str += ' -a "' + str(self.app) + '"'
- if self.use_soap:
- ! rec_cmd_str += ' -s http://mlb.mlb.com/flash/mediaplayer/v4/RC91/MediaPlayer4.swf?v=4'
- if self.tc_url is not None:
- ! rec_cmd_str += ' -t "' + self.tc_url + '"'
- if self.sub_path is not None:
- ! rec_cmd_str += ' -d ' + str(self.sub_path) + ' -v'
- if self.rtmp_host is not None:
- rec_cmd_str += ' -n ' + str(self.rtmp_host)
- if self.rtmp_port is not None:
- rec_cmd_str += ' -c ' + str(self.rtmp_port)
- if self.start_time is not None and self.streamtype != 'audio':
- if self.use_nexdef == False:
- ! rec_cmd_str += ' -A ' + str(self.start_time)
- self.log.write("\nDEBUG>> rec_cmd_str" + '\n' + rec_cmd_str + '\n\n')
- return rec_cmd_str
- --- 1594,1615 ----
- rec_cmd_str = rec_cmd_str.replace('%f', '-')
- rec_cmd_str = rec_cmd_str.replace('%s', '"' + streamurl + '"')
- if self.play_path is not None:
- ! rec_cmd_str += ' playpath="' + str(self.play_path) + '"'
- if self.app is not None:
- ! rec_cmd_str += ' app="' + str(self.app) + '"'
- if self.use_soap:
- ! rec_cmd_str += ' swfurl=http://mlb.mlb.com/flash/mediaplayer/v4/RC91/MediaPlayer4.swf?v=4'
- if self.tc_url is not None:
- ! rec_cmd_str += ' tcurl="' + self.tc_url + '"'
- if self.sub_path is not None:
- ! rec_cmd_str += ' subscribe=' + str(self.sub_path) + ' live=1'
- if self.rtmp_host is not None:
- rec_cmd_str += ' -n ' + str(self.rtmp_host)
- if self.rtmp_port is not None:
- rec_cmd_str += ' -c ' + str(self.rtmp_port)
- if self.start_time is not None and self.streamtype != 'audio':
- if self.use_nexdef == False:
- ! rec_cmd_str += ' start=' + str(self.start_time)
- self.log.write("\nDEBUG>> rec_cmd_str" + '\n' + rec_cmd_str + '\n\n')
- return rec_cmd_str
- Binary files nexdef2010//MLBviewer/mlbtv.pyc and mlbtesting//MLBviewer/mlbtv.pyc differ
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement