Commit graph

19 commits

Author SHA1 Message Date
Pierre Rudloff
5c2823e3f1 Move Video class to a separate library
+ improve error handling
+ youtube-dl update
2020-06-21 15:12:03 +02:00
Pierre Rudloff
bc695cfa15 Lint 2020-05-13 21:33:05 +02:00
Pierre Rudloff
fea1cce2d4 Switch to phpunit 8 2019-11-30 14:09:12 +01:00
Pierre Rudloff
1cab9623e9 Do not run tests that download videos on CI
Travis get blacklisted by more and more services (Vimeo, Youtube, etc.)
2019-10-26 16:14:01 +02: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
7bf2510dd2 test(phpunit): Better tests for streams 2019-04-22 21:53:04 +02:00
Pierre Rudloff
e13404903b refactor: Move exceptions and streams to seperate namespaces 2019-04-22 21:06:05 +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
586f20adb4 style(styleci): Lint 2019-04-21 00:58:04 +02:00
Pierre Rudloff
f9bf3b8d47 refactor: Use a StreamInterface for PlaylistArchiveStream
It is much cleaner
2019-04-21 00:35:43 +02:00
Pierre Rudloff
4537b661e1 fix: Close playlist streams correctly 2019-04-20 00:37:49 +02:00
Pierre Rudloff
47789f8f8d Check that PlaylistArchiveStream::stream_read returns a string 2017-12-05 19:42:52 +01:00
Pierre Rudloff
2432a06c1b Make tests run on Windows (fixes #137)
Use AppVeyor to run tests
2017-11-11 17:48:05 +01:00
Pierre Rudloff
0a2971399b Lint 2017-10-29 23:21:13 +01:00
Pierre Rudloff
d14b1458a1 Update phpunit to 6.4 2017-10-26 10:48:09 +02:00
Pierre Rudloff
879a37820d Remove useless arguments 2017-05-05 00:16:16 +02:00
Pierre Rudloff
fa67520c09 Undefined property 2017-05-05 00:08:43 +02:00
Pierre Rudloff
d7927fc442 Download Tar archives from playlists 2017-05-04 23:52:30 +02:00