Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Adds the license and initial readme.
Obviously, this readme is likely to change as I actually finish the code.
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | ||
Version 2, December 2004 | ||
|
||
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net> | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |