Commit graph

165 commits

Author SHA1 Message Date
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
Pierre Rudloff
0da1d053d3 Don't convert audio on HEAD requests 2016-04-30 03:22:46 +02:00
Pierre Rudloff
14116168af Merge branch 'develop' into feature/stream
Conflicts:
	composer.json
	composer.lock
2016-04-30 02:36:04 +02:00
Pierre Rudloff
ecba860c5a Use curl in silent mode
Always append curl custom parameters at the end
2016-04-14 12:48:32 +02:00
Pierre Rudloff
d00c1dc91c Use PSR-7 streams for conversion 2016-04-14 12:42:13 +02:00
Pierre Rudloff
63ec60b4ad Slim now handles Content-Length correctly with HTTP streams 2016-04-13 10:44:30 +02:00
Pierre Rudloff
f7577b9825 Merge branch 'develop' into feature/stream
Conflicts:
	composer.json
	composer.lock
2016-04-13 10:33:51 +02:00
Pierre Rudloff
57a1674f4b Use local rtmpdump 2016-04-12 21:13:43 +02:00
Pierre Rudloff
ac16e68389 Merge branch 'develop' into feature/stream
Conflicts:
	composer.json
	composer.lock
2016-04-12 15:13:50 +02:00
Pierre Rudloff
00dd04e60b Remove quiet flag for rtmpdump 2016-04-12 15:00:27 +02:00
Pierre Rudloff
b787b6d3a2 Use ProcessBuilder to create commands
Fix rtmp audio
2016-04-12 11:49:50 +02:00
Pierre Rudloff
c29285aaf1 Merge branch 'develop' into feature/stream
Conflicts:
	controllers/FrontController.php
2016-04-11 01:22:01 +02:00
Pierre Rudloff
7d548c06b6 More info about formats
Only HTTP formats
2016-04-11 01:21:01 +02:00
Pierre Rudloff
ed7018c957 Use <select> for format list 2016-04-10 21:42:38 +02:00
Pierre Rudloff
91a2f93e5a Merge branch 'develop' into feature/stream 2016-04-10 19:49:57 +02:00
Pierre Rudloff
0ab0819abc Get only scheme part of URL 2016-04-10 19:49:44 +02:00
Pierre Rudloff
8f14843bb4 Merge branch 'develop' into feature/stream
Conflicts:
	controllers/FrontController.php
2016-04-10 19:47:52 +02:00
Pierre Rudloff
20ad5559be Better way to get filename 2016-04-10 19:43:33 +02:00
Pierre Rudloff
442e2ec87c Use bestaudio if available 2016-04-10 19:41:25 +02:00
Pierre Rudloff
39205ebe45 Don't use echo 2016-04-10 19:28:59 +02:00
Pierre Rudloff
c92ea929a4 Better way to get user agent string 2016-04-10 19:02:50 +02:00
Pierre Rudloff
e07474a3dc Don't use $_GET directly 2016-04-09 00:47:51 +02:00
Pierre Rudloff
61a55720a4 Don't include Content-Length for now 2016-04-09 00:12:57 +02:00