summaryrefslogtreecommitdiff
path: root/gtk2_ardour/sfdb_freesound_mootcher.h
AgeCommit message (Collapse)Author
2019-08-03Update GPL boilerplate and (C)Robin Gareus
Copyright-holder and year information is extracted from git log. git history begins in 2005. So (C) from 1998..2005 is lost. Also some (C) assignment of commits where the committer didn't use --author.
2019-04-13NO-OP: whitespaceRobin Gareus
This fixes mostly <tab> after <space> and similar <tab> not used for indenting as well as some related code alignment issues.
2016-09-13Rename Struct defined in freesound header to be less genericTim Mayberry
This could potentially conflict with a struct declared in the ardour/soundcloud_upload.h file.
2016-09-13Add missing header include guards in various gtk2_ardour headersTim Mayberry
2015-10-05remove unused fstream includesRobin Gareus
2015-10-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2013-06-21Use connect(..., gui_thread()) rather than g_idle_add().Colin Fletcher
Use the proper functions to ensure things happen in the main gui thread, instead of fudging around with g_idle_add().
2013-06-21Further Freesound tweaks.Colin Fletcher
Make download of sound files multi-threaded. Each sound file download takes place in its own thread, and has its own progress bar and cancel button, which stack up from the bottom of the list of results. Sound files download into a file with a '.part' suffix, which is then renamed to the intended name on success. Add a 'Similar' button, which searches Freesound for sounds similar to the currently-selected sound in the results list.
2013-06-21Use config variable for Freesound download folder location.Colin Fletcher
Use the new freesound-download-dir config variable to decide the location of sound files downloaded from Freesound. Move the Windows-specific logic to replace '/'s with '\'s from Mootcher::changeWorkingDir() to Mootcher::ensureWorkingDir(), and remove the now unused Mootcher::changeWorkingDir(). Use Glib::build_filename to construct the path.
2013-03-17Freesound fixes for #5853, and a few other small improvementsColin Fletcher
Add a 'More' button to load the next page of results without clearing the already-found list. Don't allow cancellation of searches, and don't update progress bar around searches, since we only get one page at a time now. Show number of pages of results remaining to download in the tooltip of the 'More' button. Use a new Mootcher object for each request, to avoid bad things happening when clicking in the Freesound search results list while a search or file download is already in progress. Make the 'Stop' button insensitive except when it will actually stop the download of a sound file. Only retrieve one page worth of data per search, rather than looping to get all pages. Don't show an error in the log window if the user cancelled download. Request 100 items per page, rather than the default 30. Fix DOS line endings.
2013-01-16add copyright commentsPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13863 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-09Freesound tweaks from colinf (#4761).Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@11636 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-18colinf's 2011-12-08 patch for freesound mootcher (add stop, remove URI, ↵Paul Davis
clear barberpole, etc) git-svn-id: svn://localhost/ardour2/branches/3.0@11265 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-27Create Freesound working directory a little more lazily soCarl Hetherington
that a Freesound directory doesn't appear in /home/carl without ever using Freesound. git-svn-id: svn://localhost/ardour2/branches/3.0@11090 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-14the return of basic FreeSound mootcher functionality, c/o colinf. lots of ↵Paul Davis
bugs and workflow issues to still resolve, but good to play with. remember that ardour can't play mp3's git-svn-id: svn://localhost/ardour2/branches/3.0@10596 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01Delete trailing whitespaceDavid Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@9656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-04-11merge 3.0 from 2.0-ongoing@3243Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@3248 d708f5d6-7413-0410-9779-e7cbd77b26cf