Commit Graph

1747 Commits

Author SHA1 Message Date
beardypig fe32bfb25b plugins.tf1: added plugin to support tf1.fr and lci.fr 2017-01-08 18:07:58 +00:00
Mohamed El Morabity 697d6d3d3e Add support for pluzz.francetv.fr (#343)
* Add support for pluzz.francetv.fr

* Add tests for pluzz plugin

* Workaround to ignore HDS streams not supported by HDSStream

* Fix for Python 3
2017-01-06 20:59:30 +00:00
Forrest ca92977eed Merge pull request #371 from beardypig/adultswim-fix
plugins.adultswim: support https urls
2017-01-06 12:28:11 -08:00
Forrest 719a051822 Merge pull request #350 from javiercantero/v3-api
Upgrade Twitch plugin to use API v3
2017-01-06 12:27:52 -08:00
beardypig f937949b42 plugins.adultswim: support https urls 2017-01-06 20:21:21 +00:00
Forrest 9a43feda35 Merge pull request #351 from beardypig/errorlog-path
Specify the subprocess errorlog path
2017-01-06 11:25:47 -08:00
fozzy ac4abdd542 Add plugin for huajiao.com and zhanqi.tv (#334)
* huajiao.com and zhanqi.tv docs added

* Add source huajiao.com

* Add source zhanqi.tv

* fixed minor problems according to @steven7851

* STREAM_WEIGHTS added, hls source not recommanded

* Fix compatibility with --stream-types and --stream-priority

* Change to Schema parser

* Fixes the problem with HLS.

When m3u8 field is provided in json, request to http stream will result
in a 404 Not found. That means either HLS or HTTP is available.
`
Input #0, mpegts, from 'pipe:0':
  Duration: N/A, start: 40169.165733, bitrate: 60 kb/s
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0.0[0x100]: Video: h264 (High), yuv420p, 504x896, 15 fps,
90k tbn
    Stream #0.1[0x101]: Audio: aac, 44100 Hz, mono, fltp, 60 kb/s
`
`
Input #0, flv, from 'pipe:0':
  Metadata:
    copyright       : lvll
    hasVideo        : true
    hasAudio        : true
    displayWidth    : 504
    displayHeight   : 896
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: h264 (High), yuv420p, 504x896, 14.42 fps, 1k tbn
    Stream #0.1: Audio: aac, 44100 Hz, mono, fltp
`
HLS and HTTP stream seems to have different quality, HLS is better than
HTTP. But either is available, so `STREAM_WEIGHTS` not set and only an
`live` option provided.

* Stream name set to 'live'

* remove classmethod `stream_weight` because `live` already have pre-defined method
2017-01-06 11:24:08 -08:00
Forrest 0139944f70 Merge pull request #368 from beardypig/python-devel-note
Add a note about python-devel needing to be installed in some cases
2017-01-06 10:11:16 -08:00
Forrest 2357d1238c Merge pull request #365 from beardypig/fix-picarto
Picarto update to support new site layout
2017-01-06 09:31:47 -08:00
beardypig 8415e70c48 docs: add a note about python-devel needing to be installed in some cases 2017-01-06 17:31:10 +00:00
Forrest cedf48a30c Merge pull request #367 from beardypig/mitele
plugins.mitele: support for live streams on mitele.es
2017-01-06 09:30:42 -08:00
beardypig e89d848240 plugins.mitele: support for live streams on mitele.es 2017-01-06 15:11:54 +00:00
beardypig bf4a74b9cd plugins.picarto: updated plugin to use tech_switch divs to find the stream parameters 2017-01-06 11:57:36 +00:00
beardypig b145d24c6c tests: add codecov config file (#363) 2017-01-05 09:48:30 -08:00
beardypig f24ce2f819 stream.hls: try to retry stream segments (#357) 2017-01-05 09:31:54 -08:00
beardypig c62955fa22 tests: use mock from unittest when available otherwise fallback to mock (#358) 2017-01-05 09:30:49 -08:00
beardypig 8049604494 packages.flashmedia: fix bug in AMFMessage (#359) 2017-01-05 09:30:17 -08:00
beardypig 3b7c26e84e ci: build and test on Python 3.6 (+3.7 on travis, with allowed failure) (#360) 2017-01-05 09:28:37 -08:00
beardypig c89e65590f plugins: all regex string should be raw (#361)
support for non-standard escape characters has been deprecated in Python 3.6
2017-01-05 09:28:19 -08:00
beardypig d2717041c8 Boost the test coverage a bit (#362)
* tests: improving test coverage

* tests: improving test coverage of utils

* tests: ensure that all the plugins can be loaded

* tests: simple parse test for m3u8

* tests: mock tvplayer plugin requests

* tests: use mock from unittest where available

* test_hls_playlist: all strings are unicode

* plugins.{ine,atresplayer}: fix bug in regex for py26
2017-01-05 09:27:15 -08:00
beardypig 7e93d0c8df packaging: removed the built in backports infavour of including them as dependencies when required (#355) 2017-01-05 01:25:30 -08:00
beardypig 045b8fd20f plugins.picarto: Remove the unreliable rtmp stream (#353)
* plugins.picarto: added some extra debug logging

* plugins.picarto: only return the HLS stream as the RTMP stream is being phased out
2017-01-03 23:47:00 -08:00
beardypig 6af70d5a2d plugins.kanal7: fixed page change in kanal7 live stream (#348) 2017-01-03 09:44:14 -08:00
beardypig ea8439ba29 plugins.trtspor: added support for trtspor.com (#349) 2017-01-03 09:44:02 -08:00
Javier Cantero 2a4468c391 plugins/twitch: use kraken URL
As specified by the Twitch API documentation, use the base URL
`https://api.twitch.tv/kraken` to access (public) API resources.
2017-01-03 17:59:14 +01:00
beardypig f1f03d9086 cli: add command line option to specific logging path for subprocess errorlog 2017-01-03 15:57:38 +00:00
Javier Cantero f5667e56a8 plugins/twitch: use version v3 of the API
Twitch API documentation[*] recommends for every API request to specify
the API version by setting the Accept HTTP header to the appropriate
value. This patch sets the value to v3 (the current stable version of
the API).

 [*]: https://github.com/justintv/Twitch-API
2017-01-03 12:23:50 +01:00
beardypig fb6ac2f50f plugins.streamlive: streamlive.to have added some extra protection to their streams which currently prevents us from capturing them (#339) 2016-12-30 15:05:14 -08:00
beardypig 4de9fa82cc plugins.tvcatchup: site layout changed, updated the stream regex to accommodate the change (#338) 2016-12-30 10:18:17 -08:00
Michiel Sikma 642946aabf Update PLAYER_VERSION, as old one does not return data. Add ability to use streams with /embed/video in the URL, from embedded players. (#311) 2016-12-27 21:44:39 -08:00
Charlie Drage 2358e7af2c Merge pull request #310 from cdrage/release-0.2.0
0.2.0 Release
2016-12-16 19:41:21 -05:00
Charlie Drage 34a0a34cff 0.2.0 Release 2016-12-16 19:41:08 -05:00
Beardypig 63d9c3d68e plugins.liveme: added support for liveme.com streams (#306)
plugins.tv4play: fixed broken regex
2016-12-16 10:54:48 -08:00
Beardypig 7707572b1d appveyor: add codecov support (#307) 2016-12-16 10:50:57 -08:00
Beardypig df6cb57b3d plugins.ine: added support for INE videos (#308) 2016-12-16 10:50:34 -08:00
Beardypig 707df4f27b Support for local files (#304)
* Support for local files using an embedded copy of requests-file

* add support for relative paths in the local file loading

* add support for reading files from stdin

* fix support for local files in python 3

* add Windows support for relative paths in local file reading

* improve the URL format for Windows local file:// URLs

* docs: updated to include local file info
2016-12-15 21:18:53 -08:00
Beardypig 4139d0bf9a Turkish Streams IV (#305)
* plugins.powerapp: add support for powerapp.com.tr

* plugins.tv360: support for tv360.com.tr

* plugins.kanal7: added support for kanal7.com
2016-12-15 19:05:45 -08:00
Beardypig dd0de7e97f plugins.atresplayer: add support for live streams on atresplayer.com (#303) 2016-12-15 13:18:28 -08:00
Beardypig f29b08c58c Windows command line parsing fix (#300)
* Enable automated testing on Windows via AppVeyor

* tests: add some tests for the command line argument parsing

* cli: fixed windows argument parsing with escaped quotes, etc.

* tests: python2.6 requires unittest2

* tests: fixed awful typo!
2016-12-15 11:47:22 -08:00
Beardypig 826dd87cc7 coverage: include streamlink_cli in the coverage, but exclude the vendored packages (#302) 2016-12-15 11:10:17 -08:00
mmetak 00a56a7501 Add package maintainers to docs. (#301) 2016-12-15 11:09:15 -08:00
mmetak c905e43278 Add links for windows portable version. (#299) 2016-12-15 09:25:28 -08:00
Beardypig cad43f9d2d Turkish Streams Part III (#292)
* plugins.cinergroup: move showtv to generic ciner group plugin, with support for more sites

* plugins.dogan: added dreamturk.com.tr support

* plugins.turkuvaz: moved atv to generic turkuvaz plugin with support for other sites in the network

* plugins.cinergroup: added missing haberturk support

* plugins.dogus: combine the dogus sites all in to one plugin

* plugins.turkuvaz: added support for atvavrupa.tv

* plugins.{cinergroup,dogus}: fixed regex bug
2016-12-15 09:24:08 -08:00
Forrest 8b73a5c8d3 Merge pull request #294 from beardypig/trt
Support for the live channels on trt.net.tr
2016-12-14 09:42:27 -08:00
beardypig 9ea8ead0c5 plugins.trt: added support for the live channels on trt.net.tr 2016-12-14 10:49:45 +00:00
Forrest ad5b9d0344 Merge pull request #289 from beardypig/turkish-streams
Tweaks and updates for Turkish streams
2016-12-13 09:59:01 -08:00
beardypig 14adedaefe plugins.dogan: support for teve2, kanald, dreamtv, and ccnturk via the same plugin 2016-12-13 11:41:40 +00:00
beardypig 01554aae5c plugins.atv: add support for a2tv which is very similar to atv 2016-12-13 11:41:39 +00:00
beardypig 1a1167a78f stream.hds: added option to force akamai authentication
plugins.startv: refactored in to a base class, to be used in other plugins that use the same hosting as StarTV
plugins.kralmuzik: refactored to use StarTVBase
plugins.ntv: added NTV support
2016-12-13 11:41:37 +00:00
Forrest 93e0204c93 Merge pull request #286 from beardypig/turkish-streams
Add support for a few Turkish live streams
2016-12-12 09:31:56 -08:00