Christopher Rosell
b66cb24f88
Check for errors when testing --jtv compatibility.
2012-06-13 16:22:55 +02:00
Christopher Rosell
0b0be39ebf
Added global options module.
...
- Removed argument handlers from plugins and use options instead.
- Removed arguments to stream.open() and use options instead.
- Added rtmpdump option to override location manually.
2012-06-13 16:06:27 +02:00
Christopher Rosell
04aae63fb0
Improved subprocess error handling.
...
- Added --errorlog argument to log subprocess errors.
- Check if rtmpdump has --jtv argument when needed.
2012-06-12 19:53:12 +02:00
Christopher Rosell
ad4b6b95c8
Add LICENSE.
2012-05-28 02:01:37 +02:00
Christopher Rosell
851e407e98
Improve English.
2012-05-28 01:47:48 +02:00
Christopher Rosell
b19a10e681
Write normal messages to stdout instead of stderr.
2012-05-28 01:17:25 +02:00
Christopher Rosell
2593e981c8
Add -c option again that prints internal commandline when possible.
2012-05-28 01:11:52 +02:00
Christopher Rosell
ccaa3f3093
Update README.
2012-05-27 20:12:40 +02:00
Christopher Rosell
ca945afa5c
Add option to always write to output file even if it already exists.
2012-05-27 00:51:00 +02:00
Christopher Rosell
419a59b97d
Exit with return code 1 when there is an error.
2012-05-27 00:30:52 +02:00
Christopher Rosell
abc1ebe65f
Add option to output stream to stdout.
2012-05-26 23:30:26 +02:00
Christopher Rosell
7802a20799
Add support for writing stream to stdout.
2012-05-26 21:44:15 +02:00
Christopher Rosell
dbe5e67d26
Fix rtmpdump locking up when stderr buffer is filled.
2012-05-26 16:46:58 +02:00
Christopher Rosell
f2d463ea3f
Add YouTube plugin.
2012-05-25 17:29:21 +02:00
Christopher Rosell
3957b734ed
Refactor stream input/output.
...
- Now uses pbs library to handle subprocesses.
- Removed -c option as not all plugins may be based on subprocesses.
2012-05-25 17:26:11 +02:00
Christopher Rosell
e4c07414d0
Add more plugin exceptions.
2012-05-24 15:07:03 +02:00
Christopher Rosell
5afb1f0917
Simplify Python compat.
2012-05-24 15:04:25 +02:00
Christopher Rosell
553ac15ebb
Merge pull request #8 from frontendloader/master
...
Fix for own3d's new layout
2012-05-24 04:26:36 -07:00
frontendloader
03c840597c
fix for own3d's new layout/scheme.
2012-05-24 06:05:19 -05:00
Christopher Rosell
64913105cd
Release version 1.0.0.
2012-04-29 22:16:24 +02:00
Christopher Rosell
22dd8a40c8
Added PluginError exception to make error handling nicer.
...
Also added a utility function to do HTTP requests.
2012-04-21 21:57:20 +02:00
Christopher Rosell
e3b3bdf86e
Make get_streams always return a dict.
2012-04-21 20:35:43 +02:00
Christopher Rosell
0eb8969b06
livestreamer.plugins.ustreamtv: A more proper fix for AMF parsing.
2012-04-19 23:10:11 +02:00
Christopher Rosell
818c0570b6
livestreamer.plugins.ustreamtv: Fix AMF parsing.
2012-04-19 22:20:29 +02:00
Christopher Rosell
9663e66729
Only require argparse on Python <2.7 and <3.2.
2012-04-19 21:45:06 +02:00
Christopher Rosell
85e9529958
Merge pull request #6 from doda/master
...
Add "best" quality.
2012-04-19 12:10:22 -07:00
Dominik Dabrowski
28d0110d44
Putting some organizational logic into the Plugin base class to automatically choose a 'best' quality
2012-04-19 18:25:55 +02:00
Christopher Rosell
20fb1e23de
Merge pull request #5 from doda/master
...
Update setup.py for Python 2.6 since it doesn't ship with argparse.
2012-04-19 07:12:10 -07:00
Dominik Dabrowski
9b9fcb92fe
update setup.py for python2.6 since it doesnt ship with argparse
2012-04-19 16:06:06 +02:00
Christopher Rosell
edfc2de50a
Make livestreamer more usable as a library.
2012-03-21 22:49:15 +01:00
Christopher Rosell
1f413ed99c
Move CLI related constant to cli.py.
2012-03-21 16:31:41 +01:00
Christopher Rosell
0f37657490
Refactor the stream/command line handling.
2012-03-21 16:24:45 +01:00
Christopher Rosell
f175241692
Change the way plugins are used.
...
Also use http as default protocol when URL is
missing protocol.
2012-03-21 13:10:02 +01:00
Christopher Rosell
4ea8ddfd4d
livestreamer.plugins.ownedtv: Use two regexes.
...
It seems both regexes are needed for different URLs.
Should now work on both /live/id and /channelname URLs.
2012-03-21 12:11:53 +01:00
Christopher Rosell
92bde78ea4
Another ownedtv regex fix.
2012-03-14 16:30:45 +01:00
Christopher Rosell
c58440436e
Merge pull request #3 from termac/master
...
fix for ownedtv plugin
2012-02-29 16:20:42 -08:00
termac
33b5c8ce39
alter regular expression in ownedtv plugin to again find the channel id
2012-02-29 21:12:48 +01:00
Christopher Rosell
32cdb85810
Use a markdown README instead.
2012-01-19 23:29:28 +01:00
Christopher Rosell
84971ae150
Update README.
2012-01-19 22:58:09 +01:00
Christopher Rosell
79d4e60539
livestreamer.plugins.justintv: Now supports subscription channels.
...
Needs a cookie passed with --jtv-cookie to get a subscription key.
2012-01-19 22:52:08 +01:00
Christopher Rosell
96c33449ee
Plugins can now add extra arguments to the cli.
2012-01-19 22:50:30 +01:00
Christopher Rosell
7633731ba2
Fix argument splitting.
2012-01-19 22:49:16 +01:00
Christopher Rosell
89be5d3882
Add argument reading from ~/.livestreamerrc.
2011-12-19 15:45:12 +01:00
Christopher Rosell
166c98fcce
livestreamer.plugins.ownedtv: Always use first stream.
2011-12-19 15:44:28 +01:00
Christopher Rosell
4802963546
Some code rearrangements.
2011-10-26 03:23:43 +02:00
Christopher Rosell
93a3a5fada
Add SWF verification.
2011-10-26 03:03:19 +02:00
Christopher Rosell
90f501e1d2
livestreamer.plugins.justintv: Behave more like flash player.
2011-10-19 22:42:32 +02:00
Christopher Rosell
5ff656ef3e
Add livestreamer.compat for 2.6 and 2.7 support.
2011-10-13 20:47:51 +02:00
Christopher Rosell
9f43ad3e0c
Fix typo in README.
2011-10-13 19:48:50 +02:00
Christopher Rosell
0f66539e65
livestreamer.plugins.ownedtv: Add proper CDN handling.
2011-10-13 19:28:34 +02:00