* 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
* 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
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
* 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
* 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!
* 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
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