Pierre Rudloff
e13404903b
refactor: Move exceptions and streams to seperate namespaces
2019-04-22 21:06:05 +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
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
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
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
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
04fe43a1ca
style: Declare imported classes at the top of the file
2018-02-05 17:16:41 +01:00
Pierre Rudloff
fd8e6255ef
Add missing doc
2017-12-24 01:13:48 +01:00
Pierre Rudloff
c3719f68e5
Add type checks in PlaylistArchiveStream
2017-12-05 15:49:13 +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
e8ea411089
Don't lint PlaylistArchiveStream (see https://github.com/squizlabs/PHP_CodeSniffer/issues/1003 )
2017-05-19 14:30:00 +02:00
Pierre Rudloff
631f09529f
Fix docblocks
2017-05-05 00:07:56 +02:00
Pierre Rudloff
d7927fc442
Download Tar archives from playlists
2017-05-04 23:52:30 +02:00