Commit Graph

840 Commits

Author SHA1 Message Date
David Sansome 7e3c0911ee Pass the dotted version number to qtsparkle instead of the display version 2011-01-09 19:05:54 +00:00
David Sansome dc619eb437 Start refactoring the RadioModel to inherit from QStandardItemModel 2011-01-09 18:27:41 +00:00
John Maguire bde7902686 Refactor some initial setup out of MainWindow::MainWindow(). 2011-01-04 11:33:22 +00:00
David Sansome e1b899bc61 Add python bindings for the library 2011-01-03 15:15:51 +00:00
David Sansome bbe07cef44 Add a couple more menus for scripts to use 2011-01-02 18:52:24 +00:00
David Sansome 9da56fd916 Always compile basic scripting support 2011-01-02 18:44:45 +00:00
David Sansome 45caf3b6f4 Fix the windows build 2011-01-02 18:33:31 +00:00
David Sansome a79ca8c556 Let scripts register actions at predefined locations in the UI 2011-01-02 18:10:26 +00:00
David Sansome cfffa59b9b Initialise the scripts only after everything else has loaded 2011-01-02 16:17:36 +00:00
David Sansome a466cff48a Reload all settings from one function 2011-01-02 14:50:17 +00:00
David Sansome cdac0c6c86 Add python bindings for Playlist and PlaylistManager 2011-01-02 03:25:15 +00:00
David Sansome dac0d071ea Add bindings for Song, PlaylistItem, PlaylistItemPtr and EngineBase, add a "player" attribute to the clementine module 2010-12-31 20:29:52 +00:00
David Sansome 5b1000834f Add some basic script loading support and add python bindings for the Player class 2010-12-31 18:13:28 +00:00
David Sansome 398f5d7f66 Use qtsparkle instead of winsparkle 2010-12-30 16:20:33 +00:00
David Sansome 45a7780f95 Add winsparkle support (doesn't work yet) 2010-12-29 17:53:28 +00:00
David Sansome ca032eb445 Add an "Enqueue to playlist" menu item. Thanks bendarb. Fixes issue #980 2010-12-29 15:08:43 +00:00
David Sansome d1d0236385 Make the "show full size" menu item in the now playing widget and edit tag dialog work with embedded covers 2010-12-28 22:20:54 +00:00
David Sansome 97d7fe764a Download higher resolution images from last.fm. Thanks markwatkinson. Fixes issue #1187 2010-12-26 20:19:12 +00:00
David Sansome 35242f740e Fix dbus 2010-12-26 17:24:44 +00:00
David Sansome b49fd1903d Add menu items to set the cover art to the context menu of the now playing widget. Fixes issue #906 2010-12-26 17:16:40 +00:00
David Sansome e3a9bd7b26 Make DBUS bits optional on Linux. Thanks Nickollai. Fixes issue #1177 2010-12-26 13:38:35 +00:00
David Sansome 6737b8a5c2 Always use the gstreamer engine, remove xine, vlc and phonon engines. 2010-12-26 13:01:35 +00:00
David Sansome 41c42fe3a2 Fix compilation of the edit tag dialog when lastfm is compiled out 2010-12-26 12:42:47 +00:00
David Sansome 9b22f2ce40 Proxy support. Fixes issue #38 2010-12-25 17:25:29 +00:00
David Sansome 9b82ecbb72 Add tag completers for albumartist, composer and genre, and load completion models in background threads 2010-12-25 13:11:09 +00:00
David Sansome 8cdce2767b Implement the reset play counts button 2010-12-25 11:54:21 +00:00
David Sansome e21307e087 Non-const references put me on santa's naughty list 2010-12-25 00:43:55 +00:00
David Sansome c2bd0bbb05 Make the rating widget work 2010-12-25 00:33:53 +00:00
David Sansome 31005e5943 Update the cover art on other cached songs that would be changed anyway when changing cover art. 2010-12-25 00:15:05 +00:00
David Sansome 33b5bebb95 Add keyboard shortcuts for the previous and next song buttons 2010-12-24 23:35:34 +00:00
David Sansome f09aa34bb1 Edit tag dialog changes: remove the statistics tab and put its fields into the Summary tab, make right clicks on the album art do the same as clicking "change cover art", grey the field labels a bit, make sure large filenames don't make the dialog bigger. 2010-12-24 23:22:09 +00:00
David Sansome 8453e9e768 Make the edit tag dialog save tags, also make it load them in a background thread. 2010-12-21 13:42:06 +00:00
David Sansome 998f9e1af5 Add next and previous buttons to the edit tag dialog 2010-12-20 16:36:16 +00:00
David Sansome 2a63a746fe Allow changing the cover art from the edit tag dialog 2010-12-20 15:46:38 +00:00
John Maguire 4e2d82f3fb Fix mac build. 2010-12-20 14:49:47 +00:00
David Sansome b0d4d72b42 Add some information to the summary and statistics tabs in the edit tags dialog. 2010-12-20 14:12:40 +00:00
David Sansome c8520021d7 Start of a new edit tag dialog. Lots of things don't work and it doesn't actually save tags yet (so it's about as useful as before). 2010-12-19 23:40:36 +00:00
David Sansome 2d8028d89a Use a smaller cover in the tray icon tooltip again. Fixes issue #1135 2010-12-19 15:04:22 +00:00
David Sansome a21320e635 Make the sidebar larger by default 2010-12-19 14:29:25 +00:00
David Sansome 7fd29f160d Add a configurable timeout to song and artist info network requests. Default to 2.5 seconds 2010-12-19 13:58:53 +00:00
David Sansome 05a1bf6e37 Make the clear button a part of the search textbox. Fixes issue #1071 2010-12-18 20:32:05 +00:00
David Sansome 302333c36a Fix r2420 properly 2010-12-18 17:29:07 +00:00
David Sansome 28fdb147d8 Make last.fm optional. Thanks volkov0aa. Fixes issue #49 2010-12-18 17:28:02 +00:00
Paweł Bara 32f9825794 global shortcuts for rating songs (Fixes issue #1089)
renaming *index* methods in Playlist to *row*
2010-12-17 00:21:20 +00:00
Arnaud Bienner 6ecc69d18b Also filter on artist name on Cover manager (instead of only album name) 2010-12-16 23:38:27 +00:00
Paweł Bara 61d5641c35 try to start the 'load cover' dialog in album cover manager inside the chosen album's folder (Fixes issue #733) 2010-12-15 20:15:46 +00:00
Paweł Bara 4563c2dbd9 you can now use "file path" attribute when creating dynamic playlists (Fixes issue #1073)
some more MPRIS 2 corrections (Updates issue #1058)
2010-12-15 15:50:22 +00:00
John Maguire 6cb9bd5619 Fix failed to build on ARM. 2010-12-14 18:54:25 +00:00
John Maguire d82262c0c9 Just one more close shortcut and settings dialog width fix on mac. 2010-12-14 18:28:14 +00:00
John Maguire f95d893945 Add support for building without Sparkle on mac. 2010-12-14 18:20:14 +00:00
John Maguire b9e642c864 Add more close shortcuts. 2010-12-14 17:55:08 +00:00
John Maguire 6257b29629 Add keyboard shortcut for album cover manager close. 2010-12-14 17:31:39 +00:00
John Maguire 769a78c6a2 UI tweaks for mac album cover manager. 2010-12-14 17:09:41 +00:00
John Maguire 21415ff230 Fix some mac ui and metadata bugs. 2010-12-14 15:00:46 +00:00
David Sansome c6829feb82 Show just the artist and title in the system tray tooltip on Windows since it doesn't support HTML 2010-12-11 17:23:05 +00:00
David Sansome 9a7087d05f Add a "delete from disk" to the playlist menu. Fixes issue #218 2010-12-11 10:54:42 +00:00
David Sansome 08b2bcc816 Always write URLs in XML based playlists, instead of URLs of relative paths. Also load playlist items from the library if possible. Fixes issue #1054 2010-12-11 10:35:07 +00:00
John Maguire 5f6dcbe4b7 Early Caturday! 2010-12-10 14:26:29 +00:00
David Sansome fca0ce1188 Use the current playlist, not the active playlist, when rating songs. Fixes issue #1047 2010-12-09 20:15:44 +00:00
David Sansome ea725cb5f7 Add ari-tczew to the about box, and sort the list of people 2010-12-06 21:11:11 +00:00
Paweł Bara 9f3e5773fb QT tooltip now includes cover art and is generally prettier (updates issue #125)
ArtLoader is now available to every object, even if MPRIS is off
2010-12-05 23:41:41 +00:00
David Sansome fc15d66321 Remove a lot of the old MPRIS code from the Player class, and fix a couple of MPRIS2 bugs 2010-12-05 11:39:06 +00:00
David Sansome 987dd8c57a Refactor and fix most of the MPRIS code. Fixes issue #374 2010-12-04 22:27:58 +00:00
David Sansome 1dec3e9818 Add an option to stay running in the background when the window is closed, even if the tray icon is hidden. Fixes issue #914 2010-12-04 17:31:50 +00:00
David Sansome 029f2e1f80 Re-enable the buffer duration spinner :S 2010-12-04 16:21:14 +00:00
David Sansome a18dafac9c Add a "Play from my Library" context menu item to similar artists in the song info view. Fixes issue #1014 2010-12-04 16:19:30 +00:00
David Sansome 5bb287c223 Add Load context menu item to all radio services. Fixes issue #1013 2010-12-04 15:49:43 +00:00
David Sansome f94f2cd03c Clean up the background streams settings page a bit, and use a different icon 2010-12-04 15:11:50 +00:00
John Maguire a33b4d4f49 Remove extraneous signal. 2010-12-03 13:59:35 +00:00
John Maguire c625acfd87 Refactor background streams.
Add volume control for background streams and infrastructure for custom streams.
2010-12-03 13:53:43 +00:00
John Maguire c679a19c91 Show behaviour preferences section on Mac but disable the irrelevant options. 2010-11-29 12:51:01 +00:00
David Sansome 59875c9708 Make F2 edit the first playlist column again after the cursor has been moved. Fixes issue #939 2010-11-28 15:14:48 +00:00
David Sansome 96a45bb0ca Fix inline editing of multiple tracks from the playlist. Fixes issue #869 2010-11-28 14:47:35 +00:00
Paweł Bara eb41dea464 the title and artist of the currently playing song are now the title of Clementine's window (Fixes issue #779)
better unmute behavior if Clementine was muted before it was closed (Fixes issue #983)
2010-11-23 19:38:15 +00:00
David Sansome 89e3fde23b Add missing copyright headers to the icecast source and objective-c 2010-11-23 11:42:19 +00:00
Paweł Bara 5ceb64c9e3 "mute" command in main menu and context menu of tray icon (Fixes issue #962)
"now playing" tray icon's tooltip in Qt environments
2010-11-21 21:36:27 +00:00
David Sansome 626c75cd45 Add MPRIS2 and gnome sound menu support 2010-11-21 15:13:26 +00:00
David Sansome a93a4afe3b Better sidebar icons 2010-11-20 15:09:57 +00:00
David Sansome ed1a25693c Add missing licenses to debian/copyright, and add copyright information to each source file 2010-11-20 13:27:10 +00:00
David Sansome ffb2a58daf Change the buffer duration label text 2010-11-18 23:34:31 +00:00
David Sansome 1f267881fe Put all smart playlist classes in their own namespace 2010-11-18 20:19:33 +00:00
David Sansome 4750c19d00 Remove the playlists tab and add a smart playlists section to the library view instead 2010-11-17 20:21:04 +00:00
David Sansome 9e20ef13bc Automatic scoring. Thanks Arnaud Bienner. Fixes issue #141 2010-11-01 21:15:52 +00:00
David Sansome 30afc130a4 Start of some work for smart/dynamic playlists. Only simple generators based on sql queries are supported, and the UI still needs polish. 2010-10-24 15:38:12 +00:00
David Sansome 37ed1dc879 Make the small sidebar the default 2010-10-23 23:39:28 +00:00
David Sansome 8af6ded4a1 Don't increment a song's skip count if it's already been "played". 2010-10-23 23:34:56 +00:00
David Sansome bcddb2317a Allow song ratings to be set by clicking on the stars in the playlist 2010-10-17 21:56:19 +00:00
David Sansome a13e0ba3f3 Increment play and skip counts when playing or skipping songs from the library 2010-10-17 19:27:31 +00:00
David Sansome 0d04e9e28d Update the track progress in the tray icon immediately when changing track. 2010-10-17 18:26:25 +00:00
John Maguire 6c36198103 Enable buffer_duration setting. 2010-10-17 15:37:16 +00:00
David Sansome 47004d0ac3 Fix album cover manager test 2010-10-16 18:21:28 +00:00
David Sansome b5f366c40a Add a thread safe network disk cache, and remove the need to pass a NetworkAccessManager around everywhere. Fixes issue #852 2010-10-16 17:20:54 +00:00
David Sansome b97b2138fa Play last.fm tag radio or similar artists radio when clicking on a tag in the song/artist info pane. 2010-10-16 15:22:14 +00:00
David Sansome a41b6de040 Show a "Change font size..." item in the menu of text views in the artist/song info panes. 2010-10-16 14:45:23 +00:00
David Sansome efb84a25ce Rename AutoSizedTextEdit to SongInfoTextView 2010-10-16 14:11:23 +00:00
David Sansome 07f181cc2b Make it possible to change the font size of the song/artist info views. 2010-10-16 13:56:49 +00:00
David Sansome 3e87d7b703 Add Ubuntu dark and light tray icons. Fixes issue #838 2010-10-14 19:46:11 +00:00
John Maguire a425dddd7d Remove the quit option from the music menu on mac in non-English.
Fixes issue #556
2010-10-13 14:15:32 +00:00
David Sansome 8d1ea72b95 Add copyright headers to screensaver files 2010-10-12 21:29:58 +00:00
David Sansome 5d0a2ff5cd Inhibit KDE screensavers as well as Gnome
Update issue #879
KDE support done.
2010-10-12 21:27:31 +00:00
John Maguire a87040f770 Support for inhibiting mac sleep.
Update issue #879
Mac support done.
2010-10-12 16:02:23 +00:00
John Maguire f0c3bf4332 Support for inhibiting gnome screensaver.
Update issue #879
Gnome support done.
2010-10-12 14:44:33 +00:00
John Maguire 953f36dac0 Set more sensible step for gstreamer buffer. 2010-10-12 11:29:51 +00:00
John Maguire 65c7e6007c Maybe working gstreamer buffer setting. 2010-10-11 15:58:05 +00:00
David Sansome aca4ba6073 Add a tag widget, and get song tags from last.fm 2010-10-10 18:57:23 +00:00
David Sansome 2aa20d3dee Make the lyric providers configurable again 2010-10-10 16:46:35 +00:00
David Sansome 2f3732e73e Move lyrics into the song info pane, refactor out a load of the common code between artist and song info. 2010-10-10 16:09:20 +00:00
David Sansome 48da2f996f Move the fancy tab widget into src/widgets, remove more dead code, add it to debian copyrights. 2010-10-10 14:04:05 +00:00
David Sansome 899961e40e Add some more tab styles, you can switch between them by right clicking on the sidebar. 2010-10-09 18:18:06 +00:00
David Sansome 7e39bfece2 Show icons for each biography, order biographies by relevance, don't refresh artist info when switching to another song by the same artist. 2010-10-09 12:39:49 +00:00
David Sansome f09a115339 Add a pretty image viewer widget to the artist info pane 2010-10-07 23:13:41 +00:00
David Sansome f4a1e86c45 Show the now playing widget "inside" the sidebar instead of under it. 2010-10-06 18:16:49 +00:00
David Sansome d035b1abc2 Add libechonest into 3rdparty, and add a basic echonest artist info fetcher. 2010-10-02 16:23:33 +00:00
David Sansome 7f3e91226c Move src/lyrics to src/songinfo 2010-10-02 13:43:45 +00:00
David Sansome 1649ad48c5 Only fetch lyrics when the lyrics tab is visible 2010-10-02 13:37:10 +00:00
David Sansome df9a2dbca3 Fix the sidebar mouseover effects 2010-10-02 12:31:11 +00:00
David Sansome 5d54d517ab Add a background to the sidebar 2010-10-02 12:09:06 +00:00
David Sansome 8b3972f447 Make the icons in the sidebar a bit smaller and add a spacer between the devices button and the lyrics button. 2010-10-02 10:49:48 +00:00
David Sansome 56d72a00bf Try the next UI experiment - wide buttons down the side like Qt Creator 2010-10-01 19:27:01 +00:00
David Sansome 730708f0ca Add an "About Qt" menu item. Fixes issue #833 2010-09-30 21:25:31 +00:00
David Sansome 200a306f57 Replace the Lyrics tab with a more discreet buttonbox/tabbar that sits alongside the playlist search bar, or the playlist tab bar if it's visible. Also remember whether the lyrics pane was shown, and hide it by default. 2010-09-30 20:17:36 +00:00
David Sansome bd273efe0d Fix the splitter naming, which was causing the lyrics pane to be huge 2010-09-26 17:19:06 +00:00
David Sansome f74f181978 Query the lyric providers in a sensible default order, and add a new pane in the Settings dialog to configure it. 2010-09-26 17:04:57 +00:00
David Sansome 0a812e46bb Add a lyrics pane to the GUI 2010-09-26 16:00:28 +00:00
David Sansome 4f1a4fe39a Some initial lyrics support. Scrapes all the sites that are supported by Amarok's Ultimate Lyrics script. No GUI or configuration yet. 2010-09-26 14:21:23 +00:00
David Sansome ba6ad3cb4a Update markey's email address 2010-09-21 10:03:52 +00:00
David Sansome 38cfedb3d2 Fix a crash when the organiser's error dialog was shown the second time 2010-09-18 09:58:23 +00:00
David Sansome e7afd348e9 Add "Copy to device" to the files tab 2010-09-18 09:54:33 +00:00
David Sansome 7419c52bec Fix a path handling problem that caused the OK button to be greyed out when copying files to a device on Windows. Also show an error message when trying to copy songs that can't be copied (like streams). Fixes issue #750 2010-09-15 20:00:17 +00:00
John Maguire 90359f84ec Block until AlbumCoverLoader thread has started in cover manager. 2010-09-13 18:53:44 +00:00
Bartłomiej Burdukiewicz 85f758c6a8 Remove debug code for wiimotedev. 2010-09-11 01:27:52 +00:00
Bartłomiej Burdukiewicz 92836ae5b8 Fix bug only primary wiiremote can declare new shortcuts 2010-09-11 01:23:44 +00:00
David Sansome 4020a7e774 Remove the debug profiling output from startup 2010-09-10 14:57:03 +00:00
John Maguire effa826abb Show now playing in the dock menu somewhat like iTunes. 2010-09-08 11:53:35 +00:00
David Sansome 4ffe0739dd Change the URL in the About dialog to point to the new website, and clean up the appearance 2010-09-05 17:10:09 +00:00
David Sansome edb202f764 Improve the UI of the wiimotedev config page slightly, and add a link to the wiki 2010-09-05 11:21:32 +00:00
John Maguire be6e887375 Fix quirks table and add my device manually :-)
Also fixes error dialog for organise files.
2010-09-04 20:11:14 +00:00
David Sansome c5af7d54f0 Don't disable the OK button on the organise dialog if the format string is invalid, but the format string is going to be ignored anyway 2010-09-04 13:28:57 +00:00
David Sansome 9f10964796 Re-read tags from files when opening the Edit Tag Dialog. Fixes issue #91. 2010-09-02 19:12:09 +00:00
Bartłomiej Burdukiewicz 29464bccfe Fix unable to restore window when always hide the main window option is set 2010-09-02 13:41:25 +00:00
Bartłomiej Burdukiewicz d70887c776 Fix bug when adding already exist shortcut in WiimotedevShortcutsConfig 2010-09-01 15:46:22 +00:00
Bartłomiej Burdukiewicz ed8f87af0b Add action active/dective support to WiimotedevShortcuts, add special checks for bug #670 2010-09-01 15:37:09 +00:00
Bartłomiej Burdukiewicz 6c3be4f5b1 Add notification support to WiimotedevShortcuts 2010-09-01 14:46:15 +00:00
Bartłomiej Burdukiewicz 7d4e8d6add Use groupbox instead of vertical layout 2010-09-01 00:24:54 +00:00
Bartłomiej Burdukiewicz 87aea79df5 Add enable wiimotedev shortcuts only when application is focused option 2010-09-01 00:10:30 +00:00
Bartłomiej Burdukiewicz 37f2a42a88 Delete "edit action" button form WiimotedevShortcutsConfig 2010-08-31 23:50:21 +00:00
Bartłomiej Burdukiewicz 8359190a2f Fix bug that restore default settings when all wiimotedev actions are removed 2010-08-31 23:35:39 +00:00
Bartłomiej Burdukiewicz 7dc36761e9 Code cleanups 2010-08-31 23:17:38 +00:00
Bartłomiej Burdukiewicz 0914c22b0f WiimotedevShortcutGrabber now can add new actions 2010-08-31 22:48:16 +00:00
Bartłomiej Burdukiewicz 118e159c1e Add timeout feature to WiimotedevShortcutGrabber 2010-08-31 21:56:20 +00:00
John Maguire 214d77bc0e Fix test and fix song loader infinite loop. 2010-08-31 21:24:57 +00:00
Bartłomiej Burdukiewicz a05cd6d623 Block wiimotedev interface when adding new shortcut 2010-08-31 20:35:11 +00:00
Bartłomiej Burdukiewicz fbd17fd2a5 Remember wiiremote swing now working properly 2010-08-31 19:57:53 +00:00
John Maguire ad16a8b1ba Load local files from the DB if we already have them. 2010-08-31 19:45:33 +00:00
Bartłomiej Burdukiewicz 83164053c8 Update Polish translation 2010-08-31 18:02:09 +00:00
Bartłomiej Burdukiewicz cfb66b3f33 Rewrite some parts of code in wiimotedev settings dialog (Fix remove action bug) 2010-08-31 01:37:17 +00:00
Bartłomiej Burdukiewicz 1a091c5c0a Add yourself to about dialog... Strange feeling :) 2010-08-31 00:41:34 +00:00
Bartłomiej Burdukiewicz f4dce9e51f Strip wiimotedev code to minimum, use org.wiimotedev.deviceEvents.xml to generete dbus interface for wiimotedev 2010-08-30 23:57:31 +00:00
Bartłomiej Burdukiewicz 7393f8faaf Do not create wiimotedev interface by default 2010-08-30 17:31:42 +00:00
David Sansome 572a4730cb When editing tags in the playlist using the F2 shortcut, edit the current track, not the last one that was right-clicked on. 2010-08-30 16:49:10 +00:00
David Sansome ce0e468d75 Sort items in the library view under the correct divider when they have no unicode decomposition.
Update issue #672
Can you try this and see if it fixes it for you?
2010-08-30 16:20:04 +00:00
David Sansome 2a160bee5f Pass the list of songs into the organiser from the library 2010-08-30 15:28:55 +00:00
David Sansome 3cf2b5ba47 Revert to the old type-to-scroll behaviour in the library view 2010-08-30 10:31:44 +00:00
Bartłomiej Burdukiewicz eae74f6ad8 Insert QDBusConnection::systemBus().isConnected() checks 2010-08-29 17:19:59 +00:00
David Sansome d337ffc6e4 Group things in the library model by the unicode decomposition of their
first character, and do a locale aware sort.  Fixes issue #668 (again).
2010-08-29 16:46:28 +00:00
Bartłomiej Burdukiewicz 3e658288af Put wiimotedev sources in OTHER_SOURCES, small code cleanups 2010-08-29 16:24:19 +00:00
Bartłomiej Burdukiewicz ae47b271f3 Add WiimotedevShortcutGrabber dialog 2010-08-29 15:21:50 +00:00
David Sansome eb65c06b24 Make pressing enter in the library filter widget add the search results to the playlist. Also make the cursor keys work when the filter widget is focused. Fixes issue #641 2010-08-29 12:15:30 +00:00
David Sansome 4277e61cd3 Show scroll buttons on the tab bar if there's not enough room for all the tabs. Fixes issue #665 2010-08-29 11:35:09 +00:00
Bartłomiej Burdukiewicz a3e6a302c6 Use settings.remove("") instead of foreach 2010-08-28 19:31:38 +00:00
David Sansome 07d519d534 Lazy create the error dialog, queue manager and visualisations 2010-08-27 19:09:03 +00:00
David Sansome d980fd5ff8 Remove the pointless CreateInThread method from BackgroundThread and instead move objects to the right thread after creation. 2010-08-27 18:36:57 +00:00
David Sansome cf6399df28 Initialise the GStreamer options in the settings dialog correctly, and ensure the GST engine can never try to create an empty sink. Fixes issue #661. 2010-08-27 16:41:35 +00:00
David Sansome 2bf920b3eb Fix a build error in release mode 2010-08-27 16:29:28 +00:00
David Sansome 35708a09c5 Lazy load more context menus and dialogs 2010-08-27 16:15:54 +00:00
David Sansome ba5fb9f552 Lazy-load some of MainWindow's dialogs 2010-08-27 15:42:58 +00:00
David Sansome 59e5de1468 Lazyload the radio service context menus 2010-08-27 15:20:52 +00:00
David Sansome 75b70b4acb Initialise gstreamer in the background instead of blocking the UI 2010-08-27 13:57:39 +00:00
David Sansome d30a9c379c Add an option to disable the glowing effect on the current track. Fixes issue #660 2010-08-27 10:36:01 +00:00
Bartłomiej Burdukiewicz 57540119b5 Add "Restore to defaults" and "remove action" action in WiimotedevShortcutsConfig 2010-08-26 15:37:07 +00:00
John Maguire a827379e88 Fix some clang warnings. 2010-08-25 21:14:37 +00:00
Bartłomiej Burdukiewicz 603cc47f83 Now default wiiremote sequences are visible 2010-08-25 18:10:44 +00:00
Bartłomiej Burdukiewicz 99db59d9dc Some options in wiimotedev settings page now works 2010-08-25 16:19:54 +00:00
Bartłomiej Burdukiewicz 473b4839d9 Code cleanups 2010-08-25 13:51:30 +00:00
Bartłomiej Burdukiewicz 93acd26444 Add WiimotedevShortcuts class, support for nunchuk & classic controller 2010-08-25 13:02:53 +00:00
Bartłomiej Burdukiewicz 65fb6ad16f Add "Alexander Peitz" to about 2010-08-24 20:29:03 +00:00
Bartłomiej Burdukiewicz a9beafe033 Add configuration widget for wiimotedev and integration with settingsdialog 2010-08-24 19:57:43 +00:00
Bartłomiej Burdukiewicz 9aa5d56830 Now looks just perfect 2010-08-23 18:31:43 +00:00
Bartłomiej Burdukiewicz 2d843fcd27 A src/wiimotedev
A    src/wiimotedev/interface.cpp
A    src/wiimotedev/interface.h
M    src/ui/mainwindow.h
M    src/ui/mainwindow.cpp
M    src/CMakeLists.txt
2010-08-23 17:42:51 +00:00
David Sansome 39132c4dcd In the organise dialog, prompt before connecting a device that hasn't been connected before 2010-08-14 12:30:51 +00:00
David Sansome c0ea45a9c9 Show an error dialog when copying or deleting files failed. 2010-08-14 11:51:50 +00:00
David Sansome a1332a2c05 Support multiple selections in the devices view 2010-08-11 18:18:58 +00:00
David Sansome 5e00eb11de Pass shared_ptrs to music storage things to the organiser thread so they won't get deleted if the device is disconnected 2010-08-09 21:50:46 +00:00
David Sansome 68d7156071 Add Copy to device... to the playlist context menu 2010-08-08 13:06:52 +00:00
John Maguire e67f9a66c8 Load playlist in separate threads on startup. 2010-08-03 18:57:17 +00:00
David Sansome 6604e97493 Make it possible to change the language with --language, or an option in the settings dialog. Fixes issue #583 2010-08-02 19:02:21 +00:00
John Maguire 93f4fca324 Do bulk tag updates in "parallel".
Update issue #542
2010-08-02 15:07:26 +00:00
John Maguire f45ec1a43e Push more tag saving off the GUI thread.
Update issue #542
2010-08-02 14:22:05 +00:00
David Sansome 1f2b69c6bc Add support for deleting files from the filesystem, devices, and ipods. 2010-07-31 16:12:16 +00:00
David Sansome cb2ae56949 Disable the OK button on the organise dialog when the destination device doesn't have enough free space. Fixes issue #539 2010-07-30 22:25:32 +00:00
David Sansome 06ce5e5253 Fix a crash when a device can't be connected, and remove some debug noise 2010-07-30 22:19:28 +00:00
David Sansome 6f259d4ecc Show a free space bar in the organise dialog, and also show how much space would be taken up after copying files. 2010-07-29 22:16:12 +00:00
John Maguire b3d3bca314 Add shortcut for queue/dequeue track.
Fix other context menu shortcuts.

Fixes issue #259
Fixes issue #547
2010-07-26 15:21:56 +00:00
John Maguire a55ee16c3d Disable Cmd+H shortcut for shuffle on Mac as it conflicts with the default hide action.
I haven't replaced the shortcut with anything else yet as it's not obvious what it should be.

Fixed issue #523
2010-07-26 12:05:50 +00:00
David Sansome b2aba2bac2 Add an option to eject a device after copying files to it. Now with bonus multiple virtual inheritance. 2010-07-25 09:52:29 +00:00
David Sansome 4ffc118468 Give the organise dialog a more sensible size 2010-07-25 09:32:44 +00:00
David Sansome eeafce66bc Show devices in the organise dialog that are connected but not open 2010-07-25 09:27:41 +00:00
David Sansome 21ee5ba01f Make the Organise dialog look better when copying to an iPod 2010-07-24 18:12:47 +00:00
David Sansome 60eb5a34f8 Add global shortcuts for show/hide and show osd.
Update issue #533
Status: Fixed
Thanks for the patch :)
2010-07-24 12:39:09 +00:00
David Sansome 9f2d610e9d Add a menu item for copying songs to devices. Only filesystem devices supported so far 2010-07-19 21:16:22 +00:00
David Sansome 62616304d8 Add a MusicStorage interface that can be used to abstract away the details of copying a file to a device. 2010-07-19 19:56:29 +00:00
David Sansome 0d0f1521f2 Show embedded cover art in the album cover manager too, but only for the first file in an album 2010-07-19 18:08:25 +00:00
David Sansome c43d695d8b Add a menu item for copying songs off devices to the library 2010-07-18 17:13:43 +00:00
David Sansome 94b1edde2f Add more song-related things to the device menu 2010-07-17 22:53:27 +00:00
David Sansome fc5929b79b Enable drag from the device view to the playlist 2010-07-17 22:19:02 +00:00
David Sansome a2fe094bbe Improve device icon loading slightly 2010-07-17 21:48:09 +00:00
John Maguire d03bdda5f7 Fixes issu...
,'``.._   ,'``.
              :,--._:)\,:,._,.:       All Glory to
              :`--,''   :`...';\      the HYPNO TOAD!
               `,'       `---'  `.
               /                 :
              /                   \
            ,'                     :\.___,-.
           `...,---'``````-..._    |:       \
             (                 )   ;:    )   \  _,-.
              `.              (   //          `'    \
               :               `.//  )      )     , ;
             ,-|`.            _,'/       )    ) ,' ,'
            (  :`.`-..____..=:.-':     .     _,' ,'
             `,'\ ``--....-)='    `._,  \  ,') _ '``._
          _.-/ _ `.       (_)      /     )' ; / \ \`-.'
         `--(   `-:`.     `' ___..'  _,-'   |/   `.)
             `-. `.`.``-----``--,  .'
               |/`.\`'        ,','); SSt
                   `         (/  (/
2010-07-12 19:51:23 +00:00
David Sansome 81b2e40d30 Set a more appropriate text and icon for the queue/dequeue action depending on how many of the selected tracks are queued. 2010-07-11 21:52:00 +00:00
David Sansome 1f9e72f971 Add icons to the move up/move down/clear buttons, and implement the clear button 2010-07-11 16:58:22 +00:00
David Sansome 41183107d2 Start of work on a queue manager 2010-07-11 15:37:40 +00:00
David Sansome d8cc037446 Don't grab global shortcuts while the global shortcut grabber is open. Fixes issue #462 2010-07-10 19:17:21 +00:00
David Sansome d620779696 Add an option to disable directory watchers 2010-07-10 17:03:28 +00:00
David Sansome e9525e8ec3 Very basic support for reading iPods with libgpod. Uses a hardcoded ~/.gvfs path for now. 2010-07-04 20:52:45 +00:00
David Sansome b9be6eba5f Fix a crash on shutdown 2010-07-03 23:33:31 +00:00
David Sansome db5409b66b Store devices in the main database 2010-07-03 23:00:07 +00:00
David Sansome 6654182032 Don't connect new devices automatically, put them in a list model. Add icons for ipods, android phones and USB memory sticks. 2010-07-03 21:05:55 +00:00
David Sansome 0404ecec70 Fix compilation without gstreamer. Fixes issue #440 2010-06-26 13:20:08 +00:00
David Sansome 2deca7fd61 Add a DeviceManager which holds all the listers and connected devices. Make FilesystemDevices use their own LibraryWatcher. 2010-06-26 12:41:18 +00:00
David Sansome 2b17a8ee1f Revert r1344 (the timer tracing), it didn't help 2010-06-25 22:04:24 +00:00
David Sansome cc6413ab0e Add tracing to every timer event, might help track down CPU usage... 2010-06-25 08:46:03 +00:00
David Sansome 8a8fa51ae2 Remember the last destination too 2010-06-24 23:40:04 +00:00
David Sansome 69924cd76a Add copy and move menu items to the playlist 2010-06-24 23:36:39 +00:00
David Sansome e1e8866424 Make pausing and resuming library scans come from the task manager, not the organiser. 2010-06-24 22:59:29 +00:00
David Sansome dbe51d2cf5 Add an "Organise files..." menu option to the Library view 2010-06-24 22:45:30 +00:00
David Sansome 05b6c8fe71 Allow organising of whole directories, and pause the library watcher while organising is in progress. 2010-06-24 21:46:18 +00:00
David Sansome b2f8bb7063 Pass the copy/move state through to Organiser 2010-06-24 20:26:17 +00:00
David Sansome 0848f62c3d Move OrganiseFormat to core/ and add an Organise class that actually does the work. 2010-06-24 18:33:38 +00:00
David Sansome e680c441c1 Directory model, reset button, save and load settings 2010-06-24 17:34:23 +00:00
David Sansome 8fbc954279 Oops 2010-06-24 16:50:26 +00:00
David Sansome 3de7311c36 Add tests for the various format flags 2010-06-24 16:44:12 +00:00
David Sansome b2dcaf5cd4 Add a dialog for organising files in a library. Doesn't work yet 2010-06-24 16:26:49 +00:00
David Sansome e112d5172f Give the album cover manager a better default size. Thanks himynameiszacHandiamapirate 2010-06-24 14:47:16 +00:00
David Sansome 68053e791d Maybe fix mac compilation 2010-06-23 16:50:22 +00:00
David Sansome 88d1c7518a Move the "Configure Clementine" menu item into the Tools menu and rename it "Preferences". Also move the global shortcuts dialog into a page in the preferences dialog. Fixes issue #422 2010-06-23 16:27:23 +00:00
David Sansome 79f283f34d Add the "visualisations" action to the analyzer menu, and make double clicking the analyzer open it. Fixes issue #421 2010-06-23 15:52:56 +00:00
David Sansome f808591ec7 Refactor the loading indicator widget into a seperate TaskManager class that can handle tasks with progress 2010-06-23 13:21:30 +00:00
John Maguire 300772ad89 Maybe fix mac crash. 2010-06-22 15:45:05 +00:00
John Maguire c8cb8cf012 Fixes for comments from r1266 2010-06-22 14:26:00 +00:00
John Maguire 4799823ed1 Neater system tray initialisation. 2010-06-22 14:16:04 +00:00
John Maguire 2669b4aebd Remove unused QSignalMapper. 2010-06-22 14:10:11 +00:00
John Maguire 15b8b90556 Implement native dock menu on Mac.
Fixes issue #349
2010-06-22 14:09:13 +00:00
David Sansome 4e15c2479d Make the "clear" button in the album cover manager actually do something 2010-06-22 13:39:03 +00:00
David Sansome b4add2a7be Refactor the system tray icon code a bit 2010-06-22 11:52:55 +00:00
John Maguire 74ec360ab5 Remove debug output :-)
Fixes issue #432
2010-06-21 19:32:53 +00:00
John Maguire 7827df9397 Disable global shortcuts dialog on <= 10.5 Mac. 2010-06-21 14:32:06 +00:00
David Sansome d3be5a4215 Make double-clicking on radio items work properly again. It's hacks all the way down... 2010-06-18 15:31:49 +00:00
David Sansome 43ae900852 Move the clear playlist button down to the bottom again. 2010-06-18 15:07:21 +00:00
John Maguire f7b79eb766 Hide behaviour tab in settings on mac. 2010-06-18 14:21:46 +00:00
David Sansome 4c938c0da1 Add a small top border to the large cover 2010-06-18 00:24:09 +00:00
David Sansome 349acc1803 Add a checkbox for zach to move the cover art above the status bar. 2010-06-18 00:06:59 +00:00
John Maguire 67bc9351bd Only show mac universal access dialog if user clicks on button in global shortcuts dialog. 2010-06-17 23:11:51 +00:00
David Sansome 43575218a2 Use the bigger nocover image from amarok 2 2010-06-17 22:47:25 +00:00
David Sansome 3fd807df31 Add an (unimplemented) label and button to the global shortcut dialog for mac 2010-06-17 22:15:07 +00:00
David Sansome c70fb01c44 Don't disappear forever when Ctrl+W is used 2010-06-17 17:08:56 +00:00
David Sansome 840a617ae8 Move the clear playlist button to the top 2010-06-17 15:41:45 +00:00
David Sansome 3ef78d5bba Increase the default size of the main window 2010-06-17 15:09:34 +00:00
David Sansome e376b64dee Make the global shortcut grabber grab keys that don't have any "text" associated with them, like Home or the F-keys. Fixes issue #412 2010-06-17 13:59:32 +00:00
David Sansome dff717ac89 Add shortcut keys for playback actions.
Update issue #244
Status: Fixed
Yeah the F-keys are good, I've added those.
Regarding the scancodes, I'm just using Qt's shortcut classes and I'm sure they do something clever :)
2010-06-17 13:04:02 +00:00
David Sansome ce8ee12f89 Add some keyboard shortcuts for MainWindow actions.
Update issue #244
I've added some of these shortcuts, I don't want to use single-key shortcuts like space, J or K because almost all of the widgets in the main window respond to those keys by searching or for text entry.  Any other ideas for shortcuts for play, pause, next, previous, etc?
2010-06-16 23:40:32 +00:00
David Sansome 39907cda9a Use visualizations with a 'z' in the UI, and save the proper spelling for en_GB 2010-06-16 23:05:11 +00:00
David Sansome 6d39996466 Make the indentation in the settings pages more consistent 2010-06-16 22:45:13 +00:00
David Sansome 5c6eefa5ac Add another line left of the player controls 2010-06-16 22:43:20 +00:00
David Sansome 2c272a3341 Maybe fix the dodgy coloured tabs on mac 2010-06-16 22:38:19 +00:00
David Sansome afa4d0a4e2 Add a Now Playing widget 2010-06-16 22:00:39 +00:00
David Sansome 0d7eabcfb0 Show the "status bar" as part of the central widget 2010-06-16 19:21:15 +00:00
David Sansome 9b39b2db68 Move tabs to the top 2010-06-16 18:50:01 +00:00
David Sansome bc7c62c09e Highlight the URL in the add stream dialog when it's opened 2010-06-16 16:21:38 +00:00
John Maguire abdc2eee2e Put LoadUrl for mac back. 2010-06-15 21:56:33 +00:00
David Sansome f162d9d620 Add a SongLoaderInserter that loads a list of URLs and inserts them into a playlist when it's done. Wire up everything in the GUI that loads URLs or filenames to use the new SongLoader. 2010-06-15 18:24:08 +00:00
David Sansome 08a01d6997 The start of some code to automagically determine whether a URL is a playlist or a song, and load the songs in the playlist if it's a playlist. Still to do: timeout, forcing M3U for text/uri-list. 2010-06-15 13:24:17 +00:00
John Maguire 73a381fe89 Rain! 2010-06-14 20:00:17 +00:00
John Maguire 9415b2a3f4 Oops, this got left out from r1139. 2010-06-14 13:27:45 +00:00
John Maguire 5a97697702 Add support for opening files via Finder in OS X.
Update issue #405
Status: Started
Opening from Finder works but Clementine still isn't a "recommended" application.
2010-06-14 13:22:45 +00:00
David Sansome e46d93b599 Move the track length indicator to the right, and add information about the selected tracks 2010-06-13 12:45:05 +00:00
David Sansome a8d79582c1 Add a status bar indicator to tell the user how many tracks are loaded. Fixes issue #155 2010-06-12 21:20:53 +00:00
David Sansome 8340aa0a64 Warn before cancelling a Magnatune download, flash the taskbar and display a notification when it completes. 2010-06-12 20:43:07 +00:00
David Sansome e419e27644 Replace the dock widgets with a tab widget to remove the (mostly) superfluous label at the top.
Update issue #389
Status: Fixed
It looked like it was going to be too difficult to make the tabs themselves draggable - the draggable dock widgets are actually a Qt thing and they're not very customisable.  So instead I've just removed the top label all together.
2010-06-12 19:32:17 +00:00
David Sansome c37933c370 Hack to prevent the user from dragging album covers around. 2010-06-12 17:32:27 +00:00
David Sansome 36abad486b Add a dialog for manual searching of Last.fm album covers. Fixes issue #402 2010-06-12 17:13:01 +00:00
David Sansome 516f769a75 Enable dragging and double clicking from the album cover manager to add albums to the playlist
Update issue #169
Status: Fixed
I hadn't forgotten about this, honest... :)
2010-06-12 15:18:16 +00:00
David Sansome d40ab596bd Fix a Windows bug where Clementine would get stuck hidden in the system tray forever 2010-06-12 00:30:35 +00:00
David Sansome b16d072cd6 Add some progress information to the album cover fetcher 2010-06-11 23:07:53 +00:00
David Sansome 7e1b54a779 Fix the height of items in the album cover manager, don't show artists with no albums, and add a status bar (currently unused) 2010-06-11 22:35:41 +00:00
David Sansome 76f0803b81 Make visualisations optional.
Update issue #394
Status: Fixed
There's now an ENABLE_VISUALISATIONS option that you can set to cmake with cmake -DENABLE_VISUALISATIONS=OFF, or with ccmake or cmake-gui.
2010-06-10 22:48:23 +00:00
David Sansome 15df3b90a3 Set window icons on all the dialogs. Fixes issue #394 2010-06-10 22:09:35 +00:00
David Sansome f4c7a50973 Convert the song's path to native seperators in the tag editor dialog. Fixes issue #370 2010-06-10 16:05:32 +00:00
David Sansome 9b713c2ed9 Add or load *all* selected library items, not just the one that you right clicked on. Fixes issue #366 2010-06-09 15:49:05 +00:00
David Sansome 5f92d652a9 Show a "Configure Magnatune" button on the magnatune header 2010-06-09 15:38:00 +00:00
David Sansome 38a92e802b Save and load the magnatune settings properly 2010-06-08 23:18:20 +00:00
David Sansome f1fb9ab6b9 Remove the library config dialog and make it show the page in the settings dialog instead 2010-06-08 23:06:29 +00:00
David Sansome 43ca921d65 Add a magnatune settings page (not functional yet), remove the last.fm config *dialog*, and instead make it bring up the settings dialog at the right page. 2010-06-08 22:56:31 +00:00
David Sansome 40bb827fcd Make all the source files a single cmake target again. 2010-06-08 22:39:31 +00:00
David Sansome f03449dd00 Fix compilation problems when compiling without gstreamer 2010-06-08 15:55:44 +00:00
David Sansome 5099503b45 Make the small toolbar buttons stay small even on gtk styles that use bigger buttons 2010-06-08 11:43:34 +00:00
David Sansome c541f242c5 Visualisation overlay 2010-06-06 18:18:06 +00:00
David Sansome 1895582eb9 Basic support for ProjectM visualisations 2010-06-06 14:06:23 +00:00
David Sansome 6e19e777d8 Don't create SettingsDialog until RadioModel is available 2010-06-02 16:27:52 +00:00
David Sansome 03d876a599 Put the Database object in its own thread, and create the Library and Playlist backends in that database thread. The database calls don't happen in the database thread yet, but this is the first step towards making sure sqlite access is thread safe. 2010-06-02 15:58:07 +00:00
David Sansome bfebbc20c9 Show multiple errors in the same dialog 2010-05-31 20:49:44 +00:00
David Sansome 3365c7c217 Fix a few memory leaks 2010-05-28 19:51:51 +00:00
John Maguire 98c97d13d6 Template magic \o/ 2010-05-27 23:34:05 +00:00
David Sansome 791534703c Allow names for custom saved streams. Fixes issue #242 2010-05-27 22:53:07 +00:00
David Sansome 8164066648 More Qt 4.5 fixes 2010-05-25 21:41:53 +00:00
David Sansome 0021e5f7e4 Make library scanning on startup optional, and add a menu item to update the library. Fixes issue #341 2010-05-25 20:40:45 +00:00
David Sansome 7ecdb772a7 Always map model indexes from the UI to the source playlist model when using them in the playlist.
Update issue #340
Status: fixed
I think I've fixed all these bugs now, but please reopen if you find
another situation where the wrong track gets used in a filtered playlist.
2010-05-25 19:39:04 +00:00
John Maguire bfa355cf82 Force menu items into correct place on mac.
Fixes issue #342
2010-05-25 13:19:28 +00:00
David Sansome 46b3dc643f "Stop after this song" on tray icon menu. Fixes issue #339 2010-05-23 21:51:31 +00:00
David Sansome eb78ace541 Replay Gain support 2010-05-23 13:07:15 +00:00
David Sansome b487ec00ef GUI for saving playlists 2010-05-22 22:20:00 +00:00
David Sansome c9c44ca592 Move the playlist parsers to another directory, and add a PlaylistParser class that magically uses the right parser. 2010-05-22 20:06:19 +00:00
David Sansome d921b7e4e7 Improve system tray icon click behaviour. Thanks haakonn.
Fixes issue #335
Looks good, thanks!
2010-05-22 12:43:33 +00:00
David Sansome 119c6fbd6e Refer to playlists by ID rather than index in the tabbar, so they can be moved around 2010-05-21 10:29:17 +00:00
David Sansome 7e913fb38b Show a playing/pause icon on the active tab 2010-05-20 22:48:11 +00:00
David Sansome f17a422797 Make sure only one playlist can have the "current" song 2010-05-20 21:51:01 +00:00
David Sansome e515724bf7 Basic support for multiple playlists. Not everything works yet 2010-05-20 21:21:55 +00:00
David Sansome b116d4a306 First go at a UI for playlist search and multiple playlists. Nothing works yet. 2010-05-20 14:12:15 +00:00
David Sansome becdbb05a3 Remove debug output 2010-05-19 15:53:32 +00:00
David Sansome 4d57ccb41c Use icons from the desktop theme where possible, fall back on oxygen. 2010-05-19 15:45:29 +00:00
David Sansome a292677320 Refactor the way Player gets tracks to play from RadioPlaylistItems. They can now return synchronously with a URL, asynchronously via a signal, or with an error. This properly fixes the problem of preloading a last.fm stream when the track before is about to end. 2010-05-18 20:43:10 +00:00
David Sansome bb015ca3aa Global shortcuts dialog should work now. 2010-05-17 11:06:50 +00:00
David Sansome 55bc18a9c0 Fix the appearance of several dialogs when using a high font DPI. Fixes issue #310 2010-05-17 00:47:43 +00:00
David Sansome 6806d78f96 Add a button to the global shortcuts dialog to open gnome's keybinding properties dialog. 2010-05-17 00:31:39 +00:00
David Sansome 3891bc032d Add a "jump to the currently playing track" menu option. Fixes issue #316 2010-05-16 23:55:00 +00:00
David Sansome 4b9fd35db1 Make the "version" text bigger in the about box 2010-05-16 23:21:45 +00:00
David Sansome bdc5d1ab1c Make sure the OSD and album cover manager use a "no cover" image when there's no artwork 2010-05-16 22:53:42 +00:00
David Sansome ef0f7a90cb Merge audvare's globalshortcuts branch and tidy it up a bit. It doesn't do anything yet, but the UI is there. 2010-05-16 22:22:51 +00:00
David Sansome f7c08d375a Add a "load" menu item to the library, files view, and radio view to replace the current playlist with the selection. Also add an option to make this the default. Fixes issue #311 2010-05-15 17:45:04 +00:00
David Sansome 49f273edd2 Add an option to add a whole folder to the playlist 2010-05-11 20:02:19 +00:00
David Sansome 7302854382 Oops, fix some crashes on startup 2010-05-10 22:09:16 +00:00
David Sansome 1aee5e4667 Split all the source files up into seven new directories. 2010-05-10 21:50:31 +00:00