Commit Graph

3002 Commits

Author SHA1 Message Date
Forrest 94a8a7301c Add icon, modify installer, update docs (#2165)
Fixes #1123
2018-12-31 04:37:51 +01:00
back-to ee81d1a0a2 plugins.afreeca: use Referer for every connection (#2204)
* plugins.afreeca: use Referer for every connection

* plugins.afreeca: removed old domains that won't work with the plugin
2018-12-20 18:46:38 -08:00
Forrest 3946184ab4
Merge pull request #2194 from back-to/ua
api.useragents: update User-Agent list
2018-12-12 17:43:20 -08:00
back-to 575b645156 api.useragents: update User-Agent list 2018-12-12 16:30:55 +01:00
Forrest 52159dadfd
Merge pull request #2193 from back-to/py38
travis-ci: Fixed Python 3.8 error's
2018-12-09 12:14:57 -08:00
back-to da7e9ca1c1 plugins.cdnbg: Update for extra channels (#2186)
* plugins.cdnbg: Update for extra channels

- http://inlife.bg/
- https://mmtvmusic.com/live/
- http://mu-vi.tv/LiveStreams/pages/Live.aspx

---

- use python logging
- removed SSL Verification for Stream URLs
- find iframes with `:` instead of `:`

* plugins.cdnbg: Added some more URL tests

Removed "tvevropa.com",
can not find a livestream url on the website.
2018-12-09 12:12:49 -08:00
back-to f7f13dc2b3 travis-ci: Fixed Python 3.8 error's
- logger: ValueError: Invalid format '[{name}][{levelname}] {message}' 
for '%' style
- api/utils: SyntaxWarning: invalid escape sequence
- hds: SyntaxWarning: invalid escape sequence and Flake8 E127
- test_api_validate: SyntaxWarning: invalid escape sequence
- test_plugins: ResourceWarning: unclosed file
2018-12-09 20:22:38 +01:00
Maxwell Cody 7156828489 Add ability to specify custom key URI override for HLS streams (#2139)
* cli: add arguments (hopefully) for custom key uri feature

* stream.hls: (hopefully) implement custom key uri feature

* cli: fix argument

* stream.hls: force hls segment key response encoding to 'binary/octet-stream' as per hls spec.
2018-12-08 12:38:37 -08:00
Stefan de Konink ab3d7b233c Update the documentation with comments for playing YouTube Live Streams (#2156)
* Update the documentation with comments for playing YouTube Live Streams

* Suggestions by @bastimeyer

* Extra empty lines.
2018-12-08 12:35:46 -08:00
Forrest 5ea41a4349
Merge pull request #2187 from back-to/SBScokr
plugins.sbscokr: New Plugin for http://play.sbs.co.kr/onair/pc/index.html
2018-12-08 12:33:22 -08:00
Forrest 207bff1c9c
Merge pull request #2188 from back-to/VTVgo
plugins.vtvgo: New plugin for https://vtvgo.vn/
2018-12-08 12:32:53 -08:00
Forrest 0ad74d74dd
Merge pull request #2189 from back-to/STV
plugins.stv: New Plugin for https://player.stv.tv/live
2018-12-08 12:32:15 -08:00
back-to 3bb4443742 plugins.vtvgo: New plugin for https://vtvgo.vn/
VTV is the national television broadcaster of Vietnam.
https://en.wikipedia.org/wiki/Vietnam_Television
2018-12-01 23:40:16 +01:00
back-to a8a5eaac2a plugins.sbscokr: New Plugin for http://play.sbs.co.kr/onair/pc/index.html
SBS is a national South Korean television and radio network company.
- https://en.wikipedia.org/wiki/Seoul_Broadcasting_System
2018-12-01 21:27:21 +01:00
back-to d8e875818e plugins.stv: New Plugin for https://player.stv.tv/live
STV is a television channel serving Scotland.
- https://en.wikipedia.org/wiki/STV_(TV_channel)
2018-12-01 20:04:08 +01:00
Forrest b99249e941
Merge pull request #2182 from beardypig/bbciplayer-vpid-change
plugins.bbciplayer: change in the mediator info in the page layout
2018-11-27 18:30:00 -08:00
beardypig ea10552cea
plugins.bbciplayer: change in the mediator info in the page layout 2018-11-26 15:33:15 +01:00
Forrest 30043408c7
Merge pull request #2146 from qkolj/twitch-title
plugins.twitch: Add support for {title}, {author} and {category}
2018-11-22 11:52:37 -08:00
Forrest 82d2146e87
Merge pull request #2160 from qkolj/skai-fix
plugins.skai: Fix plugin after site update
2018-11-22 11:50:55 -08:00
David Bell 21704e9d5e Update ine.py (#2171)
* Update ine.py

Fix #2170

* Update ine.py
2018-11-22 11:50:03 -08:00
Petar Kukolj ee0233c9d0 plugins.skai: Fix plugin after site update
Closes #2159

 - Updated URL regex to support new valid URL

 - Plugin is now extracting stream URL from an API call instead of searching the HTML document

 - Added a test for the new URL
2018-11-19 03:11:37 +01:00
Forrest 649f483ab3
Merge pull request #2147 from vincentrozenberg/patch-1
Update to the NPO plugin
2018-11-06 13:05:41 -08:00
Petar Kukolj 25b2123422 plugins.twitch: Add support for {title}, {author} and {category}
`streamlink --title "{title} - {author} - {category}" <url> best`

`{category}` and `{game}` both work interchangeably as per #1576

Title parsing works for live streams, VoDs and clips.
2018-11-04 17:37:21 +01:00
Vincent Rozenberg bb9546aab6
Update npo.py
Added support for the new standard domain "npostart.nl".
2018-10-31 14:44:43 +01:00
bastimeyer eab005175d Merge pull request #2137 from gravyboat/feature/config_file_clarification 2018-10-27 13:58:15 +02:00
qkolj edb9f2d7af plugins.tvibo: Add support for livestreams on player.tvibo.com (#2130)
idmantv.az hosts live streams of three TV channels from Azerbaijan.

- http://player.tvibo.com/aztv/5929820
- http://player.tvibo.com/aztv/6858270
- http://player.tvibo.com/aztv/3977238
2018-10-26 17:30:38 +00:00
qkolj 7e3d1d5d76 plugins.metube: Add support for live streams and VoDs on www.metube.id (#2112)
* plugins.metube: Add support for live streams and VoDs on metube.id

meTube.id is an Indonesian video sharing website owned by MNC Media that has live streams of many Indonesian TV channels.

Plugin works for both live streams and VoDs.
2018-10-26 17:29:06 +00:00
back-to 056978c1df
Merge pull request #2127 from bastimeyer/feature/fallback-synonyms
feature: {best,worst}-unfiltered stream synonyms
2018-10-26 17:28:27 +00:00
Forrest 822ae3a7cf Add a note about specifying the full player path 2018-10-24 16:23:56 -07:00
bastimeyer 5c03dbf639 feature: {best,worst}-unfiltered stream synonyms
Add special stream synonyms "best-unfiltered" and "worst-unfiltered" in
cases when all available streams have been filtered out by the
`--stream-sorting-excludes` parameter and the "best" and "worst" stream
synonyms don't exist. These new synonyms point towards the respective
streams of the unfiltered streams list so that the user is able to
select a fallback stream.

Example:
streamlink --stream-sorting-excludes '>=480p' URL best,best-unfiltered
Will try to open the best stream below 480p, but if none is available
will continue with the best of all streams as a fallback selection.

Resolves #1055
2018-10-24 17:37:02 +02:00
qkolj 7b5f4f775b plugins.huomao: Fix plugin after website changes (#2134)
* plugins.huomao: Fix plugin after website changes

Plugin for Huomao extracts stream info from mobile webpage, but they have since changed the mobile website, subsequently breaking the plugin.
Closes #2132

* Update tests after changes to plugin
2018-10-24 07:38:15 -07:00
Forrest c1a2962d99
Merge pull request #2129 from qkolj/bilibili-fix
plugins.bilibili: Fix plugin after API change
2018-10-23 11:45:21 -07:00
beardypig d022e9b8fd cli: disable progress output for -o when no tty is available (#2090)
* cli: disable progress output for -o when no tty is available

Changes to the behaviour of the progress bar when using -o.

If there is no tty available for output (eg. when piping, or running a
subprocess), then no progress bar is output. This is because the
progress bar rewrites the console, which is only possible on interactive
terminals not for a pipe.

If there is no tty available for input and the file already exists an
error is given instead of a prompt to the user.

* Updated tests
2018-10-23 11:44:05 -07:00
Petar Kukolj 9fda54c46b plugins.bilibili: Fix plugin after API change 2018-10-23 17:17:45 +02:00
Mohamed El Morabity b21df07689 plugins.pluzz: fixes and francetvinfo.fr support (#2119)
- speeds up stream resolution for HDS streams (by using a static URL for the SWF player instead of searching it each time the plugin is run)
- makes the plugin use token generator for all kind of streams (since a recent change on France TV)
- enable full support for videos on francetvinfo.fr and its subdomains
2018-10-18 18:30:26 +00:00
Forrest e8870b6292
Merge pull request #2121 from back-to/version
versioneer: always use 7 characters
2018-10-16 14:34:41 -07:00
back-to 5ab2dce6c6 versioneer: always use 7 characters
The nightly version won't get build because Streamlink outputs two different versions,
one with 7 and one with 8 characters.

https://bintray.com/streamlink/streamlink-nightly/streamlink

commit `1a5a5fb2e6fccc5a441f987ccd4e53794542dfc9`

> streamlink-0.14.2_133.g1a5a5fb.exe

length 7

https://travis-ci.org/streamlink/streamlink/jobs/440826462#L3090

> streamlink-0.14.2_133.g1a5a5fb2.exe

length 8

https://travis-ci.org/streamlink/streamlink/jobs/440826462#L3198

---

This is a known issue from versioneer, there is also a solution ...

https://github.com/warner/python-versioneer/issues/156

076e4119f7 (diff-f374b985f7c07f7ff6a8dbaa0b30a10d)
d08bd58dff (diff-4af5de46c624a2c4aa3ff1c3e82d5c4a)

---

Before

Streamlink: 0.14.2+135.gcb587d80

After

Streamlink: 0.14.2+135.gcb587d8
2018-10-16 19:15:03 +00:00
bastimeyer cb587d80f9 Merge pull request #2115 from gravyboat/master 2018-10-14 01:25:53 +02:00
Forrest 07330d8361 Remove bountysource from donation page, update flattr 2018-10-12 19:08:55 -07:00
Forrest 1a5a5fb2e6
Merge pull request #2113 from back-to/yt_embed_livestream
plugins.youtube: Added support for embedded livestream urls
2018-10-12 12:16:29 -07:00
back-to 159d30ffb1 plugins.youtube: Added support for embedded livestream urls
URL regex update.

use canonical url for embedded livestreams,
this was not added before because it is not needed for normal videos.

Ref https://github.com/streamlink/streamlink/pull/1888#discussion_r199504011

Added some more regex group tests.

---

Example where this url can be found

`https://www.aljazeera.com/live/` with `Having trouble watching?`

The youtube url is currently not used for Streamlink,
but might be useful for other future websites.
2018-10-12 15:39:08 +02:00
Vinny 24de9d2bda docs: Added documentation for the Funimation plugin (#2091)
Added information regarding the required session cookie for the
Funimation plugin.
2018-10-12 15:34:11 +02:00
qkolj ac007c5d1d plugins.tamago: support for live streams on player.tamago.live (#2108) 2018-10-12 15:30:16 +02:00
jackyzy823 1961201e6e Improve terminal progress display for wide characters (#2032)
* [cli.util] fix progressbar issue when prefix contains east asian characters

    In python 2, Fix malformed displayed prefix because prefix is cut by bytes , not by unicode chars.

    In python 2 & 3, Calculate prefix width in terminal replace of prefix length because east asian characters length 1 and width 2.

* [cli.util] use more accurate character width data from unicode documents and add tests.

* [cli.util] remove unused import in util.progress
2018-10-11 12:10:12 -07:00
Forrest 934ad3f0eb
Merge pull request #2100 from qkolj/cubetv
plugins.cubetv: support for live streams on cubetv.sg
2018-10-10 15:01:15 -07:00
back-to f5df71d7e0 plugins.ustreamtv: use Desktop instead of Mobile streams (#2082)
* plugins.ustreamtv: websocket API update

- plugins.ustreamtv: fix issue with muxed hls streams
- plugins.ustreamtv: update for some changes in the API
- plugins.ustreamtv: fix for VOD streams using updated API
- plugins.ustreamtv: use websockets for the mobile streams
- plugins.ustreamtv: remove urljoin for ws://

* plugins.ustreamtv: use Desktop instead of Mobile streams

* plugins.ustreamtv: handle offline and geoblocked streams
2018-10-10 14:59:09 -07:00
Forrest e70fa97da9
Merge pull request #2102 from qkolj/ok_ru-vod
plugins.ok_live: Changed URL regex to support VoDs
2018-10-10 14:58:23 -07:00
Forrest 1e624b19b1
Merge pull request #2096 from back-to/dash_dynamic
stream.dash_manifest: Fixed bug for dynamic playlists when parent.id is None
2018-10-07 13:56:49 -07:00
back-to f3ec733d1a stream.dash_manifest: Fixed bug for dynamic playlists when parent.id is None
if `self.parent.id` is None, use `self.parent.mimeType` instead.

This will create two timelines for video and audio,
instead of one for both which won't work.

---

Test URLS:

https://www.france.tv/france-5/direct.html

http://livesim.dashif.org/livesim/segtimeline_1/testpic_2s/Manifest.mpd
from https://github.com/Dash-Industry-Forum/dash-live-source-simulator/wiki/Test-URLs
2018-10-07 11:15:05 +02:00
Petar Kukolj 0d0328f0f4 plugins.ok_live: Changed URL regex to support VoDs 2018-10-07 02:38:19 +02:00