Commit Graph

47 Commits

Author SHA1 Message Date
rembo10 0964371de8 Require python 3.7+ for dataclasses 2022-02-15 14:28:44 +05:30
rembo10 a3db89c11d Update minimum version 2022-02-04 07:42:57 +05:30
rembo10 ab4dd18be4 Initial python3 changes
Mostly just updating libraries, removing string encoding/decoding,
fixing some edge cases. No new functionality was added in this
commit.
2022-01-14 10:38:06 +05:30
Lartza 3cc280666e Fix encoding selection on Windows 2017-10-18 22:44:37 +03:00
VoidVolker 3f23b5553a [+] --host command line option 2016-07-08 14:39:36 +03:00
maxkoryukov 5da950f61b * improved unitesting (compat level for python 2.6 and unittest)
* preparation for SoftChroot (stubs and mocks)
2016-02-03 06:30:09 +05:00
Bas Stottelaar 997c78a08b Initialize logger to output to screen until it is known where to put the log files. 2014-12-13 17:30:54 +01:00
Bas Stottelaar e35d2277c3 Uniform exit codes. 2014-12-13 17:30:13 +01:00
Bas Stottelaar f29352b864 Reverse open browser and background thread start. 2014-12-13 17:29:30 +01:00
Bas Stottelaar 6f91694d51 Check if pyOpenSSL is installed before enabling HTTPS.
Previous, it is only checked if pyOpenSSL is installed when certificates are
generated. Now, it is checked when HTTPS is enabled. In case it is missing,
HTTPS will be disabled.
2014-11-12 22:53:22 +01:00
Jesse Mullan 8c21f781e1 autopep8 Headphones.py 2014-10-27 10:46:45 -07:00
Jesse Mullan 80d0c6d430 Rename headphones.CFG to headphones CONFIG 2014-10-25 11:40:56 -07:00
Jesse Mullan 0ffbd7824d Saving the config appears to work again 2014-10-09 10:51:03 -07:00
Bas Stottelaar ca084f1216 It's more than that :-) 2014-09-14 22:18:35 +02:00
Bas Stottelaar 9f92b3b774 Improved Headphones.py 2014-09-03 14:54:30 +02:00
Bas Stottelaar fe2834f4a6 Be quiet when running daemon 2014-05-12 12:12:40 +02:00
Bas Stottelaar 45868bc523 Toggle VERBOSE at runtime. Just surf to /toggleVerbose. Comes in handy for the ones who don't want to change startup scripts 2014-05-12 11:45:28 +02:00
Bas Stottelaar 9b2594355f Let the --quiet option don't silence --verbose if we want verbose 2014-05-12 11:16:58 +02:00
Bas Stottelaar e409859c35 Add excepthook for verbose. Bugfixes
Enabled exception hook for all cases
2014-04-04 15:06:11 +02:00
Bas Stottelaar 2add9fa264 First attempt to replace logger methods with lazy evaluating version
Forgot to format the message
2014-04-04 15:06:04 +02:00
Bas Stottelaar c1b0dc4225 Add lib/ folder to the PYTHON_PATH.
This way, modules inside the lib/ folder don't have to be repackaged, and allows top level folders (e.g. bs4) to move to the lib/ folder.

Approach is similar to what CouchPotato does.
2014-04-01 09:42:01 +02:00
rembo10 482cb68bd6 Fixed up some bugs/bad imports, added lib/certgen 2013-08-24 09:51:58 +05:30
rembo10 a5c087465c Added backend code for ssl support (init.py, webstart.py) 2013-08-24 09:20:37 +05:30
rembo10 2b8d7cf73c Made Headphones.py executable 2013-01-19 11:13:36 -05:00
Benjamin Runnels f10b38c418 Improved pidfile handling (from sickbeard)
Added signal watch to shutdown properly and remove pidfile (from
sickbeard)
2012-12-17 10:14:46 -06:00
rembo10 3b757cfce0 Fixed the encoder adding 'lame', 'ffmpeg', 'xld' to the end of the encoder path which was breaking encoding on windows. Also prevent Headphones from daemonizing under Windows 2012-12-05 05:06:49 -05:00
rembo10 a5fd5c6881 Use original nzb titles for downloading, with mbid appended 2012-10-31 14:49:01 -04:00
rembo10 03964ec8c7 Merge remote-tracking branch 'ekohl/keyboardinterrupt' into develop 2012-10-30 15:50:21 -04:00
Ewoud Kohl van Wijngaarden 34b162877e Allow shutting down using KeyboardInterrupt 2012-10-29 10:44:49 +01:00
Ewoud Kohl van Wijngaarden 6d261cd505 Typo fix 2012-10-28 23:47:12 +01:00
Patrick Speiser 296ef01f63 startmb will now be called once at startup and every time a new configuration is submitted, removed option to forcemb because the value was ignored 2012-09-12 14:20:09 +02:00
rembo10 26a5be9e61 Make proxy tools optional (disabled by default 2012-08-12 19:46:01 +05:30
rembo10 20bd6ae35f GPL v3 2012-06-19 13:02:12 +05:30
rembo10 15cf36a27a Tabs to whspaces in Headphones.py 2012-06-19 13:01:21 +05:30
Antoine Bertin 20a0308505 Add more control over verbosity 2011-08-23 19:45:24 +02:00
Remy 60a4e63ae0 Changed permissions back to 644 2011-08-19 21:00:02 -07:00
Remy 50c2f17394 Changed configobj to utf-8 2011-08-19 00:46:49 -07:00
Remy a0ed02e87f Merge branch 'pidfile' 2011-08-17 19:52:20 -07:00
Remy 774d7643b7 Fixed some unicode stuff, added SYS_ENCODING, changed log messages on library sync, fixed typo in importer if no matches from MB; 2011-08-17 19:24:03 -07:00
Sébastien Erard 563a7b89ae Add option --pidfile to create a pid file when running as a daemon. 2011-08-18 00:08:47 +02:00
Remy d330accbfc Shutdown/restart signals now handled by the main thread 2011-08-12 17:19:53 -07:00
sbuser 8f70eb9b03 Added support for Newzbin. This required a bunch of new functions and
etc as Newzbin doesn't allow for GET authentication with a hash. They
want you to HTTP auth. I started creating some classes that I copied
from SickBeard to extract away things in the future.

Added USER_AGENT
2011-08-01 07:35:40 -05:00
Remy 73710ab76e Music scan fix for Synology/NAS users.Fixed error message when retrying a download with no more matches 2011-07-22 13:07:05 -07:00
Remy d249023bf3 Possible locale fix for *nix, Now shows earliest release date for each release group, improved searching - only uses year if search might be ambiguous, filter bad characters in search 2011-07-21 03:01:28 -07:00
Remy 8387ed8383 Fixed the updater issue hopefully - threaded shutdown/restart/update process 2011-07-14 22:15:36 -07:00
Remy f87da4c1a5 Zip/tarball update test 2011-07-14 19:55:41 -07:00
Remy 7b495d7a33 Renamed headphones.py -> Headphones.py to prevent some importing problems 2011-07-14 13:25:53 -07:00