Commit graph

144 commits

Author SHA1 Message Date
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
feb8998188 fixup! Typo 2019-04-21 09:21:24 +02:00
Pierre Rudloff
ece51117e6 We don't need to do that anymore 2019-04-21 01:05:12 +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
ff95b93c20 fixup! ci(travis): Disable Twitter test on CI 2019-04-20 12:23:18 +02:00
Pierre Rudloff
f4654c7229 test(phpunit): Improve locale-related tests 2019-04-20 12:17:52 +02:00
Pierre Rudloff
12747ade59 ci(travis): Disable Twitter test on CI 2019-04-20 11:30:36 +02:00
Pierre Rudloff
4537b661e1 fix: Close playlist streams correctly 2019-04-20 00:37:49 +02:00
Pierre Rudloff
71200c80bc test(phpunit): Disable Vimeo tests on CI 2019-04-19 23:28:54 +02:00
Pierre Rudloff
62b353046f test(phpunit): Disable RTMP tests because the video we used is not available anymore 2019-01-15 11:25:49 +01:00
Pierre Rudloff
ff4ded2d5c test(phpunit): Fix Youtube tests
Some Youtube format was not available anymore
2018-09-18 19:01:14 +02:00
Pierre Rudloff
8c99cc6f03 test: Fix testGetFilename 2018-09-03 10:42:20 +02:00
Pierre Rudloff
86523fd44b style: Lint 2018-05-26 14:38:42 +02:00
Pierre Rudloff
1d4a1ac65c test: Test getAudioStream() with a playlist 2018-05-23 22:52:15 +02:00
Pierre Rudloff
acbd2b61f1 test: Add tests for the audio download fallback 2018-05-01 16:43:22 +02:00
Pierre Rudloff
2b316d4e8d fix: Throw an exception when trying to download DASH with ffmpeg
Fallback to default format when we can't download bestaudio

Fixes #165
2018-05-01 16:33:44 +02:00
Pierre Rudloff
74505cea57 feat: JSON API 2018-03-20 12:02:21 +01:00
Pierre Rudloff
618fb8416a fix: Use a different RTMP provider
canalc2.tv does not use RTMP anymore

Fixes #158
2018-03-20 11:49:44 +01:00
Pierre Rudloff
c4506cfcf1 test: Replace deleted openload.co video VideoDownload tests 2018-02-21 19:16:50 +01:00
Pierre Rudloff
04fe43a1ca style: Declare imported classes at the top of the file 2018-02-05 17:16:41 +01:00
Pierre Rudloff
397bbf96ff style: Lint
Changes suggested by StyleCI
2018-01-25 15:13:13 +01:00
Pierre Rudloff
e36e98e47a feat: New phantomjsDir option
This is used by the openload extractor

We also add to update youtube-dl to 2018.01.21 in order for the extractor to work correctly.
Fixes #146
2018-01-25 15:10:16 +01:00
Pierre Rudloff
4972c8ab8e feat: Add a new convertAdvanced option
It allows user to convert videos to several other audio/video formats

Fixes #148
2018-01-24 23:31:21 +01:00
Pierre Rudloff
6c202e50d4 Force HLS format in testRedirectWithM3uStream 2017-12-23 16:06:17 +01:00
Pierre Rudloff
f8c8935b4c Use ffmpeg instead of rtmpdump 2017-12-23 15:14:43 +01:00
Pierre Rudloff
25ae2493b7 Force HLS format for M3U tests 2017-12-10 18:47:42 +01:00
Pierre Rudloff
d581621f1b Throw an exception when a popen stream is not created correctly 2017-12-05 20:50:05 +01:00
Pierre Rudloff
47789f8f8d Check that PlaylistArchiveStream::stream_read returns a string 2017-12-05 19:42:52 +01:00
Pierre Rudloff
8cb3eb7208 Ignore unused parameters in test 2017-12-05 15:44:00 +01:00
Pierre Rudloff
6b73026194 Fix cookie settings in tests 2017-12-05 15:43:35 +01:00
Pierre Rudloff
3f325ddaae Missing property 2017-11-12 16:39:56 +01:00
Pierre Rudloff
1b5e99403f Basic testEnv test 2017-11-11 23:00:53 +01:00
Pierre Rudloff
c07322e160 Remove buggy test (the video is not available anymore) 2017-11-11 22:50:54 +01:00
Pierre Rudloff
0027250de7 testTestLocale fails on Windows 2017-11-11 22:48:11 +01:00
Pierre Rudloff
3ffdec9ca1 Run testTestLocale on Travis 2017-11-11 22:39:41 +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
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
8848a8dbf3 Improve LocaleMiddlewareTest
Add a way to unset the current locale
2017-11-10 12:18:20 +01:00
Pierre Rudloff
c994f8ac9a Add missing assertions to testGetInstanceWithEmptyFile 2017-11-10 11:47:23 +01:00
Pierre Rudloff
0a2971399b Lint 2017-10-29 23:21:13 +01:00
Pierre Rudloff
2e80129c63 Don't override parent property 2017-10-26 11:02:14 +02:00
Pierre Rudloff
6e8efd1b82 Fix LocaleManager test 2017-10-26 10:55:29 +02:00
Pierre Rudloff
d14b1458a1 Update phpunit to 6.4 2017-10-26 10:48:09 +02:00
Pierre Rudloff
b0c4963ac8 Don't use anonymous functions
Added some missing doc
2017-10-02 20:31:56 +02:00
Pierre Rudloff
b92cf21d09 Skip testTestLocale 2017-08-21 20:50:44 +02:00