Commit Graph

353 Commits

Author SHA1 Message Date
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 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
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
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 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 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 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 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
David Sansome 4020a7e774 Remove the debug profiling output from startup 2010-09-10 14:57:03 +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 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 87aea79df5 Add enable wiimotedev shortcuts only when application is focused option 2010-09-01 00:10:30 +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
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 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 3cf2b5ba47 Revert to the old type-to-scroll behaviour in the library view 2010-08-30 10:31:44 +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
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 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 2bf920b3eb Fix a build error in release mode 2010-08-27 16:29:28 +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
John Maguire a827379e88 Fix some clang warnings. 2010-08-25 21:14:37 +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 93acd26444 Add WiimotedevShortcuts class, support for nunchuk & classic controller 2010-08-25 13:02:53 +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 68d7156071 Add Copy to device... to the playlist context menu 2010-08-08 13:06:52 +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
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 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 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
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 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 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 b2dcaf5cd4 Add a dialog for organising files in a library. Doesn't work yet 2010-06-24 16:26:49 +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 4799823ed1 Neater system tray initialisation. 2010-06-22 14:16:04 +00:00
John Maguire 15b8b90556 Implement native dock menu on Mac.
Fixes issue #349
2010-06-22 14:09:13 +00:00
David Sansome b4add2a7be Refactor the system tray icon code a bit 2010-06-22 11:52:55 +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
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
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 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
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 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 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 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 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 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 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
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 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 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 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 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 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 1aee5e4667 Split all the source files up into seven new directories. 2010-05-10 21:50:31 +00:00