Commit Graph

718 Commits

Author SHA1 Message Date
Ruud 4726a4684b Invalid rottentamoties url 2012-04-07 13:41:29 +02:00
Ruud 35769b3d91 Cache userscript url download 2012-04-07 13:33:40 +02:00
Ruud 8a344d764a Rottentomatoes userscript 2012-04-07 00:03:51 +02:00
Ruud 6b739ee52c Extra br50 tags 2012-04-06 23:28:04 +02:00
Ruud 8a544c2625 Manual update fix 2012-04-06 23:04:44 +02:00
Ruud 8a2e015606 Remove empty and processed folders 2012-04-06 22:40:22 +02:00
Ruud de50351d5c Add dvdr group for newznab 2012-04-06 22:39:02 +02:00
Ruud 705e3058bf Decode sets to lists before json encoding 2012-04-06 22:38:48 +02:00
Ruud b595cf8ebc Don't allow empty titles in library 2012-04-04 23:53:34 +02:00
Ruud ed280b988b Bluray groups for nzb providers 2012-04-04 22:41:54 +02:00
Ruud Burger 625c762428 Merge pull request #89 from mjc/fixup-error-handling
Fix broken and greedy default exception handler, and throw meaningful log message when pywin32 is missing
2012-04-04 13:18:38 -07:00
Michael J. Cohen e99cf6757e Throw a useful error in the log when FileBrowser fails to load because of missing pywin32
This is a quick hack so that anyone else who runs this from source doesn't have to spend
the time I spent tracking down why directory.list failed silently.

There are two options that are much cleaner that come to mind:

- Subclass ImportException so as to differentiate missing requirements from
  parse errors etc.
- Provide a method for plugins to list their requirements, so that
  the loader can be the one to use imp.find_module().

Using imp.find_module() seems wise, either way.
2012-04-03 20:35:25 -04:00
Michael J. Cohen ee4e91d318 Default exception handler no longer assumes all remaining exceptions take (errno, string) pairs.
Previously any exception that made it all the way up to the default
exception handler would be expected to take (errno, string) pairs,
as is the python standard for exceptions thrown by system calls.
All exceptions that don't take enough arguments throw a ValueError.

Based on the errno tested, it appears that this code
is meant to silently ignore when a socket receives a SIGINT (from
e.g. a timeout.)  This seems to be the only instance where handling
EINTR in this manner is desired - though having this bubble up this
far seems odd.

The existing code would also handle any other EINTR, though, which
includes those raised by OSError, WindowsError, and
anything that subclasses EnvironmentError, barring KeyboardError
because it is handled separately.  This is a bug as there is already
some use of the signals module elsewhere in CouchPotato.py to trap
SIGINT and SIGTERM outside of system calls, and most of these other
EINTRs should be handled by code lower down the stack.

A default exception handler is also added, so that unhandled
exceptions will be logged, and raised.
2012-04-03 19:34:21 -04:00
Ruud 8c0de491dc Correct type check fix for downloaders 2012-04-03 23:18:55 +02:00
Ruud 7a246bc190 Safe filename for nzb files 2012-04-03 21:34:12 +02:00
Ruud 7dd89247f2 Post hostname with bookmark 2012-03-18 17:44:20 +01:00
Ruud 4cca9fbb6a Use host from current page, nog from config 2012-03-18 17:25:23 +01:00
Ruud 59c2e101d7 Reference to self 2012-03-18 17:08:22 +01:00
Ruud 02fb1a5741 Userscript bookmarklet 2012-03-18 16:02:26 +01:00
Ruud a9cc7a457b List notifications 2012-03-15 22:16:22 +01:00
Ruud 43529a9e64 No option for CP provider 2012-03-15 20:56:36 +01:00
Ruud 15175a0330 Notification system 2012-03-14 20:33:22 +01:00
Ruud 2323136221 Don't load empty json 2012-03-13 08:04:04 +01:00
Ruud 63225f7e5c Library info as json 2012-03-12 21:43:34 +01:00
Ruud eceaf465f0 Better git version check 2012-03-11 02:46:08 +01:00
Ruud 34611e1061 Better priority merging 2012-03-11 02:12:03 +01:00
Ruud 8803323ae4 Rating and director XBMC metadata fix 2012-03-11 00:53:03 +01:00
Ruud d1315ffc81 Catch metadata exception and continue 2012-03-11 00:25:52 +01:00
Ruud 7675ef80fe Don't type behind searchbox 2012-03-11 00:21:29 +01:00
Ruud bb27d0a18b Remove non-used items from imdbapi 2012-03-11 00:03:59 +01:00
Ruud 93eecc614c Use spin.js for loaders 2012-03-10 23:21:00 +01:00
Ruud 9a88cc8e0b Prio tmdb searches before imdbapi 2012-03-10 23:19:51 +01:00
Ruud 3f84f22262 Don't return imdb empty poster 2012-03-10 23:13:06 +01:00
Ruud 3f08238adb Don't show scheduler warnings 2012-03-10 23:12:34 +01:00
Ruud b3ba732854 Don't ask password on userscript iframe 2012-03-10 17:35:19 +01:00
Ruud 088dc5386c Better shutdown of process 2012-03-10 17:07:19 +01:00
Ruud bfbd3b26a9 Don't show xbmc error message when not available 2012-03-09 12:40:36 +01:00
Ruud e7be68bf10 Return int for permission settings 2012-03-09 12:38:59 +01:00
Ruud 9df218d0a8 Enable octal and decimal permission settings 2012-03-08 00:51:12 +01:00
Ruud e2675bd28c Remove getppid script 2012-03-08 00:50:24 +01:00
Ruud af46827eb2 Better score calculating 2012-03-06 23:37:55 +01:00
Ruud 6e8a1950cd Spinner overlay color 2012-03-06 19:14:52 +01:00
Ruud 0ce183968d styling, element alignment 2012-03-06 18:04:22 +01:00
Ruud d03d1565f3 Styling fix for numberlist 2012-03-06 17:59:25 +01:00
Ruud d2fd098030 Notify my Windows Phone support
Thanks to https://github.com/yngvebn
2012-03-06 16:15:47 +01:00
Ruud aa0f7bfb36 Don't return rotten tomatoes results with imdbapi for now 2012-03-06 08:02:25 +01:00
Ruud d0aca61165 Try and stop running daemon first 2012-03-06 07:55:30 +01:00
Ruud f2b1c6b688 Better search result popup 2012-03-06 07:52:02 +01:00
Ruud 70783d3b60 Move check for updates to more menu 2012-03-05 21:12:39 +01:00
Ruud 59373b0793 Only show parent id > 1 2012-03-05 19:52:37 +01:00