Difference between revisions of "PrevueCLI"

From Prevue Guide Wiki
Jump to navigation Jump to search
m
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''PrevueCLI''' is a software created by AriX that sends listings data to the [[Prevue (ESQ)|Amiga]], [[EPG Sr.|Commodore]], and [[PC Prevue]] versions of the Prevue Guide software. The software can convert curday.dat files to CSV listings, as well as convert XMLTV based program information to a readable format by the Prevue software. The latest release of PrevueCLI [https://ariweinstein.com/prevue/viewtopic.php?p=24123#p24123 can be found here on the forums].
+
'''PrevueCLI''' is a tool that sends listings data to the [[Prevue (ESQ)|Amiga]], [[EPG Sr.|Commodore]], and [[PC Prevue]] versions of the Prevue Guide software. The software can convert curday.dat files to CSV listings, as well as convert XMLTV based program information to a readable format by the Prevue software.
  
The software currently supports Windows, macOS, and Linux (amd64) hosts.
+
The software currently supports [http://prevueguide.com/Tools/PrevuePackage/PrevueCLI-2.1.1-Windows.zip Windows], [http://prevueguide.com/Tools/PrevuePackage/PrevueCLI-2.1.1-Mac.zip macOS], and [http://prevueguide.com/Tools/PrevuePackage/PrevueCLI-2.1.1-Linux.tar.gz Linux] (amd64) hosts.
  
 
= Overview =
 
= Overview =
Line 17: Line 17:
 
|Converts a curday.dat file to the channels.csv and programs.csv listings format (this can unpack PowerPack 2.0 if necessary)
 
|Converts a curday.dat file to the channels.csv and programs.csv listings format (this can unpack PowerPack 2.0 if necessary)
 
|-
 
|-
|<code>convertXMLTVToListings <xmltv file> <directory to save .csv listings files></code>
+
|<code>convertXMLTVToListings <xmltv file> <directory to save .csv listings files> [max channel number]</code>
|Converts an XMLTV file to the channels.csv and programs.csv listings format
+
|Converts an XMLTV file to the channels.csv and programs.csv listings format. If no max channel number is specified, the default is 100.
 
|-
 
|-
 
|<code>convertCommandFileToBinary <.prevuecommand file> <binary commands file></code>
 
|<code>convertCommandFileToBinary <.prevuecommand file> <binary commands file></code>

Latest revision as of 22:43, 4 July 2023

PrevueCLI is a tool that sends listings data to the Amiga, Commodore, and PC Prevue versions of the Prevue Guide software. The software can convert curday.dat files to CSV listings, as well as convert XMLTV based program information to a readable format by the Prevue software.

The software currently supports Windows, macOS, and Linux (amd64) hosts.

Overview

PrevueCLI simulates the 2400 baud data feed sent over satellite to Prevue Guide units. Listings are either generated from XMLTV files, or created manually by following the CSV format. Configuration information is stored within PrevueCommand files, and can be customized for different units. At this time, listings can be sent over a TCP connection to programs like WinUAE, or over a serial connection. At this time, serial data is limited to macOS only.

Command Line Flags

Command Line Parameter Description
send <.prevuecommand file> Sends the commands in the specified .prevuecommand file
convertCurdayDatToListings <curday.dat file> <directory to save .csv listings files> Converts a curday.dat file to the channels.csv and programs.csv listings format (this can unpack PowerPack 2.0 if necessary)
convertXMLTVToListings <xmltv file> <directory to save .csv listings files> [max channel number] Converts an XMLTV file to the channels.csv and programs.csv listings format. If no max channel number is specified, the default is 100.
convertCommandFileToBinary <.prevuecommand file> <binary commands file> Converts the commands in the specified .prevuecommand file to their satellite data representation
convertBinaryToCommandFile <binary commands file> <.prevuecommand file> Converts commands in satellite data format to a .prevuecommand file
printCommandSchema Prints all of the supported commands and their syntax details
printJulianDay Prints today's Julian day (0-255)
help Prints this help