Commit graph

73 commits

Author SHA1 Message Date
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
f9bf3b8d47 refactor: Use a StreamInterface for PlaylistArchiveStream
It is much cleaner
2019-04-21 00:35:43 +02:00
Pierre Rudloff
12747ade59 ci(travis): Disable Twitter test on CI 2019-04-20 11:30:36 +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
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
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
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
8cb3eb7208 Ignore unused parameters in test 2017-12-05 15:44:00 +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
4ee72d1629 Lint 2017-05-31 00:57:39 +02:00
Pierre Rudloff
0a66dce2b8 More test coverage
Run youtube-dl with --restrict-filenames in order to avoid issues when testing against different locales
2017-05-31 00:48:50 +02:00
Pierre Rudloff
77fe2cb101 Lint 2017-05-19 14:31:41 +02:00
Pierre Rudloff
f9203706f7 Cleanup root folder (fixes #110) 2017-05-15 07:25:14 +02:00
Pierre Rudloff
d7927fc442 Download Tar archives from playlists 2017-05-04 23:52:30 +02:00
Pierre Rudloff
e46d8544ed Use a more reliable URL for RTMP tests 2017-05-04 23:28:29 +02:00
Pierre Rudloff
4d104c852f Lint 2017-04-26 00:10:00 +02:00
Pierre Rudloff
db5f653e2d Refactor stream tests 2017-04-26 00:08:35 +02:00
Pierre Rudloff
43cbd4f6fe Cleanup playlists 2017-04-25 02:20:15 +02:00
Pierre Rudloff
c153fd8264 Test common functions with every URL provider 2017-04-25 00:48:10 +02:00
Pierre Rudloff
e6bbe54474 New remux feature (fixes #103) 2017-04-25 00:40:24 +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
fb3834296a Make RTMP videos work in stream mode (fixes #104) 2017-04-24 18:31:14 +02:00
Pierre Rudloff
d2ad962f6f Use cleaner way to create custom config everywhere 2017-04-24 18:19:21 +02:00
Pierre Rudloff
cb01839e6e Lint 2017-01-16 18:54:03 +01:00
Pierre Rudloff
985364c047 Unused variable 2017-01-16 18:51:42 +01:00
Pierre Rudloff
7cab8f69c3 Remove obsolete parameters 2017-01-16 18:45:33 +01:00
Pierre Rudloff
b7f9e9570d Function name should be in camel case 2017-01-16 13:47:39 +01:00
Pierre Rudloff
4e1c1ca953 Add a stream parameter in config (fixes #24 and #39) 2017-01-16 12:02:21 +01:00
Pierre Rudloff
d96a1e4867 Fix M3U tests 2017-01-16 11:23:47 +01:00
Pierre Rudloff
8e6c33c260 Merge branch 'develop' into feature/stream
Conflicts:
	composer.lock
2017-01-16 11:06:39 +01:00
Pierre Rudloff
dd539c57f8 Simplify test data provider 2017-01-02 23:08:51 +01:00
Pierre Rudloff
ef366dc6d1 Add tests for getM3uStream() 2016-12-27 00:36:30 +01:00
Pierre Rudloff
b730b51b21 Fix M3U test 2016-12-27 00:18:31 +01:00
Pierre Rudloff
f27bb3bbb9 Merge branch 'develop' into feature/stream 2016-12-27 00:02:27 +01:00
Pierre Rudloff
5aad3abc5d Display error when trying to convert a M3U8 file (fixes #83) 2016-12-27 00:01:42 +01:00
Pierre Rudloff
3f96adb255 Lint 2016-12-26 15:53:03 +01:00
Pierre Rudloff
28a8addbf1 Experimental support for M3U streams 2016-12-26 15:50:26 +01:00