Commit graph

58 commits

Author SHA1 Message Date
Laurent Bachelier
6161a0aacd pep8 fixes, modernizations
autopep8 -a -r -i --select E711,E712,W601,W602,W603,W604,W690,E304,E401,E502 .
Also includes some manual reindentations (many are left after the print()
changes).
Manually checked, some modernizations not commited here.
2014-10-10 23:41:43 +02:00
Florent
628c63f899 Remove backend for do() calls 2014-10-10 14:11:45 +02:00
Laurent Bachelier
74a4ef6723 Use the print function everywhere
python modernize.py --no-six -f libmodernize.fixes.fix_print -w

With manual fixes as the import was put always on top.
2014-10-06 17:00:17 +02:00
Laurent Bachelier
c07e23cafc Use class attributes as much as possible for application output
refs #803
2014-09-04 12:41:25 +02:00
Florent
432f97e95c bump to 1.0 2014-09-03 17:14:10 +02:00
Romain Bignon
e025fb0b20 rename ICap to Cap (closes #1424) 2014-07-05 17:33:44 +02:00
Florent
9ca0bbae6a bump to 0.j 2014-05-19 22:45:35 +02:00
Florent
a82f57512c bump to 0.i 2014-01-08 23:40:16 +01:00
Florent
9b022b2ebe bump to 0.h 2013-08-03 14:31:13 +02:00
Romain Bignon
a50b5b2cce cineoob: little fixes 2013-08-03 13:20:22 +02:00
Romain Bignon
46d9acd37e display a message when more results are available (closes #1038) 2013-07-27 23:40:24 +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
Romain Bignon
c0740e695d remove useless import of with_statement (we do not support anymore python2.5)
refs #806
2013-07-27 14:38:18 +02:00
Florent Fourcot
428e9df2a4 Add caps parameter to get_object in cineoob
Fixes #1280
2013-07-16 23:00:41 +02:00
Julien Veyssier
0e99cd984d add language abbreviations in subtitle search help 2013-04-02 11:06:15 +02:00
Julien Veyssier
2a49b6e5bf [cineoob] filmography and casting restricted to movie/person backend 2013-04-02 11:06:15 +02:00
Florent
9484099a1d bump to 0.g 2013-03-26 18:31:12 +01:00
Julien Veyssier
63c769305d [allocine] roles in get_person 2013-03-26 10:30:08 +01:00
Julien Veyssier
233c18b2e1 [qcineoob] graphical fixes
add 'genres' field to Movie object of ICapCinema
2013-03-18 15:02:39 +01:00
Julien Veyssier
62074615da verified autopep8 on qcineoob, cineoob, suboob, booblyrics, cookboob 2013-03-18 11:16:05 +01:00
Laurent Bachelier
7094931c92 Easy spacing fixes, trailing stuff
Remove useless trailing \
Remove trailing spaces
Add missing empty lines

autopep8 -ir -j2 --select=E301,E302,E502,W291,W293,W391 .

Diff quickly checked.
2013-03-16 00:54:55 +01:00
Laurent Bachelier
c21d1f7925 Code clarity fixes
autopep8 -ir -j2 --select=E303,E125
Diff checked manually.
2013-03-16 00:52:43 +01:00
Julien Veyssier
f6e2f0a657 many emptyfications 2013-03-15 12:43:51 +01:00
Julien Veyssier
400cb1424e [cineoob] emptyfication 2013-03-15 12:21:42 +01:00
Julien Veyssier
205ffd0251 [qcineoob] role list imported from cineoob
[imdb] if birth date isn't complete => NotAvailable
2013-03-13 18:01:38 +01:00
Julien Veyssier
983f8a69aa [cineoob] subtitle part cleaned 2013-03-13 01:16:42 +01:00
Julien Veyssier
e25e2d0511 [cineoob] all fields have to be filled in get_object to get 'field selection' working 2013-03-13 01:16:41 +01:00
Julien Veyssier
c3c0561887 [cineoob] get_object cleaning 2013-03-13 01:16:41 +01:00
Julien Veyssier
b9d3719ad2 [cineoob] [imdb] fillobj ok for person and movie
[piratebay] get_torrent return None if 404
2013-03-13 01:16:41 +01:00
Julien Veyssier
8e796cc5c3 [cineoob] releases command improved 2013-03-13 01:16:40 +01:00
Julien Veyssier
5cead53d47 [cineoob] biography command improved 2013-03-13 01:16:40 +01:00
Julien Veyssier
501ff0d200 [cineoob] integration of ICapSubtitle, new command search_movie_subtitle
small corrections to attilasub
2013-03-13 01:16:40 +01:00
Julien Veyssier
e37dd25f07 [cineoob] integration of ICapTorrent, new command search_movie_torrent 2013-03-13 01:16:40 +01:00
Julien Veyssier
79192e288c [cineoob] new command 'releases' showing releases dates 2013-03-13 01:16:39 +01:00
Julien Veyssier
36dac32557 [cineoob] mini correction 2013-03-13 01:16:38 +01:00
Julien Veyssier
fa42b82c69 [imdb] clean, [cineoob] clean 2013-03-13 01:16:38 +01:00
Julien Veyssier
19b418e6d0 [imdb] simplification of iters and fill short description in all cases 2013-03-13 01:16:38 +01:00
Julien Veyssier
cf1029a3f9 [imdb] fillobj adaptation 2013-03-13 01:16:38 +01:00
Julien Veyssier
3f4aa98fff [cineoob] fillobj almost handled 2013-03-13 01:16:38 +01:00
Julien Veyssier
c23352fc22 [imdb] biography purified 2013-03-13 01:16:37 +01:00
Julien Veyssier
2d0d76a6ad [cineoob] do not display unavailable info 2013-03-13 01:16:37 +01:00
Julien Veyssier
84ea3ad59b [cineoob] filter casting and filmo by role 2013-03-13 01:16:37 +01:00
Julien Veyssier
b91a1cd481 [imdb] filmography page muuuuch more readable than person page 2013-03-13 01:16:37 +01:00
Julien Veyssier
27c36d412b [cineoob] new command : biography 2013-03-13 01:16:36 +01:00
Julien Veyssier
0029ade423 [imdb] roles of person, not finished 2013-03-13 01:16:36 +01:00
Julien Veyssier
c7bc1ecbb9 [cineoob] handle death date 2013-03-13 01:16:36 +01:00
Julien Veyssier
0036ee21a7 [cineoob] new command persons_in_common 2013-03-13 01:16:36 +01:00
Julien Veyssier
d1ff2b16fa [cineoob] man and doc 2013-03-13 01:16:36 +01:00