Ipg Converter

IPG Data Converter (version 0.79) Features:

  • Conversion of Cisco/SA IPG Data files into Videotron EPG Data files.
  • Supports program time Overlap Analysis for both Cisco and Videotron data.
  • Supports Command Line Interface (CLI) or Graphical User Interface (GUI).
  • Script works on Linux and Windows with Python 2.5, 2.6, 2.7, or Portable Python.
  • Web help at Cisco Internal WikiCentral and Internet IrTek Wik.
  • Please watch the Screencast Video!

GUI Usage

Window Areas

  • Right Side File List - Working directory for Cisco/SA IPG data files.
  • Left Side File List - Working directory for Videotron EPG data files.
  • Bottom Output Console - Shows information, warnings, and errors.
  • * ecm logger

Buttons

  • Convert Cisco to Videotron => - Converts Cisco/SA IPG data files into Videotron EPG data files.
  • Conversion: See Messages - See the information, warnings, and errors from the last Conversion.
  • Conversion: Save Messages - Save the information, warnings, and errors from the last Conversion.
  • Overlap: Run Analysis … - Runs the Overlap Analysis on one or more selected text files.
  • Overlap: See Messages - See the information, warnings, and errors from the last Overlap Analysis.
  • Overlap: Save Messages - Save the information, warnings, and errors from the last Overlap Analysis
  • Configure: Editor - Select and save to Config file, the text editor you wish to use.
  • Configure: Set Cisco Dir. - Select and save to Config file, the Cisco Directory to work in.
  • Configure: Set Videotron Dir. - Select and save to Config file, the Videotron Directory to work in.
  • Un GZip to Text File - Does an Un-GZip to a Cisco Text file.
  • GZip a Text File - Does a GZip to a Cisco GZipped file.
  • Zip extract all - Does an Un-Zip extraction on a Videotron Zipped file.
  • Zip a group of files - Does a Zip compression on a set of Videotron Text files.
  • Edit a File - Edit files(s).
  • Rename a File - Rename files(s).
  • Copy a File - Copy files(s).
  • Delete File(s) - Delete files(s).
  • Clear Bottom output - Clear output console.
  • Refresh Lists - Refresh directory lists
  • Web Help Opens to browser internal or external help web pages (like this one).

CLI Usage

  • Use -c option to specify Cisco/SA IPG data file.
  • Use -v option to specify Videotron EPG data directory.
  • Use -w1 option to also see Warnings.
  • Use -o1 option to do Overlap Analysis instead of *Conversion*.
    • The -v option then specifies a file, not a directory.
    • Use either -c or -v options but not both.
    • Use text files for Overlap Analysis.

Examples:

Windows:

> ipg_converter_cli.py -c     IPG_Files_Cisco/vtwo032811.dat.gz -v IPG_Files_Videotron
> ipg_converter_cli.py -c -w1 IPG_Files_Cisco/vtwo032811.dat.gz -v IPG_Files_Videotron
> ipg_converter_cli.py -o1 -c IPG_Files_Cisco/vtwo032811.dat
> ipg_converter_cli.py -o1 -v IPG_Files_Videotron/epg-20110328-0000

Linux:

# python ipg_converter_cli.py -c IPG_Files_Cisco/vtwo032811.dat.gz -v IPG_Files_Videotron

Installation

Windows XP, Windows 7

  • Download the IPG Converter 0.79 Win Portable Package.
  • UnZip this file at the root of any hard drive or USB drive, like at C:\a_py_ipg
  • Right click the \a_py_ipg\IPG_Converter.bat file and make a shortcut for it.
  • You can drag the shortcut to your Workbench screen.
  • Double click the shortcut or the batch file.
  • If you move the a_py_ipg directory, run \a_py_ipg\Run_If_Moved.bat to clean the pre-compiles.
  • Please watch the Screencast Video!

Linux

  • Download the IPG Converter 0.79 Linux Win Package.
  • Place the pytronix directory anywhere you want.
  • Install wxPython if you do not already have it, yum command on Fedora Linux.
  • Run with Python the script ipg_converter.py for the GUI version
  • Examples:
Linux:
# yum -y install wxPython

# cd [...]/pytronix/apps/ipg
# python ipg_converter.py

Versions

Version 0.70

  • Date 4/12/2011, first official release.
  • Changes can be made per requirements of data formats.
  • Changes can be made per test automation integration.

Version 0.71

  • Date 4/12/2011, turned ON Call Letters field truncation to 5 characters option.

Version 0.79

  • Date 10/17/2011, changes to data to get the Series Recordings to work

Discussion

Please feel free to add your own discussion notes in this area!

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License