Commit Graph

55 Commits

Author SHA1 Message Date
588099d1f8 Add tests and fix errors tests have discovered 2020-05-08 21:11:51 +00:00
afd6ca6607 Change variable linux to unix_names
Turns out that compilers have `#define linux 1` somewhere inside them
and for some reason this wasn't a problem when compiling with the `-c`
flag
2020-04-16 15:11:46 +02:00
5c67310903 Slight code cleanup 2020-04-16 13:23:02 +02:00
1d13e811b2 Replace 3rd party libraries with submodules 2020-04-15 13:32:59 +00:00
991a21af4e Formatting 2020-04-01 16:13:39 +02:00
bf5eaa39ea Reorder includes 2020-04-01 13:46:28 +02:00
9d50b863c8 Internationalization: first steps 2020-03-12 20:52:23 +01:00
e6b2aeecad TV_rename: return a vector of languages for windows 2020-02-25 10:19:24 +01:00
7f69b3c662 tv_rename: getLangs returns map instead of vector of pairs 2020-02-12 11:46:44 +01:00
59247b1c4f Test if 'data' exists in json file 2020-02-09 16:57:12 +01:00
1d52ff388f Use tuple instead of pair of pairs 2020-01-31 22:51:43 +01:00
267f1df204 Use rapidjson 2020-01-31 22:38:11 +01:00
3f6c97bda7 TV_Rename: slight refactor and formatting 2020-01-18 22:56:47 +01:00
8b4a21fb53 TV_rename: add const 2020-01-18 22:19:17 +01:00
fda181edea Fix possible error when adding to database 2020-01-17 20:54:26 +01:00
dac1ccc6c4 If no episode names found in singleSeason, skip to the end 2020-01-17 20:28:44 +01:00
875541b67d Tv_rename: add validID, formatting 2020-01-17 14:03:22 +01:00
57fc45be61 Make GUI work 2020-01-16 11:12:22 +01:00
758af6ff6b Fix windows problems 2020-01-15 23:59:39 +01:00
0da0152804 Remove whitespace at the end of episodes if there is any 2020-01-15 22:34:01 +01:00
c596acb2be TV_Rename: refactor 2020-01-15 22:20:44 +01:00
81cfc9a53b Somewhat working with API (push before major refactor) 2020-01-15 10:00:25 +01:00
f1063bb14e GUI for sqlite 2019-07-12 23:10:40 +02:00
d1e82d4a94 Initial support of database 2019-06-04 21:54:00 +02:00
d36d7a385d Formatting 2019-06-01 21:54:45 +02:00
55a8f32f49 Add Windows support 2019-02-04 17:39:48 +01:00
1b20d90c0b Replace '/', at the end check for double spaces 2019-02-02 22:27:18 +01:00
bcd79546f5 Refactor code, only allocate new std::set<std::string> in singleSeason when needed 2019-01-29 17:50:19 +01:00
3d4c355342 Use thetvdb name of show in '%show' 2019-01-26 00:50:26 +01:00
4c8922b619 Fix replacing windows-illegal characters (I have no idea how it worked till now) 2019-01-24 16:37:25 +01:00
72706a5c0e Fix bug where the program relied on episodes sorted by the episode number 2019-01-23 22:57:52 +01:00
c8e93aa3cc Add option to compile with GUI 2019-01-23 20:46:03 +01:00
86367c82c2 Removed useless variable 2019-01-23 18:18:07 +01:00
c5328f4057 Option to specify filename pattern 2019-01-23 14:08:40 +01:00
b00e8a4305 Fix bug that assumes language is english 2019-01-23 02:10:01 +01:00
a7a0976c30 Fix bug when episodes have 'table' in their name 2019-01-23 00:47:08 +01:00
81bf7e3588 Break up into more files 2019-01-19 13:40:10 +01:00
c8067ddaf1 Delete unused function, add a few comments 2019-01-17 17:33:13 +01:00
769f8508a4 Fewer filesystem operations when using multipleSeasons 2019-01-17 17:23:15 +01:00
46abfe3dd9 Fewer filesystem operations when using 'all' 2019-01-17 17:08:51 +01:00
309b07d353 Removed global variable 2019-01-17 01:24:04 +01:00
55efe036dd Fixed command line options 2019-01-09 22:19:47 +01:00
3bfa1e586e No more regex, yay! 2019-01-07 23:24:28 +01:00
c2fd4cd106 Use new functions, slight clean up 2019-01-07 22:24:00 +01:00
715153f13f Use return value from parseCommandLine 2019-01-04 20:22:54 +01:00
c014a059b6 Use getopt_long for command line parsing, fix seasons parsing (when only a-zA-Z were present it behaved unpredictably), spaces instead of tabs 2019-01-04 20:18:18 +01:00
e45615b6c0 Only show renamed files 2019-01-03 20:19:51 +01:00
c58dfab990 Make string short, so regex won't segfault with libstdc++, replace simple regex with c++ functions 2019-01-03 20:16:28 +01:00
49a490061e C++11 2019-01-03 19:01:43 +01:00
e5c02be1e0 libc++ now officially supports filesystem now 2019-01-03 16:35:17 +01:00