Commit graph

2,878 commits

Author SHA1 Message Date
Florent
a82f57512c bump to 0.i 2014-01-08 23:40:16 +01:00
Pierre Mazière
46513c7783 rename id method arguments to _id
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-08 23:29:55 +01:00
Pierre Mazière
78aab49ddd rename id method arguments to _id
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-08 23:22:31 +01:00
Pierre Mazière
8b295ec609 BaseFile: add 'size' property for file size in bytes
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-08 17:39:45 +01:00
Laurent Bachelier
a3306cc222 Add mpv to default players
It's another fork of mplayer, more active than mplayer2.
2014-01-08 08:06:18 +01:00
Florent
a5a4c2e44a Accept 0 and negative value for count
We already accept zero and negative value with the option -n, for
consistency it is good to accept it in interactive mode.
2014-01-07 18:59:19 +01:00
Florent
52111043e3 Revert part of e15b2a8473 2014-01-07 12:57:36 +01:00
Florent
9223d92fc8 restrict ls to 40 results by default 2014-01-06 17:13:16 +01:00
Florent
92dfab4069 More text in error 2014-01-06 15:26:09 +01:00
Florent
0b39d2d873 Coding style 2014-01-06 15:17:21 +01:00
Florent
0a7414d3e5 Remove unused imported
Ref e7805cec12
2014-01-06 15:14:38 +01:00
Florent
af33442ba2 Catch error in condition evaluation
And return a better message to users
2014-01-06 15:02:04 +01:00
Florent
3bb4b50ba0 Fix bug introduced in ReplApplication.get_object refactoring
Ref e15b2a8473
    e0417f702d
    0668db2b5a
2014-01-06 14:58:29 +01:00
Pierre Mazière
0668db2b5a ReplApplication.get_object(): fix backend lookup
because self.enabled_backends contains BaseBackend objects
and not backend name strings

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-05 22:46:05 +01:00
Pierre Mazière
e7805cec12 rename AudioStreamInfo into StreamInfo
Allowing future use with upcoming VideoStream

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-05 22:46:05 +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
e0417f702d ReplApplication.get_object(): exclude backends which does not implement 'method'
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-05 22:46:04 +01:00
Pierre Mazière
e15b2a8473 ReplApplication.get_object(): return None if method does not exist
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-05 22:46:04 +01:00
Pierre Mazière
6842dda4cc add thumbnail property to BaseAudio
this can be used, for example, to associate an audio
file or stream with an image related to its author,
or an album cover

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-05 22:46:04 +01:00
Caramdache
40b6b77662 Add OFX support in boobank
Signed-off-by: Caramdache <caramdache@gmail.com>
Signed-off-by: Romain Bignon <romain@symlink.me>
2014-01-05 21:59:22 +01:00
Romain Bignon
6af0c9acae fix typo 2013-12-22 22:28:47 +01:00
Romain Bignon
818b756e27 json formatter: all subobjects are also encoded 2013-12-22 22:12:03 +01:00
Vincent Texier
148f6f3a2b Fixed thumbnail field returning always "id" with json formatter
Version development 0.h
2013-12-22 22:02:17 +01:00
Pierre Mazière
cf06b70093 replace Thumbnail dependency to use BaseImage instead
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2013-12-22 20:04:53 +01:00
Pierre Mazière
53f06e21de modify BaseVideo and ICapVideo to inherit from BaseImage
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2013-12-22 20:04:53 +01:00
Pierre Mazière
19d7180c13 add ICapImage and BaseImage
BaseImage was extracted from the gallery capability and
refactored to inherit from BaseFile.
As I did not look further into the gallery capability, I left
the original BaseImage there.
I'm aware that it's not an healthy situation, but it seems
to be used only by modules using ICapGallery and hopefully
should not have any consequences for now

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2013-12-22 20:04:53 +01:00
Pierre Mazière
77dd46fa02 fix method inheritance bug
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2013-12-22 20:04:52 +01:00
Pierre Mazière
b78badc606 move ext property from BaseAudio to BaseFile
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2013-12-22 20:04:52 +01:00
Florent
3fa2a8ba8f Fix condition in non reply-application 2013-12-22 20:03:41 +01:00
Laurent Bachelier
4d74c13734 Add method that is actually required
Used in galleroob and present in all CapGallery modules
2013-12-19 13:55:15 +01:00
Florent
27e0690f8b Fix formatter in some cases 2013-12-18 10:17:27 +01:00
Bezleputh
4ec183aadf [boobcoming] improve comment on do_list method 2013-12-17 22:59:30 +01:00
Florent
5d746519b6 Test if lastvalue is available 2013-12-17 17:09:07 +01:00
Florent
ca766332bf Small improvement of float printing 2013-12-17 16:55:03 +01:00
Florent
347b591811 Small typo 2013-12-17 15:29:35 +01:00
Florent
105ec527b5 Sort results of ls by default
and replace option -s by option -U (same than the real ls command)
refs #1079
2013-12-17 15:21:25 +01:00
Florent
4b0b7f839b ICapGauge in wetboobs is now depreciated
closes #1284
2013-12-17 15:12:14 +01:00
Florent
cf14d6e6b9 pep8 cleaning (visual indentation) 2013-12-17 15:05:55 +01:00
Florent
a82aaf830a Change colors 2013-12-17 15:01:18 +01:00
Florent
636df2c934 Add a formatter for boobsize search 2013-12-17 14:53:02 +01:00
Florent
6087521b35 Remove dead code 2013-12-17 13:54:53 +01:00
Florent
9e7f2a932b First implementation of boobsize 2013-12-17 12:59:49 +01:00
Vincent A
de4e85e249 boobcoming: fix event planner display 2013-12-17 01:05:20 +01:00
Florent
920e8edc44 Add documentation on conditions 2013-12-16 16:40:14 +01:00
Florent
c930e7f23f Small fixes on boobill documentation 2013-12-16 15:43:20 +01:00
Florent
f0a1865c13 Update boobank documentation 2013-12-16 15:39:54 +01:00
Florent
505a5e9fef Add date to filter of expression
closes #1308

It is now possible to get a history in a range of date with something
like:
boobank history CC-1234@ing --condition "date>2013-12-01 AND date<2013-12-8"

It displays transactions done betwenn the 2th and the 7th december.
2013-12-16 15:22:47 +01:00
Romain Bignon
0513e86628 simplification of json formatter (refs #1294) 2013-12-16 15:10:07 +01:00
Florent
af5452091b Add -s option to ls (sort by backend/id)
closes #1079
2013-12-16 14:31:23 +01:00