1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 12:15:40 +01:00
Commit Graph

47 Commits

Author SHA1 Message Date
Olof Johansson
bd1ae14e53 Isolate py3/2.7 conditional imports to own modules 2013-04-21 13:45:43 +02:00
Olof Johansson
119a49b0d2 utils: import socket 2013-04-21 13:45:43 +02:00
Olof Johansson
e9bd5b8004 Make all services inherit svtplay_dl.service.Service 2013-04-21 13:45:43 +02:00
Olof Johansson
2d2cead9bc hls: catch KeyError exception by name 2013-04-21 13:45:43 +02:00
Olof Johansson
8d605f2819 Remove unused variable warnings 2013-04-21 13:45:43 +02:00
Olof Johansson
607d6b57ec utils: Remove unused arguments for get_http_data() 2013-04-21 13:45:43 +02:00
Olof Johansson
a0b7a755dc service.sr: use if "foo" in dict instead of catching KeyError 2013-04-21 13:45:43 +02:00
Olof Johansson
eef049cc0c hds: remove swf argument (it was unused) 2013-04-21 13:45:43 +02:00
Olof Johansson
a4202238c9 Remove unused imports 2013-04-21 13:45:43 +02:00
Olof Johansson
1372a4e12e svtplay_dl.tests.output: initial set of unit tests for progress() 2013-04-19 18:12:36 +02:00
Olof Johansson
b31834fd6e svtplay_dl.output: Make progress() wrap progressbar()
The progressbar() currently does not handle the case where the total size is
unknown. But with this change, progress() will internally use progressbar()
for its bar generation, while still supporting a more basic progress info when
total size is unknown.
2013-04-19 17:44:21 +02:00
Olof Johansson
ae8fda8963 svtplay_dl.output: prettier progressbar generation 2013-04-19 17:39:25 +02:00
Johan Andersson
5ef5e850e4 2013-04-17 2013-04-17 09:42:28 +02:00
Olof Johansson
b931d58319 Add unit test for oppetarkiv.se 2013-04-16 17:51:31 +02:00
Johan Andersson
4ebf565652 svtplay: support for oppetarkiv.se 2013-04-16 13:18:40 +02:00
Johan Andersson
514ed7e546 python3 fixes, urlparse and addinfourl. 2013-04-14 21:26:39 +02:00
Johan Andersson
c47fae0cb4 justin.tv: fixes for swf-file 2013-04-14 21:08:12 +02:00
Johan Andersson
c4382d3d1b Merge branch 'master' of github.com:spaam/svtplay-dl 2013-04-02 15:31:16 +02:00
Johan Andersson
1dfc3909f1 update version number 2013-04-02 15:29:36 +02:00
Johan Andersson
fa3e95ff7c Merge pull request #35 from olof/topic/eta_class
ETA class for fetchers
2013-03-25 12:14:32 -07:00
Olof Johansson
13c2ee494e Use ETA class in HDS and HLS fetchers 2013-03-25 19:54:41 +01:00
Olof Johansson
0136c06a3b svtplay_dl.output: add an ETA class
This class is used to calculate remaining time to process a given
list of items.
2013-03-25 19:32:06 +01:00
Johan Andersson
370a1b507b util: Fix some exceptions 2013-03-25 19:27:26 +01:00
Daniel
0de19d2c11 Option --flexible-quality (-Q) 2013-03-25 19:05:18 +01:00
Johan Andersson
3cc8752f39 download_http: import HTTPError 2013-03-24 20:37:46 +01:00
Johan Andersson
f959af260c kanal5: import download_hls 2013-03-24 20:33:39 +01:00
Johan Andersson
613b31413d radioplay: sys.exit is the right one 2013-03-24 20:31:26 +01:00
Johan Andersson
6e49f503a8 urplay: import subtitle_tt 2013-03-24 20:28:14 +01:00
Johan Andersson
fc6a91c03a svtplay: right subtitle variable 2013-03-24 20:27:35 +01:00
Johan Andersson
b6a91a9d31 cosmetics add a space 2013-03-24 20:26:24 +01:00
Johan Andersson
15af0a5418 svtplay: right subtitle url 2013-03-24 20:24:34 +01:00
Johan Andersson
df70896c84 import subtitle functions 2013-03-24 20:24:08 +01:00
Johan Andersson
a951a0b65e Missing imports in utils 2013-03-24 20:20:16 +01:00
Johan Andersson
ab84546d48 download_http: Request missing from imports 2013-03-24 17:37:31 +01:00
Johan Andersson
78d5b2a212 Generic: embeded tv4play videos 2013-03-24 14:55:14 +01:00
Johan Andersson
12ca98359f Right module name in svtplay test 2013-03-24 14:13:32 +01:00
Olof Johansson
652218e568 svtplay_dl.tests.output: fix indentation damage
And add a note about rewriting the mockfile hack.
2013-03-23 19:21:09 +01:00
Olof Johansson
a02a46752d Add unit tests for timestr() 2013-03-23 18:08:20 +01:00
Olof Johansson
f72f195e35 Fix bugs in timestr(), converting msec to time string
Also adds a docstring for timestr().
2013-03-23 18:08:16 +01:00
Olof Johansson
91cf0e2f15 Add unittests for svtplay.service.svtplay 2013-03-23 17:02:56 +01:00
Johan Andersson
311f9c4d15 Update version number 2013-03-23 16:12:26 +01:00
Johan Andersson
01bb02ea68 Fix so embedded videos works again 2013-03-23 16:11:36 +01:00
Johan Andersson
0ae6ec8634 service: move sites variable out from handler 2013-03-23 15:58:15 +01:00
Johan Andersson
56304a36c6 Move classes under the imports in service/ 2013-03-23 15:56:25 +01:00
Johan Andersson
f8d8cd4ecc Make a single file 2013-03-23 15:43:05 +01:00
Johan Andersson
eeac0feb14 Move get_media into lib. 2013-03-23 15:02:41 +01:00
Johan Andersson
cfd20232ab Rename module from lib/svtplay to lib/svtplay_dl
less confusion with the service.
2013-03-17 19:55:19 +01:00