Commit Graph

2666 Commits

Author SHA1 Message Date
David Sansome dbe8ffd5de Try to sort by "quality", ie. matches at the start of the song metadata rate higher. 2011-08-29 03:30:32 +01:00
David Sansome 415c86ab90 Increase the border size 2011-08-29 03:30:22 +01:00
David Sansome 2c954a5d4a Cache pixmaps for album art 2011-08-29 03:30:14 +01:00
David Sansome cd44c47f7b Sort the results in the popup list, prevent the user from searching for short strings 2011-08-29 03:29:51 +01:00
David Sansome 0f9d2d29bb Minor UI tweaks 2011-08-29 03:29:04 +01:00
David Sansome 9370657b50 Started work on a global search for library, with album art.
The idea is that there's a single place to search for music, and it doesn't matter where it is, Clementine will find something playable.
2011-08-29 03:27:47 +01:00
David Sansome 2cbe90c2e5 When playing a last.fm stream, don't scrobble the next item in the playlist in between each track of the last.fm stream. Fixes issue 1943 2011-08-28 02:59:19 +01:00
David Sansome 7e1b6ef6c4 Use locale aware sorting for the lists of artists and albums in the album cover manager. Fixes issue 1952 2011-08-28 00:25:41 +01:00
David Sansome 195f618bf2 When organising files, make %albumartist behave as %artist if the song has no albumartist tag set. 2011-08-28 00:02:41 +01:00
David Sansome 1d098a40b8 Revert commit ddfb90a0a1, and always delete files from disk rather than sending them to trash. 2011-08-27 23:54:55 +01:00
David Sansome a8d9f9104a Map playlist indices to the source model when passing them to the future watcher for background saves, fixing a bug where the wrong notification would be sent when editing track information for the currently playing song and the playlist was filtered. Fixes issue 2063 2011-08-27 23:16:57 +01:00
David Sansome 804cbbc14e Save the playlist after editing fields of files in it - affects files that are not in the library. 2011-08-27 23:09:42 +01:00
David Sansome 9312f153b7 Don't show a notification and update the now playing widget when editing a song that isn't currently playing. Fixes issue 1689 2011-08-27 23:08:53 +01:00
David Sansome 5884502389 Fix a bug loading where song metadata wouldn't be loaded from the library when loading a local file containing spaces. Fixes issue 2192 2011-08-27 22:51:30 +01:00
David Sansome 2f63130606 When renumbering tracks, only start from the track number of the first track if it's greater than 0. Fixes issue 2072 2011-08-27 22:43:02 +01:00
David Sansome 7f7451b72a Stop the M3UParser from going into an infinite loop when parsing a file with an invalid #EXTINF line. Fixes issue 2080 2011-08-27 22:35:00 +01:00
David Sansome 7e0e4e48e4 When loading a CUE from disk that isn't in the library, don't overwrite the metadata of its first song with the metadata from the audio file. Fixes issue 2092 2011-08-27 22:29:35 +01:00
David Sansome 13fc24f6c6 Refactor the last.fm, magnatune, spotify and di.fm settings pages - moving the login state display into a separate widget. 2011-08-27 22:01:28 +01:00
David Sansome 143bbb4019 Make the BusyIndicator contain a label too 2011-08-27 15:03:04 +01:00
John Maguire 72198db1ba Make the album cover search dialog window modal so that it acts like a sheet on Mac. 2011-08-27 14:50:11 +01:00
David Sansome 263f57b47b Only set the pretty OSD's message in the notifications settings page's constructor - don't show it as well. It would just get hidden again straight away, and for some reason this triggers a (Qt?) bug where the window gets painted in the top-left corner, but reacts to mouse clicks in its actual position.
Fixes issue 2110
2011-08-26 23:34:13 +01:00
Arnaud Bienner 3dc4e3aa0b Merge branch 'master' of https://code.google.com/p/clementine-player 2011-08-26 00:23:30 +02:00
Arnaud Bienner 21f5345da4 Also work with cdda URLs which doesn't contain device inside URL 2011-08-26 00:11:18 +02:00
David Sansome 73a1052f70 Use a fakesink instead of an appsink in the probe pipeline to fix a memory leak and make it work on Windows where we don't bundle appsink.
Fixes issue 2177
2011-08-22 22:40:33 +01:00
Andrew Gaydenko 41a151840f Split the gstreamer pipeline - one path is converted to 16-bit int samples for the scope. The other is kept at float32 to preserve the bit depth of the audio.
Fixes issue 2114
2011-08-19 22:02:42 +01:00
Arnaud Bienner 5cbb86f247 Use toEncoded instead of toString in SQL query 2011-08-19 22:37:59 +02:00
Arnaud Bienner 5841bb58a7 Correct typo in comment 2011-08-19 22:31:48 +02:00
Arnaud Bienner f319a615d9 Use url when checking if a file is already in DB instead of filename when loading files (this usecase has been missed when we have decide to use urls everywhere) 2011-08-18 22:43:52 +02:00
Arnaud Bienner f33b62a877 Oops... Actually, it's better like this :) 2011-08-18 22:10:09 +02:00
Arnaud Bienner 299f15b7ee Allow GIO to handle CD devices if libcdio isn't installed 2011-08-18 21:41:14 +02:00
Arnaud Bienner 91537777c8 Ignore cdda devices detected via gio ealier, to avoid crash when getting device's filesystem info. This seems to happen because both giolister and cddadevice try to access to the device at the same time 2011-08-18 21:34:45 +02:00
Arnaud Bienner 419447e192 Reset song count during init 2011-08-18 20:23:11 +02:00
David Sansome e194d89857 Fix a crash when choosing "Edit track information" from the library view 2011-08-18 00:38:49 +01:00
John Maguire 8ad150bd6b Don't detect CD devices on Mac when we can't use them and fix an iokit
device leak.
2011-08-15 18:13:05 +02:00
John Maguire 56a4d6b743 Fix double unref on cdda element. 2011-08-15 18:08:09 +02:00
David Sansome 3be95c9462 Always compile the spotify settings page UI file to fix a build failure when spotify was disabled. Fixes issue 2159 2011-08-15 11:36:06 +01:00
David Sansome 4ce5cf03d2 Enforce the correct minimum width on settings dialog pages so they don't appear clipped horizontally 2011-08-14 20:19:54 +01:00
David Sansome 4b1e2f08e9 Put each settings page in a scroll area, and resize the settings dialog to fit on the user's screen if it's too big. Fixes issue 953. 2011-08-14 15:41:47 +01:00
David Sansome dad76b78dd Move all the settings pages to their own widgets and classes 2011-08-14 00:07:10 +01:00
John Maguire 50824cafe9 Make AskForScan() per-device rather than per device lister and fix cddadevice to use the url rather than the unique id. 2011-08-11 22:10:14 +02:00
John Maguire b458c9d24c Merge branch 'master' of https://code.google.com/p/clementine-player
Conflicts:
	src/devices/devicemanager.cpp
