Commit graph

169 commits

Author SHA1 Message Date
Pierre Rudloff
586f20adb4 style(styleci): Lint 2019-04-21 00:58:04 +02:00
Pierre Rudloff
ddc27a8a2c refactor: New PlaylistArchiveVideo class
Cleaner way to handle PlaylistArchiveStream info about videos
2019-04-21 00:56:12 +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
07261db27b fix: Don't call PlaylistArchiveStream parent constructor
Because it messes with the output buffer

Fixes #215
2019-04-20 11:27:13 +02:00
Pierre Rudloff
7ab4c55550 docs: Add comments to some tricky parts 2019-04-20 01:19:55 +02:00
Pierre Rudloff
4537b661e1 fix: Close playlist streams correctly 2019-04-20 00:37:49 +02:00
Pierre Rudloff
ac3b768b50 refactor(phpstan): Various code improvements 2019-03-31 16:25:17 +02:00
Pierre Rudloff
5835bd67a5 refactor(phpstan): Various code improvements 2019-03-30 18:21:45 +01:00
Pierre Rudloff
0ed788560c refactor: PlaylistArchiveStream should call parent constructor 2019-03-30 18:10:51 +01:00
Pierre Rudloff
9322bd5f14 style(StyleCI): Lint PHP 2019-01-06 17:00:12 +01:00
Pierre Rudloff
c6cf05f8ec refactor: Move app name to a config variable
See #205
2019-01-06 16:59:16 +01:00
Pierre Rudloff
59aeb753ed feat: Add support for Arabic locale 2018-12-07 18:19:00 +01:00
dadosch
dcd0237262 add german translation files to Grunt, LocaleManager 2018-10-01 13:55:17 +02:00
Pierre Rudloff
fb90545d92 feat: Add STREAM environment variable so stream mode can be enabled on Heroku
See #178
2018-07-06 10:36:53 +02:00
Pierre Rudloff
cb7c21164b refactor: Simplify getAvconvProcess() 2018-07-03 20:09:45 +02:00
Pierre Rudloff
f1cf0a2cdc feat: Add a way to trim the audio 2018-07-03 19:47:35 +02:00
Pierre Rudloff
26a5380f45 fix: Always load the UTF-8 locale variant when possible 2018-05-28 12:00:27 +02:00
Pierre Rudloff
edf4d4644d fix: Fix downloading a playlist as a TAR archive
This is the only time where youtube-dl returning an empty URL is not a problem.
2018-05-23 22:38:45 +02:00
Pierre Rudloff
17b9185e53 fix: Throw an error when trying to convert a playlist 2018-05-23 21:50:07 +02:00
Pierre Rudloff
647eed9db0 fix: Run youtube-dl with --no-playlist
Fixes #172
2018-05-23 21:43:34 +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
003452909a feat: Add path to "Can't find avconv" error
See #109
2018-02-21 18:55:12 +01:00
Pierre Rudloff
b27fa518c9 feat: Add youtube-dl exit code to the exceptions 2018-02-06 19:20:56 +01:00
Pierre Rudloff
5a527373bd style: throw is not a function 2018-02-06 19:11:57 +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
986dad5100 feat: Make strings in PHP files translatable
Meaningful strings are now parsed through the getext() function and the "composer update-locales"
script now parses PHP files.

Fixes #143
2018-01-26 11:37:56 +01:00
Pierre Rudloff
9ec3194c5e fix: Don't set QT_QPA_PLATFORM
It looks like it not needed with the static build and it causes troubles on Windows
2018-01-25 16:08:00 +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
ed533da6d4 New environment variable: AUDIO_BITRATE
Refactor environment variables code
2018-01-06 18:07:24 +01:00
Pierre Rudloff
9a7ab89286 Remove outdated list of options 2018-01-06 17:46:49 +01:00
Pierre Rudloff
e7c5037fa9 New (empty) portuguese translation 2018-01-02 16:47:48 +01:00
Pierre Rudloff
fd8e6255ef Add missing doc 2017-12-24 01:13:48 +01:00
Pierre Rudloff
c53f5c0b31 youtube-dl process needs to inherit environment variables (fixes #145) 2017-12-23 17:54:14 +01:00
Pierre Rudloff
0c53a95d30 Undefined variable 2017-12-23 16:04:55 +01:00
Pierre Rudloff
3b7cc9e64b We don't need process-builder-chain anymore 2017-12-23 15:17:47 +01:00
Pierre Rudloff
f8c8935b4c Use ffmpeg instead of rtmpdump 2017-12-23 15:14:43 +01:00
Pierre Rudloff
7940446af3 Lint 2017-12-23 14:37:29 +01:00
Pierre Rudloff
4c33c309a0 ProcessBuilder is deprecated (fixes #144) 2017-12-23 14:35:14 +01:00
Pierre Rudloff
17df0b63cb Document exceptions in VideoDownload 2017-12-19 15:22:24 +01:00
Pierre Rudloff
8c9c35b673 Lint 2017-12-09 23:57:21 +01:00
Pierre Rudloff
8c0ed9d9f4 Don't set ffmpeg user agent when it is reading from a pipe 2017-12-09 23:56:34 +01:00
Pierre Rudloff
959b141282 Add a setting that controls ffmpeg verbosity
Don't display ffmpeg errors in tests
2017-12-09 23:16:48 +01:00
Pierre Rudloff
4ae585eef1 Output ffmpeg errors to STDERR (fixes #140) 2017-12-09 22:22:07 +01:00
Pierre Rudloff
0bc5120751 Cleaner way to add a pipe 2017-12-05 21:12:59 +01:00
Pierre Rudloff
47789f8f8d Check that PlaylistArchiveStream::stream_read returns a string 2017-12-05 19:42:52 +01:00
Pierre Rudloff
d35b43dc17 popen can also return false 2017-12-05 15:56:34 +01:00
Pierre Rudloff
c3719f68e5 Add type checks in PlaylistArchiveStream 2017-12-05 15:49:13 +01:00
Pierre Rudloff
6b73026194 Fix cookie settings in tests 2017-12-05 15:43:35 +01:00