Johan Andersson
6a7cdc4b8f
Merge pull request #292 from olof/fix_filenamify_docstring_dots_doctest
...
Fix docstring after the filenamify changes (f3aba4e59
)
2015-10-25 20:43:48 +01:00
Johan Andersson
320cdda374
Merge pull request #293 from olof/allow_metachars_in_outputfile
...
Don't workaround windows cmdline parsing brokeness
2015-10-25 19:56:04 +01:00
Johan Andersson
177157e26c
Merge pull request #291 from olof/move_run-tests_to_scripts
...
Move run-tests.sh to scripts directory
2015-10-25 19:51:44 +01:00
Olof Johansson
270a64c6af
Fix docstring after the filenamify changes ( f3aba4e59
)
...
This caused the test suite to fail because of doctest.
2015-10-25 19:49:03 +01:00
Olof Johansson
44293899fc
Don't workaround windows cmdline parsing brokeness
...
We should be able to assume that if we see literal " in the name of the
output file, the user really wants the quotes. Assuming otherwise opens a
can of worm. What else can't we trust in the environment?
On the Windows command line, \ has special meaning in strings, and it's not
the same as on normal platforms: it only has special meaning if it's
immediately followed by a " character, in which it case it will make the "
character be interepreted literally. That's what we've been seeing.
Incorrect command line on windows:
python svtplay-dl -o "C:\foo\"
Correct command line on windows:
python svtplay-dl -o "C:\foo\\"
This has been made harder to pinpoint because of the forgiving nature of
command line parsing on windows. For instance: The following command was
reported to work:
python svtplay-dl http://example.com/ -o "C:\foo\"
But only if the -o flag was the last argument. (Unclear if the trailing "
was passed on to the program or not.)
Reference: https://msdn.microsoft.com/en-us/library/windows/desktop/17w5ykft(v=vs.85).aspx
2015-10-25 19:41:39 +01:00
Johan Andersson
739565cd27
hls, hds, http: its should be “and” and not “or”
2015-10-25 19:24:14 +01:00
Johan Andersson
6b240e2f24
hds: support for silent
2015-10-25 18:23:39 +01:00
Johan Andersson
626bef92d5
hls: support for silent
2015-10-25 18:23:28 +01:00
Johan Andersson
78d962d05e
http: support for silent
2015-10-25 18:23:16 +01:00
Johan Andersson
f7442661f1
options: get_url need to be here
2015-10-25 18:16:30 +01:00
Johan Andersson
f4b15c21bc
readme: spell requests right
2015-10-25 17:38:43 +01:00
Johan Andersson
39d001e0a9
readme: you can get it from pip
2015-10-25 17:38:23 +01:00
Olof Johansson
e6e8f2d591
Move run-tests.sh to scripts directory
2015-10-25 17:29:38 +01:00
Johan Andersson
8129a49348
subtitle: we need to tell the file is utf-8 on windows and py3
2015-10-25 17:19:16 +01:00
Johan Andersson
a98e6046be
output: add kwargs as argument
2015-10-25 17:18:40 +01:00
Johan Andersson
9f602c1fb1
urplay: support for betaplay
2015-10-25 16:15:26 +01:00
Johan Andersson
e2a816127e
urplay: rtmp is so 90s. removing it
2015-10-25 16:15:26 +01:00
Johan Andersson
f549a567e4
Merge pull request #273 from leakim/master
...
fix crach on empty error array cause by no streams
2015-10-25 16:12:08 +01:00
Johan Andersson
8de637e771
Merge pull request #290 from olof/svtplay-no_video_refs_4_u
...
svtplay: Catch media without any videoReferences
2015-10-25 16:05:21 +01:00
Olof Johansson
647fed8bda
svtplay: Catch media without any videoReferences
...
This happens when they publish information about the TV episode before
publishing the video stream. Probably due to some bug in SVT Play. The
web player is also unable the play the video, reporting "Can't play
the program, try again later".
2015-10-25 15:50:52 +01:00
Johan Andersson
c453f7c48b
filenamify: remove “ and ‘
...
fix #289
2015-10-25 01:29:04 +02:00
Johan Andersson
c69803681e
output: we only want to look at the 2-3 last chars.
...
fix #284
2015-10-24 22:04:09 +02:00
Johan Andersson
bd565f77ae
viaplay: better filenames
...
fix #286
2015-10-24 21:55:33 +02:00
Johan Andersson
43dd5f4b2d
http.request: dont send headers twice
2015-10-24 21:18:23 +02:00
Johan Andersson
a998b4c8fa
twitch: handle the error messages
2015-10-20 00:49:20 +02:00
Johan Andersson
4b0beee989
disney: get the text instead of content
...
this failed on python3
2015-10-20 00:49:20 +02:00
Johan Andersson
e188ca8f56
subtitle_smi: encode it as iso-8859-1
...
this fixes #282
2015-10-20 00:49:20 +02:00
Johan Andersson
580c2a8c9d
Merge pull request #281 from olof/git_version_info
...
Add git version info to version string
2015-10-19 20:02:41 +02:00
Johan Andersson
96b2beb8ec
generic: return sefl.url instead of url
...
This fixes #278
2015-10-19 17:26:38 +02:00
Johan Andersson
a798a2b8ba
tv4play: forgot to set the show name in find_all_episodes
...
fixes #280
2015-10-19 10:37:15 +02:00
Johan Andersson
f3aba4e598
filenamify: replace with dot instead of dash
2015-10-19 10:37:15 +02:00
Olof Johansson
1a7a9f5662
Add git version info to version string
...
When building from git, it can be useful to know which version
a user has at commit level resolution. When building in a git
repository, use git describe to generate a version string. If
HEAD matches a tag, use that. Examples:
$ ./svtplay-dl --version
0.20.2015.10.08-3-gbd75a67
$ git tag -a 0.20.2015.10.18
$ make
...
$ ./svtplay-dl --version
0.20.2015.10.18
make release is also adjusted, so that it overrides the version
value when building, so that official releases still only has the
tag.
2015-10-18 19:50:53 +02:00
Olof Johansson
9226bda1cd
.gitignore: Ignore generated manual
2015-10-18 19:48:10 +02:00
Johan Andersson
38f18d5eed
subtitle_tt: remove namespace info
2015-10-10 16:31:42 +02:00
Johan Andersson
7c7fef625c
README.rst: link to requests
2015-10-08 23:58:30 +02:00
Johan Andersson
7322b2d2ca
Prepare for release 0.20.2015.10.08
2015-10-08 23:25:24 +02:00
Johan Andersson
d3fe1938a7
makefile: need extra $ for git-describe
2015-10-08 23:25:05 +02:00
Johan Andersson
20b208b6c4
pod: add --require-subtitle option
2015-10-08 23:16:51 +02:00
Johan Andersson
bf4421b38a
Include basic manifest.in
2015-10-08 23:09:27 +02:00
Johan Andersson
2d0aa27de9
setup: include python3.5
2015-10-08 23:03:09 +02:00
Johan Andersson
bd24b2f9b2
README: convert to .rst file instead of .md
2015-10-08 22:52:39 +02:00
Johan Andersson
3f9703b6bd
dr.dk: geoblock check
2015-10-08 09:54:07 +02:00
Johan Andersson
1c33787ad0
dr.dk: fix url parsing for some urls
...
fixes #277
2015-10-08 09:52:36 +02:00
Johan Andersson
917f276e41
tv4play: better names for automagicnames
...
this fixes #276
2015-10-07 19:52:37 +02:00
Johan Andersson
d4afbd778b
tv4play: dont use directory twice in output filename
...
it happens when the output is an directory
2015-10-05 20:27:45 +02:00
Johan Andersson
e6baf3e4da
tv4play: Support downloading all premium videos
...
this fixes #275
2015-10-05 19:43:57 +02:00
Johan Andersson
c7373854f9
HLS: handle 403 error when the playlist is geoblocked
2015-10-04 17:41:11 +02:00
Johan Andersson
2eef43843d
HDS: handle 403 error when the playlist is geoblocked
2015-10-04 17:40:40 +02:00
Johan Andersson
b9bbedc2e7
hds: yield ServiceError when we see DRM
2015-10-04 17:39:43 +02:00
Johan Andersson
d53adcb2ad
Support for dplay.se
...
fixes #274
2015-10-04 14:40:00 +02:00