Commit Graph

1395 Commits

Author SHA1 Message Date
David Sansome 6dc81851bf Juggle translations 2010-07-31 12:47:40 +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
John Maguire 24837741e5 Add support for capacity/free space to iDevices.
Fix code review comments for r1585
2010-07-30 22:08:47 +00:00
John Maguire e39a4a889b Fix build without libimobiledevice 2010-07-30 21:51:26 +00:00
David Sansome 4a096b69ee Make the free space widget prettier 2010-07-30 21:47:38 +00:00
John Maguire 23044bf702 Add basic support for libimobiledevice. 2010-07-30 21:10:34 +00:00
David Sansome e54f0a18d9 Add an implementation of FileSystemCapacity and FileSystemFreeSpace for windows 2010-07-29 22:58:23 +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
David Sansome 3ad30d14a8 Display device free space information in the device properties dialog 2010-07-29 20:03:24 +00:00
David Sansome af0a9ac79b Use statvfs instead of statfs 2010-07-29 19:06:27 +00:00
David Sansome 87b8c3ce69 Detect symlinks in music library. Patch by Knuckster 2010-07-29 18:40:10 +00:00
David Sansome 7c974d66da Get free space for DeviceKit devices 2010-07-29 18:14:26 +00:00
David Sansome a95f9aecd8 Juggle translations 2010-07-29 18:13:30 +00:00
John Maguire 124ceb2db9 Fix compiling with Clang. 2010-07-27 13:21:28 +00:00
John Maguire fe26c8bb8f Fix crash when expanding last.fm tree.
Fixes issue #463
2010-07-26 17:32:16 +00:00
John Maguire 14dd723e3a Connect up signals for queuing tracks so that the view is updated correctly.
Fixes issue #548
2010-07-26 15:53:06 +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 7235194016 Hack font size down to 11pt on Mac.
Fixes issue #546
2010-07-26 12:55:33 +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
John Maguire 41d1facd9f Fix compile on Leopard & support correct icons on Mac. 2010-07-26 11:01:36 +00:00
John Maguire 6358198b06 Use correct icon for Nexus One. 2010-07-25 13:32:47 +00:00
John Maguire 39b72e2b9c Fix compiler warning. 2010-07-25 13:09:23 +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 b13aa47e97 Juggle translations 2010-07-25 09:27:18 +00:00
John Maguire 95d5906995 Handle GLib logs ourself. 2010-07-25 01:44:46 +00:00
John Maguire c010a66e3f D'oh. 2010-07-25 01:41:06 +00:00
John Maguire 8ffc77e5b4 Unmount support on Mac. 2010-07-25 01:29:22 +00:00
David Sansome a9d75e628b Remove the connect/disconnect actions and replace them with an eject device action. Implement eject on devicekit and gio. 2010-07-25 01:07:51 +00:00
John Maguire 7b1ea18621 Fix compile without libgpod. 2010-07-25 00:43:41 +00:00
John Maguire fa923a254e iPod colour/model detection -> icon name. 2010-07-25 00:20:18 +00:00
David Sansome 94a9d520b5 Show the mount path of connected devices 2010-07-24 23:20:34 +00:00
David Sansome d13c909674 When copying songs to an iPod, add them to our LibraryBackend as well so they get shown in the model. Also support deleting the originals. 2010-07-24 20:43:51 +00:00
John Maguire ad5c51f3d5 Possibly fix crash on device disconnect. 2010-07-24 20:31:09 +00:00
John Maguire de2eb79d3c Fix crash on device removal. 2010-07-24 19:41:30 +00:00
John Maguire a0fc3e3633 Fix code review comments from r1530 2010-07-24 19:02:49 +00:00
John Maguire 3cc30db7d4 Support mass storage devices on Mac. 2010-07-24 18:34:22 +00:00
David Sansome 81a1a9926e Disable the "copy to device" action if there are no devices connected 2010-07-24 18:31:05 +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 c935d00986 Fix compilation without libgpod 2010-07-24 17:53:40 +00:00
David Sansome bc97872bc4 Destroy the gpodloader, only load the itunes database once, ensure only one Organiser thread can write to the ipod at once, make Organiser threads wait for the device to be loaded before they start writing. 2010-07-24 17:41:18 +00:00
David Sansome 1d5cef0f0d Set the organise progress to 100% when all files have been copied, but before the device is finalised 2010-07-24 17:40:19 +00:00
David Sansome b624be9800 Add almost-working support for writing to ipods 2010-07-24 16:58:14 +00:00
David Sansome c35bd8779a Make sure -1 and "" get stored in the database instead of NULL for song metadata. Thanks YellowOnion. Fixes issue #396. Fixes issue #479. 2010-07-24 15:13:09 +00:00
John Maguire 3f78df5725 Fix the parsing of Finder command line options.
Fixes issue #537
2010-07-24 14:57:56 +00:00
David Sansome f3491add62 Load albumartist from flac and ogg metadata. Thanks YellowOnion 2010-07-24 14:49:49 +00:00
David Sansome 6a03641079 Don't replace the whole selection when autoscrolling.
Update issue #496
Status: Fixed
I think the autoscroll is useful even when the selected song isn't the
currently playing song.  I've changed it slightly now though so it won't
replace the selection when it scrolls, so you'll be able to press up or
down to go back to where you were before.
2010-07-24 14:37:11 +00:00
David Sansome 77b4ec54bd Look at the file extension as well as magic when loading a local playlist. Fixes issue #507 2010-07-24 14:09:27 +00:00
David Sansome 692e5715e3 Replace slashes with underscores when organising files. Fixes issue #503 2010-07-24 13:56:49 +00:00
David Sansome 990127e5e8 Merge translations from launchpad 2010-07-24 12:41:37 +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 4b96395e7f Add an option to use the system qxt library 2010-07-24 12:35:21 +00:00
John Maguire dd3182ad70 Messy mac device listing code using three different APIs. At least the IOKit one will probably go away. 2010-07-23 13:46:30 +00:00
David Sansome a6b3aa07e1 Initialise gobject - maybe fix issue #519 2010-07-20 09:25:20 +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 d108841e36 Fix a build failure with mingw 2010-07-19 19:33:13 +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 f64cdb23e9 Make the AlbumCoverLoader read embedded album cover art when it's available. Fixes issue #516 2010-07-19 17:55:02 +00:00
John Maguire 0bf454ab60 Case insensitive search in playlist.
Fixes issue #460
2010-07-19 15:52:38 +00:00
David Sansome 2f11ee5d2b Load embedded album art from id3v2 tags 2010-07-19 11:40:30 +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 1a5f865d53 Bundle an empty font file and pass it to projectM so it doesn't crash when FTGL is turned on. 2010-07-18 13:26:01 +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 d704680579 Show some more information for GIO devices 2010-07-17 22:06:19 +00:00
David Sansome a2fe094bbe Improve device icon loading slightly 2010-07-17 21:48:09 +00:00
David Sansome 7845a243c2 Oops, link against gio 2010-07-17 21:29:41 +00:00
David Sansome 43a73555db Implement the rest of the GIO backend. Devices are now keyed off "mount URLs" as well as backend-specific device IDs, if two or more devices share the same mount URL then the metadata gets taken from the most reliable backend. 2010-07-17 17:18:02 +00:00
David Sansome 0dcdf36535 Start of work on a GIO/GVFS device backend. 2010-07-17 14:22:07 +00:00
David Sansome 40a2302311 Support dragging and dropping between playlists 2010-07-17 12:47:59 +00:00
John Maguire 95bb4eccea Unpack artist/title from SomaFM streams correctly.
Fixes issue #497
2010-07-15 12:59:14 +00:00
John Maguire 579c7cc592 Fix some Latin1 encoding guessing. 2010-07-15 12:46:08 +00:00
John Maguire 90fc1481e6 Show song information when Hypnotoad is hypnotising. 2010-07-14 13:44:45 +00:00
John Maguire 31a726789a Code review comments for r1476. 2010-07-14 11:43:23 +00:00
John Maguire 41ab99e62e Generate Hypnotoad rather than streaming it. 2010-07-14 11:16:56 +00:00
David Sansome d612e8468d Make the mute shortcut toggle 2010-07-13 22:22:04 +00:00
David Sansome 36604f7ec8 Oops, fix the preamp 2010-07-12 21:00:15 +00:00
David Sansome 553184c7db Remove amarok's equalizer and use gstreamer's one instead for vastly reduced CPU usage. Fixes issue #494 2010-07-12 20:55:09 +00:00
David Sansome aff234b8a4 Translation noise 2010-07-12 20:52:29 +00:00
John Maguire 5c2364ee25 Use update(), not repaint() 2010-07-12 20:00:42 +00:00
John Maguire 6c18691755 Make Hypnotoad disable-able. 2010-07-12 19:58:47 +00:00
John Maguire d03bdda5f7 Fixes issu...
,'``.._   ,'``.
              :,--._:)\,:,._,.:       All Glory to
              :`--,''   :`...';\      the HYPNO TOAD!
               `,'       `---'  `.
               /                 :
              /                   \
            ,'                     :\.___,-.
           `...,---'``````-..._    |:       \
             (                 )   ;:    )   \  _,-.
              `.              (   //          `'    \
               :               `.//  )      )     , ;
             ,-|`.            _,'/       )    ) ,' ,'
            (  :`.`-..____..=:.-':     .     _,' ,'
             `,'\ ``--....-)='    `._,  \  ,') _ '``._
          _.-/ _ `.       (_)      /     )' ; / \ \`-.'
         `--(   `-:`.     `' ___..'  _,-'   |/   `.)
             `-. `.`.``-----``--,  .'
               |/`.\`'        ,','); SSt
                   `         (/  (/
2010-07-12 19:51:23 +00:00
David Sansome 8b36f12cc3 Stop the old decodebin after starting the new one to (hopefully) fix an occasional race condition/deadlock. 2010-07-12 19:10:32 +00:00
David Sansome fbd6b46e20 Only take notice of the first segment start event, to fix seeking 2010-07-12 19:09:59 +00:00
David Sansome 6b43e22e68 Remove a stray \r from el.po. Fixes issue #499 2010-07-11 22:59:09 +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 4bf9ee0a8e Change the queue manager to use a QTreeView instead of QListView so it doesn't repaint on drop. 2010-07-11 21:27:36 +00:00
David Sansome 9bc8d914af Fix some occasional crashes when deleting the current playlist 2010-07-11 20:23:34 +00:00
John Maguire dc47c96024 Make sure Qt loads plugins from the correct place on mac even when it decides to ignore qt.conf. 2010-07-11 20:14:25 +00:00
John Maguire bcc84911b8 Hack out silly mac command line when Clementine is opened via "open" or GUI. 2010-07-11 19:20:21 +00:00
David Sansome aa2d69f1bf Make the player actually use the queue order. Fixes issue #24. 2010-07-11 19:02:31 +00:00
David Sansome cbc6169ea8 Make the "stop after this track" box look nicer 2010-07-11 18:37:42 +00:00
David Sansome e625deed33 Enable drag and drop from the playlist to the queue 2010-07-11 18:11:47 +00:00
David Sansome 89fffcc37f Support internal drag and drop in the queue 2010-07-11 18:04:35 +00:00
David Sansome 38ea733e18 Oops, fix broken visualisations from yesterday 2010-07-11 17:44:55 +00:00
David Sansome 4b81a86d1d Implement moving items in the queue 2010-07-11 17:39:11 +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 f750ac1351 Display an indicator next to each playlist item showing its position in the queue 2010-07-11 16:17:38 +00:00
David Sansome 41183107d2 Start of work on a queue manager 2010-07-11 15:37:40 +00:00
David Sansome b62263540f Use the segment start time when calculating the timestamp of data buffers in the scope. Fixes a memory leak and makes the scope work again when playing ogg streams. Fixes issue #495. 2010-07-11 13:31:03 +00:00
David Sansome 0c123d58e8 Use a system QtIoCompressor if it's available 2010-07-11 12:02:30 +00:00
David Sansome 9be9a7cc0a Add a cmake option to use a system install of QtSingleApplication 2010-07-10 20:33:28 +00:00
David Sansome acf9ff5fd3 Add a cmake option to use a system install of libprojectM. No, gentoo users, you shouldn't use this. 2010-07-10 20:21:06 +00:00
David Sansome 91f801639a Unpack "Artist - Title" from icycast metadata. Fixes issue #425 2010-07-10 19:51:34 +00:00
David Sansome fca4fb8264 On second thoughts, use temporary metadata for all playlist items. 2010-07-10 19:45:29 +00:00
David Sansome d8cce6a343 Make temporary metadata work for SongPlaylistItems too. Fixes issue #487 2010-07-10 19:40:16 +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 384ff16f2b Add a parser for a weird playlist format that looks like a cross between ASX and PLS. I don't know what it's called... 2010-07-10 18:39:41 +00:00
David Sansome f8da25a3a0 Filtering the playlist keeps the current track focused. Fixes issue #466 2010-07-10 17:47:27 +00:00
David Sansome 4760210b2f Show a warning message instead of asserting if no projectM presets could be loaded. 2010-07-10 17:21:23 +00:00
David Sansome d620779696 Add an option to disable directory watchers 2010-07-10 17:03:28 +00:00
David Sansome b12db6357e Make the commandline interface work even without a running X server. Fixes issue #489 2010-07-10 16:20:09 +00:00
David Sansome 783ad54b68 Only create the OpenGL graphics context when you first open the visualisations window. Fixes issue #491 2010-07-10 15:48:46 +00:00
David Sansome f151df00b0 Blur behind the pretty OSD on Windows Vista and above 2010-07-07 23:03:35 +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 48a2e3dc33 Disable the "connect device" menu item if the device isn't plugged in 2010-07-04 16:10:58 +00:00
David Sansome 919f80a811 Mount points makes more sense than mount paths 2010-07-04 15:57:09 +00:00
David Sansome 2762d80722 Show the scanning progress in the device view 2010-07-04 15:56:08 +00:00
David Sansome 6c51858554 Change the capacity field to a label, and make double clicking a device actually connect it 2010-07-04 15:25:11 +00:00
David Sansome aa49082952 Save changes made in the device properties dialog 2010-07-04 15:18:37 +00:00
David Sansome b3af9fa7d7 Add a device properties dialog 2010-07-04 15:01:24 +00:00
David Sansome a892489de7 Add a menu option to forget a device, and add some helpful information dialogs 2010-07-04 12:56:49 +00:00
David Sansome 4a8bff5f4e Cope with removable media changing mount point 2010-07-04 12:10:44 +00:00
David Sansome 8c0b714791 Fix some warnings 2010-07-04 11:46:42 +00:00
David Sansome 2b58a1e19a Pass dataChanged through MergedProxyModel 2010-07-04 11:43:17 +00:00
David Sansome 88474551d5 Make the device view prettier 2010-07-04 11:34:25 +00:00
David Sansome 8c26c61b0b Sort the device libraries properly 2010-07-04 00:58:01 +00:00
David Sansome 545d28428c Use the library delegates in the devices view 2010-07-04 00:37:41 +00:00
David Sansome 71a1cf3c41 Disconnecting devices works 2010-07-04 00:33:34 +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 d3e3d04fe1 Prune the gstreamer scope at a much lower interval 2010-07-02 19:23:08 +00:00
John Maguire b4fa694847 Fix crash in file organiser. 2010-07-01 19:10:48 +00:00
David Sansome b35392d60d Don't query the track position and length quite so often. Might reduce CPU usage for issue #246 2010-06-30 20:36:16 +00:00
David Sansome a1fbd65f68 Test whether sqlite3 has the FTS3 at compile time, and use the static sqlite3 module if not 2010-06-30 19:55:46 +00:00
John Maguire 88be9986f1 Catch Enter key events & ignore events we don't understand.
Fixes issue #443
2010-06-29 18:44:36 +00:00
David Sansome 2d64703ee8 Merge translations from Launchpad 2010-06-28 18:35:00 +00:00
David Sansome 8d3ca44d14 moc doesn't know about config.h, so these slots need to always be declared. 2010-06-26 15:09:32 +00:00
David Sansome 751f2bbd43 Merge translations from Launchpad 2010-06-26 13:27:12 +00:00
David Sansome 0404ecec70 Fix compilation without gstreamer. Fixes issue #440 2010-06-26 13:20:08 +00:00
David Sansome 7c09e39d41 Only compile the DeviceKit bits on Linux 2010-06-26 12:57:00 +00:00
David Sansome 61e1f1b680 Fix a release mode compilation error 2010-06-26 12:52:27 +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 28ea240eb8 ConnectedDevices have a LibraryModel 2010-06-25 23:38:21 +00:00
David Sansome b750df38ce Rename the DeviceEngines to DeviceListers 2010-06-25 22:36:21 +00:00
David Sansome 2b17a8ee1f Revert r1344 (the timer tracing), it didn't help 2010-06-25 22:04:24 +00:00
David Sansome b423350208 Put each DeviceEngine in its own thread, don't pretend to be a QAbstractItemModel (it's annoying and not at all thread-safe), add a debugging class to listen to and print events. 2010-06-25 22:01:47 +00:00
David Sansome 2ef1fe5ac1 Fix LINGUAS processing 2010-06-25 20:48:39 +00:00
David Sansome ad9d6e7e73 Beginnings of some code to handle removable devices. DeviceKit engine for linux. Doesn't do anything useful yet. 2010-06-25 19:04:10 +00:00
David Sansome a9addb3c54 Add the DeviceKit-disks dbus interfaces 2010-06-25 16:17:17 +00:00
David Sansome f8d0afbc18 Move dbus xml files to src/dbus 2010-06-25 16:05:02 +00:00
David Sansome f0b984cbe9 Prepend a 0 to single-digit track numbers in the organiser. Fixes issue #438 2010-06-25 15:15:02 +00:00
David Sansome a0f9c81891 Don't prune the scope while playback is paused 2010-06-25 08:48:19 +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 a8f505e266 Don't fiddle playlist entries if the directory ID doesn't match what it was before - eg. if you delete a directory and add another one, and some IDs get reused. 2010-06-24 22:21:54 +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 f9e3d405cd Consts and grammar 2010-06-24 18:59:09 +00:00
David Sansome 5f9c1bb2aa Oops, don't need this any more 2010-06-24 18:37:13 +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
John Maguire 4da0ef772d Fix bundle target. 2010-06-24 12:53:35 +00:00
David Sansome f0e494fd32 Update all the translations 2010-06-23 17:03:37 +00:00
David Sansome e9b1f03ea8 Generate the right .pot file... 2010-06-23 17:03:29 +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 44d58482f0 Make the LibraryWatcher report on its progresss. Fixes issue #436 2010-06-23 14:00:18 +00:00
David Sansome eb830051c8 Show a percentage next to the loading indicator 2010-06-23 13:47:27 +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
David Sansome ed422c3743 Set a longer remote timeout on unit tests so they don't fail when they run on buildbit with high load. 2010-06-23 11:51:13 +00:00
David Sansome 9106abb1a0 Handle redirect messages from mmssrc properly. Fixes issue #385. 2010-06-23 11:47:54 +00:00
David Sansome 1cc9392aa8 Merge translations from Launchpad 2010-06-23 10:21:37 +00:00
David Sansome c96e622897 Merge merge merge 2010-06-22 20:57:05 +00:00
David Sansome 72fec9a8d1 Don't try to load projectM presets from an empty directory 2010-06-22 19:44:38 +00:00
David Sansome 63861f2ee5 Explicitly produce static libraries even when BUILD_SHARED_LIBS is set 2010-06-22 16:07:29 +00:00
David Sansome faf34a92bb Make it possible to compile out the default CMAKE_INSTALL_PREFIX paths for projectm visualisations 2010-06-22 15:46:51 +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 c357b2d548 Use the same last.fm API for automatic and manual fetching 2010-06-22 13:54:07 +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 ad4229160e Pedantry 2010-06-21 12:42:22 +00:00
David Sansome 1339ee860d Don't need these symbols any more 2010-06-21 12:41:38 +00:00
David Sansome ea52bbf3e2 Register the FTS3 tokenizer with a QSqlQuery, so it works even if we couldn't resolve the sqlite symbols. 2010-06-21 12:38:24 +00:00
David Sansome c950e79367 Make "Ban" skip to the next track 2010-06-21 12:16:05 +00:00
John Maguire b91a61c260 Tidy unicode length detection & add Cyrillic FTS test. 2010-06-21 12:07:56 +00:00
John Maguire f544e28051 Fix FTS on Mac & Win. 2010-06-21 09:32:57 +00:00
John Maguire 614e031c20 Hopefully fix static sqlite, ie. Mac & Win. 2010-06-20 21:05:18 +00:00
John Maguire 379681157a OCD 2010-06-20 20:59:54 +00:00
John Maguire 2f1a2fa9c7 More FTS tests. 2010-06-20 20:58:32 +00:00
John Maguire abf79ca447 Tests and refactoring for FTS. 2010-06-20 20:51:57 +00:00
John Maguire f989976d30 Some tests for the new FTS stuff. 2010-06-20 20:44:54 +00:00
John Maguire 59984c49ad Tidy up a bit. 2010-06-20 20:07:32 +00:00
John Maguire de4b889986 >.> 2010-06-20 20:05:01 +00:00
John Maguire 9f7803d964 The atrocity that is unicode-aware FTS.
Yes, this code is horrible. Maybe I'll fix it.
2010-06-20 19:46:51 +00:00
David Sansome dafedbf00c Cache the playlist tree pixmap while the user is dragging stuff over it, making the repeated repaints less expensive. 2010-06-20 19:02:19 +00:00
David Sansome c701c49004 Don't try to register empty global shortcuts (avoids loads of warnings being printed to stderr) 2010-06-20 18:43:20 +00:00
David Sansome 492d8fec87 Use sqlite's Full Text Search on the songs table 2010-06-20 16:30:10 +00:00
David Sansome 80837ce652 Oops - it helps if we actually remember to set the URL of the song we just loaded. Fixes issue #426 2010-06-20 12:50:08 +00:00
David Sansome 3ef14cbfbc Juggle this translation 2010-06-18 16:06:59 +00:00
David Sansome b18fcee586 Fix a crash when clearing a playlist 2010-06-18 16:06:51 +00:00
David Sansome 47790e9099 Merge translations from Launchpad 2010-06-18 15:53:08 +00:00
David Sansome 5c82d6a97c These don't actually do anything 2010-06-18 15:41:47 +00:00
David Sansome 34a1772ed2 Don't replace song fields in the playlist when loading them on startup 2010-06-18 15:37:36 +00:00
David Sansome d2f2eb89e0 Don't count the length of tracks that don't have a length 2010-06-18 15:32:52 +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 2824c153bc Fix Sparkle install. 2010-06-18 14:50:13 +00:00
David Sansome 8dd0b9902b When album cover art changes, update songs matching those albums in the playlist 2010-06-18 14:26:46 +00:00
John Maguire f7b79eb766 Hide behaviour tab in settings on mac. 2010-06-18 14:21:46 +00:00
David Sansome 7eb83634b7 Update the library view when album covers get set by the cover manager 2010-06-18 13:47:11 +00:00
David Sansome e0d7b7021b Change the rain URL to one on clementine-player.org so we can redirect if the actual URL changes 2010-06-18 13:35:17 +00:00
David Sansome 4a741e51a8 Lower the default rain volume.
Update issue #418
Status: Fixed
I can't think of a good place to put the GUI for this, so instead I've lowered the default rain volume so you can adjust the volume of whatever else you're listening to to match.
2010-06-18 13:24:56 +00:00
John Maguire 82b728528e Better unicode search.
Fixes issue #419
2010-06-18 12:54:11 +00:00
David Sansome f82ff23d9b Don't miss out the first filename on the commandline 2010-06-18 12:19:19 +00:00
John Maguire 256b507cae Leopard compile fixes 2010-06-18 11:41:16 +00:00
John Maguire 339b581040 Snow Leopard/Leopard detection. 2010-06-18 11:13:44 +00:00
David Sansome c8413dec80 Save the saved streams after editing one.
Update issue #404
Status: Fixed
Ah I see the problem - it didn't save the streams to the config file when you edited one - only when you added a new one.  So if you edited a stream *then* added a new one it would save both, but if you edit one and then exit it would get lost.  Should be fixed now.
2010-06-18 01:21:32 +00:00
David Sansome 28505857fc Fix commandline option parsing 2010-06-18 00:31:54 +00:00
David Sansome 4c938c0da1 Add a small top border to the large cover 2010-06-18 00:24:09 +00:00
David Sansome 398bd54203 Don't put NULL in these not nullable columns - fixes a crash when downloading the Magnatune db 2010-06-18 00:11:15 +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
John Maguire 9f2db477f8 Remove useless function. 2010-06-17 23:00:07 +00:00
John Maguire 077dfd46b0 Support more shortcut keys on mac. 2010-06-17 22:55:34 +00:00
David Sansome 43575218a2 Use the bigger nocover image from amarok 2 2010-06-17 22:47:25 +00:00
David Sansome ea77f022e4 Remember the small/large preference (I hear your mum likes large), draw a black background for the large mode, and center the cover when width > height. 2010-06-17 22:31:22 +00:00
David Sansome d415e3e125 Include strings from macglobalshortcutbackend.mm in translations regardless of the host OS 2010-06-17 22:19:29 +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
John Maguire a562190bbe Code review comments for r1198
Put back media keys for non-mac.

In this year:
The town of Riga is chartered as a city by Bishop Albert, who landed on the site of the town with 1,500 crusaders earlier that year.
2010-06-17 21:54:42 +00:00
David Sansome 27473b3f3a Large cover mode in the now playing widget. It doesn't remember your preference yet and the code is a bit buggy, but it looks pretty :)
John Komnenos the Fat attempted to usurp the imperial throne of Alexios III Angelos on the year of this revision.
2010-06-17 21:38:03 +00:00
John Maguire 25be0a1465 *Catch global shortcuts when clementine is focused.
*Automatically ask the user to enable assistive devices.
2010-06-17 21:33:16 +00:00
John Maguire f9e29fccf4 Global keyboard shortcuts for Cocoa.
Requires "Enable access for assistive devices" set in Universal Access control panel.
2010-06-17 20:31:34 +00:00
David Sansome 4dbd1f2a2f Make sure the last played track gets restored properly when we re-open clementine 2010-06-17 17:43:58 +00:00
David Sansome c70fb01c44 Don't disappear forever when Ctrl+W is used 2010-06-17 17:08:56 +00:00
David Sansome 89ac81be10 Treat 0 the same as -1 and NULL for numeric columns such as "disc".
Update issue #411
Status: Fixed
Ah ha!  I knew it was the disc tag - one of them had a value of 0 set, and the other had no value at all which was taken by clementine to mean "-1", which was lower than 0 so screwed up the sorting.  Try now and it should be fixed (you'll have to get Clementine to rescan that directory - probably remove it from the library settings and add it again).
2010-06-17 15:52:06 +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 1c4004ff0f Use decodebin2 in the transcoder, and bundle the extra plugins to make it work in Windows 2010-06-17 14:55:50 +00:00
John Maguire ae3b500259 Make the buildsystem a little more robust. 2010-06-17 14:45:31 +00:00
David Sansome 057a896967 Fix a few minor warnings 2010-06-17 14:05:21 +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 fa8ce4b0b3 Fix a bug that would cause last.fm streams to be unplayable sometimes 2010-06-17 13:37:01 +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 020df2d360 Canadians can spell too 2010-06-16 23:09:31 +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 c15afd8083 Fix a warning message 2010-06-16 22:12:08 +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 ea87eddcd2 Fix some weirdness when saving and restoring the state of the playlist QHeaderView. Fixes issue #413 2010-06-16 17:15:13 +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
David Sansome 68edaff32f Show the whole URL in the playlist for streams that don't have a title or basefilename set. 2010-06-16 16:18:28 +00:00
David Sansome 357f229e02 Make saved radio streams use the song loader when dragged to the playlist 2010-06-16 16:11:23 +00:00
David Sansome 7f3c0b853a Sort by album artist properly.
Update issue #408
Status: Fixed
Looks good, thanks!
2010-06-16 14:52:01 +00:00
John Maguire 5307ca3db0 Return the correct type from GstBusFunc()s 2010-06-15 22:32:20 +00:00
John Maguire a8f7df9e28 Remove incorrect gst_message_unref. It should only be called from *sync* handlers that are returning GST_BUS_DROP. 2010-06-15 22:30:06 +00:00
John Maguire abdc2eee2e Put LoadUrl for mac back. 2010-06-15 21:56:33 +00:00
David Sansome 0f8ada10d3 Typo 2010-06-15 18:34:15 +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 02d01b1314 PLS playlists aren't really INI files - they don't follow the same rules with escaping characters, so parse them the old fashioned way. 2010-06-15 17:34:00 +00:00
David Sansome 8c7539f02e ASF files aren't really XML - try to correct the mismatching case 2010-06-15 17:00:48 +00:00
David Sansome 25ff2bca59 Always treat text/uri-list as M3U 2010-06-15 14:52:42 +00:00
David Sansome 987a918d90 Timeout when fetching remote things 2010-06-15 14:44:28 +00:00
David Sansome 7afa3372f5 Fix the qWarning warning 2010-06-15 14:42:32 +00:00
David Sansome de630e0a9f Run LoadLocalDirectory in another thread so it doesn't block 2010-06-15 14:24:17 +00:00
David Sansome 2c3e9276aa Fix some of the comments on r1148 2010-06-15 13:56:41 +00:00
David Sansome a27b6d3561 Herp derp 2010-06-15 13:28: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 92e95ecf80 Support for background streams. 2010-06-14 19:15:10 +00:00
David Sansome b6a642ab15 Major graphical change: add a vertical line between the repeat/playlist buttons and the playlist length label 2010-06-14 16:18:15 +00:00
John Maguire 1e80ac8c5b Use cmake rm. 2010-06-14 15:10:39 +00:00
John Maguire fd037c0f9a Fix buildsystem to build a new dmg every time.
Fixes issue #405
2010-06-14 14:50:04 +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 083eb716a7 Crossfade magnatune streams properly 2010-06-12 20:22:58 +00:00
David Sansome dd36835b49 Make "" an acceptable option for LINGUAS meaning None 2010-06-12 19:36:22 +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 a41a450218 Add an cmake option to leave translation out of the binary.
Update issue #400
Status: Fixed
Ok makes sense I suppose.  I've cleaned up the patch a bit and committed it.  I changed the cmake variable to LINGUAS (upper case), and valid values are "All", "None", or a space seperated list of languages.
2010-06-12 17:44:19 +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 efcd2c968a Search library on composer and genre too 2010-06-12 13:19:55 +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 f739ae5e00 (Vertical) center align playlist items again.
Update issue #379
Fixed the alignment.
2010-06-11 16:41:29 +00:00
David Sansome 0a19a275a2 On Windows and Mac use a different gstreamer registry file 2010-06-11 12:22:21 +00:00
David Sansome 0e83490766 Search in albumartist too. Fixes issue #387 2010-06-11 12:01:41 +00:00
David Sansome f04e4bb6ea Add an icon to the visualisations window.
Update issue #394
Missed that one, thanks :)
2010-06-10 22:50:26 +00:00
David Sansome cb2588b3a3 Juggling the translations 2010-06-10 22:49:47 +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 3fe941f5c1 Make the playlist header present a one-level menu for showing and hiding columns. Fixes issue #381 2010-06-10 17:40:14 +00:00
David Sansome 07ba35ff6d Append a "Hz", "bpm", "kbps" etc. suffix to bit rate, sample rate and BPM columns in the playlist 2010-06-10 17:04:40 +00:00
David Sansome 6eea954fb1 Right-align numeric fields in the playlist 2010-06-10 17:04:05 +00:00
David Sansome c41344524d Display the BPM column in the playlist properly. 2010-06-10 16:54:07 +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 ffa354e887 Use a proper Magnatune partner ID 2010-06-09 16:05:59 +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 782166db41 Invalidate the currently playing track cache when scrolling sideways. Fixes issue #377 2010-06-09 15:37:54 +00:00
David Sansome f69a82bc6e Force a re-download of the magnatune database so svn users will get the sku-codes required for downloading 2010-06-09 14:04:56 +00:00
David Sansome 903dbba87e Dialog for downloading Magnatune albums 2010-06-09 14:02:26 +00:00
David Sansome 7a6df2860f Play the mp3s without commercials for magnatune subscribers 2010-06-08 23:29:50 +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
John Maguire 2830ee1a62 Fix MPRIS pause behaviour.
Update issue 374
Pause/unpause should be fixed now.
2010-06-08 16:00:09 +00:00
David Sansome f03449dd00 Fix compilation problems when compiling without gstreamer 2010-06-08 15:55:44 +00:00
David Sansome 7a449a545c Fix a compilation error when enabling other engines 2010-06-08 13:24:48 +00:00
David Sansome 08dddac981 Fix a small memory leak 2010-06-08 12:12:47 +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
John Maguire e8f1838d6d Fucking mac. 2010-06-07 20:39:06 +00:00
John Maguire 7d18f60ca8 Ignore silly Info.plist from Sparkle. 2010-06-07 20:22:43 +00:00
John Maguire ea95b847fc Update dmg target to stop Qt copying silly plugins. 2010-06-07 19:43:07 +00:00
John Maguire a821f5a505 Install resources into mac bundle. 2010-06-07 19:01:35 +00:00
John Maguire 2979b6ae84 Forgotten mac build fix. 2010-06-07 17:57:07 +00:00
David Sansome ade492c56f Make the visualisation duration configurable 2010-06-07 13:36:50 +00:00
David Sansome 0e19ca17e5 Make the visualisation chooser actually work 2010-06-07 13:29:57 +00:00
John Maguire d34283a113 ProjectM on mac deployment fixes. 2010-06-07 11:38:43 +00:00
David Sansome 6d84c2f830 Don't use the system projectm config file. Search for presets in share/clementine/projectm-presets. 2010-06-07 10:23:11 +00:00
David Sansome 38e0c3a11f Add projectm presets to svn 2010-06-07 10:09:30 +00:00