summaryrefslogtreecommitdiff
path: root/libs/ardour/export_handler.cc
AgeCommit message (Collapse)Author
2015-03-28Export EAN barcode number to 'CATALOG' field in .cue & .toc filesColin Fletcher
2014-11-18Remove unused variable and redundant arithmetic.David Robillard
2014-10-02Text tweaks and typo fixesColin Fletcher
2014-07-05Report an error when post-export hook fails.Colin Fletcher
2014-06-12Export dialog: tidy code, & remove some superfluous debug outputColin Fletcher
Remove some debug output, tidy up a few whitespace inconsistencies, use DEBUG::Soundcloud in one more place, and zap a couple of unused variables.
2014-06-12Post-export hook tweaksColin Fletcher
Remove the Soundcloud username & password from the parameter substitutions passed to the post-export hook: having thought about this now, I can't actually think of a case where these are of any use at all. In compensation, add %s and %n parameters that expand to the session directory and name - maybe people will think of uses for these.
2014-05-23Add and use a DEBUG flag for Soundcloud uploads.Colin Fletcher
Replace output to stdout/stderr from Soundcloud upload functions with DEBUG_TRACE (DEBUG::Soundcloud, ...).
2014-05-23Show URI of file uploaded to Soundcloud in log window.Colin Fletcher
2014-05-23Visual tweaks to Soundcloud panelColin Fletcher
Re-arrange the items in the Soundcloud panel into a more sensible order & arrangement, and add a (not-yet functional) tick-box to set the uploaded files to be downloadable.
2014-05-23Better names for Soundcloud-related members of ExportHandlerColin Fletcher
Rename the Soundcloud-related members of ExportHandler to all begin with soundcloud_, and rename a couple of members of SoundcloudExportSelector too for consistency.
2014-05-23Make Soundcloud upload applicable to any export format.Colin Fletcher
Add soundcloud_upload property back into ExportFormatSpecification, but instead of making it settable in the export format specification dialog, add a tick-box in each tab of ExportFileNotebook to allow setting it.
2014-05-21Use Glib::usleep() for consistencyJohn Emmas
2014-05-19Merge branch 'export-dialog' into cairocanvasColin Fletcher
Fix merge conflicts in: gtk2_ardour/export_range_markers_dialog.cc gtk2_ardour/wscript libs/ardour/ardour/export_handler.h libs/ardour/system_exec.cc libs/pbd/pbd/system_exec.h libs/pbd/system_exec.cc
2014-05-18Use ARDOUR namespace for SystemExecColin Fletcher
Explicitly use ARDOUR::SystemExec, and #include the right header for it too.
2014-01-10Merge windows+cc branch into cairocanvas branch. Not finished, need to now ↵Paul Davis
merge windows branch to get changes from there
2014-01-08Merge remote-tracking branch 'origin/master' into export-dialogColin Fletcher
Fix conflicts in: gtk2_ardour/export_dialog.cc gtk2_ardour/export_dialog.h libs/ardour/export_handler.cc
2013-12-23Re-enable export file tagging. No idea why this code has dropped out at some ↵Sakari Bergen
stage...
2013-10-10Use SystemExec for post-export hookColin Fletcher
Use the new command-line parsing constructor for SystemExec to construct the args array for the post-export hook from the entered command string, with some simple substitutions for filename, directory, &c.
2013-10-07Rudimentary post-processing of exported files.Colin Fletcher
Export format contains a string to be passed to system() after expanding %1, %2, & %3 via string_compose() to the full path & filename, containing directory, and basename respectively. No error-checking or any niceties like that - real programmers will of course always type the command correctly, and know to watch Ardour's standard output for the results...
2013-10-07Working Soundcloud exportColin Fletcher
Adds an 'upload' property to ExportFormatSpecification, to indicate that files exported with that format specfication should be uploaded to Soundcloud, and makes it editable in the export format dialogue. Adds fields for the Soundcloud username & password to the file format selection page, as well as an option to make the uploaded files public and open them in the system browser. Possible improvements not yet implemented: - make upload happen in its own thread - cosmetic tidying up of dialogue control layout - remember username & password
2013-07-15use g_unlink() rather than unlink() universally, requires <glib/gstdio.h> in ↵Paul Davis
several files
2013-03-17Handle mutiple export files with the same extension but different format.Sakari Bergen
If multiple filenames have the same extension, append the format name to the filename. This still requires a bit of extra logic to be optimal, as the format name will now be added in some situations where it is not needed. However, this is better than producing a broken file...
2012-06-23Remove unused header includeTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12835 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-08No-op; some comments, remove some unused stuff, minor tidying up.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12616 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24Remove over 500 unnecessary includes (including 54 of session.h).David Robillard
It's slightly possible that this causes trivial build failures on different configurations, but otherwise shouldn't cause any problems (i.e. no actual changes other than include/naming/namespace stuff). I deliberately avoided removing libardour-config.h since this can mysteriously break things, though a few of those do seem to be unnecessary. This commit only targets includes of ardour/*.h. There is also a very large number of unnecessary includes of stuff in gtk2_ardour; tackling that should also give a big improvement in build time when things are modified. git-svn-id: svn://localhost/ardour2/branches/3.0@12420 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-29fix a few dangling uses of Ardour as program name, in favor of PROGRAM_NAMEPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11563 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-29Add timespan name to export status textSakari Bergen
git-svn-id: svn://localhost/ardour2/branches/3.0@11381 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-28Go back to one progress bar with several passes in export. Sakari Bergen
Don't calculate the progress bar position in the engine, let the UI decide. Work around progress bar bug (not verified, as I could not reproduce). git-svn-id: svn://localhost/ardour2/branches/3.0@11377 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-27patch for CUE file formatting from Andreas RugePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11368 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-25toc filename handling patch from andreas r.Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11352 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-24Show proper progress information for export while normalizingSakari Bergen
git-svn-id: svn://localhost/ardour2/branches/3.0@11337 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-24always write a PERFORMER entry into a CUE file even if its not definedPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11331 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-24improved fix for TOC string escaping, handle anything that can be converted ↵Paul Davis
from UTF-8 to Latin-1 git-svn-id: svn://localhost/ardour2/branches/3.0@11323 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-23undo escaping of strings in CUE filesPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11321 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-23a better fix for CUE/TOC string escaping: if the text is not Latin-1 ↵Paul Davis
already, reject it because TOC certainly cannot handle UTF-8 and CUE is probably better off without it too git-svn-id: svn://localhost/ardour2/branches/3.0@11320 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-23escape \ as \034 in TOC filesPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11314 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-23fix up escaping of strings in TOC files (suggested by andreas ruge)Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11313 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-22Add warnings for overwriting marker filesSakari Bergen
git-svn-id: svn://localhost/ardour2/branches/3.0@11305 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-22Patch from anrug to always put a PERFORMER field in TOCCarl Hetherington
files (#4649). git-svn-id: svn://localhost/ardour2/branches/3.0@11299 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-18restore ability to create TOC and CUE files during export. this is an option ↵Paul Davis
in a given export format, not a per-export choice. so you need export formats with them set (or not) in order to utilize this choice. the resulting CUE/TOC files have not been checked with a burner (e.g. cdrdao) and testing of them would be appreciated - i (paul) have no CD burner h/w git-svn-id: svn://localhost/ardour2/branches/3.0@11266 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-27Patch from Colin to fix a search/replace bug in TOC/CUE generation (#4336).Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@10148 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-11Fix #4094: show total export progress instead of per timespan progressSakari Bergen
git-svn-id: svn://localhost/ardour2/branches/3.0@9710 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-11Typedef all globally used export smart pointer types in one file.Sakari Bergen
Some of them need to be ordered in STL containers, and thus need a special comparable wrapper for boost::shared_ptr, defined in comparable_shared_ptr.h. This also alleviates the typedef hell present earlier in some export classes :) Making the timespan pointer comparable should fix bug #4093 git-svn-id: svn://localhost/ardour2/branches/3.0@9702 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01Fix broken whitespace. I'd apologize for the compile times if it was my ↵David Robillard
fault :D git-svn-id: svn://localhost/ardour2/branches/3.0@9654 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-18Finally implement position aware silence adding in export (i.e. bbt times ↵Sakari Bergen
are converted to frames correctly) This will work when Session::convert_to_frames_at is fixed :) git-svn-id: svn://localhost/ardour2/branches/3.0@8295 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-03Remove all use of nframes_t.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8166 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-17megaopus patch #2 for today: remove nframes64_t and sframes_t from sourcePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7792 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-14remove Glib::ustring from libardour; allow any characters except '/' and '\' ↵Paul Davis
in paths (may cause issues when loading creatively named 2.X sessions; fix a couple of details of name collection and usage from the startup dialog git-svn-id: svn://localhost/ardour2/branches/3.0@7772 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-19Write BWF info on export. Fixes #3398.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7652 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-08Remove use of i18n macros in headers. Prevents our gettext.h being included ↵Carl Hetherington
before libintl.h, which causes failures when ENABLE_NLS is not defined (bug #3111) git-svn-id: svn://localhost/ardour2/branches/3.0@7081 d708f5d6-7413-0410-9779-e7cbd77b26cf