Commit Graph

2882 Commits

Author SHA1 Message Date
rembo10
6b5c8d55a6 Updated api commands and API_REFERENCE to include new getArtistArt, getAlbumArt, getArtistInfo & getAlbumInfo commands 2012-06-22 17:55:55 +05:30
rembo10
fe472ecd08 Modified getArtwork to return a relative path to the cached image 2012-06-22 17:21:44 +05:30
rembo10
9866f8b4ea Serve cached content up through cherrypy. Images/info files available through 'cache/{artwork,info}/<mbid>.<date>.<ext>' 2012-06-22 17:13:37 +05:30
Ade
e27defe769 Get torrent folder name from the .torrent file 2012-06-22 23:37:38 +12:00
rembo10
95cadfac93 Return properly formatted local image path 2012-06-22 16:25:31 +05:30
rembo10
f4a05cde51 Fixed some merge conflicts doe to the tabs->whitespace change 2012-06-22 14:40:09 +05:30
rembo10
2c208ea15b Fix for getArtwork if no path (either file path or url) could be retrieved 2012-06-22 14:31:55 +05:30
rembo10
1c8699f6c2 Write an empty txt file if the link doesn't have any bio/description so we don't keep checking every time 2012-06-22 14:17:09 +05:30
rembo10
0cfaf27b0f Get a list of all artwork and info files no matter if it's an artwork or info check 2012-06-22 13:49:18 +05:30
rembo10
20cf3930b2 Covert unicode artist/album strings to utf-8 before urlencoding 2012-06-22 11:37:25 +05:30
rembo10
a2563458f1 Catch KeyErrors if the data doesn't exist, urlencode the parameters 2012-06-22 11:32:15 +05:30
rembo10
4a12307cb8 Modifieded the getArtwork and getInfo functions so you can now just pass an ArtistID or AlbumID without having to specify the type as well. Also - changed the error catching when opening the url & parsing the data 2012-06-22 11:04:39 +05:30
rembo10
517d51a210 Updated .gitignore to ignore cached files 2012-06-22 10:39:15 +05:30
rembo10
63e4dc65c2 Updated versioncheck to correctly identify the HenryFord win32 build 2012-06-21 22:50:51 +05:30
rembo10
8a64187c6b getArtwork now returns a file:///path-to-file or a http://image-url (the latter if, for example, the artwork cache dir can't be created. getInfo will return the description/info as well, even if the file can't be created 2012-06-21 22:09:07 +05:30
rembo10
7df4c6d9e4 Fixed the info and image_url variables. Removed url from filenames 2012-06-21 20:36:13 +05:30
rembo10
4809562674 MoNow storing ImageURL to the database so it can be served through the api. Files are writen as UTF-8 2012-06-21 16:52:02 +05:30
rembo10
cd2bec3fe4 A few changes to get the getArtistURL function working properly 2012-06-21 15:50:27 +05:30
rembo10
b4de7fe22f First commit for the caching mechanism 2012-06-21 15:44:15 +05:30
rembo10
cc5e8b8f70 Merge remote-tracking branch 'jnikolich/topic__init.fedora.centos.systemd' into develop 2012-06-21 13:54:45 +05:30
Paperfeed
b6be5f828a Fix for kat.ph torrents 2012-06-20 01:43:07 +03:00
Paperfeed
a2125fce2a Added referer to preprocesstorrent function to fix Kat.ph torrents 2012-06-20 00:59:37 +03:00
jnikolich
8ccb2146df Initial commit of 'init.fedora.centos.systemd' - a service unit file for systemd-based platforms 2012-06-19 14:23:36 -04:00
rembo10
b1115e748d Add spokenword & audiobooks to extras 2012-06-19 13:36:50 +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
rembo10
a3f6d90f74 CoSome general cleanup. Converted all tabs to spaces for consistency, removed templates.py as it was no longer being used 2012-06-19 12:46:44 +05:30
rembo10
755b5082c7 Possible fix for the 'moveFiles' function only moving one file over before getting stuck. Changes shutil.move(src,dest) to use a filename for the dest instead of the parent directory 2012-06-18 22:38:34 +05:30
rembo10
89c2a8c3ba Merge branch 'develop'. Includes updated github api,
refreshing artists based on when they were last
updated, include releases with no release date,
hardcoded size limits removed
2012-06-18 16:35:15 +05:30
rembo10
d5b8a90ae4 Fixed up some return values when github can't be contacted 2012-06-18 16:20:31 +05:30
rembo10
44acb9761d Merged in the gh_api branch which included changes to
the updater, some updater logging
2012-06-18 16:11:49 +05:30
rembo10
57044f5539 Fixed incorrect LATEST_VERSION variable, added some logging when checking github 2012-06-18 16:02:14 +05:30
rembo10
f4b6dbb3c3 Updated the updater to use github v3 api. Needs testing 2012-06-18 15:46:05 +05:30
rembo10
86045a70b9 Removed hardcoded MAXSIZE variables from the searcher 2012-06-18 13:16:34 +05:30
rembo10
d29496a3a9 Added a LastUpdated column to the artist table. When forcing an artist update, it will now sort by when the artist was last updated instead of alphabetically 2012-06-18 13:05:59 +05:30
rembo10
5587633211 Merge remote-tracking branch 'doskir/master' into develop 2012-06-18 12:19:11 +05:30
rembo10
ddf3432f75 Fix for '''TypeError: cannot concatenate 'str' and 'NoneType' obejects'''... when trying to scan music library. Basically just cut down the dictionary when searching for an artist with a limit=1 to return only the artistid as that was the only variable we were using 2012-06-03 20:48:53 +05:30
rembo10
f9f129b3e0 Fix for artists not being added correctly if there was no artist['type'] 2012-05-30 20:36:06 +05:30
Patrick Speiser
4860a1bd77 Fixed the releasedate=u"None" bug for good, original behavior restored, None releases show up as the newest one but don't get set to wanted automatically. 2012-05-30 11:44:38 +02:00
rembo10
4a909e79cb Fix for 'back to overview' not working if http_root was set 2012-05-30 12:53:29 +05:30
rembo10
c756419b6e Added github checking interval to config.ini (only a config.ini option for now - not added to any interfaces yet) 2012-05-30 12:38:48 +05:30
rembo10
ac9d887e2c Merge pull request #656 from doskir/master
Bug fixed, database still bad
2012-05-29 21:56:39 -07:00
Patrick Speiser
d0cd4bcb37 Fixed a bug where releases without a release date would be automatically added as the newest release and usually set as wanted. 2012-05-29 23:09:12 +02:00
rembo10
f4cc189c24 Added config.ini option to turn off github update checking. This is a config.ini option only at this point and has not been added to the UI yet 2012-05-29 21:59:00 +05:30
rembo10
a72d9daf93 Merge pull request #616 from joshs85/patch-1
Fix the ubuntu.init script by adding a space before daemon opts
2012-05-29 08:34:05 -07:00
rembo10
8de5f8e398 Fix a few typos in default interface 2012-05-29 19:27:25 +05:30
rembo10
ef56f37a6d Possible fix for nzbs not being sent to sab without username/password/apikey 2012-05-29 19:23:42 +05:30
rembo10
02ee239f32 Merge branch 'ngs' 2012-05-29 19:17:33 +05:30
rembo10
6ade134396 Removed multiple attempts to query musicbrainz from the headphones side as this is now taken care of from within musicbrainzngs. Fixed some tab/whitespace issues and fixed up some comments 2012-05-29 14:45:23 +05:30
rembo10
4b72f9f6a8 Added headphones authorization, fixed a few default values in musicbrainzngs, changed user agent for headphones. Much thanks to diskir for doing all the heavy lifting on this 2012-05-28 23:03:27 +05:30