Commit graph

57 commits

Author SHA1 Message Date
Romain Bignon
e025fb0b20 rename ICap to Cap (closes #1424) 2014-07-05 17:33:44 +02:00
Bezleputh
347740c831 [Radioob] fix bug when a radio id contains a dot 2014-06-19 11:58:45 +02:00
Bezleputh
69da2c5d99 [radioob] fix typo 2014-05-20 23:07:40 +02:00
Bezleputh
b6fd529249 move id parsing from application to capability 2014-05-20 23:07:40 +02:00
Bezleputh
ee8e72f51c [radioob] update RadioListFormatter in order to display playlist 2014-05-20 23:07:40 +02:00
Bezleputh
e33c177212 Manage Albums and Playlists in radioob 2014-05-20 23:07:40 +02:00
Florent
9ca0bbae6a bump to 0.j 2014-05-19 22:45:35 +02:00
Pierre Mazière
34a7481895 radioob: get rid of magic
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-04-07 10:33:27 +02:00
Pierre Mazière
4ce58c776e pick up first available stream when radio provides a playlist (#1345)
for now only pls and m3u playlists are supported

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-04-07 07:39:40 +02:00
Pierre Mazière
9e735a740c radioob: fix audio objects search
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-16 10:22:17 +01:00
Florent
a82f57512c bump to 0.i 2014-01-08 23:40:16 +01:00
Pierre Mazière
c4e7e4e333 radioob: add support for playlist of BaseAudio objects 2014-01-05 22:46:05 +01:00
Pierre Mazière
fba0744483 radioob: add support for download and streaming of BaseAudio objects
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-05 22:46:04 +01:00
Pierre Mazière
ad81711575 modify radioob to use the modified ICapRadio
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2013-12-16 11:50:33 +01:00
Romain Bignon
a0c25a0b46 fix crash if stream index is not found (and fix coding style) 2013-09-10 10:48:45 +02:00
Pierre Mazière
55e45f0e08 fix stream selection in radioob
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2013-09-09 23:22:02 +02:00
Florent
ae8b5e1992 Fix crash if user does not give a stream id 2013-08-14 11:29:21 +02:00
Thomas Lecavelier
4fed28a308 Let user choose his Stream to use from Radio instance. Close #1291
Signed-off-by: Thomas Lecavelier <thomas-weboob@lecavelier.name>
2013-08-14 10:35:02 +02:00
Florent
9b022b2ebe bump to 0.h 2013-08-03 14:31:13 +02:00
Romain Bignon
bdf4c13f4e remove useless calls to ReplApplication.flush() (closes #812) 2013-07-27 19:00:58 +02:00
Romain Bignon
9094294683 default behavior is to unlimit results, except for explicit commands (searches or history)
closes #1139
2013-07-27 15:56:45 +02:00
Laurent Bachelier
a6ad7e83ff Use newer form of catching exceptions
autopep8 -i --select=W602
Also some other minor deprecated syntax changes, like "while 1".
I did not commit the less obvious changes.
2013-07-27 15:16:16 +02:00
Florent
9484099a1d bump to 0.g 2013-03-26 18:31:12 +01:00
Laurent Bachelier
ae06ae3384 Add missing "whatis entry" to man pages
This is recommended by Debian.
closes #618
2013-02-13 00:38:33 +01:00
Florent
bf3132e8c0 bump to 0.f 2013-01-25 17:23:49 +01:00
Julien Hebert
16edbd9141 prise en charge du rtmp 2012-12-10 18:07:49 +01:00
Romain Bignon
4a1e4b5afa bump to 0.e 2012-10-28 20:39:49 +01:00
Romain Bignon
2f8072e89e bump to 0.d 2012-05-04 21:17:46 +02:00
Romain Bignon
fc849995f4 rewrite of the formatters system 2012-04-03 22:40:38 +02:00
Romain Bignon
8e391d0b88 bump to 0.c 2012-03-14 22:09:24 +01:00
Laurent Bachelier
b4b7182960 Make Collection more safe and sane
* Remove callbacks in Collection object
  Make Collection a "dumb" object (and also a base object,
  though it isn't very useful for now)
* Rename Path to WorkingPath, because it is more about managing state
  than being a single path.
* Rewrite almost all WorkingPath, because the code was overly
  complicated for no reason (I tried some special cases and it turned
  out that fromstring didn't handle them, and that the
  quote-escape-unquote was just unecessary). I also rewrote it to be
  more pythonic (no more lambdas and maps) and added tests.
* Require the full split path when creating a Collection. Because, come to
  think of it, an object needs an unique identifier; in the case of
  Collections, it is the full path, not only its last part.
  I might even replace the id by the full split path in the future.
* There is now only one way to get items of a Collection: calling
  iter_resources().
* Rewrite flatten_resources to iter_resources_flat(), which just calls
  iter_resources() recursively.
* Rewrite the collection part of the canalplus module. There is no more
  callback or a page calling the browser to check another page!
  The logic is only in iter_resources().
  The resulting code is not very pretty, but it should get better.
  As a bonus, avoid to reload the main XML file when we already have it
  open.
* change_path() now expects a split path and not a string.
* up/home special cases for "cd" are handled in the same place, and
  store the previous place properly (but are not yet exploitable by
  an user command).

This is a big commit but it would be hard to split it in *working*
commits.

If you read this entire commit message, I will buy you a beer.

refs #774
fixes #773
2012-03-13 22:08:45 +01:00
Romain Bignon
4be4b40509 bump to 0.b 2012-02-05 19:35:30 +01:00
Laurent Bachelier
bfb3689456 Add object type filtering to iter_resources 2012-02-05 13:30:02 +01:00
Laurent Bachelier
8d15911d67 Fix some failures with badly set 'current' field. 2012-02-02 15:25:13 +01:00
Romain Bignon
b2597e9e76 add missing docstring 2012-02-02 08:44:15 +01:00
Laurent Bachelier
caf4bbc44a Do not limit the results in radioob 2012-02-02 01:49:14 +01:00
Romain Bignon
a32dfeb412 fix formatting error 2011-12-09 21:32:44 +01:00
Romain Bignon
eb3f681136 bump to 0.a 2011-10-10 11:38:02 +02:00
Romain Bignon
53e22d9f4b bump to 0.9 2011-05-08 18:31:44 +02:00
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
Noe Rubinstein
ecb076d9b5 Change "Video" to "Radio" in radioob 2011-05-03 02:22:49 +02:00
Romain Bignon
7098e44d9b use CapResources for radios 2011-04-21 12:07:37 +02:00
Romain Bignon
f3b2cea4ea fix franceinter radio 2011-04-10 16:48:56 +02:00
Romain Bignon
7e2bb91b3b change license to AGPLv3+ 2011-04-08 12:48:07 +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
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