Laurent Bachelier
8075d538f0
Better messages and return codes in applications
...
Use stderr and return codes >0 when it makes sense.
Loose return code conventions:
* 1 for generic errors
* 2 for user input errors
* 3 for remote errors (not found, etc.)
* 4 for not implemented
2011-05-04 00:44:43 +02:00
Romain Bignon
48d6f1daf1
fix license
2011-04-26 09:12:22 +02:00
Romain Bignon
7098e44d9b
use CapResources for radios
2011-04-21 12:07:37 +02:00
Romain Bignon
c28d5a99c1
factorize ls and cd in ReplApplication
2011-04-21 11:01:50 +02:00
Nicolas Duhamel
0f53a02947
Introduce tostring function
2011-04-20 09:26:33 +02:00
Nicolas Duhamel
82afb34f7a
Use Path object
2011-04-20 09:26:33 +02:00
Nicolas Duhamel
f815a9c2c2
Catch CollectionNotFound
2011-04-20 09:26:33 +02:00
Nicolas Duhamel
3e17eb0991
little fix
2011-04-20 09:26:33 +02:00
Nicolas Duhamel
95edb50496
little fix
2011-04-20 09:26:33 +02:00
Nicolas Duhamel
27876970f3
backend stateful
2011-04-20 09:26:32 +02:00
Nicolas Duhamel
8adc8dca9a
Videoob fix license
2011-04-20 09:26:32 +02:00
Nicolas Duhamel
8b2e4b276d
Add collections to videoob
2011-04-20 09:26:32 +02:00
Nicolas Duhamel
d8b80139d4
Fix download rtmp video source ( closes #631 )
2011-04-11 08:28:29 +02:00
Romain Bignon
7e2bb91b3b
change license to AGPLv3+
2011-04-08 12:48:07 +02:00
Christophe Benz
ca658e3946
python2.5 compatibility.
2011-04-04 21:51:51 +02:00
Christophe Benz
c7ff4640a0
Fix application descriptions.
2011-04-04 10:35:41 +02:00
Romain Bignon
31a0a0a8be
bump to 0.8
2011-04-04 10:30:09 +02:00
Romain Bignon
0524a8d97d
default filename to save video is ID.EXT
2011-03-25 10:33:39 +01:00
Romain Bignon
0d5e63e429
add command 'download'
2011-03-10 16:07:33 +01:00
Romain Bignon
bafbf3644a
use IFormatter.(BOLD|NC) on every formatters
2011-03-09 09:26:55 +01:00
Romain Bignon
3cb6ca033f
bump to 0.7
2011-03-01 13:57:23 +01:00
Romain Bignon
81f9980623
update copyrights
2011-01-14 23:03:52 +01:00
Romain Bignon
2ebb9a844d
bump to 0.6
2011-01-08 12:30:28 +01:00
Romain Bignon
78bfa70f23
set a description for every application
2010-12-09 12:03:38 +01:00
Romain Bignon
d546294964
add a description
2010-12-08 17:55:38 +01:00
Romain Bignon
a83a81dde8
bump to 0.5
2010-12-01 19:55:59 +01:00
Christophe Benz
93f8a50b4f
clean media player code, ability to configure player in videoob and radioob
2010-11-29 07:25:13 +01:00
Christophe Benz
560798bf7d
implement mandatory fields for custom formatters
2010-11-23 14:46:32 +01:00
Romain Bignon
ecdd6582e5
give parent logger to MediaPlayer
2010-11-09 23:27:56 +01:00
Romain Bignon
bea732d534
bump to version 0.4
2010-11-01 23:21:37 +01:00
Romain Bignon
d2c70b7e98
in a tty, ask user to press <Enter> when text exceed the term height
2010-10-16 12:11:30 +02:00
Romain Bignon
a9f6ec93aa
renamed VideoPlayer to MediaPlayer
2010-10-15 18:29:10 +02:00
Romain Bignon
24e3671f27
video_list formatter display count in interactive mode, the full ID otherwise
2010-10-15 10:12:44 +02:00
Romain Bignon
f031f9b5aa
use a special and readable formatter for the 'search' command
2010-10-14 20:09:54 +02:00
Romain Bignon
c959feacac
bump version of backends and applications to 0.3
2010-10-11 10:31:44 +02:00
Christophe Benz
7004c1d669
move video player tool to external file
2010-09-28 02:16:18 +02:00
Christophe Benz
9cb470ec4d
oops forget to change variable
2010-09-28 01:03:11 +02:00
Christophe Benz
f46eab4b67
set nsfw true by default
2010-09-27 18:53:44 +02:00
Romain Bignon
5c53bb52b5
completion on IDs for 'info' and 'play' ( closes #396 )
2010-09-27 00:04:23 +02:00
Romain Bignon
56cc59cf5e
fix fetching information of a video
2010-09-26 21:35:11 +02:00
Romain Bignon
f4f9ef25f4
fixes when no backends are loaded
2010-09-25 02:16:07 -04:00
Romain Bignon
71f18ce7f6
bump version of every applications to 0.2
2010-09-25 07:39:40 +02:00
Romain Bignon
04037e7893
repl: interactive add of backends when no one is loaded at startup
2010-09-25 00:57:54 -04:00
Romain Bignon
73304380c3
add command 'play' (and now videoob is stateful)
2010-09-24 14:59:48 -04:00
Romain Bignon
0eba4302a5
override complete() to change the behaviour of Cmd completion
2010-09-24 13:56:24 -04:00
Romain Bignon
37a53b783a
port every console applications to ReplApplication
2010-09-24 12:58:27 -04:00
Christophe Benz
29de886fe6
add nsfw command
2010-09-24 18:03:48 +02:00
Christophe Benz
4f4897e0f2
add formatter command
2010-09-23 19:48:52 -04:00
Christophe Benz
ab4a427586
new ReplApplication base class
2010-09-21 13:10:48 -04:00
Romain Bignon
404d7290ba
a lot of pyflakes and pylint fixes
2010-08-13 22:23:10 +02:00