Commit Graph

760 Commits

Author SHA1 Message Date
rembo10
2aefb55a1a Changed log level for cache updates to debug 2012-06-26 19:46:21 +05:30
rembo10
408cb7d1fc Updated README with new screenshots :-) 2012-06-26 19:30:49 +05:30
rembo10
ac85236f36 fancybox fix 2012-06-26 19:17:41 +05:30
rembo10
ee441f334e Updated README with new screenshots, link to new forum 2012-06-26 19:11:13 +05:30
rembo10
05cc10df1a Merge in elmarkou's changes 2012-06-26 19:02:02 +05:30
rembo10
1f397857c6 Fixed bug where albums would show up under upcoming on the upcoming/wanted page after an album was marked as skipped or downloaded 2012-06-26 14:12:31 +05:30
rembo10
39d1afc089 Fixed bug where marking albums as wanted on the album page resulted in it getting marked twice - and then loading the artist subhead instead of album subhead 2012-06-26 13:50:55 +05:30
rembo10
e26dabbeca A couple syle changes to keep the artist image normally proportioned. Also fixed the fancy boxes on the artist & album
pages
2012-06-26 13:02:37 +05:30
rembo10
df9a3021b4 Removed unused function in script.js, fixed typo 2012-06-26 09:26:49 +05:30
rembo10
c20094cb46 Cache the ajax calls to the thumbnail urls 2012-06-26 09:21:04 +05:30
rembo10
a8a3680806 Moved bencode.py to the lib folder and changed the import in searcher.py 2012-06-26 00:01:23 +05:30
rembo10
02258a23d2 Merge remote-tracking branch 'AdeHub/master' into develop 2012-06-25 23:59:14 +05:30
rembo10
1bcb3d4eb2 Merge branch 'cache' into develop 2012-06-25 23:56:23 +05:30
rembo10
f4074f433a Moved all of the ajax functions over to use the cache rather than last.fm/amazon 2012-06-25 23:55:14 +05:30
rembo10
fa1a4afdb3 Initial changes to the default template to use the cache 2012-06-25 22:44:20 +05:30
rembo10
77a887c09b New function: getImageLinks(ArtistID/AlbumID). Just queries last fm to grab the artwork/thumbnail links without saving them to the cache. Useful for search results, etc 2012-06-25 18:47:21 +05:30
rembo10
f26c7b77e6 Merge branch 'audiobooks' into develop 2012-06-25 15:58:47 +05:30
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