Commit graph

34 commits

Author SHA1 Message Date
Pierre Rudloff
43e6f9b25d Stop running tests on AppVeyor
Debugging tests on Windows is too much work
2019-11-30 14:55:16 +01:00
Pierre Rudloff
fea1cce2d4 Switch to phpunit 8 2019-11-30 14:09:12 +01:00
Pierre Rudloff
44bf858c35 style(phpcs): Switch to PSR-12
https://www.php-fig.org/psr/psr-12/
2019-10-03 21:24:12 +02:00
Pierre Rudloff
5e9768e0e7 fix: Validate config only after the options have been set
To avoid an exception when default options are not valid but the new options are.
2019-04-28 15:52:01 +02:00
Pierre Rudloff
61cb73dc59 refactor: Fix some types and unused variables 2019-04-21 19:51:16 +02:00
Pierre Rudloff
d4e8e32cd6 test(phpunit): Disable testSetOptionsWithoutUpdate() on AppVeyor 2019-04-21 19:28:58 +02:00
Pierre Rudloff
28b99861c2 test(phpunit): Fix ConfigTest on Windows 2019-04-21 19:14:23 +02:00
Pierre Rudloff
4fa604eec3 test(phpunit): Fix ConfigTest setup 2019-04-21 18:56:08 +02:00
Pierre Rudloff
06a631c892 fixup! refactor: New Video class 2019-04-21 18:35:24 +02:00
Pierre Rudloff
4c9af8ad1d refactor: New Video class
The news class provides a cleaner object-oriented logic

BREAKING CHANGE: The VideoDownload class has been removed and the Config constructor is now private
2019-04-21 18:30:02 +02:00
Pierre Rudloff
f8c8935b4c Use ffmpeg instead of rtmpdump 2017-12-23 15:14:43 +01:00
Pierre Rudloff
fd2a4d8745 Add an option to set the MP3 bitrate when converting (fixes #113) 2017-11-10 23:50:17 +01:00
Pierre Rudloff
bdcbf19cee Lint 2017-11-10 12:20:08 +01:00
Pierre Rudloff
c994f8ac9a Add missing assertions to testGetInstanceWithEmptyFile 2017-11-10 11:47:23 +01:00
Pierre Rudloff
d14b1458a1 Update phpunit to 6.4 2017-10-26 10:48:09 +02:00
Pierre Rudloff
f9203706f7 Cleanup root folder (fixes #110) 2017-05-15 07:25:14 +02:00
Pierre Rudloff
71978e54e2 Unused variable 2017-04-25 21:49:19 +02:00
Pierre Rudloff
b80b9c7b2e Remove dependency on curl (fixes #105)
avconv/ffmpeg now downloads the video directly when converting
2017-04-24 19:16:38 +02:00
Pierre Rudloff
e4f061e6c3 Allow empty config filename (= default) 2017-04-24 17:56:07 +02:00
Pierre Rudloff
0ba030a981 Lint 2016-12-26 15:58:36 +01:00
Pierre Rudloff
c4fe897041 Missing doc 2016-12-26 15:55:55 +01:00
Pierre Rudloff
c490a3f092 Add some missing tests 2016-12-26 14:04:18 +01:00
Pierre Rudloff
d4f5f93c2d Lint 2016-12-05 13:12:27 +01:00
Pierre Rudloff
85fb3a54cd Test for exceptions when creating config 2016-10-18 10:45:16 +02:00
Pierre Rudloff
13c3366e9d Applied fixes from StyleCI 2016-09-07 22:28:28 +00:00
Pierre Rudloff
6df1eccb9e Missing docs 2016-09-06 00:36:47 +02:00
Pierre Rudloff
96a98ae846 Don't concatenate in function declaration 2016-08-19 01:13:51 +02:00
Pierre Rudloff
1400f3e86a Use separate config file for tests 2016-08-19 01:07:51 +02:00
Pierre Rudloff
d414e67d31 Cleanup doc 2016-08-01 13:29:13 +02:00
Pierre Rudloff
e3cec201ee New tests 2016-07-30 00:47:46 +02:00
Pierre Rudloff
46032e1ee1 Use PSR-2 2016-03-30 01:49:08 +02:00
Pierre Rudloff
cf9e90ce0d Lint 2016-02-28 23:04:53 +01:00
Pierre Rudloff
0974bf360c Lint 2015-10-31 15:50:32 +01:00
Pierre Rudloff
5249df52e6 YAML config file 2015-10-31 15:42:36 +01:00