#!/usr/bin/env kaptain # TagTheora.kaptn # A Kaptain based front-end for the the tagtheora.py script. # # Copyright (c) 2009 Hanspeter Niederstrasser # # 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 # MERCHANTABILITY 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, see . start "tagtheora" -> command buttons; command -> "/usr/bin/env python tagtheora.py " options; options :framed -> tags " " inputfile; inputfile "File to tag:" -> " \"" @infile "\""; tags :vertical :double -> title_tag artist_tag album_tag license_tag copyright_tag date_tag location_tag organization_tag comment_tag; title_tag "Title" -> " --title=\"" title_disp "\" " | !@ ; title_disp -> @string="" ; artist_tag "Artist" -> " --artist=\"" artist_disp "\" " | !@ ; artist_disp -> @string="" ; album_tag "Album" -> " --album=\"" album_disp "\" " | !@ ; album_disp -> @string="" ; license_tag "License" -> " --license=\"" license_disp "\" " | !@ ; license_disp -> @string="" ; copyright_tag "Copyright" -> " --copyright=\"" copyright_disp "\" " | !@ ; copyright_disp -> @string="" ; date_tag "Date" -> " --date=\"" date_disp "\" " | !@ ; date_disp -> @string="" ; location_tag "Location" -> " --location=\"" location_disp "\" " | !@ ; location_disp -> @string="" ; organization_tag "Organization" -> " --organization=\"" organization_disp "\" " | !@ ; organization_disp -> @string="" ; comment_tag "Comment" -> " --comment=\"" comment_disp "\" " | !@ ; comment_disp -> @string="" ; buttons :horizontal -> @action(command)="Run tagtheora" @close="Close" @preview(start,"Lucidatypewriter",400,100,"Close Preview")="Preview";