Commit graph

187 commits

Author SHA1 Message Date
Pierre Rudloff
1e4e6b52be fix: Set default format to "bestvideo+bestaudio" when remux mode is enabled
This fixes an issue on websites like Reddit that only server separate video/audio files

See #173
2018-06-03 18:27:37 +02:00
Pierre Rudloff
d398f9101e docs: Typo 2018-05-26 14:48:15 +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
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
74505cea57 feat: JSON API 2018-03-20 12:02:21 +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
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
3f325ddaae Missing property 2017-11-12 16:39:56 +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
095c1a92f0 Some HLS streams have "m3u8_native" as protocol value (see #133) 2017-11-02 16:26:10 +01:00
Pierre Rudloff
0a2971399b Lint 2017-10-29 23:21:13 +01:00
Pierre Rudloff
2b9914f1db Fix test coverage 2017-09-29 01:11:19 +02:00
Pierre Rudloff
480271a45e Don't include credentials in URLs (fixes #118) 2017-07-05 21:55:58 +02:00
Pierre Rudloff
a2dc71753e Rename Smarty variable to avoid confusion 2017-05-31 09:32:11 +02:00
Pierre Rudloff
3ead8dd458 Undeclared properties 2017-05-30 23:49:38 +02:00
Pierre Rudloff
0f80cbd333 Improve locale handling 2017-05-30 23:31:12 +02:00
Pierre Rudloff
b4dd0aeb29 Basic locale switcher 2017-05-30 22:21:27 +02:00
Pierre Rudloff
1b4e96f5ef Refactor FrontController::getStream() 2017-05-05 00:25:08 +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
Pierre Rudloff
2d872ce652 Lint 2017-05-04 23:07:07 +02:00
Pierre Rudloff
a681804126 Don't use variables when we can use a Config object directly 2017-05-04 20:26:42 +02:00
Pierre Rudloff
8aee9054a8 Allow custom cookie array in controller 2017-04-25 23:04:59 +02:00
Pierre Rudloff
5e31767140 Lint 2017-04-25 22:49:28 +02:00
Pierre Rudloff
df7bc9a088 Refactor redirect() function 2017-04-25 22:47:52 +02:00
Pierre Rudloff
cbcf58c5fb Accept any PSR container 2017-04-25 22:24:44 +02:00
Pierre Rudloff
8999180284 Missing param types 2017-04-25 22:23:18 +02:00
Pierre Rudloff
8d65cf44e3 Refactor remux logic in controller 2017-04-25 22:12:11 +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
3f053d9eed Merge branch 'develop' of https://github.com/hukoeth/alltube into feature/playlist
Conflicts:
	templates/video.tpl
2017-04-25 01:16:20 +02:00
Pierre Rudloff
e6bbe54474 New remux feature (fixes #103) 2017-04-25 00:40:24 +02:00
Pierre Rudloff
fb3834296a Make RTMP videos work in stream mode (fixes #104) 2017-04-24 18:31:14 +02:00
Pierre Rudloff
2a31951217 Use test config for controller tests 2017-04-24 17:49:13 +02:00
Pierre Rudloff
9c53e5e93c Lint 2017-04-02 23:45:59 +02:00
Pierre Rudloff
c3af978e22 Fix uglyUrls variable not passed to video.tpl 2017-04-02 23:44:30 +02:00
Pierre Rudloff
2ebea7749b Fix redirect when no format is specified 2017-03-19 12:27:08 +01:00
Uli Koeth
560e8c6a5f Handle download lists part 2 2017-03-08 13:23:42 +01:00
Pierre Rudloff
77eaec87ab Lint 2017-01-16 17:50:58 +01:00
Pierre Rudloff
c99cc09c31 Missing property 2017-01-16 17:50:17 +01:00
Pierre Rudloff
0d6e539dcd Fix docblocks 2017-01-16 17:47:26 +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
5e09d8adc7 Remove JSON output as we don't use it anymore 2017-01-16 16:03:31 +01:00
Pierre Rudloff
ec250b0d05 Cleaner way to get canonical URL 2017-01-16 14:26:12 +01:00
Pierre Rudloff
5ce84badec Refactor controller 2017-01-16 13:43:47 +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
8e6c33c260 Merge branch 'develop' into feature/stream
Conflicts:
	composer.lock
2017-01-16 11:06:39 +01:00
Pierre Rudloff
d1e744e42c Fix bookmarklet URL (fix #90 and #89) 2017-01-16 01:58:08 +01:00
Pierre Rudloff
3a1d0c4bc7 Lint 2017-01-10 23:39:58 +01:00
Pierre Rudloff
9f112c15b9 Add an uglyUrls option that disables URL rewriting (fixes #88) 2017-01-10 23:37:29 +01:00
Pierre Rudloff
0967bd6853 Lint 2016-12-26 15:59:16 +01:00
Pierre Rudloff
20820d90f0 Missing doc 2016-12-26 15:58:07 +01:00
Pierre Rudloff
28a8addbf1 Experimental support for M3U streams 2016-12-26 15:50:26 +01:00
Pierre Rudloff
759f01ffd6 Add suport for passwords with streams 2016-12-26 13:23:47 +01:00
Pierre Rudloff
342dad38e6 Merge branch 'develop' into feature/stream
Conflicts:
	composer.json
	composer.lock
	controllers/FrontController.php
2016-12-26 13:06:55 +01:00
Pierre Rudloff
d4f5f93c2d Lint 2016-12-05 13:12:27 +01:00
Pierre Rudloff
a6447e9813 Lint 2016-12-03 14:01:35 +01:00
Pierre Rudloff
df88f515e6 Applied fixes from StyleCI 2016-10-23 21:08:32 +00:00
Pierre Rudloff
8505a7e99f Better container handling 2016-10-23 22:59:37 +02:00
Pierre Rudloff
0a4589a1e6 Applied fixes from StyleCI 2016-10-20 21:27:56 +00:00
Pierre Rudloff
7a9d65d1fd Undeclared property 2016-10-20 23:27:13 +02:00
Pierre Rudloff
efe0b97d7f Support audio conversion of password protected videos 2016-10-20 23:13:37 +02:00
Pierre Rudloff
57a0424b6f Applied fixes from StyleCI 2016-10-20 21:03:13 +00:00
Pierre Rudloff
e34b01f2c4 Add support for password protected videos 2016-10-20 23:01:31 +02:00
Pierre Rudloff
b3632ccd69 Merge branch 'develop' into feature/stream 2016-10-13 17:30:30 +02:00
Pierre Rudloff
1be7606aa2 Undefined variable 2016-10-13 17:29:38 +02:00
Pierre Rudloff
7e33bf29eb Make sure container has a view property 2016-10-13 17:16:22 +02:00
Pierre Rudloff
6e73398369 Merge branch 'develop' into feature/stream
Conflicts:
	composer.lock
2016-10-13 17:07:00 +02:00
Pierre Rudloff
3a31cc0008 Check that we have a Slim container 2016-10-13 17:02:41 +02:00
Pierre Rudloff
41b9be34c5 Wrong class in doc comment 2016-10-13 16:53:23 +02:00
Pierre Rudloff
5de8e9d8cc Use interface instead of concrete classe 2016-10-13 16:34:57 +02:00
Pierre Rudloff
87f65d20c3 Merge branch 'develop' into feature/stream 2016-09-11 19:05:41 +02:00
Pierre Rudloff
0fc99a1c72 Lint 2016-09-11 19:05:08 +02:00
Pierre Rudloff
4b99f03e0d Lint 2016-09-11 19:03:51 +02:00
Pierre Rudloff
dd67495ccb Merge branch 'develop' into feature/stream
Conflicts:
	composer.json
	composer.lock
	controllers/FrontController.php
2016-09-11 18:58:58 +02:00
Pierre Rudloff
13c3366e9d Applied fixes from StyleCI 2016-09-07 22:28:28 +00:00
Pierre Rudloff
e7924d584e Merge branch 'develop' into feature/stream
Conflicts:
	composer.lock
2016-08-18 23:23:36 +02:00
Pierre Rudloff
d414e67d31 Cleanup doc 2016-08-01 13:29:13 +02:00
Pierre Rudloff
303179469a Undeclared properties 2016-08-01 03:16:48 +02:00
Pierre Rudloff
efde57bd60 Missing type hinting 2016-08-01 03:05:14 +02:00
Pierre Rudloff
fc73459731 Use template includes 2016-08-01 01:01:10 +02:00
Pierre Rudloff
ef65cb502b Lint 2016-07-30 12:41:20 +02:00
Pierre Rudloff
e3cec201ee New tests 2016-07-30 00:47:46 +02:00
Pierre Rudloff
26388ea1b4 Move all logic to the VideoDownload class 2016-07-30 00:15:17 +02:00
Pierre Rudloff
29cf3160a0 Merge branch 'develop' into feature/stream
Conflicts:
	composer.lock
2016-07-27 13:21:18 +02:00
Pierre Rudloff
a57a493742 Make curl follow redirects 2016-07-27 03:06:06 +02:00
Pierre Rudloff
aba3d0c9f5 Merge branch 'develop' into feature/stream
Conflicts:
	composer.json
	composer.lock
	controllers/FrontController.php
2016-07-27 02:31:47 +02:00
Pierre Rudloff
3074595b51 Don't use global variables 2016-07-22 14:43:50 +02:00
Pierre Rudloff
cf805740fe Type function arguments 2016-07-22 13:58:33 +02:00
Pierre Rudloff
c92573e3dc Throw exception if required binary is not available 2016-06-15 19:32:53 +02:00
Pierre Rudloff
06282c1aa4 Redirect empty video page to index 2016-06-09 21:15:44 +02:00
Pierre Rudloff
3370695e9e Use https://github.com/slimphp/Slim/pull/1872 in order to support popen streams in Slim 2016-05-25 18:39:48 +02:00
Pierre Rudloff
59291b4b8c Use bestaudio (if available) to speedup conversions 2016-05-04 16:26:47 +02:00
Pierre Rudloff
c3237251da Use only MP3 for audio 2016-05-04 16:13:32 +02:00
Pierre Rudloff
56a94903f5 Don't use the same metadata on every page 2016-05-01 20:29:53 +02:00
Pierre Rudloff
94722841c9 Merge branch 'develop' into feature/stream
Conflicts:
	controllers/FrontController.php
2016-05-01 13:52:45 +02:00
Pierre Rudloff
aba0243fd2 Cleaner error handling 2016-05-01 01:25:08 +02:00
Pierre Rudloff
6ef3105f89 Merge branch 'develop' into feature/stream 2016-04-30 03:23:17 +02:00