Commit Graph

123 Commits

Author SHA1 Message Date
DJ-666
1da1f5124a Rename PTH to Redacted and fix invalid User-Agent (Again)
This is a duplicate of albshin's PR as I got impatient waiting for him
to submit it to the develop branch with the addition of removing the
previous user agents and replacing them with Headphones as the agent.
Redacted considers falsifying the agent as a bannable offence.

From albshin's PR;
"Changes all instances of PassTheHeadphones to Redacted. Removed the URL
option for Redacted as it's unnecessary(?).

Fixed a bug in the pyGazelle library in which the User-Agent was invalid
due to a missing space. Should work now for Redacted."
2017-03-31 23:36:34 +10:30
Ade
4095bf213e mutagen, musicbrainzngs, beets lib updates 2017-03-25 11:47:04 +13:00
Denzo
352b009e91 # Removed slash from ajax.php 2016-11-29 20:54:20 +01:00
Denzo
b6b33e1b1e + Added support for PassTheHeadphones.me
% Removed hardcoding for What.CD in pygazelle API, making it easy to add other Gazelle-based trackers

+ Added URL parameter for What.CD and PTH, in case they come back under a new domain name
2016-11-29 20:49:52 +01:00
Bryon Roche
323d364572 Added missing support method for current FauxSocket for pypy 2016-07-14 05:27:07 -07:00
rembo10
ba4ed12ec8 Merge remote-tracking branch 'maxkoryukov/feature/unittestcompat-assert-items-equal' into develop 2016-06-02 23:13:34 +01:00
maxkoryukov
a5ab2e4080 UGP: improved unittestcompat. assertItemsEqual added 2016-04-13 14:57:18 +05:00
maxkoryukov
43d37b875f FIX: unittestcompat now support tests without python-doc.
That was an ugly bug...
2016-03-12 18:29:27 +05:00
maxkoryukov
b143a942ae Unittests for config.py 2016-02-14 16:56:59 +05:00
rembo10
2110eb9855 Revert "Migrate as much as possible to pip and requirements.txt"
This reverts commit 982594a4a5.
2016-01-29 15:38:12 +00:00
Jamie Magee
982594a4a5 Migrate as much as possible to pip and requirements.txt 2015-12-04 11:09:09 +01:00
Bas Stottelaar
715e497789 Upgraded requests to git-master and forced urllib3 to git-master. Fixes strange errors with pyOpenSSL. See https://github.com/shazow/urllib3/issues/556. 2015-09-10 19:42:07 +02:00
Ade
d2782179aa rutracker revision
- Now uses requests with more logging
- Update to latest BeautifulSoup and html5lib libs
2015-08-02 12:18:25 +12:00
rembo10
24d7647c08 Updated notifymyandroid library 2015-07-04 12:13:40 -07:00
Ade
206ea72a27 mb demo 2015-05-23 08:59:56 +12:00
rembo10
db1519bcea Updated musicbrainz library 2015-05-19 20:26:50 -07:00
Tim
24a52a294c Allow authentication on custom MusicBrainz servers using Basic HTTP Authentication. 2015-02-19 00:54:10 +02:00
Bas Stottelaar
8be598c533 Added enum backport 1.0.4 for beets 2015-01-27 22:31:49 +01:00
Bas Stottelaar
cf6a6a876f Upgraded beets to 1.3.10, including patches 2015-01-27 22:26:35 +01:00
Bas Stottelaar
ea842a95ca Upgraded mutagen to 1.27 2015-01-27 22:22:50 +01:00
Bas Stottelaar
f6f1328721 Upgrade mako to 1.0.1 2015-01-27 22:06:05 +01:00
Bas Stottelaar
1e2901810f Upgraded PyTZ to 2014.10 2015-01-27 22:03:18 +01:00
Bas Stottelaar
c5f67d070d Upgraded tzlocal to 1.1.2 2015-01-27 22:02:21 +01:00
Bas Stottelaar
527d2087c1 Upgraded unidecode to 0.04.17 2015-01-27 22:01:22 +01:00
Bas Stottelaar
f6b5c0190d Upgraded requests to 2.5.1 2015-01-27 21:55:49 +01:00
Ade
37d9cf11c3 Scheduling part 2
Remove job if interval changed to 0

