Commit graph

48 commits

Author SHA1 Message Date
Pierre Rudloff
bba2087a55 style(styleci): Lint 2019-04-22 17:04:59 +02:00
Pierre Rudloff
25f33bba56 refactor: Split FrontController into multiple classes
Closes #177
2019-04-22 16:51:48 +02:00
Pierre Rudloff
1df06f7c22 refactor: Use route names that make more sense 2019-04-22 15:31:51 +02:00
Pierre Rudloff
5bae668652 test(phpunit): Fix tests that use convert mode 2019-04-21 23:27:36 +02:00
Pierre Rudloff
61cb73dc59 refactor: Fix some types and unused variables 2019-04-21 19:51:16 +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
ff95b93c20 fixup! ci(travis): Disable Twitter test on CI 2019-04-20 12:23:18 +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
acbd2b61f1 test: Add tests for the audio download fallback 2018-05-01 16:43:22 +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
04fe43a1ca style: Declare imported classes at the top of the file 2018-02-05 17:16:41 +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
c07322e160 Remove buggy test (the video is not available anymore) 2017-11-11 22:50:54 +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
bdcbf19cee Lint 2017-11-10 12:20:08 +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
6337d2f936 Skip testVideoWithoutTitle because of a Travis error 2017-08-21 20:38:33 +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
419110f764 Fix FrontController tests 2017-05-31 00:07:34 +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
0e7aaea9fc Move Smarty view creation to ViewFactory class 2017-04-26 00:50:19 +02:00
Pierre Rudloff
4d104c852f Lint 2017-04-26 00:10:00 +02:00
Pierre Rudloff
a5252393de Refactor FrontControllerTest 2017-04-25 23:49:13 +02:00
Pierre Rudloff
7428b334de Smal fixes with playlists 2017-04-25 11:05:49 +02:00
Pierre Rudloff
43cbd4f6fe Cleanup playlists 2017-04-25 02:20:15 +02:00
Pierre Rudloff
b4be0ead6a Lint 2017-04-25 00:41:49 +02:00
Pierre Rudloff
e6bbe54474 New remux feature (fixes #103) 2017-04-25 00:40:24 +02:00
Pierre Rudloff
33694dd0f4 Lint 2017-04-24 18:45:13 +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
2a31951217 Use test config for controller tests 2017-04-24 17:49:13 +02:00
Pierre Rudloff
194bdbed77 Replace testVideoWithUnconvertedAudio test because soundcloud.com triggers some weird SSL error on Travis (fixes #101) 2017-04-02 22:03:30 +02:00
Pierre Rudloff
4958f59a67 Lint 2017-03-19 12:28:54 +01:00
Pierre Rudloff
2ebea7749b Fix redirect when no format is specified 2017-03-19 12:27:08 +01:00
Pierre Rudloff
cb01839e6e Lint 2017-01-16 18:54:03 +01:00
Pierre Rudloff
d62f69fb7c Missing properties 2017-01-16 18:47:49 +01:00
Pierre Rudloff
31efed8bc9 Apply fixes from StyleCI 2017-01-16 16:31:20 +00:00
Pierre Rudloff
16e1f9d6db Test controller 2017-01-16 17:19:19 +01:00
Pierre Rudloff
ec250b0d05 Cleaner way to get canonical URL 2017-01-16 14:26:12 +01:00