Pierre Rudloff
b61287523d
refactor: StreamInterface::close() should not return anything
2019-04-28 15:57:21 +02:00
Pierre Rudloff
5e9768e0e7
fix: Validate config only after the options have been set
...
To avoid an exception when default options are not valid but the new options are.
2019-04-28 15:52:01 +02:00
Pierre Rudloff
756ff36653
fix: Wrong variable name
2019-04-26 20:38:14 +02:00
Pierre Rudloff
a1b401c148
refactor: Use less confusing variable names in YoutubeStream
2019-04-22 21:55:45 +02:00
Pierre Rudloff
7bf2510dd2
test(phpunit): Better tests for streams
2019-04-22 21:53:04 +02:00
Pierre Rudloff
84e9e86d28
style(styleci): Lint
2019-04-22 21:08:36 +02:00
Pierre Rudloff
b7bcc24320
fix: Wrong variable name
2019-04-22 21:07:36 +02:00
Pierre Rudloff
e13404903b
refactor: Move exceptions and streams to seperate namespaces
2019-04-22 21:06:05 +02:00
Pierre Rudloff
1a6ff90eac
feat: Split Youtube downloads in smaller chunks
...
Fixes #217
2019-04-22 20:20:04 +02:00
Pierre Rudloff
bba2087a55
style(styleci): Lint
2019-04-22 17:04:59 +02:00
Pierre Rudloff
1387d836dc
refactor: New Session class
...
So that session is shared between classes and does not get overwritten
2019-04-22 17:03:54 +02:00
Pierre Rudloff
3b43018b29
docs: Missing docblocks
2019-04-22 00:05:53 +02:00
Pierre Rudloff
70475f83d4
feat: Add a way to convert an entire playlist
...
Closes #194
2019-04-21 22:56:43 +02:00
Pierre Rudloff
4db519c2ef
fixup! fix: Don't use the $url property
2019-04-21 22:40:54 +02:00
Pierre Rudloff
97a7830196
refactor: Reuse Video::getHttpResponse() where possible
2019-04-21 22:38:27 +02:00
Pierre Rudloff
e93ab7ed13
feat: Use ZIP files for playlist archives
...
It is more widely supported and could be later used for #194
2019-04-21 22:34:45 +02:00
Pierre Rudloff
226f1b8380
fix: Don't use the $url property
...
It is not reliable
2019-04-21 22:20:05 +02:00
Pierre Rudloff
3ca84e144e
refactor: We don't need this check anymore
2019-04-21 21:36:14 +02:00
Pierre Rudloff
61cb73dc59
refactor: Fix some types and unused variables
2019-04-21 19:51:16 +02:00
Pierre Rudloff
dc4eafe33f
docs: Document magic properties
2019-04-21 19:10:37 +02:00
Pierre Rudloff
51eaf192b1
refactor: Don't mix static and dynamic methods
2019-04-21 18:53:23 +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
3077872517
Typo
2019-04-21 01:05:19 +02:00
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