Plus, fixup os x notify registering not working with yosemite and also
show album image in notification
2015-01-27 12:21:47 +13:00
Bas Stottelaar
5d69984ef9 Upgraded requests to 2.5.0 2014-12-19 21:09:54 +01:00
Ade
8ae0e6d4d3 xld encoding
Use python method to read plist, should give a bit more logging
2014-11-19 22:48:23 +13:00
Bas Stottelaar
3cf82f4dac Added the real pkg_resources from setuptools 7.0. Should fix #2001 2014-11-12 23:31:05 +01:00
Bas Stottelaar
f495fc01bc Fixed SSL too long errors in CherryPy.
The fix is suggested by https://bitbucket.org/cherrypy/cherrypy/issue/1298/ssl-not-working
2014-11-12 22:29:04 +01:00
Bas Stottelaar
fda4658e92 Fix for #1994 2014-11-10 20:47:27 +01:00
Jesse Mullan
015d269667 Fix E711 comparison to None should be if cond is None: 2014-11-01 16:22:05 -07:00
Bas Stottelaar
fd7bb4eb7e Add missing library for APScheduler. 2014-10-21 02:54:13 +02:00
Bas Stottelaar
553cc536c0 Upgraded APScheduler to 3.0.1. This includes pytz and tzlocal as dependencies. 2014-10-20 21:48:10 +02:00
andrenam
14c6f68fb7 - upgrade cherrypy to version 3.6.0
- dont't pass unicode hostname to cherrypy (see cherrypy-issue #1285,
https://bitbucket.org/cherrypy/cherrypy/issue/1285/n-must-be-a-native-str-got-unicode)
2014-10-14 02:43:55 +02:00
Bas Stottelaar
371401fa36 Updated requests library to 2.4.1. Should fix #1915 2014-09-25 14:08:27 +02:00
Ade
394876992b Lyrics mods
Switched to beets lyrics plugin
Fixes https://github.com/rembo10/headphones/issues/1896
2014-09-22 15:38:17 +12:00
Bas Stottelaar
5e98d96f65 Add proper support for logging in multiprocessing environment. Useful for multicore encoding. 2014-09-17 13:10:31 +02:00
Bas Stottelaar
a6fe517f87 Removed import lib.*/from lib.* 2014-09-16 22:06:41 +02:00
Bas Stottelaar
34b9480a1b pyItunes is not used anymore. 2014-09-14 22:58:05 +02:00
Bas Stottelaar
163e1e3f2e Removed simplejson since that is Python 2.5 2014-09-03 14:54:30 +02:00
Ade
46240fb7d1 Add Demo to Extras
- fix up songkick location breaking artist page
- add description and link for songkick metro area filter
2014-08-30 22:17:30 +12:00
David
fd30b3501e Converting crlf to just lf
Making end-of-lines consistent throughout the codebase.
2014-08-06 17:00:29 +02:00
David
0c61eb11f5 Dropping trailing whitespaces 2014-08-06 12:46:26 +02:00
delphiactual
62a6be26af PyNMA lib 2014-05-07 08:19:08 -06:00
rembo10
fd19563160 Merge remote-tracking branch 'AdeHub/notify' into develop. Replaced boxcar notifications from daktak
Conflicts:
	headphones/__init__.py
	headphones/notifiers.py
	headphones/sab.py
	headphones/webserve.py
2014-04-17 17:14:37 -07:00
Ade
3b2350cd8f Boxcar2, OS X Notifications
- OS X Notifications require an application bundle, allow user to
create a dummy app in a specified location and then use bundle when
notifying
- Boxcar2
- Moved snatched notify logic to searcher so we can pass extra info
incl provider
2014-04-16 21:41:22 +12:00
rembo10
7e02f86af8 Fixed import for specifying beets config file 2014-04-14 18:51:24 -07:00
rembo10
dab4e3d5f8 Updated beets lib to correctly point to config file (thanks to AdeHub) 2014-04-14 17:38:29 -07:00
Bas Stottelaar
a693777433 Add ordereddict (https://pypi.python.org/pypi/ordereddict) for Beets/Python 2.6 compatibility 2014-04-10 13:21:29 +02:00