Batch Processor

From ARGUS TV Wiki
Revision as of 06:45, 22 December 2012 by Christoph21x (Talk | contribs)

Jump to: navigation, search
ICN CONSTR RED.PNG Under Construction
This article is right now under construction. It may be only partly readable. Please do not touch any of the content at the moment - please visit this page later again.


This is a tool set to perform various tasks on the ArgusTV database(s).

List of Commands

Please find a list of commands, description of the parameters/arguments and examples below.

Command Parameters/Arguments Example Description / Remarks
MyVideo
The ArgusTV file to process, this must be passed in UNC format.
ArgusYV.Batch.ProcessCommand.exe MyVideo\\htpc\recordings\Tom and Jerry 20010-02-24 1200.ts
This command creates a XML file which is compatable with MediaPortal My videos so the description of the recording will show up in mediaportal.

The example will create a file called Tom and Jerry 20010-02-24 1200.xml in the same folder as the recording with the info of the recording in MP XML format.


Command: Log This command writes all the parameters to the ArgusTV log. this can be used in the batch files to log that everything goes smooth in big batch files.

Arguments:

All arguments are writen to the ArgusTV log.

Example: ArgusTV.Batch.ProcessCommand.exe log "This is a test"

Will make one entry in the ArgusTV log with the text This is a test

Command: IsPartial This command can check if a recording is a partial recording. This will set ERRORLEVEL to 0 if the recording is full and to -1 if the recording is a partial.

Arguments:

The ArgusTV file to process, this must be passed in UNC format. Example: ArgusTV.Batch.ProcessCommand.exe IsPartial "\\htpc\recordings\Tom and Jerry 20010-02-24 1200.ts" ERRORLEVEL will be set to 0 as this recording is full (recorded from scheduled start to scheduled end).

Command: Rename Renames the reference to a recording in the ArgusTV database. The actual file will not be renamed.

Arguments:

The ArgusTV file to process, this must be passed in UNC format. The new file name which the file reference should be changed to.

Example: ArgusTV.Batch.ProcessCommand.exe rename "\\htpc\recordings\Tom and Jerry 20010-02-24 1200.ts" "\\htpc\recordings\Tom and Jerry.mpg"

This will change the file reference in ArgusTV. Command: Delete Deletes the reference to a recording in the ArgusTV database. It can also delete the file.

Arguments:

The ArgusTV file to process, this must be passed in UNC format. Delete the actual file: If you pass 1 then the referece and the file is delete, if you pass 0 the only the reference is removed.

Example: ArgusTV.Batch.ProcessCommand.exe delete "\\htpc\recordings\Tom and Jerry 20010-02-24 1200.ts" 0

This will delete the reference to the recording, but not the actual recording.

Command: Description

Creates a file with infomation from the ArgusTV database. The extension of the file must be passed as an argument so must what you want in the file.

Arguments:

The ArgusTV file to process, this must be passed in UNC format.

Extension: The extension of the new file. The name of the file is the same as the recording. The file will also be created in the same folder as the recording. What to write in the file: You write the whole string you want in the file here. Certain tags are replaced in the program. At the moment only 6 tags exist. {StartTime}{StopTime}{Description}{title}{EpisodeNumber}{SeriesNumber}

Example: ArgusTV.Batch.ProcessCommand.exe description "\\htpc\recordings\Tom and Jerry 20010-02-24 1200.ts" txt {starttime};{stoptime};{description}

This will create a file with the extension txt with the start time, stop time and the description of the show seperated with a semicolon(;)


List of Releases

  • 2.0.0.0: First release for ArugsTV


Download & Support

ICN WEB.PNG

Download:

Support:

  • Find support in the ARGUS TV Forum's Thread [the post ICN FORUM INLINE.PNG ARGUS TV Forum
Namespaces

Variants
Actions
Navigation
Toolbox