Romain Bignon
e025fb0b20
rename ICap to Cap ( closes #1424 )
2014-07-05 17:33:44 +02:00
Romain Bignon
ab7057b038
fix repr() and str() on File-based objects
2014-07-05 17:20:53 +02: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
Romain Bignon
6af0c9acae
fix typo
2013-12-22 22:28:47 +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
Romain Bignon
b99d599aa9
remove parameter max_results from all capabilities
2013-07-27 23:40:24 +02:00
Romain Bignon
c6a141595c
change way to describe fields of CapBaseObject, and lot of documentation
2012-03-26 14:35:54 +02:00
Laurent Bachelier
e958c229e6
Move the "empty search for latest" to collections
...
There is now a "latest" collection (or "latest_nsfw").
The feature didn't look much used, since it didn't work on many
backends.
Using collections will make it easy to support other things
like most viewed, featured, etc.
As a bonus, I added tests for every backend with the feature.
2012-03-16 03:34:22 +01:00
Romain Bignon
ef07a9e795
do not use thumbnail_url anymore ( closes #810 ), use set_empty_fields() method, do not give fields in constructor of BaseVideo anymore
2012-03-12 17:16:42 +01:00
Romain Bignon
56691d7ea7
rename iter_search_results to either search_videos and search_gallery ( closes #779 )
2012-03-12 16:24:33 +01:00
Noe Rubinstein
afe5db74b4
Put Thumbnail in a tools.capabilities
2011-05-03 02:52:38 +02:00
Romain Bignon
7e2bb91b3b
change license to AGPLv3+
2011-04-08 12:48:07 +02:00
Romain Bignon
17754719ef
new video attribute 'ext'
2011-03-25 10:33:06 +01:00
Christophe Benz
bd083e7d43
add docstrings
2010-11-25 19:15:33 +01:00
Christophe Benz
7eb408d69c
remove unused method
2010-11-25 19:15:33 +01:00
Romain Bignon
0d640e17cc
new attribute 'description' on Video
2010-11-04 22:23:00 +01:00
Romain Bignon
916400467e
use "basestring" instead of "(str,unicode)"
2010-10-16 17:44:09 +02:00
Romain Bignon
92c6507f71
use the new add_field() method to define fields
2010-10-08 13:43:57 +02:00
Romain Bignon
cba2f742aa
correctly initialize base class
2010-10-08 10:51:21 +02:00
Romain Bignon
b354f8d3a7
enhancement of load detection of fields
2010-08-14 21:50:31 +02:00
Christophe Benz
9411dbccd9
unused import
2010-08-12 18:17:19 +02:00
Romain Bignon
e980e040ba
capabilities objets inherit from CapBaseObject (refs #369 )
2010-08-12 17:22:04 +02:00
Christophe Benz
53f6571fee
implement max_results option and infinite search for youtube
2010-08-12 16:04:53 +02:00
Christophe Benz
5243ca33fd
use NotLoaded for thumbnail
2010-08-12 16:04:53 +02:00
Christophe Benz
45ffb0fe7d
s/ICap/IBaseCap and add constants
2010-08-12 16:04:53 +02:00
Romain Bignon
f3d88567dd
fix preview urls with spaces
2010-08-03 20:24:42 +02:00
Romain Bignon
244bb055f2
VideoThumbnail.__str__() doesn't print the url between <> anymore
2010-08-02 14:48:51 +02:00
Romain Bignon
ae674c6789
rename ContactThumbnail to VideoThumbnail
2010-08-02 14:47:17 +02:00
Romain Bignon
d710c93b36
fetch thumbnails asynchroneously
2010-08-01 21:08:22 +02:00
Laurent Bachelier
92a4a02d53
Remove useless non-breaking space
2010-07-20 17:04:10 +02:00
Christophe Benz
3175883351
implement fillobj() browser method
2010-07-15 01:21:49 +02:00
Christophe Benz
7ccf4a01eb
handle required fields
2010-07-12 03:16:05 +02:00
Christophe Benz
b86e9d8a00
duration is a time delta
2010-07-10 21:54:39 +02:00
Christophe Benz
470f2a9fe2
use real comments for licence header
2010-06-22 16:27:33 +02:00
Christophe Benz
c03d5edf44
force id to be a string
2010-06-22 16:26:24 +02:00
Christophe Benz
a0f8137fc5
id decoration belongs to formatter
2010-06-17 15:47:05 +02:00
Christophe Benz
076a4f44b9
s/ICapVideoProvider/ICapVideo
2010-05-28 17:04:47 +02:00
Christophe Benz
0de0f2a768
rewrite video decorators to be in browser
2010-05-20 11:49:05 +02:00
Christophe Benz
2b93eec3c9
better handle IDs in video backends, enhance user interaction
2010-05-20 01:34:41 +02:00
Christophe Benz
7bd936c11b
move id2url to Video class
2010-04-28 14:54:28 +02:00
Christophe Benz
aa1a2a2921
s/preview_url/thumbnail_url/
2010-04-28 14:49:14 +02:00
Christophe Benz
0667774952
move id2url to tools
2010-04-28 11:34:25 +02:00
Christophe Benz
7996c1e05a
remove page_url attribue, better check types for numbers
2010-04-26 19:22:45 +02:00
Christophe Benz
9fe8053052
simplify search command code
2010-04-26 19:21:58 +02:00
Christophe Benz
9d7d8692ba
add nsfw parameter for video search
2010-04-26 19:21:21 +02:00
Roger Philibert
4cc065e05f
show page url in videoob search results
2010-04-20 23:53:56 +02:00
Christophe Benz
79c21c3290
switch to new video interface
2010-04-20 03:04:53 +02:00
Romain Bignon
911cdc134b
new parameter 'sortby' to searches (relevance, rating, views and date)
2010-04-17 17:28:29 +02:00
Romain Bignon
35c0c7385b
new 'nsfw' Video attribute
2010-04-17 13:37:48 +02:00