From 6b0bea55184efd6fcc30871c1d339a36c26aa829 Mon Sep 17 00:00:00 2001 From: Lindsey Bieda Date: Sun, 29 Sep 2013 00:57:25 -0400 Subject: [PATCH] Adds the license and initial readme. Obviously, this readme is likely to change as I actually finish the code. --- LICENSE | 13 +++++++++++++ README.md | 19 +++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 LICENSE create mode 100644 README.md diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..5c93f45 --- /dev/null +++ b/LICENSE @@ -0,0 +1,13 @@ + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + Version 2, December 2004 + + Copyright (C) 2004 Sam Hocevar + + Everyone is permitted to copy and distribute verbatim or modified + copies of this license document, and changing it is allowed as long + as the name is changed. + + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. You just DO WHAT THE FUCK YOU WANT TO. diff --git a/README.md b/README.md new file mode 100644 index 0000000..5fba360 --- /dev/null +++ b/README.md @@ -0,0 +1,19 @@ +Star Wars DOT Gif +------------- + +**Note:** This code is entirely incomplete at this point and is rather messy. Sorry. + +### To Use +Copy the contents of ```config.cfg.exmaple``` into ```config.cfg``` and make sure to change the paths for VLC and the Star Wars episodes. Any format that can be read by VLC should be acceptable for the movies. + +Then you should be able to run + +``` +python makeGifs.py +``` + +Right now it will automatically open episode 4 and make the example gif ```star_wars.gif```. + +If you would like to change this modify line 36, to be whatever episode you want and line 45 to match the correct .SRT file. Additionally, you can open the SRT file to find a quote and specify the index on line 48 (note: SRT files are 1 indexed, python lists are 0 indexed, subtract 1). + +Also, you can definitely modify this to create gifs for just about anything with subtitles.