2011-08-11 21:46:48 +02:00
John Maguire 75a53d0b36 Detect CD removal on mac. 2011-08-11 21:43:00 +02:00
John Maguire 47a171fca7 Detect cd insertion on mac. 2011-08-11 21:37:09 +02:00
Arnaud Bienner 4509757233 We cannot change CD device's content: return false for those methods. This will display an error message, more explicit than doing nothing without any warning 2011-08-11 01:16:08 +02:00
Arnaud Bienner 3b6af2298d Remove useless return statement which prevents using the 'friendly name' (even if we're supposed to rarely go here) 2011-08-11 01:10:45 +02:00
Arnaud Bienner 1a4aa8f641 Make the 'dont ask on first connect' more generic 2011-08-11 00:59:34 +02:00
Arnaud Bienner f963ae524a Ignore devices that correspond to symlink to avoid duplicate 2011-08-11 00:15:26 +02:00
David Sansome 191e23ed13 Remove old references to libarchive 2011-08-10 16:30:36 +01:00
David Sansome 082716e9c9 Don't try to compile audio CD support if libcdio isn't installed. 2011-08-10 16:30:36 +01:00
John Maguire 369650dbef Fix building without spotify support. 2011-08-10 13:44:55 +02:00
Arnaud Bienner 0b795841d5 Merge branch 'master' of https://code.google.com/p/clementine-player 2011-08-10 00:49:43 +02:00
Arnaud Bienner 07ce755060 Work with multiple CD devices 2011-08-10 00:49:36 +02:00
John Maguire 6ddf9fa41b Only parse the tracks from the first release we find on musicbrainz for a CD. 2011-08-09 21:54:37 +02:00
John Maguire 6d9bc9d3f4 Don't constantly refresh the cd device if it doesn't support checking for media changes.
Filter out irrelevant devices on OS X.
2011-08-09 21:30:28 +02:00
John Maguire 176efeb4b0 Add debug logging to cdda lister. 2011-08-09 20:28:50 +02:00
John Maguire 5fcb3d3d7a Merge branch 'master' into resolvers 2011-08-09 19:30:20 +02:00
Arnaud Bienner cb28557a77 Correct typo 2011-08-08 23:44:49 +02:00
John Maguire d0a3cd2455 Fix crash in cdio on Mac. 2011-08-08 13:59:21 +02:00
David Sansome cbc05354ee Merge branch 'master' of https://code.google.com/p/clementine-player 2011-08-05 08:33:42 +01:00
Black Jack 3de111d84f Fix a crash that occurs when mounting a device with an empty backends container. Fixes issue 2121 2011-08-05 08:20:04 +01:00
Arnaud Bienner c3c4e87827 Remove now useless debug message 2011-08-05 02:35:38 +02:00
Arnaud Bienner f7859f591c Adding CD devices in devices tab. Fixes issue 701. 2011-08-05 02:15:16 +02:00
Nobuhiro Iwamatsu 3ded9f29d2 Fix compiling on ARM. 2011-08-01 22:37:53 +02:00
John Maguire 9424037fe4 Fix typo in comment. 2011-07-28 18:01:32 +02:00
John Maguire 2bda4966fc Basic working use of resolvers for XSPF playlists. 2011-07-28 17:33:58 +02:00
Arnaud Bienner 0bf4b9a748 Guess formatting for last.fm' bios and format them. Partially fix issue 2085. Thanks Atrament...@googlemail.com 2011-07-26 23:55:39 +02:00
David Sansome ae4cfeff1c Always assume Icecast-style stream metadata is in the "Artist - Title" format, as this seems more common. Remove the hacks for soma.fm and stations from the icecast list. Fixes issue 1035 2011-07-26 15:56:19 +01:00
David Sansome b628c2a26e Use a template function instead of a macro 2011-07-26 13:22:23 +01:00
David Sansome c366f722fb Show the album cover dimensions on top of the images in the album cover search dialog.
Fixes issue 1704
2011-07-26 13:02:59 +01:00
David Sansome 5c90404915 Sort album covers by image size. Fixes issue 2048 2011-07-26 12:17:28 +01:00
David Sansome 3eb9aee989 Save the state of the playlist column sort marker
Fixes issue 2098
2011-07-25 16:55:45 +01:00
David Sansome f599c0fca7 Remember the playlist column stretch setting when changing it, and update the menu action's checked state properly when opening clementine. 2011-07-25 16:54:42 +01:00
David Sansome 30f68d6981 Store the floating point proportional playlist column widths directly instead of storing the integer pixel widths then recalculating the floating point values on startup, which would lead to floating point errors over time. Fixes a bug where columns would slowly change size the more times you opened and closed clementine. 2011-07-24 12:47:48 +01:00
David Sansome b1fe146966 Maybe fix the mac build 2011-07-23 23:40:24 +01:00
David Sansome 1f8263d329 Add a C++ implementation of the Amazon cover provider 2011-07-23 19:34:54 +01:00
David Sansome 38100f5e59 Make CoverProviders not a singleton 2011-07-23 19:34:41 +01:00
David Sansome a1062eb96f Add sha256 and hmac-sha256 functions 2011-07-23 19:33:00 +01:00
David Sansome 9fadf57acc Revert "Move TaskManager::Task and UrlHandler::LoadResult structs out of their parent classes - PythonQt doesn't understand nested structs."
This reverts commit 5234798a7f.
2011-07-23 15:32:12 +01:00
David Sansome dd3eee63e5 Remove python scripting support 2011-07-23 15:32:12 +01:00
David Sansome a0258a9e81 Add c++ implementations of the di.fm and sky.fm radio services 2011-07-23 15:32:11 +01:00
David Sansome 409d3b0184 Rename the nyancat analyzer to "Nyanalyzer cat" 2011-07-20 20:33:11 +01:00
David Sansome 387b5cd5ff Fix some bugs in loading premium di.fm and sky.fm streams 2011-07-20 20:06:28 +01:00
David Sansome ceae993d62 Add Python bindings for IconLoader and expose all protected methods in classes 2011-07-18 22:20:45 +00:00
David Sansome 5d74ff9cc7 Update the typesystem file for the Radio -> Internet change and regenerate the Python bindings 2011-07-18 22:20:32 +00:00
David Sansome 69bd5555e7 Fix a crash when loading an old playlist containing Radio items after an upgrade to a version where they're Internet items 2011-07-18 22:20:22 +00:00
Tyler Rhodes ded8e5f6f0 Refactor "Radio" files into "Internet" files. 2011-07-15 13:27:50 +00:00
John Maguire 16b57935a9 Rename PlaylistManager.name(id) to PlaylistManager.GetPlaylistName(id) so that it doesn't clash with QObject::name() for Python scripts.
Thanks to Cristian Beskid
2011-07-13 18:14:14 +00:00
Tyler Rhodes 39858fcf9d Fix build error on mac. 2011-07-12 23:43:02 +00:00
John Maguire 45a63e2178 Add installers for all scripts and fix setlistfm script for new api. 2011-07-12 16:51:06 +00:00
Arnaud Bienner cd27ef7da3 Remove duplicate strings in uk.po 2011-07-11 20:09:02 +00:00
David Sansome e942ec11d3 Add a button to clear the python console. Thanks Chris Gell 2011-07-10 16:43:37 +00:00
David Sansome 255428b3b9 Update Ukrainian translation. Thanks bjsenya 2011-07-10 16:43:25 +00:00
John Maguire 3df5906250 Add script for searching for a song on youtube. 2011-07-08 15:11:48 +00:00
John Maguire e4c8eee7d9 Add lastfm suggester to OTHER_SOURCES for translations. 2011-07-07 14:22:32 +00:00
John Maguire b188241ec7 Support drag and drop of images to the cover in the edit tag dialog.
Fixes issue #1406
2011-07-07 14:20:34 +00:00
John Maguire ea3cf5f92d Only build lastfm suggester if we have lastfm.
Fixes issue #2057
2011-07-07 13:36:44 +00:00
David Sansome e6b2e5bcae Make the DeleteSongs function actually delete songs again, and make a new MarkUnavailable function that is called when songs are deleted from disk (and stop it from removing the song from the search index). 2011-07-06 20:07:56 +00:00
Tyler Rhodes 5c6f9e625b Allow shorter playlist column names if header size is too small.
Fixes issue 201.
2011-07-06 13:22:42 +00:00
Tyler Rhodes 4daae2249e Add selection-size check before removing items from playlist.
Fixes issue 2038.
2011-07-05 20:24:59 +00:00
Tyler Rhodes 617ea33be9 Remove duplicate action key in wiimotedev preferences.
Fixes issue 2046.
2011-07-05 20:11:21 +00:00
Tyler Rhodes 9f58fb6ded Make icecast items 'selectable' by default.
Fixes issue 2034.
2011-07-05 19:48:58 +00:00
David Sansome c8305c0eee Don't record an undo step when all the songs inserted into the playlist were vetoed. Thanks schizosfera. 2011-07-01 20:48:18 +00:00
David Sansome 5dbdc8354b Port the deleted songs invalidator script to PythonQt. Thanks schizosfera. Fixes issue 2035 2011-07-01 20:47:46 +00:00
Andrea Decorte 10af1e6627 Save last.fm options without login. Fixes issue #2023. Thanks to
samir.benmendil@gmail.com
2011-06-27 18:15:55 +00:00
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 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 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
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
John Maguire 02e4d30354 Fix compile error. 2011-06-14 16:13:48 +00:00
Tyler Rhodes e67725265d Make fileview always filter incompatible files. 2011-06-14 16:07:17 +00:00
David Sansome ccd7afed17 Replace LibraryModel assertions with error logging 2011-06-14 15:33:51 +00:00
David Sansome 42fe215443 Don't treat the smart playlist node in the library like a regular container when applying filters - fixes an assertion when clicking the smart playlist node with None/None/None grouping. Fixes issue 1913 2011-06-14 15:27:07 +00:00
David Sansome 563de288ba Encode URLs properly when doing the DB schema conversion to store filenames as URLs 2011-06-14 14:46:02 +00:00
Tyler Rhodes 56b05f1dc8 Disable seeking while stopped.
Fixes issue 1987.
2011-06-14 12:21:53 +00:00
Tyler Rhodes a452971708 Change Mac media keys to respond on key release. Fixes issue 1985. 2011-06-13 10:20:37 +00:00
Tyler Rhodes 80abba66ca Fix my compile fix in r3373 2011-06-10 09:37:50 +00:00
John Maguire 4917ae8f4f Fix compile error. 2011-06-10 09:35:03 +00:00
Tyler Rhodes 006e085b7d Fixes 64-bit compile issue from r3372 2011-06-10 09:19:30 +00:00
Arnaud Bienner 272841ab73 Starting audio CD support. Starts issue 701 2011-06-09 23:08:43 +00:00
David Sansome 5488b37447 Fix vagalume lyrics. Thanks ikojba 2011-06-09 16:32:45 +00:00
Tyler Rhodes 827d37e64b Add 'Enable playlist background image' to preferences.
Fixes issue #365
2011-06-08 14:48:43 +00:00
Andrea Decorte 0a5c8e3995 Fixed two little issue with OSD toggling and new lines 2011-06-05 13:34:12 +00:00
Andrea Decorte 527171fadb Toggle visibility for Pretty OSD by command line and global shortcut.
Fixes issue 1344
2011-06-05 08:21:17 +00:00
Andrea Decorte 018f849b8a Handle new lines from command line. Fixes issue 1948 2011-06-03 11:07:12 +00:00
John Maguire 94d90c5ab7 Code review comments from r3356. 2011-06-01 15:53:05 +00:00
John Maguire 2e72d8d3e5 Code review comments from r3355 2011-06-01 15:47:14 +00:00
John Maguire 69cfd03248 Only build spotify resolver when spotify enabled. 2011-05-31 16:01:33 +00:00
John Maguire e5d991ddaf Add Resolver interface and Spotify resolver. 2011-05-31 15:33:46 +00:00
John Maguire 41e79bea0e Add basics of last.fm suggester and library resolver. 2011-05-31 14:36:28 +00:00
David Sansome 97510cef0c Limit characters in Python module names to [a-zA-Z0-9] 2011-05-30 18:56:36 +00:00
David Sansome 92ee1d3158 Treat RadioServices' parents differently to the model 2011-05-30 14:54:48 +00:00
David Sansome 5eb38504a7 Decrement the refcounts of shell methods if they're not called 2011-05-30 14:54:25 +00:00
David Sansome 033918ff79 Remember any signals that are connected to Python objects and disconnect them when the script is unloaded so the references to those objects can be dropped 2011-05-30 14:53:59 +00:00
David Sansome fb25a3d4f4 Rename script to __script__ 2011-05-30 14:53:28 +00:00
John Maguire 97a8aa54be Use SPMediaKeyTap for global media keys on Mac.
Thanks to: tyler.s.rhodes@gmail.com
2011-05-30 10:09:34 +00:00
Andrea Decorte 86c3ec269f Fix maximum size for pretty OSD when changing fonts 2011-05-29 19:44:03 +00:00
David Sansome 7de618beff Fix registration of metatypes for list handlers on Qt 4.7 2011-05-29 14:08:55 +00:00
David Sansome 6dd1634946 Add Python bindings for Playlists, port the rainbowizer plugin to PythonQt and make its colours a bit more tasteful 2011-05-29 12:55:18 +00:00
Andrea Decorte 44302a59b3 Added option to disable pretty OSD timeout 2011-05-29 12:44:38 +00:00
David Sansome 1c53935c4e Initialise PythonQt shell POD return values to 0, so that if the wrapped method raises an exception an uninitialised value isn't returned to C++ 2011-05-28 16:01:05 +00:00
David Sansome 9e6fea9d27 Refactor AlbumCoverFetcherSearch to not delete replies while they might still be used, and to remove unnecessary mutex locking 2011-05-28 16:00:46 +00:00
David Sansome 3ac2ae6a83 Fix a segfault that occurred when an album cover search finished - seen more often with Python providers. 2011-05-28 16:00:38 +00:00
Andrea Decorte 61092899c9 Add font choice for pretty OSD and fixed bugs in the notification
preview
2011-05-28 08:50:29 +00:00
John Maguire 54a79f0665 Always pause on --pause.
Fixes issue #1599
2011-05-26 15:40:53 +00:00
John Maguire 799279afcd Untested attempt to read album artist tags from ogg/flac/mp4 properly.
Fixes issue #1624
2011-05-26 15:30:42 +00:00
John Maguire e8e882b33c Localise the song info play counts and listener counts.
Fixes issue #1834
2011-05-26 14:59:31 +00:00
John Maguire 8880b06833 Make backspace delete in playlist view on Mac.
Fixes issue #1710
2011-05-26 14:34:22 +00:00
John Maguire 5f7b085f12 Disable popup delay settings when Growl is selected.
Fixes issue #1891
2011-05-26 13:13:38 +00:00
John Maguire 5eedc1b548 Bump version of libspotify to download. 2011-05-25 14:56:03 +00:00
John Maguire f246e44b92 Support making spotify playlists available offline. 2011-05-25 14:22:49 +00:00
Andrea Decorte 2f7ea0acbe New lines are now allowed in OSD if the notification type support them 2011-05-23 19:49:03 +00:00
John Maguire 3fd8d4f78e Fix showing hint in library filter widget on mac. 2011-05-23 12:52:27 +00:00
John Maguire 20534811c8 Fix crash in mac library filter widget.
Fixes issue #1914
Thanks to: tyler.s.rhodes@gmail.com
2011-05-23 09:41:08 +00:00
Andrea Decorte c2e9bee463 Add an option to customize OSD message on song change 2011-05-22 21:15:11 +00:00
David Sansome e61a8c84cb Re-enable and fix the python tests, add regression tests for the weird PythonQt bugs 2011-05-22 15:23:12 +00:00
David Sansome e1620385d5 Fix the Amazon covers script to work with PythonQt, and some minor style fixes 2011-05-22 14:11:02 +00:00
David Sansome fc97e4bb8c Convert CoverSearchResult lists correctly 2011-05-22 14:10:54 +00:00
David Sansome 7228eb8676 Buffer stdout and stderr properly, and integrate with python's logging module 2011-05-22 11:48:12 +00:00
David Sansome 797dfe9841 Fix some connect() warnings when starting a background stream 2011-05-21 19:27:23 +00:00
David Sansome 417bde98a0 Remove dependency on QtUiTools, remove QtUiTools bindings and port PyQt's pure python .ui file parser to use PythonQt. Change the di.fm script to use uic again. 2011-05-21 19:08:38 +00:00
Paweł Bara 46a411844a some more corrections of the python API for cover providers; still not working ;) 2011-05-21 12:19:35 +00:00
David Sansome 5234798a7f Move TaskManager::Task and UrlHandler::LoadResult structs out of their parent classes - PythonQt doesn't understand nested structs. 2011-05-21 10:43:25 +00:00
David Sansome a18146bf8a Handle conversions of SongLists properly between python and Qt 2011-05-21 10:43:08 +00:00
David Sansome 5c1139747f Update a log line in the device kit lister 2011-05-19 23:02:30 +00:00
David Sansome 147bbb9928 Add some more python bindings 2011-05-19 23:02:15 +00:00
John Maguire 51e031df2b Add class for transcoding a Song into an OGG Vorbis stream. 2011-05-19 16:34:33 +00:00
John Maguire 83813bb788 Make ICESession a QIODevice. 2011-05-19 14:29:25 +00:00
David Sansome 09bde274ed Fix some ICE stuff 2011-05-19 13:21:12 +00:00
John Maguire 9afa223dbf Regenerate pythonqt bindings from Qt 4.6. 2011-05-18 15:19:02 +00:00
John Maguire eab423f84e 2-way test infrastructure for ICE tunnelling. 2011-05-18 13:54:26 +00:00
Paweł Bara e0ab8ae5f2 little improvements to the last commit 2011-05-17 18:02:39 +00:00
Paweł Bara d1d177769a cover providers are now recreated every search (this will lead to simpler API of theirs in a moment)
initial migration from SIP -> PythonQt in cover providers
2011-05-17 17:53:36 +00:00
John Maguire 69b2942566 Add dependency so spotify blob is built before clementine. 2011-05-17 11:53:17 +00:00
John Maguire 8dd745895a Add --version command line flag.
Fixes issue #1867
Thanks to: tyler.s.rhodes@gmail.com
2011-05-16 19:21:46 +00:00
John Maguire e7f635e507 Maybe fix mac spotify build. 2011-05-16 15:15:02 +00:00
John Maguire b175c36431 Add file type filtering to File view.
Fixes issue #361
Thanks to: tyler.s.rhodes@gmail.com
2011-05-16 15:08:17 +00:00
David Sansome d15c6ac495 Remove the timerEvent method from NetworkTimeouts 2011-05-15 16:19:47 +00:00
David Sansome 7b84b23366 Add bindings for classes from network.h 2011-05-15 16:12:49 +00:00
David Sansome 25e63e4b42 Add QtUiTools bindings 2011-05-15 16:12:38 +00:00
David Sansome 368c637ce7 Fix compilation in release mode and disable the python test for now 2011-05-15 15:46:42 +00:00
David Sansome d9bb8ffd8c Add the pythonqt bindings generator and make some bindings for RadioService and UrlHandler 2011-05-15 15:45:49 +00:00
David Sansome 930a2aa2bf Add an interactive Python console to the script manager 2011-05-15 13:44:06 +00:00
David Sansome 7c05b42dcd Add PythonQt to 3rdparty, use it in the python engine instead of SIP/PyQt. 2011-05-15 13:41:54 +00:00
David Sansome e2c6526840 Make dynamic playlists use the limit specified in the smart playlist dialog. Thanks google@robbertkrebbers.nl. Fixes issue 1082. Fixes issue 1192. 2011-05-14 13:44:10 +00:00
David Sansome 792352be3b When songs disappear from the filesystem (either they're deleted or are on a removable media that was unmounted), mark them as unavailable instead of removing them from the database. Thanks google@robbertkrebbers.nl. Fixes issue 401 2011-05-14 13:43:57 +00:00
David Sansome dfb0289987 Fix the byte order of album cover art images sent over dbus on big endian machines. Thanks Paul Wells 2011-05-14 13:43:33 +00:00
John Maguire c9a0318553 Revert to not scanning hidden directories. 2011-05-13 16:56:42 +00:00
Andrea Decorte dbde7ae118 Fixed icons 2011-05-09 20:37:14 +00:00
John Maguire 6c291c45db Add missing include. 2011-05-09 20:03:53 +00:00
Andrea Decorte ddbe03b526 Added Login button to Last.Fm and others online services. Fixes issue
1772
2011-05-09 19:54:04 +00:00
Andrea Decorte 56c8567fc7 Added missing NOT conditions in smart playlists. Fixes issue 1836 2011-05-04 18:47:48 +00:00
Andrea Decorte 2bcaba28ad Fixed translations when compiling without Spotify support 2011-05-04 18:00:48 +00:00
Arnaud Bienner d20f689ab4 Revert r3234 because, as discussed, this could lead to blocking behavior 2011-05-03 22:38:24 +00:00
Andrea Decorte 2dd2b615ef Show tooltips in the sidebar only in Tabs and IconsOnly modes 2011-05-03 18:06:17 +00:00
Arnaud Bienner 709d339866 Avoid to create a new thread when changing state. Make the UI more reactive, especially when Qt threadpool is already full (for example when fingerprinting several files in parallel for MusicBrainz autotagging) 2011-05-03 00:02:35 +00:00
David Sansome e6032a7c51 Use __stdcall for libspotify callbacks on windows, call the right executable 2011-04-30 18:22:14 +00:00
David Sansome d41916cf79 Update pot 2011-04-30 12:31:32 +00:00
David Sansome 70e6018b1e Add some spotify branding, display spotify login errors, add a button to the config dialog to download the blob, only make the config dialog try to login when it needs to, fix a bug where the Starred and Inbox items would sometimes not get created. 2011-04-30 12:31:20 +00:00
Andrea Decorte 1c0a0f17dd Added some debug output for last.fm tracks caching 2011-04-30 08:36:44 +00:00
David Sansome a2ceca673c Bump trunk's version to 0.7.1 (oops), show an error when the spotify blob crashes, actually use the LD_LIBRARY_PATH that is created 2011-04-29 21:49:48 +00:00
David Sansome c22c5eb917 Fix a build failure on Windows 2011-04-29 21:01:20 +00:00
David Sansome be69ad9225 Update the pot 2011-04-29 19:50:34 +00:00
David Sansome 3deb371537 If the spotify blob isn't installed, try to download it from the Clementine website. Also, make the blob separate from the core Spotify code in Clementine so you can build the core code without building the blob 2011-04-29 19:44:51 +00:00
John Maguire a1e06e6596 Fix opening the Spotify config dialog from the context menu. 2011-04-29 18:56:17 +00:00
David Sansome 0b4368aece Fix build error 2011-04-29 14:07:30 +00:00
David Sansome a2d4e7d843 Change the fonts in the did you mean... popup, and make it observe enter and escape keypresses 2011-04-29 14:01:59 +00:00
David Sansome 337ac0b9e1 Update pot 2011-04-29 13:41:53 +00:00