dalgr
b8dfbd1e3a
proof of concept, tv4play live
2018-01-15 00:37:18 +01:00
dalgr
31e5546e26
Add support of downloading a 'media_segment' m3u8 file
2018-01-14 22:29:20 +01:00
Johan Andersson
4cbe743693
New version 1.9.7
2018-01-09 23:46:40 +01:00
Johan Andersson
d33e9a5e85
missing proxy in options
2018-01-09 23:33:21 +01:00
Johan Andersson
4826c22781
nrk: dont try to run keys if streams is None
2018-01-09 22:32:36 +01:00
Johan Andersson
564de61fed
barnkanalen: fix sorting on -A
2018-01-09 21:14:01 +01:00
Johan Andersson
503bb540f5
svtplay: remove rss support in find all
...
In rss the sorting is way wrong.
2018-01-09 14:37:32 +01:00
Johan Andersson
dca6e90a80
svtplay: in find all, dont sort the already sorted list.
2018-01-09 14:37:32 +01:00
Johan Andersson
699412dc09
hls._get_tuple_attribute: in some cases there is a space in beginning of the name.
...
I saw this on some dplay live streams
2018-01-09 14:37:32 +01:00
Nick Leppänen Larsson
1f8b7f793f
Barnkanalen: inherit from Svtplay
...
svtplay modified to better support being inherited
2018-01-09 00:41:16 +01:00
Nick Leppänen Larsson
bfa6e6e296
Add service Barnkanalen
...
Heavily based on svtplay
2018-01-09 00:41:16 +01:00
Johan Andersson
02ae9767b4
dplay: live support for channels using HLS
2018-01-09 00:40:24 +01:00
dalgr
cace17260a
Add capture_time to hls fetcher
2018-01-08 20:15:54 +01:00
dalgr
8ed47dfed6
Add input varibel 'capture_time'
2018-01-08 20:15:54 +01:00
dalgr
939f277f86
Add support for live svtplay using hls
2018-01-08 20:15:54 +01:00
dalgr
786fc6a027
simplify m3u media_segment by adding tag 'URI'
2018-01-07 01:53:00 +01:00
dalgr
c28e35b1cb
Add tag 'URI' and simplify m3u json
2018-01-07 01:53:00 +01:00
dalgr
73bdf87b38
Fix bug in m3u8 parser, add a test for 'parse_m3u8.master_playlist'
2018-01-07 01:53:00 +01:00
dalgr
1379ac9c85
Continue with hls, 'EXT-X-MEDIA'
2018-01-07 01:53:00 +01:00
dalgr
ac6cca8919
Fix bug with key/decryptor and new m3u parser
2018-01-07 01:53:00 +01:00
dalgr
4207ccef71
continue improvements of m3u parser
...
update with more tags
2018-01-07 01:53:00 +01:00
dalgr
a875fcb5b6
start improvment of m3u parser
2018-01-07 01:53:00 +01:00
Johan Andersson
e2536eb133
urplay: in some cases they show schema.
2018-01-04 22:17:13 +01:00
Johan Andersson
3d0886a277
urskola: fix -A
2018-01-04 22:16:49 +01:00
Johan Andersson
5a4799f1a5
urplay: add scheme to urls
...
fixes #742
2018-01-04 22:09:17 +01:00
Johan Andersson
c03eefe6d0
sportlib: new site
2018-01-04 00:49:41 +01:00
Johan Andersson
2fa12b5fe1
hls: in some cases we want to use different cookies for the encryption.
2018-01-04 00:49:41 +01:00
Johan Andersson
8716c5e4b8
fetcher: in some cases we want to have different cookies for the key
2018-01-04 00:49:41 +01:00
Jan
ffe63aef19
Viaplay: Fix JSON episode data regexp for "all episodes" as well
2018-01-03 21:45:24 +01:00
Jan
8917d5bd8e
Viaplay: Fix regexp for JSON episode data extraction
2018-01-03 21:45:24 +01:00
Robert Foss
c26bb3ccc5
Add proxy support
...
This feature utilises the proxy support of the requests module, and
has been tested with SOCKS5 through a SSH tunnel, and has been
verified to be working.
Signed-off-by: Robert Foss <robert.foss@memcpy.io>
2017-11-26 18:11:41 +01:00
Johan Andersson
788a381077
get_media: when printing version number using verbose. it should be debug.
2017-11-25 11:31:01 +01:00
Johan Andersson
fc4c659ae9
output: make bit more generic
...
Remove the output "-". it have been a bit broken for a while.
2017-11-24 23:11:48 +01:00
Johan Andersson
4dd9bd6cdf
get_media: print version number every time we use verbose
...
Instead of only printing the version number when we crash.
print it every time we use verbose.
thanks to @granbom for suggesting this idea.
2017-11-24 21:49:37 +01:00
Johan Andersson
ebbe76ceb1
cmore: dont crash when the filename have åäö in it.
2017-11-13 18:36:06 +01:00
Johan Andersson
3983fcd1f9
cmore: detect the video id better
...
fixes #733
2017-11-13 18:32:16 +01:00
Johan Andersson
4cd40a2665
expressen: they started to use https for their stuff now
...
fixes #735
2017-11-11 13:02:25 +01:00
Jonatan Skogsfors
403f375150
Change priority for SR downloads.
...
Download of an SR program with music is typically only available for a
certain period of time while the shortened program is always available.
With that in mind I can’t see how the elif case ever would have been
visited.
2017-10-30 15:47:29 +01:00
Johan Andersson
2c2446b30b
hls: sometimes they have the key as a filename without url
2017-10-22 20:59:17 +02:00
dalgr
892b738bcb
Change to use Unicode strings in 'tv4play.py'
2017-10-19 20:10:19 +02:00
granbom
9f1c01a751
Fixing typo. Closes spaam/svtplay-dl#718
2017-10-17 10:41:38 +02:00
granbom
bfd925538f
String format issues. Closes spaam/svtplay-dl#719
2017-10-17 10:41:38 +02:00
Johan Andersson
ad94873402
dplay: fix keyerror after format string fixes
...
fix : #715
2017-10-12 22:30:57 +02:00
dalgr
328ad0cff9
Change 'subprocess.check_call' to 'subprocess.check_output' in ''utils.output'
2017-10-10 22:25:09 +02:00
Johan Andersson
59d2513dee
fetcher: change str formating from '%s' to '.format'
2017-10-09 22:35:33 +02:00
Johan Andersson
804b869644
service: change str formating from '%s' to '.format'
2017-10-09 22:35:13 +02:00
Johan Andersson
2ee0dad363
viafree: fix sorting for --all-last
...
fixes #696
2017-10-09 21:11:52 +02:00
Daniel Lublin
3410b1b58a
svtplay: the last n from the sorted episodes does it
2017-10-09 20:55:39 +02:00
dalgr
1aa84fc29c
Add error msg for no videos found
2017-10-09 20:41:09 +02:00
dalgr
bc3141a8c7
Avoid 'EXT-X-BYTERANGE', fix for 'hls.py'
...
Fix support for vidme in 'dash.py'
2017-10-09 20:38:56 +02:00
dalgr
510e8424fc
Adding suport for vid.me
2017-10-09 20:38:56 +02:00
dalgr
908b4ec313
more code cleanup
...
cleanup
2017-10-09 20:33:11 +02:00
dalgr
2adcdcd8ef
simplify and cleanup code
2017-10-09 20:33:11 +02:00
dalgr
493b01a856
fix error msg formating
2017-10-09 20:33:11 +02:00
dalgr
3fc3fbc9ef
change str formating from '%s' to '.format'
2017-10-09 20:33:11 +02:00
dalgr
bbc8e50352
retries with requests, for all 'self.http.request'
2017-10-09 20:32:16 +02:00
Johan Andersson
73306eef4d
dashparse: dont try to parse 0 length mpd files.
...
Akamai sent a zero length playlist for svtplay
fixes #701
2017-10-04 23:26:47 +02:00
dalgr
988b557433
Get alt query before entering specific video format
2017-10-03 21:23:21 +02:00
dalgr
9284c4d76c
Reformat '_get_video' in svtplay.py
2017-10-03 21:23:21 +02:00
dalgr
0ce284c106
replace str '%s' with str format
2017-10-03 21:23:21 +02:00
dalgr
27db933d6c
Fix formating of (ServiceError, log.info, log.error) msg
2017-10-03 21:23:21 +02:00
Johan Andersson
baa150cb88
svtplay: handle json decode error on api request.
...
In some cases when people using dns service to get around geoblocking
the dns server redirect them to a page telling them their ip is not
authorised using the dns server. this might fix #648
2017-10-03 21:21:09 +02:00
dalgr
e8a9157f20
add check 'is not None' to avoid FutureWarning
2017-09-19 21:41:17 +02:00
Johan Andersson
928f25c4c3
New version 1.9.6
2017-09-19 00:47:03 +02:00
Johan Andersson
d2b84198a8
cmore: remove dash from the operator name
2017-09-19 00:43:30 +02:00
Johan Andersson
5a6dc77374
cmore: support for operator login
2017-09-19 00:30:11 +02:00
Johan Andersson
9bbda65d20
cmore: check for .se for names for now.
2017-09-18 22:24:27 +02:00
Johan Andersson
a1dbdc9e94
cmore: better error handling for wrong user / passwd
2017-09-18 22:16:54 +02:00
Johan Andersson
700f4e0032
svtplay: change -A to be a blacklist instead of a whitelist
...
sometimes slug was avsnitt, sasong* or year.
2017-09-18 20:21:17 +02:00
Johan Andersson
12c0847602
aftonbladet: fix so it works with tv.aftonbladet.se
2017-09-18 14:47:34 +02:00
Johan Andersson
44703b47e8
dashparse: we don't need to "/ 1000" one more time
2017-09-18 14:46:57 +02:00
Johan Andersson
6f2f3fbc94
New version 1.9.5
2017-09-17 22:28:08 +02:00
Johan Andersson
01f7ea54be
svtplay: for some reason some slug in -A use year instead of sasong.
2017-09-17 21:03:54 +02:00
Johan Andersson
8e5c7ddd30
dash: fix a warning
2017-09-17 21:03:10 +02:00
Johan Andersson
bb291ec448
disney: new layout on the page.
...
fixes #613
2017-09-17 19:48:08 +02:00
Johan Andersson
f7e6d2e77c
utils: remove the try except from request.
...
this might cause some other issue. we will see.
2017-09-17 19:43:14 +02:00
Johan Andersson
aae1c878bb
subtitle: tv4 subs have a bom headers.
2017-09-17 11:21:04 +02:00
Johan Andersson
983d2f78e5
tv4play: use webvtt instead of smi files.
...
fixes #631
2017-09-17 11:20:31 +02:00
Johan Andersson
bbe146311d
cmore: missing deps for filenamify
2017-09-17 11:01:58 +02:00
Johan Andersson
c429df295a
cmore: add text about missing username and/or password.
2017-09-16 23:51:54 +02:00
Johan Andersson
d99dd21065
cmore: new service
...
fixed #567
2017-09-16 23:45:29 +02:00
Johan Andersson
d1b6ba2ee1
dash: rewrote the parsing of the .mpd files.
2017-09-16 21:38:14 +02:00
Johan Andersson
1fdd3255bc
viafree: add support for viafree.fi
...
fixes #660
2017-09-16 18:32:29 +02:00
Johan Andersson
e3cf1562af
mtvnn: support for HLS again. seen this on nickelodeon
...
fixes #672
2017-09-16 18:28:27 +02:00
Johan Andersson
f4611b5512
hlsparse: need to send cookies when we grab hlsfiles
2017-09-16 18:26:07 +02:00
Johan Andersson
0ddbc9752e
urplay: support for -A on urskola.se
...
fixes #677
2017-09-16 17:36:37 +02:00
Johan Andersson
5057322c85
svtplay: fix find all episodes
...
fixes #676
2017-09-14 09:30:58 +02:00
Johan Andersson
c5e6be02e6
tv4play: fix auto naming for latest version of the site
2017-09-12 12:33:58 +02:00
Johan Andersson
44623376e6
tv4play: find id of the video
...
fixes #674
2017-09-12 12:33:58 +02:00
PO Lenhoff
695c6ffb17
added python3 compatibility for find_all_episodes
2017-09-08 20:27:39 +02:00
Johan Andersson
c1259f2c9a
viafree: fix so we can download all episodes from viafree again
...
fixing #663
2017-09-08 18:59:18 +02:00
Johan Andersson
c38b4a35c1
aftonbladet: fix identention
2017-09-02 10:44:15 +02:00
Johan Andersson
40e4c63211
aftonbladet: support for the new page.
...
they changed it a bit so it uses some more js.
fixes #664
2017-09-01 20:53:04 +02:00
Johan Andersson
2a70b72938
solittango: dont crash when the xml data is unicode on py2
2017-08-01 19:34:53 +02:00
Johan Andersson
45266f6a2a
dplay: check per episode if its premium or not
...
fixes #650
2017-06-28 22:33:58 +02:00
Johan Andersson
e232001003
subtitle.wsrt: urplay only had minutes and seconds
...
fixes #639
2017-06-05 17:31:47 +02:00
Johan Andersson
390b25d2bf
lemonwhale: try to find the ID of the video in a new way.
...
fixes #638
2017-06-05 13:15:42 +02:00
Johan Andersson
1ce926f083
aftonbladet: svd using the same provider as aftonbladet nowadays.
2017-06-05 13:14:22 +02:00
Johan Andersson
5f8d306a06
New version 1.9.4
2017-05-08 00:22:17 +02:00
Johan Andersson
a2f20a3a31
svt: move this out from svtplay file
2017-05-08 00:17:27 +02:00
iwconfig
6176eabe95
Minor option description clarification
...
Appended information to the description about --merge-subtitle invoking the --remux option automatically
2017-05-08 00:15:43 +02:00
Johan Andersson
5763bb78c8
nrk: use the right api url to get video info
...
fixes : #604
2017-05-07 15:19:52 +02:00
Johan Andersson
c03a808774
svtplay: they moved the place where related videos are.
2017-05-07 15:02:55 +02:00
Johan Andersson
23d7d1fd12
cosmetic fixes in svtplay
2017-05-07 14:47:15 +02:00
Johan Andersson
1a3c201113
viafree: don't crash when episode is a text
...
fixes : #626
2017-05-07 14:44:12 +02:00
qnorsten
ad6180e48d
svtplay: videoTitlePage renamed to videoPage
...
svtplay changed their names again
fixes: https://github.com/spaam/svtplay-dl/issues/620
2017-05-03 16:04:24 +02:00
Johan Andersson
bccfc1fa3a
tv4play: in some cases we dont have episode info
2017-05-01 22:04:57 +02:00
Johan Andersson
72eddeb470
öppetarkiv: fix naming of files.
...
fixes #574
fixes #593
fixes #596
2017-04-21 22:01:02 +02:00
qnorsten
50fa511a5f
viafree: Make exclude work correctly for both -A and single episodes
...
Add exclude support when -A is used
Fix broken exclude support when downloading one episode
fixes: https://github.com/spaam/svtplay-dl/issues/483 in combination with c762575038
2017-04-21 19:34:43 +02:00
qnorsten
c8525f3a22
TV4play: remove login functionality
...
Tv4play has changed their login forms and as all premium content has moved to cmore.se login functionality is no longer needed and therefore removed.
2017-04-21 18:18:29 +02:00
qnorsten
49440b5f94
Merge remote-tracking branch 'origin/master'
2017-04-21 18:11:04 +02:00
qnorsten
699bcc5e9f
main: svtplay: Also print url when listing episodes with -A
2017-04-21 18:10:48 +02:00
qnorsten
c762575038
viafree: Make all-last work as intended
...
--all-last now returns X newest episodes instead of oldest
2017-04-21 18:10:40 +02:00
qnorsten
9fe6b951cc
svtplay: Check if Rss link is valid, and make tab work again
...
fixes: https://github.com/spaam/svtplay-dl/issues/584
Makes: https://github.com/spaam/svtplay-dl/issues/514 work again.
Adds basic check if linked rss is valid (as svtplay started including rss links again) also bypasses rss if a tab is supplied or include-clips is set.
2017-04-12 21:23:56 +02:00
iwconfig
0b2b528a6d
Prevent zero length field name in format
...
Added numbers to format() to prevent 'ValueError: zero length field name in format'
2017-03-26 14:48:15 +02:00
iwconfig
e5e7fd0293
Changed all '%s', to '{}'.format()
...
This also fixes a bug on line 105: format() got '%s' instead of '{}'.
2017-03-26 14:48:15 +02:00
iwconfig
5caf6d8354
Rather small spelling fix :)
...
This might be a picky one but hey
2017-03-26 14:47:44 +02:00
qnorsten
a9e1e92ba2
subtitle: use decode_html_entities function
...
use decode_html_entities to decode html entities
2017-03-23 11:43:15 +01:00
qnorsten
a310ceb2a1
Subtitles: Smi-subtitles updated regex to also remove <div tags>
2017-03-21 09:49:36 +01:00
qnorsten
f963b5f755
Subtitles: Smi subtitles, do not remove <i> and replace with space
...
fixes https://github.com/spaam/svtplay-dl/issues/581
2017-03-21 00:32:46 +01:00
Johan Andersson
4cd49f2a16
New version 1.9.3
2017-02-21 00:14:54 +01:00
Johan Andersson
e124ad8828
svtplay: fix accessservice crash
...
they changed how they tell if the video syntolkat
fixes : #566
2017-02-21 00:02:49 +01:00
Johan Andersson
8b14d490cb
svtplay: change place of not
2017-02-21 00:02:49 +01:00
Mikael Larsson
c4b4ab5bef
tv4play: Add season and episode info in the filename
2017-02-21 00:02:21 +01:00
Johan Andersson
c6df8f2b48
svtplay: get the live status from the api too.
...
sometimes the page say its live but the api say something else.
2017-02-19 11:37:22 +01:00
Johan Andersson
8b09165cd7
nhl: add support for the older platform
2017-02-18 23:51:58 +01:00
Johan Andersson
3e39a62737
hls: try to read the file playlist
2017-02-18 23:51:26 +01:00
Johan Andersson
c9903f63be
nhl: support for vod videos.
2017-02-18 21:13:01 +01:00
Johan Andersson
dfaa1fac90
svtplay: show a better error message if we cant find video
2017-02-18 18:28:03 +01:00
Johan Andersson
456e008597
pylint fixes
2017-02-15 23:15:50 +01:00
Johan Andersson
c9020020e7
svtplay: fixes for exclude in genre and -A
2017-02-15 00:47:36 +01:00
Johan Andersson
7ab4c060ba
svtplay: add support for exclude in -A
2017-02-15 00:40:25 +01:00
Johan Andersson
1d496af36a
service.exclude2: exclude with filename as a argument
2017-02-15 00:38:52 +01:00
Johan Andersson
bb7ff7e698
New version 1.9.2
2017-02-12 21:19:14 +01:00
Johan Andersson
3d8a516d1c
dash: don't crash if we get a total files.
...
fixes #559
2017-02-12 11:08:22 +01:00
Johan Andersson
da66ffcf2e
format string fixes
...
fixes #558
2017-02-12 09:01:40 +01:00
Johan Andersson
d20fa3d959
parsem3u: don't crash if we cant unpack extinf
...
fixes : #557
2017-02-12 08:53:59 +01:00
qnorsten
9cfb4e5f1e
Viafree: Added check to prevent crash while naming clips
...
Added check to only get parent season and episode number if derived_from_id actually is set. Prevent crashes on some clips.
2017-02-11 10:19:57 +01:00
qnorsten
1f49d84664
svtplay: Fix for -all-last, now starts from the last episode
...
Fixes: https://github.com/spaam/svtplay-dl/issues/454
2017-02-10 17:49:42 +01:00
qnorsten
b24c9d14c3
svtplay: Add support for tabs on genre pages
...
Adds support for tabs on genre page, only works for the items on tabs that do not link to just a show page.
2017-02-06 13:14:58 +01:00
qnorsten
1dbe315586
viafree: Download only specific season by using /sasongXX in url
...
Support to only download specific season by passing /sasongXX in url, when used with -A
Fixes: https://github.com/spaam/svtplay-dl/issues/439
2017-02-06 12:43:59 +01:00
qnorsten
be97c6266b
viafree: forgot to remove tv3play from filename
...
viafree: forgot to remove tv3play from filename
2017-02-03 11:10:58 +01:00
qnorsten
a2bb75569a
viafree: Change autonaming from tv3play to viafree
...
Change part autogenerated file names from tv3play to viafree
2017-02-03 10:37:47 +01:00
qnorsten
de0fa8a715
svtplay: Add syntolkat and teckentolkat to filename
...
svtplay: Readds syntolkat and teckentolkat to autogenerated filename.
Solves https://github.com/spaam/svtplay-dl/issues/542
2017-02-03 09:32:27 +01:00
qnorsten
c781bd1bb8
svtplay: Add support for tabs and --include-clips
...
svtplay: Adds support for --include-clips as well as support to just download one tab of episodes by using ?tab="tab" in url.
This should fix https://github.com/spaam/svtplay-dl/issues/549 , https://github.com/spaam/svtplay-dl/issues/514 and https://github.com/spaam/svtplay-dl/issues/480
2017-02-02 15:57:52 +01:00
qnorsten
ac864643cd
Viafree: Added support for --include-clips
...
Added support for --include-clips for viafree
2017-02-02 14:20:33 +01:00
qnorsten
d8a34c1fe9
main: Add include-clips command to include clips when combined with -A
...
Added --include-clips command to include clips when used togheter with -A
2017-02-02 14:17:18 +01:00
qnorsten
95c668cbe0
svtplay: do not try to use ProgramTitle in filename if it is None
...
fix crash for svtplay, that occurs when generating automatic filename and ProgramTitle is undefined.
2017-02-01 13:19:59 +01:00
Johan Andersson
a72282e44b
viafree: don't try to access videos that don't exists
...
fixes : #547
2017-02-01 11:06:01 +01:00
Johan Andersson
7c7565ea5d
svtplay: using -A will try to download same episode twice
...
fixes : #543
2017-01-31 23:42:04 +01:00
Johan Andersson
41b826cee0
dash: dont use the the same init file for every video.
...
fixes : #545
2017-01-31 23:40:40 +01:00
Johan Andersson
743c8d53fd
options.flexibleq: this value should be 0 as default.
2017-01-28 12:10:50 +01:00
Johan Andersson
dc2dc7dc62
New version 1.9.1
2017-01-27 02:14:20 +01:00
Johan Andersson
be471e9aab
svtplay: fix subtitles after the change on svtplay.se
...
fixes #535
2017-01-27 02:10:46 +01:00
Johan Andersson
76956610c8
picsearch: sometimes we don't get the video in player api
...
fixes : #527
2017-01-27 02:02:57 +01:00
Johan Andersson
3b8819a0eb
solidtango: detect hls video in a new way
2017-01-27 01:19:47 +01:00
Johan Andersson
f1b8949ab2
dplay: fix a crash when show name have weird unicode character
...
fixes #529
2017-01-26 22:33:32 +01:00
Johan Andersson
dac1b66ce4
svtplay: fixing some crashes after latest update.
...
fixes #528
2017-01-26 21:54:58 +01:00
Johan Andersson
f38e8403a2
mutliargs: using -A creates bad output names.
...
using -A creates an directory with the first files name for the second argument which is wrong.
fixes #525
2017-01-22 10:49:43 +01:00
Johan Andersson
6dec190df0
New version 1.9
2017-01-21 15:00:19 +01:00
Johan Andersson
4de8f8b451
Merge pull request #512 from mutoso/master
...
Allow multiple URLs as arguments
2017-01-20 15:50:12 +01:00
Johan Andersson
ea3041cf08
postprocess: we need to open the file as enc=utf8 on windows py3
...
fixes #521
2017-01-15 12:29:40 +01:00
Alastair Feille
b1987aee88
Account for -o option when using multiple URLs
2017-01-03 21:20:50 -06:00
Johan Andersson
0f99956d62
postprocess: don’t crash on åäö in filename
...
fixes #517
2017-01-02 21:09:35 +01:00
Johan Andersson
fd64749c15
Merge remote-tracking branch 'qnorsten/master'
2017-01-02 18:35:27 +01:00
Johan Andersson
bc7ccc5918
svtplay: don’t crash if we cant find url for subtitle.
...
fixes #511
2017-01-02 18:32:33 +01:00
qnorsten
a82f1f9080
Output: do not add double extension when using --raw-subtitles
...
Should fix https://github.com/spaam/svtplay-dl/issues/509
Prevents the subtitle file from getting the raw exstension also e.g subtitle.wsrt.srt
2016-12-21 00:06:51 +01:00
qnorsten
5dff059ff3
Viafree: Added SDH subfix to subtitle files when --all-subtitles are used
...
Added support to download both regular and Subtitles for hearing impared( with -SDH subfix), when using --all-subtitles
2016-12-17 11:09:07 +01:00
Alastair Feille
4cf6f210e0
Allow multiple URLs as arguments
2016-12-15 19:40:33 -06:00
Johan Andersson
544f131ae4
urplay: detect related videos for -A
...
this is good enough to find related videos.
it would be better to use bs4 with lxml..
fixes #470
2016-12-06 22:42:54 +01:00
Johan Andersson
ab3907a0ff
output: dont overwrite end of the filename when its auto generated
...
fixes #469
2016-12-06 22:09:27 +01:00
Johan Andersson
de055b885b
tv4play: don’t try to access vod when its live
...
fixes : #506
2016-12-05 22:09:20 +01:00
Johan Andersson
92323375fc
naming: write leading zeros in episodes and seasons in a better way
2016-12-05 21:52:42 +01:00
Johan Andersson
33679e3058
viaplay: support for wsrt (vtt) subtitle
...
fixes : #501
2016-12-05 20:53:22 +01:00
Johan Andersson
18a9a1bcf5
subtitle: dont double encode utf8
...
fixes : #507
fixes : #501
2016-12-05 20:45:14 +01:00
Johan Andersson
3173beef4a
viaplay: check if its vtt or sami
2016-12-05 19:57:57 +01:00
Johan Andersson
ec0f2a4feb
subtitle: use HTTP from utils instead of requets.
2016-12-05 19:55:04 +01:00
Johan Andersson
80992f8664
postprocess: return und if we cant get the right language
2016-12-05 19:36:00 +01:00
Anders Waldenborg
a9c579ba5f
Fix subtitles in urplay
...
The subtitle url was relative (in particular it left out the scheme)
Never videos appears to use VTT/WRST format
2016-11-30 23:21:42 +01:00
Johan Andersson
a986b9aeea
picsearch: New way to get the token and id
2016-11-22 18:05:08 +01:00
Johan Andersson
0c1159e171
New version 1.8
2016-11-14 23:53:49 +01:00
Johan Andersson
b08d593556
subtitle: don’t crash if we cant download subtitle
...
show a warning that we cant download it.
2016-11-14 21:51:39 +01:00
Sopor
ee67996d1c
tv4play: changed where to find the hls videos
...
fixes : #498
2016-11-10 08:32:29 +01:00
Johan Andersson
a9c6ad5e78
svtplay: don’t crash if we can’t find any video
2016-11-06 19:48:22 +01:00
Johan Andersson
1eb403a796
oppetarkiv: fix after last svtplay update.
2016-11-06 15:25:49 +01:00
Johan Andersson
2286ce6e02
svtplay: remove unused imports
2016-11-06 15:24:53 +01:00
Johan Andersson
fb0b1d74fe
svtplay: no need for find_video_id
2016-11-06 15:10:38 +01:00
Johan Andersson
44bc008d07
svtplay: return direct if we can’t find video info
2016-11-06 14:55:43 +01:00
Johan Andersson
15a1fe2fcf
svtplay: fix naming of filenames
...
fixes #481
2016-11-06 14:52:11 +01:00
Johan Andersson
d1ee50466b
svtplay: use the same dash condition for all dash versions
2016-11-06 12:58:32 +01:00
Johan Andersson
41e5d8ef31
tv4play: don’t crash if we can’t find any streams
...
fixes #495
2016-11-06 12:58:06 +01:00
Johan Andersson
3bd5f498c6
dash: don’t overwrite the init file
2016-11-05 18:51:21 +01:00
Linus Karlsson
c436e4c381
subtitle.tt: fix error when calculating end time.
2016-11-01 23:19:54 +01:00
Johan Andersson
c038c67af3
dash: in some cases the SegmentTemplate is inside of Representation class.
2016-11-01 01:49:49 +01:00
Johan Andersson
7c7542e709
tv4play: they changed the url for login
...
fixes #489
2016-10-31 19:30:28 +01:00
Johan Andersson
eeb589188c
tv4play: better error message when we can’t decode json
2016-10-31 19:28:00 +01:00
Johan Andersson
7e551f6cfc
viaplay: support for tv3play.tv3.ee and tvplay.skaties.lv
2016-10-31 19:20:18 +01:00
Johan Andersson
59456c799f
svtplay: fix -A again after the svtplay move away from redux
2016-10-31 19:14:29 +01:00
Johan Andersson
4901d89cf6
viaplay: support for play.tv3.lt
...
fixes #482
2016-10-20 19:07:56 +02:00
Johan Andersson
17c1ff4b6d
svtplay: they changed to key again so -A stopped working
2016-10-19 14:20:36 +02:00
Johan Andersson
060cd5e06a
New version 1.7
2016-10-18 00:01:08 +02:00
Johan Andersson
1a99e0f947
sr: fix for their new site
...
fixes #467
2016-10-17 23:58:23 +02:00
Johan Andersson
b4768ef2f1
subtitle.sami: don’t try to decode None
...
fixes : #477
2016-10-17 21:40:20 +02:00
Johan Andersson
5109c38dc6
hls: don’t crash when we can’t find bandwidth key
...
fixes #473
2016-10-16 19:50:30 +02:00
Johan Andersson
fa590117de
fetcher: handle errors from parsing playlists
2016-10-16 19:35:38 +02:00
Johan Andersson
16e1661efd
svtplay: they changed the hostname for api calls
...
fixes #475
2016-10-16 19:20:42 +02:00
Johan Andersson
e943e6bc5b
New release 1.6
2016-10-06 22:52:50 +02:00
Johan Andersson
cd9b18c91e
nrk: dont crash if we can’t find id
2016-10-06 22:51:54 +02:00
Johan Andersson
84d13a9f0c
aftonbladet: download videos again
2016-10-06 22:46:40 +02:00
Johan Andersson
d0bca585e7
svtplay: fix so -A work again
...
fixes #466
2016-10-04 22:34:50 +02:00
Johan Andersson
72d0e2069a
viaplay: workaround to detect episode number
...
fixes #461
2016-10-01 12:33:20 +02:00
Johan Andersson
4b79438ea7
viaplay: better support to detect videoid
2016-09-28 12:48:56 +02:00
Johan Andersson
fc9600b23b
svtplay: support for dash segmented files
2016-09-26 00:43:23 +02:00
Johan Andersson
9dc52589b9
dash: support for segmented files
...
fixes #448
2016-09-26 00:42:42 +02:00
Johan Andersson
8067e4d05d
New release 1.5
2016-09-19 20:44:58 +02:00
Johan Andersson
05d2987fee
nrk: dont crash when the video is geoblocked
2016-09-19 20:39:27 +02:00
Johan Andersson
74ff9359dd
dashparse: don’t crash when we can’t find BaseURL
2016-09-17 19:43:03 +02:00
Johan Andersson
b156849495
svtplay: fix so sista-chansen work again
...
fixes #451
2016-09-15 08:53:49 +02:00
Johan Andersson
89789b843b
viaplay: get the right id for the video and not the first one we see.
...
fixes : #450
fixes : #447
2016-09-14 20:52:14 +02:00
Johan Andersson
61b512849b
svtplay: they started to use single quotes instead of double.
...
fixes #451
fixes #449
2016-09-14 18:55:33 +02:00
Johan Andersson
766fd34d62
New release 1.4
2016-09-10 17:37:07 +02:00
Johan Andersson
b1859b1f6b
svtplay: support for alt streams
...
in some cases the akamai one does not work.
we should make this prettier..
2016-09-10 17:30:04 +02:00
Johan Andersson
f8eb0b8a45
fetcher: dont crash if we cant read the playlists
...
fixes #446
2016-09-09 22:56:05 +02:00
Johan Andersson
0cb152edef
postprocess.sublanguage.parse: in py3 map return an iterator but we want a list
...
fixes #444
2016-09-07 17:31:14 +02:00
Johan Andersson
86c5bd3776
New release 1.3
2016-09-06 00:25:54 +02:00
Johan Andersson
6b2c860279
Update .pod file
2016-09-06 00:23:14 +02:00
Johan Andersson
7f8906ae3f
pokemon: support for downloading videos
2016-09-04 20:44:25 +02:00
Johan Andersson
bdf7a181ea
hls: if the file start with / add hostname to it.
2016-09-04 20:43:37 +02:00
Johan Andersson
7c8cf96900
viaplay: dont expect the key to be 0. better to loop all keys instead.
...
fixes : #440
2016-09-03 18:39:49 +02:00
Johan Andersson
4ecb24d0ce
riksdagen: Adding support
...
fixes : #436
2016-09-02 01:20:54 +02:00
Johan Andersson
37688133b9
nrk: they dont use https for the api call
2016-09-02 00:42:10 +02:00
Johan Andersson
4afc74c415
Merge pull request #403 from sveinhansen/master
...
Changes to nrk web pages:
2016-09-02 00:24:55 +02:00
Johan Andersson
31597808eb
Merge pull request #434 from qnorsten/master
...
svtplay: added support for direct link to rss.xml with -A
2016-09-02 00:09:51 +02:00
Johan Andersson
36c9c08452
viaplay: dont run len on int's to check if its empty string
...
fixes #431
2016-09-02 00:06:31 +02:00
qnorsten
a12ff19606
svtplay: added support for direct link to rss.xml with -A
2016-08-24 00:42:49 +02:00
qnorsten
d2e9edf1e3
svtplay: Fix for sista-chansen. GridStore have been renamed GridPageStore.
2016-08-23 14:27:21 +02:00
Johan Andersson
5394a0f92c
generic: support for finding m3u8 files in source tags
2016-08-23 01:01:31 +02:00
Johan Andersson
74eae8791f
flowonline: add support for the site
...
fixes : #429
2016-08-23 00:59:57 +02:00
Anton
1825ad834e
Update mtvnn.py
2016-08-22 15:32:04 +02:00
Johan Andersson
c799375e73
viaplay: more improvements for viafree with single videos
...
fixes #427
2016-08-21 01:08:39 +02:00
Johan Andersson
4d4ba7afac
viaplay: some cases there is no episode info, use the video id instead.
2016-08-20 17:16:40 +02:00
Johan Andersson
3a788bcfae
twitch: Add support for clips
...
fixes #426
2016-08-20 16:32:12 +02:00
Johan Andersson
f807e67425
svtplay: add support to download genre with -A
...
fixes : #312
2016-08-20 15:51:58 +02:00
Johan Andersson
2716f4bd22
viasatsport: detect live streams.
2016-08-20 15:15:25 +02:00
Johan Andersson
356cdff704
viasatsport: Adding support for vod-videos.
...
fixes : #200
2016-08-20 14:17:54 +02:00
Johan Andersson
ba35ec265b
svtplay: Add support for sista-chansen with -A
...
fixes : #325
2016-08-20 13:52:19 +02:00
Johan Andersson
87d2b41a74
tv4play: fix login issue with latest update
...
fixes : #425
2016-08-20 12:46:54 +02:00
Johan Andersson
1ed9e2aaf2
filmarkivet: adding support for the site
...
fixes : #423
2016-08-17 19:53:56 +02:00
Johan Andersson
4374d1c38d
viaplay: Better way to extract the right video id from the new site
...
fixes : #424
2016-08-17 00:43:34 +02:00
Johan Andersson
cd4506be8e
hds: some cases we need to encode the playlist as str for py2
2016-08-17 00:43:24 +02:00
Johan Andersson
1775793387
viaplay: support for -A viafree sites
2016-08-15 22:46:32 +02:00
Johan Andersson
e0caf5c822
viaplay: add support for viafree.se
2016-08-15 19:32:52 +02:00
Johan Andersson
31aaf468c0
subtitle: decode some htmlentities in sami
...
fixes #421
2016-08-01 21:02:38 +02:00
Johan Andersson
ce367f2b3e
main: rewrite some code so it easier to read
2016-08-01 20:55:19 +02:00
Johan Andersson
b295d4f2b0
main: improve output help text
...
show that we can output to a folder too.
fixes #419
2016-08-01 20:43:24 +02:00
Johan Andersson
9a0eda8b90
spell fixes
2016-08-01 20:40:46 +02:00
Johan Andersson
f8f25cf2a4
Merge remote-tracking branch 'qnorsten/master' into qnorsten
2016-07-24 12:15:11 +02:00
Johan Andersson
75c94a6acd
Merge pull request #414 from iwconfig/patch-1
...
Support for merging subtitles with corresponding ISO639-3 language code
2016-07-24 11:50:47 +02:00
Johan Andersson
6f6bf04e05
aftonbladet: use aptomaVideoId for videoId.
...
fixes : #416
2016-07-13 19:59:24 +02:00
iwconfig
91cc1a18a2
Fixed minor bug with manual mappings options for ffmpeg
...
also a tiny cleanup
2016-07-11 23:05:03 +00:00
Johan Andersson
dfcae7456e
svtplay: in some cases there is no season slug for videos
2016-07-11 10:44:33 +02:00
iwconfig
c5eea95c3f
Now --remux is on by default with --merge-subtitle.
...
Also fixed small bug when using --all-subtitles with only one available
subtitle.
2016-06-30 23:57:27 +00:00
iwconfig
3c1d45a37c
Fixed issue with --force-subtitle.
...
--force-subtitle and -S did not respect each other but now it is
working as it should. If --force-subtitle is used with -S it downloads
only the subtitles, and if --force-subtitle is used alone it overwrites
the existing subtitles and continues with the audio/video stream.
2016-06-30 23:57:27 +00:00
iwconfig
4e63c15ef9
Added -M, --merge-subtitle to merge subtitle(s).
...
The option gets the correct ISO639-3 language code using my own simple
language detection api, and merges with correct metadata using ffmpeg.
If ffmpeg is not installed an error message is raised since avconv
doesn't seem keep up with ffmpeg.
I also did a little cleanup in postprocess().
2016-06-30 23:57:27 +00:00
Johan Andersson
0ae031b8ac
tv3play: fix all downloads if it more than one seaon
...
fixes : #389
2016-06-30 01:20:39 +02:00
Johan Andersson
12f8a47415
svtplay: download all episodes with 'visa fler'
...
fixes : #407
2016-06-30 01:20:31 +02:00
Johan Andersson
421f53f099
dplay: support for other languages in subtitles
...
fixes : #410
2016-06-30 01:20:12 +02:00
Rabin Vincent
ddeec9e90b
dr: support --all-episodes
2016-06-30 00:08:42 +02:00
Svein Hansen
c2d8d64e99
Changes to nrk web pages:
...
Simpler html-parsing
Fixed subtitle support
2016-06-09 22:21:11 +02:00
Johan Andersson
8973f19bf7
New release 1.2
2016-06-03 00:12:08 +02:00
Johan Andersson
d8b2b8efa6
timestr: leading zero in single digit
2016-06-03 00:09:11 +02:00
Johan Andersson
f0fe1638eb
output: print which filename exists while printing the error message
...
fixes : #391
2016-06-02 23:56:41 +02:00
iwconfig
4f6c4821d7
remux only if file is not mp4
2016-06-02 01:47:25 +02:00
Johan Andersson
cf7380211f
mtvnn: add support for nickelodeon.dk
...
fixes #394
2016-06-02 00:54:35 +02:00
Johan Andersson
10a259982e
smi: it should be three decimals and not two
...
this fixes #398
2016-06-01 22:54:11 +02:00
Johan Andersson
c0b4d278b4
sami: dont crash on &
...
this fixes #396
2016-06-01 22:43:39 +02:00
Johan Andersson
b298e823eb
nrk: add some error checks if geoblocked
2016-06-01 22:15:45 +02:00
Johan Andersson
53d702708b
get_one_media: include version crash
2016-06-01 22:11:01 +02:00
Johan Andersson
704fc6dee8
disney: move down the exclude so it catch the new name
2016-06-01 22:11:01 +02:00
Svein Hansen
56a404686a
tv.nrk.no website html change. Error when finding the video id.
2016-05-26 23:09:47 +02:00
Johan Andersson
fa730a5564
remove options in argument for exclude
2016-05-14 22:54:30 +02:00
Johan Andersson
c324374ba7
service: exclude should use options in the class
2016-05-14 22:41:33 +02:00
Johan Andersson
af66859dd5
get_one_media: move force_subtitle to main function
...
with this it will work for every site with subtitles
2016-05-14 22:38:23 +02:00
Johan Andersson
23814a9bf5
select_quality: fix crash while using range
...
fixes : #392
2016-05-14 11:17:34 +02:00
qnorsten
24a1789949
subtitles: --convert-subtitle-colors command added to convert color information in wsrt subtitle files to <font color=""> tags.
2016-05-09 15:10:58 +02:00
qnorsten
4b9cd2a954
Merge branch 'master' of https://github.com/spaam/svtplay-dl.git
...
# By Johan Andersson (7) and qnorsten (1)
# Via Johan Andersson
* 'master' of https://github.com/spaam/svtplay-dl.git :
New release 1.1
Update makefile version number
makefile: fix a sed error
diff_man: detect extented regex for sed
Add new agruments to pod file
main: move all-subtitles to the rest of subtitles agruments
Add a silent-semi argument
get_one_media: added missing checks if subtitles exists before trying to print url using -g
2016-05-05 17:08:45 +02:00
Johan Andersson
c6abc2e6d9
New release 1.1
2016-05-05 14:02:03 +02:00
Johan Andersson
468f36c62c
main: move all-subtitles to the rest of subtitles agruments
2016-05-05 12:34:05 +02:00
Johan Andersson
7a29dcb65a
Add a silent-semi argument
...
It that will only print error, warning and
when the file is downloaded.
2016-05-05 11:34:10 +02:00
qnorsten
7d575ee382
get_one_media: added missing checks if subtitles exists before trying to print url using -g
2016-05-05 10:38:43 +02:00
qnorsten
f807f48b7a
get_one_media: added missing checks if subtitles exists before trying to print url using -g
2016-05-05 09:46:12 +02:00
qnorsten
5871f81695
output: removed unnecessary print
2016-05-05 01:26:38 +02:00
qnorsten
507bb3cf31
output: wrst now detected as extension. srt file no longer named .wrst.srt when saving raw subtitle from SVT-play.
2016-05-04 09:44:56 +02:00
qnorsten
a774a8052b
Merge branch 'master' of https://github.com/spaam/svtplay-dl.git into rawsubs
...
# By Johan Andersson (7) and qnorsten (4)
# Via Johan Andersson (2) and qnorsten (1)
* 'master' of https://github.com/spaam/svtplay-dl.git :
urplay: dont crash when there is no label
twitch: Fix so we can get live url again
fetcher: dont print newline when its silent
main: add dash in the help text for preferred
tv4play: free videos with premuim showed up as None
tv4play: fix unicode errors in showname
Fixed missing space error
Some minor code improvments
postprocess: ext includes dot before fileextention
Updated gitignore
Added support for subfix in filename of subtitles, when several languages are available Added command to download all available subtitles for a video (--all-subtitles) Added support to print all the subtitle urls when the get url parameter is used Fixed so subtitle url and stream url get printed if -S and -g but not --force-subtitles parameter is used Added support for downloading all subtitles and auto subfix them with language name for Urplay and Urskola (even when just one subtitle is downloaded)
2016-05-03 22:43:57 +02:00
Johan Andersson
f49354387a
urplay: dont crash when there is no label
2016-05-03 20:35:16 +02:00
Johan Andersson
435e58436e
Merge pull request #379 from qnorsten/master
...
Added support for download of all available subtitles on a video
2016-05-03 20:18:32 +02:00
Johan Andersson
45be38c39d
twitch: Fix so we can get live url again
...
fixes : #385
2016-05-02 22:26:30 +02:00
Johan Andersson
3ea58c0461
fetcher: dont print newline when its silent
2016-05-01 13:12:19 +02:00
Johan Andersson
1a2b3001cc
main: add dash in the help text for preferred
...
fixes : #383
2016-04-30 22:15:35 +02:00
Johan Andersson
5cf6e0fe45
tv4play: free videos with premuim showed up as None
2016-04-30 14:10:43 +02:00
Johan Andersson
03a6307f38
tv4play: fix unicode errors in showname
...
fixes : #336
2016-04-30 13:54:26 +02:00
qnorsten
b3f03c2a69
output: Raw subs now affected by --force-subtitles and not --force
2016-04-29 11:51:24 +02:00
qnorsten
f77b560ad8
output: Modifed whitelist from srt to all subs to fix error with raw subtitle file preventing download of videofile
2016-04-29 11:51:23 +02:00
qnorsten
258a969aa1
subtitle: removed parentesis in if check
2016-04-29 11:51:18 +02:00
qnorsten
d72ff200a6
subtitle: fix so right filename is saved when saving raw subs
2016-04-29 11:51:07 +02:00
qnorsten
e54eb77993
subtitle: fixed syntax error
2016-04-29 11:50:43 +02:00
qnorsten
e2093c9a4d
subtile: minor code improvments
2016-04-29 11:50:17 +02:00
qnorsten
617f519977
subtitle: added command --raw-subtitles to download raw subtitle file also
2016-04-29 11:49:44 +02:00
qnorsten
162901b263
subtitle: added command --all-subtitle to download all available
...
subtitles.
subtitle: Added support for subfix in subtile filename.
urplay: added support to download more than 1 subtitle
Added support to print all the subtitle urls when the get url parameter is used
Fixed so subtitle url and stream url get printed if -S and -g but not --force-subtitles parameter is used
Added support for downloading all subtitles and auto subfix them with language name for Urplay and Urskola (even when just one subtitle is downloaded)
2016-04-29 11:41:34 +02:00
qnorsten
26a027517c
Merge pull request #1 from spaam/master
...
postprocess: ext includes dot before fileextention
2016-04-28 23:14:08 +02:00
qnorsten
156d60f8de
Fixed missing space error
2016-04-27 19:41:23 +02:00
qnorsten
428d4c5022
Some minor code improvments
2016-04-27 19:37:32 +02:00
Johan Andersson
003c494e0b
postprocess: ext includes dot before fileextention
...
this fixes : #380
2016-04-27 18:53:47 +02:00
qnorsten
56e07188ee
Added support for subfix in filename of subtitles, when several languages are available
...
Added command to download all available subtitles for a video (--all-subtitles)
Added support to print all the subtitle urls when the get url parameter is used
Fixed so subtitle url and stream url get printed if -S and -g but not --force-subtitles parameter is used
Added support for downloading all subtitles and auto subfix them with language name for Urplay and Urskola (even when just one subtitle is downloaded)
2016-04-27 10:37:47 +02:00
Johan Andersson
f159ebd9e3
get_one_media: dont download subtile with -g and -S
...
fixes : #366
2016-04-27 00:38:44 +02:00
Johan Andersson
d56a5f4deb
get_one_media: print subtitle url
...
with --force-subtile, -g and -S it will print the url for subtitle
fixes : #367
2016-04-27 00:34:25 +02:00
Johan Andersson
0fe57c52a2
select_quality: support for range to -q
...
this is similar to -Q but instead its -q 2000,3000 . it will choose one in between
fixes : #372
2016-04-26 23:48:12 +02:00
Johan Andersson
92b734daab
urplay: fix scrape so it works again
...
this fixes : #374
2016-04-26 23:22:59 +02:00
Johan Andersson
254edb99b7
get_all_episodes: copy options to the next service
...
this fixes : #373
2016-04-26 23:18:45 +02:00
Johan Andersson
4d392d6664
subtitle: strip line endings
2016-04-20 18:42:46 +02:00
Johan Andersson
e5059afb7a
tv4play: add client to post data
2016-04-19 21:58:11 +02:00
Johan Andersson
fcbcb25fce
picsearch: new type of embedded video
2016-04-19 21:08:17 +02:00
Johan Andersson
6d79ce9c04
tv4play: new url for login
2016-04-19 21:06:51 +02:00
Olof Johansson
5393dc1929
Fix various pylint warnings
...
None of these were any real problems, but easier to spot real issues if pylint
is a bit quieter. Apart from the pylint overrides being sprinkled over the code
base, this commit also fixes occurences of the following issues:
- logging-not-lazy
- logging-format-interpolation
- unused-import
- unused-variable
2016-04-03 19:06:45 +02:00
Johan Andersson
f15df72ff2
Merge pull request #362 from olof/dash_complete_progressbar
...
dash: complete the progress bar after file is downloaded
2016-04-02 17:52:12 +02:00
Olof Johansson
556d85e31f
dash: complete the progress bar after file is downloaded
...
The progress bar wasn't updated after the downloaded completed,
so the final progress bar would look something like this:
[99/100][===============================.] ETA: 0:00:00
This can be interpreted as the file didn't download completely.
Reported-by: rooth
2016-04-02 17:35:10 +02:00
Olof Johansson
fa66beff9b
select_quality: Simplify and add comments
2016-03-31 20:33:44 +02:00
Olof Johansson
f59207302d
prio_streams: Rename to protocol_prio
2016-03-31 20:33:44 +02:00
Olof Johansson
84ca17a14c
select_quality: Replace sys.exits with UIExceptions
2016-03-31 20:19:44 +02:00
Olof Johansson
dad2790d9e
select_quality: Filter out unwanted protocols before bitrate
...
It was easily possible to end up in a state where the bitrate prioritization
wanted a bitrate only avaiable via protocols outside of our set of accepted
protocols, like trying to disable dash for svtplay. By doing the protocol
filtering first, we end up only considering "valid" bitrates.
2016-03-31 20:19:44 +02:00
Olof Johansson
9d2054b4bc
select_quality: handle when no requested proto is available
...
Needs to widen the scope of the try: catch block in svtplay_dl/__init__.py
a little, since select_quality can now also fire away UIExceptions.
2016-03-31 20:19:44 +02:00
Olof Johansson
51c71aa1cb
error: New exception, NoRequestedProtocols
...
This excpetion is thrown when the stream can't be accessed by any accepted
protocol (as decided by options.stream_prio).
2016-03-31 20:19:44 +02:00
Olof Johansson
a6e05e4502
prio_streams: make protocol_prio param mandatory
...
Move the responsibility for extracting it to select_quality (prio_streams'
caller). This makes the prio_streams function simpler.
And at the same time, move the default protocol_prio list to global scope. This
can for instance be used for improved error reporting.
2016-03-31 20:19:44 +02:00
Olof Johansson
b6541100a3
select_quality: fix argument parsing
...
Instead of parsing the argument to --stream-prio as a comma separated listed, it
was accidentally handled as a space separated list.
2016-03-31 20:19:44 +02:00
Johan Andersson
c125540498
postprocess: this should be None and not False
2016-03-30 18:18:43 +02:00
Johan Andersson
f0c00090d9
New release 1.0
2016-03-28 21:32:26 +02:00
Johan Andersson
a343178d46
update pod file
2016-03-28 21:15:39 +02:00
Johan Andersson
e20f1212c0
update tests
2016-03-28 21:11:32 +02:00
Johan Andersson
c31cdfeeec
postprocess: add copyts
2016-03-28 19:17:06 +02:00
Johan Andersson
1627abc956
tv4play: show an error message when the video is not there
2016-03-27 13:02:49 +02:00
Johan Andersson
f92e94a8d2
expressen: update way to download the videos
2016-03-27 12:49:27 +02:00
Johan Andersson
2941cb31eb
include the dash.py file
2016-03-26 23:08:22 +01:00
Johan Andersson
e523141a04
support for dash streams
2016-03-26 21:38:31 +01:00
Johan Andersson
f7488af095
get_media: split all_episodes to its own function
2016-03-26 13:08:45 +01:00
Johan Andersson
504b3ccf22
makefile: include postprocess in the binary
...
fixes #360
2016-03-25 21:46:41 +01:00
Johan Andersson
78ceb3c669
dplay: check 401 if we are geoblocked
2016-03-23 00:22:37 +01:00
Johan Andersson
22614e1aa6
postprocess: dont hardcode avconv
2016-03-22 23:31:32 +01:00
Johan Andersson
4c8cb7c5d2
which: detect if you have the app in your cwd
2016-03-22 23:31:07 +01:00
Johan Andersson
60a54d7c0a
postprocess: do check for ffmpeg and avconv
2016-03-22 23:00:50 +01:00
Johan Andersson
4218dd5a5b
postprocess: basic remux files to .mp4 with ffmpeg/avconv
...
fixes #121
fixes #36
2016-03-22 22:36:39 +01:00
Johan Andersson
2d43702828
fetcher: set a variable if the stream is finished.
2016-03-22 22:28:41 +01:00
Johan Andersson
bb861a4062
utils: implement a function to find program in path
2016-03-22 22:28:07 +01:00
Johan Andersson
cad24eebd4
svtplay: it should be parse.path to detect klipp
2016-03-22 22:26:15 +01:00
Johan Andersson
b9c8851ab1
svtplay: more ways to detect embedded videos or clips
2016-03-20 23:21:21 +01:00
Johan Andersson
ab2741f6bf
solidtango: more ways to detect solidtango
2016-03-20 21:04:09 +01:00
Johan Andersson
ab3646e4e2
tv4play: dont encode the showname
2016-03-20 19:15:51 +01:00
Johan Andersson
67fa41fcc5
tv4play: they change the name from user_name to username
2016-03-20 18:40:24 +01:00
Johan Andersson
260bd6c5c6
tv4play: wrong user/passwd crashes the script.
...
exception handling cant handle unicode on py2
2016-03-20 18:35:53 +01:00
Johan Andersson
a32074dbbe
urplay: support for urskola
...
fixes : #358
2016-03-20 18:21:07 +01:00
Johan Andersson
ca6bb5c9c0
picsearch: more ways to detect the service
2016-03-20 18:20:19 +01:00
Johan Andersson
aba4d892f8
progressbar: this should be bit smaller because of fetcher.http
...
using bytes instead of low number takes more room
2016-03-20 00:32:01 +01:00
Johan Andersson
ccc502f4a1
fetcher_http: update to use progressbar instead of progress
2016-03-20 00:30:43 +01:00
Johan Andersson
05a20520b0
svtplay: fix embedded videos on svt.se
2016-03-17 16:57:58 +01:00
Johan Andersson
8da9cab05b
filenamify: dont remove the char before and after -
2016-03-17 16:57:12 +01:00
Johan Andersson
05b245dfaa
filenamify: replace .-. with only -
2016-03-16 22:51:19 +01:00
Johan Andersson
d3b0e106c3
generic: download embedded picsearch videos
...
fixes : #356
2016-03-16 22:50:43 +01:00
Johan Andersson
af70db9431
generic: download embedded lemonwhale videos
...
fixes : #355
2016-03-16 22:47:03 +01:00
Johan Andersson
ef22f9885e
generic: service need one more argument
2016-03-16 19:36:40 +01:00
Johan Andersson
2bb8f82287
lemonwhale: add support for vk.se
2016-03-16 18:58:17 +01:00
Johan Andersson
6d57453278
hls._get_full_url: dont append query string to the url
2016-03-16 18:56:52 +01:00
Johan Andersson
65dc028a9e
svtplay: öppetarkiv cant find program name sometimes
...
fixes : #348
2016-03-15 21:19:04 +01:00
Johan Andersson
b31d52390e
nrk: support for tv.nrksuper.no
...
fixes : #346
2016-03-15 21:19:04 +01:00
Olof Johansson
e781a1e89b
prio_streams: add unit tests
2016-03-13 16:56:51 +01:00
Olof Johansson
4740a42050
prio_streams: remove selected from parameters
...
Moving the responsibility for filtering out "unwanted" bitrates,
as opposed to just present a prioritized list, makes writing
unit tests easier.
2016-03-13 16:56:51 +01:00
Olof Johansson
fe23b971a5
prio_streams: remove options from parameters
...
Instead, pass the protocol prio list; this was the only reason
we used to pass options. Removing options makes it easier to
unit test.
2016-03-13 16:56:51 +01:00
Olof Johansson
af298e86d9
prio_streams: fix issues with prioritization
...
Previously, prio_streams didn't correctly account for the protocol,
and we ended up with HDS videos by default, instead of HLS as exected,
because HDS sorts before HLS alphabetically.
Fixes #349
2016-03-13 16:56:51 +01:00
Olof Johansson
fac120c692
make: pylint --report=no should be --reports=no
...
According to pylint's changelog, --reports has been the officially
documented flag since its introduction, but until recently, --report
also seems to have worked. This has now changed.
2016-03-08 20:32:29 +01:00
Johan Andersson
f047331b8c
pylint fixes
2016-02-29 23:19:01 +01:00
Johan Andersson
eb5e2fe5d4
dplay: new way to detect video id
...
fixes : #347
2016-02-29 23:18:27 +01:00
Johan Andersson
8a4469c810
Anomalous backslash in string fixes
2016-02-22 20:43:57 +01:00
Johan Andersson
55d811286d
solidtango: support for embedded and videos on solidtango.com
...
fixes : #343
2016-02-19 21:29:49 +01:00
Johan Andersson
7f1e2d6fd7
New release 0.30.2016.02.08
2016-02-08 21:47:54 +01:00
Johan Andersson
cd75cd5b63
subtitle.tt: dont crash on negative milliseconds.
2016-02-08 21:28:39 +01:00
Johan Andersson
013b6d1d82
dplay: support for all_last episodes
...
fixes : #329
2016-02-07 22:16:45 +01:00
Johan Andersson
293b6ae7e5
dplay: better show a error message instead of crashing
2016-02-07 20:44:03 +01:00
Johan Andersson
8db85270c8
dplay: better support for .dk, .no sites
...
fixes #339
2016-02-07 20:43:51 +01:00
Johan Andersson
e1459fab2f
svtplay: need to encode the string before hashing it
...
fixes #344
2016-02-07 20:10:36 +01:00
Johan Andersson
901ae80c88
unused import
2016-02-07 10:44:49 +01:00
Johan Andersson
595d5a97ac
efn: unused variable
2016-02-07 10:44:38 +01:00
Johan Andersson
70254e3429
unused imports
2016-02-07 10:41:43 +01:00
Johan Andersson
4b6393c060
dplay: change to “is” instead of ==
2016-02-07 10:32:47 +01:00
Johan Andersson
0f340b194e
hds: remove some left over debug code..
2016-02-07 10:31:28 +01:00
Johan Andersson
4e88894f0c
remove some empty lines.
2016-02-07 10:28:07 +01:00
Johan Andersson
4e88d27cbc
hls, hds: dont try to parse bad data
...
fixes : #342
2016-02-07 10:27:01 +01:00
Johan Andersson
1fa3204374
viaplay: we should get the subtitle after we set name
...
fixes #341
2016-02-07 10:25:49 +01:00
Johan Andersson
3f04ae2a56
swap place on py2 and py3 checks
2016-01-27 19:49:38 +01:00
Johan Andersson
219a134069
tv4play: dont quote unicode strings
...
fixes #336
2016-01-27 19:28:37 +01:00
Olof Johansson
5c76619e5e
Reraise exception proplery to UI with --verbose
...
When doing raise without arguments in an exception handler, the
exception is reraised with the original exception details.
Currently, the exceptions raised are all attributed the line
changed in this commit.
2016-01-26 00:20:17 +01:00
Johan Andersson
99a0a1169a
hdsparse: we should use bootstrapinfoid instead of 0
2016-01-17 00:36:15 +01:00
Johan Andersson
83e63d3e7a
New release 0.30.2016.01.10
2016-01-10 21:39:18 +01:00