Commit Graph

1743 Commits

Author SHA1 Message Date
rembo10
5575db5718 Added spokenword/audiobook categories to nzb search providers 2012-06-25 15:58:19 +05:30
rembo10
52dd47db4c Moved jquery libs to the main js/lib folder 2012-06-25 15:16:09 +05:30
rembo10
7e9a1d11c2 Put some timeouts on the urlopens 2012-06-24 18:20:04 +05:30
rembo10
b1ed2da114 No more caching bios/decriptions to file. Store them in the descriptions db table instead. can be accessed the by getInfo still, which returns a dict with Content and Summary. API updated 2012-06-23 17:46:29 +05:30
rembo10
171faf824c Update the cache (with thumbnails & info only, not large image) when adding an artist/doing an artist update. Add album/artist descriptions to the database as well - removed last.fm getDescriptions function from the importer (replaced with the cache.getThumb), changed the thumbnail size from large to medium (~64px). Updated api_reference 2012-06-23 15:25:41 +05:30
rembo10
5eddfbbc30 Added ThumbURLs to the artist & album tables in the DB, modfied API_REFERENCE to reflect 2012-06-23 13:24:26 +05:30
rembo10
6f2640f558 Fixed the if/else block when writing info files - before it was writing the info file even if it existed and was current 2012-06-23 13:05:28 +05:30
rembo10
c2b3270eed A couple of fixes for when we grab different items. Grab info no matter what the query_type, as long as its either outdated or missing. Grab the thumbnail if were grabbing artwork and it's outdated or missing. But only grab the big image if that's specifically what we're looking for - not with any other query types 2012-06-23 13:05:09 +05:30
rembo10
0f862ccad1 Added thumbnails to the caching - called through getThumb(ArtistID/AlbumID) 2012-06-22 21:55:54 +05:30
rembo10
d34ef512ea Just get the summary rather than the full content for now 2012-06-22 20:52:59 +05:30
rembo10
40bbdc855f Updated api commands 2012-06-22 20:37:27 +05:30
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