Commit Graph

2850 Commits

Author SHA1 Message Date
David Sansome 7773e98ebf Keep track of some statistics while searching for album covers, and show a statistics dialog at the end. Fixes issue 1921 2011-06-26 15:07:48 +00:00
David Sansome 42801a967b Cancel album cover loads properly 2011-06-26 15:07:29 +00:00
David Sansome f8045af720 Various album cover search changes:
- Download several covers and use some heuristics to decide which cover is the best, rather than just taking the first one.
 - Timeout album cover downloads after 2.5s
 - Show covers properly in the album cover manager if they were manually unset, and then Clementine was restarted.
2011-06-26 15:07:19 +00:00
David Sansome dd98f8abc8 Make the album cover search results list scroll by pixel instead of item, and re-layout the items when any data changes 2011-06-26 15:06:59 +00:00
Andrea Decorte a36d0706b5 Ask for confirmation also on tab close button for now 2011-06-26 12:30:19 +00:00
John Maguire 1df5db5ee3 Add Echoprint library and a new fingerprinting classs that uses it. 2011-06-25 17:30:12 +00:00
David Sansome 2ef9ab6f6e Replace the KCategorizedView with a custom widget that works better. 2011-06-25 16:47:00 +00:00
John Maguire d6bafe88e2 Fix weird interaction between QEventLoop, GMainContext and QtConcurrent.
Fixes issue #1929.
2011-06-25 15:06:21 +00:00
David Sansome 7d6aa42ba3 Shift the rainbow back into the right place again 2011-06-23 22:49:33 +00:00
David Sansome b2418fd3ee Oops, remove some debug output 2011-06-23 22:49:23 +00:00
David Sansome 05e6ee8440 Cache the last rainbow frame so it can be used again in the next frame. Makes the painting much kinder on the CPU, but has the side effect of requiring the line segments to have integer spacings. 2011-06-23 20:36:38 +00:00
David Sansome decc769ebb Precalculate the band scale constants and apply them once when adding new values, instead of every time the polyline is drawn 2011-06-23 20:36:30 +00:00
David Sansome aa20b6b3e2 Don't shift the rainbow data along when the widget is being repainted as a result of an expose event 2011-06-23 20:36:14 +00:00
David Sansome a81c5fdf90 Center the rainbow a bit better 2011-06-23 20:36:05 +00:00
Tyler Rhodes 5792c114e8 Update nyan rainbow scaling and painting.
This is the last time, promise :)
2011-06-23 15:14:39 +00:00
Tyler Rhodes 663e5916dd Make nyan rainbow movements centered. (can move up and down, as opposed to just down). 2011-06-23 13:55:53 +00:00
Tyler Rhodes 612260cc9d Prettify nyan.
Add dark blue background and adjust rainbow placement.
2011-06-23 13:21:08 +00:00
John Maguire 623acc8bd1 Fix compile error on Clang. 2011-06-23 12:34:30 +00:00
John Maguire 3567032795 Fix compile error on Mac.
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMX,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,XMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMKdo,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,odKMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMWkkl';KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK;'lkkWMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMK  ,KKKKKKK0000000000000000000000000000000000KKKKKKK,  KMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMK  ,KKKKK00000000000000Olld00000olk000000000000KKKKK,  KMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMK  ,KK00000xddO00000000Oxxk00000kxO000000000000000KK,  KMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMK  ,KK00000xooO00000000000000000dooooO000OkkO00000KK,  KMNkkkkKMMMMMMMMMM
MMMMMMMMMMMMMMMMMK  ,KK00000000000000000000000kxx.....odk0Oood00000KK,  kKd....;KKNMMMMMMM
MMMMMMMMMMMMMMMMMK  ,KK00000000000000000000000,  ldddd  '0000000000KK,    .dddd:  dMMMMMMM
MMk.........,MMMMK  ,KK000000000000000kod00000,  lddddll;.'00000000KK,  :lldddd:  dMMMMMMM
MMd  ,,,,,   llNMK  ,KK000000000000000Oxx00000,  lddddddl,,:;;;;;;:::;,,odddddd:  dMMMMMMM
MMd  ;;cdd;..  ldl  ,KK00000000kxO000000000000,  lddddddddo..........cddddddddd:  dMMMMMMM
MMx    .ooddl       ,KK00000000olk0000000OOOkk,  lddddddddddddddddddddddddddddd:  oNNMMMMM
MMMMK     :dddd.    ,KK00000000000000000Oll,  ;ddddddddddddddddddddddddddddddddddd.  KMMMM
MMMMWkk:  ..'ddc:;  ,KK00kook00000000000Okk:  ;dddddddKXx.'dddddddddddddKXx..odddd.  KMMMM
MMMMMMM0::.  ;;;;,  ,KK00kddO00000000000000c  ;ddddddddd:  dddddddd:;ldddd:  ldddd.  KMMMM
MMMMMMMMMMo,,,,     ,KK000000000000OkkO0000c  ;ddxxxxx'...'dddddddd'.cdd'....oxxxx'  KMMMM
MMMMMMMMMMMMMMM.    ,KK000000000000Olld0000c  ;ddkOOOOxddddddddddddddddddddddkOOOO'  KMMMM
MMMMMMMMMMMMMMMNN0  ,KKKKK00dllO0000OOO0000c  ;ddkOOOOxd: .ddddd'  ldddd. .ddkOOOO'  KMMMM
MMMMMMMMMMMMMMMMMK  ,KKKKKKKkxxO00000000000xcc,..dxxxxdd:  .....   .....  .ddxxo''cddNMMMM
MMMMMMMMMMMMMMMdl:  .:lKKKKKKKKKKKKKKKKKKKKKKKd::,,lddddl,,,,,,,,,,,,,,,,,:dd;,;llKMMMMMMM
MMMMMMMMMMMMWKK'.......kkkkkkkkkkkkkkkkkkkkkkkkkk. ,lllllllllllllllllllllllll..cMMMMMMMMMM
MMMMMMMMMMMMK  lddddddl                                                      KMMMMMMMMMMMM
MMMMMMMMMMMMK  ldddd:.   ,KK'  :lll:  'KKKKKKKKKKKK'  :lll:  'KK,  ;llll  'KKWMMMMMMMMMMMM
MMMMMMMMMMMMK  .,,,,.  llkMM,  ',,,,llkMMMMMMMMMMMMkll,,,,'  ,MMkll;,,,,clkMMMMMMMMMMMMMMM
MMMMMMMMMMMMN:::::::::lMMMMMd::::::lMMMMMMMMMMMMMMMMMMl::::::dMMMMMl::::NMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
2011-06-23 11:28:57 +00:00
David Sansome db26c788f4 Tweak nyan cat's values a bit to make him more interesting 2011-06-23 00:22:56 +00:00
David Sansome dad22297d1 Add a nyan cat analyzer.
Nyan nyan nyan nyan.
2011-06-22 23:25:08 +00:00
Arnaud Bienner eb55e1b53d Try to fix the build 2011-06-22 21:52:51 +00:00
Arnaud Bienner 47ad50dc41 Update mute button in tray icon 2011-06-22 21:50:25 +00:00
David Sansome 4864d24e42 Only do the Ubuntu Unity hack on Linux 2011-06-22 20:52:49 +00:00
Arnaud Bienner 63300d79db Set tr function's codec to system encoding. Should (finally) resolve problems with already translated strings 2011-06-22 20:41:48 +00:00
John Maguire 17e5cd4ba9 Fix compile error in gcc 4.6. 2011-06-22 19:28:19 +00:00
David Sansome f66e74a707 Don't double url-encode URLs when doing google image searches 2011-06-22 19:11:58 +00:00
David Sansome bac414a630 Allow the artist and album to be specified separately when searching for album covers 2011-06-22 19:07:15 +00:00
David Sansome 2e9ec3e9d4 Don't crash on exit when unregistering cover providers 2011-06-22 19:06:57 +00:00
John Maguire 6e86caae2c Define QT_STRICT_ITERATORS and fix the associated bugs. 2011-06-20 15:08:06 +00:00
David Sansome 9023aafdef Try fixing the build again 2011-06-20 10:24:31 +00:00
David Sansome b59913372c Oops, fix the build 2011-06-20 09:05:14 +00:00
David Sansome 62bd3694ec Remove cover provider factories and refactor everything else to use cover providers directly instead. 2011-06-19 23:15:51 +00:00
David Sansome c6e2981860 Group album cover search results by category 2011-06-19 23:15:29 +00:00
David Sansome 2552f6b232 Update python bindings with CDDA changes 2011-06-19 23:15:18 +00:00
David Sansome 36165ea9bf Keep the state of the rain and hypnotoad menu actions in sync with whether they're actually playing. Fixes issue 1986 2011-06-19 14:42:00 +00:00
Andrea Decorte 87a5ec5cc7 Add confirmation when removing playlist and close button on tabs. Fixes
issue 2003
2011-06-19 08:44:10 +00:00
David Sansome 67f41ef886 Oops, remove some unused dbus includes 2011-06-18 22:05:35 +00:00
David Sansome fd7d24b11a Add Clementine to the Unity system tray whitelist on startup. 2011-06-18 19:08:09 +00:00
Arnaud Bienner 6098e298fd Prevent block analyzer to be initialized in very high framerate mode. This is strangely slowing it 2011-06-18 15:00:59 +00:00
David Sansome c2e9955793 Add support for custom lastfm:// urls. Thanks jajcus. Fixes issue 1993 2011-06-17 20:24:35 +00:00
David Sansome 9d1fdeb87d Don't included deleted songs in smart playlists. Fixes issue 1998 2011-06-17 20:16:45 +00:00
David Sansome 7415d85dce When initialising a song from a library query, don't always assume the metadata originally came from a file (which means icycast tags are ignored when it is played). Fixes issue 1857 2011-06-17 20:00:10 +00:00
David Sansome cab5d63b74 Rename empty .po target files to .po.target so pkgbinarymangler doesn't choke on them. Thanks Felix Geyer <debfx-pkg@fobos.de> 2011-06-17 19:38:58 +00:00
David Sansome 99390486bf Show a song's URL in the title playlist column if it doesn't have a title or base filename. 2011-06-17 19:32:03 +00:00
John Maguire 4393199d66 Fix or hide some compile warnings. 2011-06-16 14:38:13 +00:00
John Maguire 54e9299c08 libgsttag is also required to build clementine now. 2011-06-16 13:49:10 +00:00
David Sansome ac97a0707f Include libcdio and gstcdda in the Windows installer. Fixes issue 1994 2011-06-15 21:35:27 +00:00
John Maguire 25587286b2 Fix error when unref'ing cdda element after failing to read CD. 2011-06-15 19:28:25 +00:00
Arnaud Bienner 7fca5d37dc Minor modifications on load audio CD, including better cleaning of objects 2011-06-14 23:38:43 +00:00