Commit Graph

582 Commits

Author SHA1 Message Date
John Maguire d01de9cdf8 Shutup "memory leak" messages on OS X. 2010-04-22 13:57:46 +00:00
David Sansome 82602f8d96 Fix setenv/putenv madness on mac 2010-04-22 13:49:16 +00:00
David Sansome 449de3f34a Fix a couple of warnings 2010-04-21 20:57:54 +00:00
David Sansome 174d66f30f Fix compilation errors in release mode 2010-04-21 20:04:27 +00:00
David Sansome 7263983e0c More debug output in CanDecode, and set the gst path in GstEngine rather than main() 2010-04-21 17:11:50 +00:00
David Sansome 06aaaf15f5 Fix a crash when reaching the end of a playlist 2010-04-21 17:11:02 +00:00
David Sansome 3cc0ed361a Ignore useless metadata from gstreamer, and metadata that comes while the next track is preloading 2010-04-21 14:04:40 +00:00
David Sansome 910553b175 Gapless playback! 2010-04-21 13:55:30 +00:00
David Sansome b6c7b6e109 Make up restore the scroll position as well if it's the same as going back. 2010-04-21 12:03:48 +00:00
David Sansome b604324728 When going back and forward in the file browser, remember which item was selected and where the view was scrolled to. 2010-04-21 11:57:35 +00:00
David Sansome 3400f2b947 Don't lose the library settings when opening the settings dialog and accepting it without navigating to the Library tab. 2010-04-21 11:24:22 +00:00
David Sansome 4eedddd57c Make the gst engine emit Error() instead of showing its own dialog when a plugin couldn't be found. 2010-04-21 11:14:12 +00:00
David Sansome 37f7b1ca3b Use lconvert from the Qt sdk rather than $PATH, if it's available 2010-04-21 11:03:30 +00:00
David Sansome 4234700e24 Trim the metadata received from tags 2010-04-20 22:20:20 +00:00
David Sansome 0656330548 Test we can load various popular file formats 2010-04-20 22:00:02 +00:00
David Sansome 8b51f90a6e Make the pretty OSD draggable on kwin 2010-04-20 19:43:56 +00:00
David Sansome 58ae505377 If you remove the currently playing song, then undo it, keep the "currently playing" status on the newly re-added song. Updates issue #152. 2010-04-20 19:08:12 +00:00
John Maguire 2f9d1867be Remove debug. 2010-04-19 20:59:34 +00:00
John Maguire ff06207732 OS X dock icon updates to show current status.
Somewhat less (but still quite) hacky system tray code.
2010-04-19 20:59:05 +00:00
David Sansome 32d5a1dd2d Add danish translation 2010-04-19 19:25:33 +00:00
David Sansome b2236bfd1e Undo and redo actions for the playlist. Note that undoing a sort or a shuffle doesn't work yet. Fixes issue #152 2010-04-19 18:44:35 +00:00
John Maguire 9d0541a53b Disable automatic loading of gstreamer plugins from non bundle locations on mac. 2010-04-19 15:00:33 +00:00
David Sansome 124ca3fe64 Lock all analyzers to 25fps, should reduce CPU usage quite a bit 2010-04-19 14:24:11 +00:00
David Sansome 66d83fd120 Oops, forgot this comment 2010-04-19 14:23:57 +00:00
David Sansome 56bb697d06 Remember maximized state between calls to hide() and show() on window managers that don't do it for us. Fixes issue #215 2010-04-19 14:10:31 +00:00
David Sansome b418141aa0 Show a tiny play or pause icon in the system tray 2010-04-19 13:53:26 +00:00
David Sansome 1dc8cca6e1 If the pretty OSD is positioned against the right/bottom edge, always display it there regardless of the size. 2010-04-19 13:16:53 +00:00
David Sansome e014b67090 Add a "Stopped" notification that's different from "Playlist finished". 2010-04-19 13:01:57 +00:00
David Sansome f4e9de8e5b Free the error messages properly, since they aren't owned by gstreamer. Thanks john :) 2010-04-19 12:30:19 +00:00
David Sansome 4bc704d7e3 Actually show error messages that come from gstreamer. Fixes issue #230 2010-04-19 12:04:35 +00:00
John Maguire 4948050327 Fix build without gstreamer.
Fixes issue #217
Thanks to christoph.gysin
2010-04-16 14:39:55 +00:00
John Maguire baf59f4c8d A bit more automation for mac builds. 2010-04-15 19:09:39 +00:00
David Sansome d3adcbabf8 Change "Behaviour" to "Behavior", and add a british english translation 2010-04-15 16:26:41 +00:00
David Sansome 13b5772aa5 Remove genitive variables in lastfmservice.cpp, and use the american spelling of "neighbor"
Fixes issue #204
2010-04-15 16:12:44 +00:00
John Maguire 8abb9ecd4b Most of the work to use Sparkle on OS X.
Updates issue #210.
2010-04-15 15:23:12 +00:00
David Sansome dd86b60411 CMake variables and commandline options to allow multiple engines to be built. Thanks christoph.gysin.
Fixes issue #203
2010-04-15 12:39:34 +00:00
David Sansome 44ffc5be75 Get metadata from shoutcast streams (like somafm) 2010-04-14 23:59:11 +00:00
David Sansome 5519985a3b Fix the names of these signals/slots 2010-04-14 22:54:15 +00:00
David Sansome 2a33954725 Codereview comments from r701 2010-04-14 22:36:28 +00:00
David Sansome be73b351ed Nothing to see here ... *ahem* 2010-04-14 22:19:07 +00:00
David Sansome 72cbf90689 Save the playlists in the background, and use shared_ptrs for all playlist items so they stay in scope after they've been deleted but while they're still being saved. 2010-04-14 22:05:41 +00:00
John Maguire b16f789ac7 700 GET
Code review comments for r699
2010-04-14 21:58:51 +00:00
John Maguire aeaebdb8d6 Fix a few mac UI bugs.
* Cmd+W closes the main window
* Clicking the dock icon shows the main window
2010-04-14 21:27:27 +00:00
David Sansome af07b5becd Store the playlist in the database. This is still quite slow. 2010-04-14 21:03:00 +00:00
John Maguire dc782cfa5b Make the Settings menu disappear on OS X. 2010-04-14 20:06:06 +00:00
John Maguire 398107fe67 Disable system tray on mac and popup menu from dock icon.
Remove sqlite plugin from deployment script.
TODO: Factor out system tray/dock rather than tons of ifdefs.
2010-04-14 19:38:09 +00:00
David Sansome b63fcb0b10 Add the new languages to the buildsystem 2010-04-14 16:50:18 +00:00
David Sansome 2db65d2668 Merge translations from Launchpad 2010-04-14 16:47:53 +00:00
David Sansome 91d6ad79ea Add a "po_all" target 2010-04-14 16:41:11 +00:00
David Sansome 76ef868c0a Don't pass non-const references 2010-04-14 16:12:33 +00:00
David Sansome 65440dd374 Codereview comments from r685 2010-04-14 16:00:45 +00:00
John Maguire 4862c41477 Tidy up http gstreamer source element. 2010-04-14 15:42:49 +00:00
David Sansome 921eb94a21 Abstract the QSettings usage out of Playlist and PlaylistSequence, create a mock for it, and add a basic playlist test 2010-04-14 14:48:10 +00:00
David Sansome 9cec39ffac Don't seek outside the bounds of the song. See issue #95 2010-04-14 13:22:50 +00:00
David Sansome 24463136b9 Don't inhibit autoscrolling when we scrolled as a result of autoscrolling. See issue #124 2010-04-14 13:11:39 +00:00
David Sansome ce43638586 Autoscroll when the current song is changed, rather than any data. See issue #124 2010-04-14 13:07:21 +00:00
David Sansome b97151e9b3 Lower the time we wait for background threads to terminate. 2010-04-14 12:43:13 +00:00
David Sansome dfa8dabc7e Add some more stop points in the library watcher to make it shut down faster 2010-04-14 12:41:03 +00:00
John Maguire 6bac7f6cec Stop the pretty OSD from bringing clementine to front on OS X. 2010-04-14 12:26:29 +00:00
David Sansome 3b1188838b Show the OSD when --show-osd is used even if the osd is disabled in the settings dialog. See issue #95 2010-04-13 20:45:40 +00:00
David Sansome aaa1ef8a7f Add a "seek by n seconds" commandline option, and make sure stopping and starting again from the commandline restarts the same track. See issue #95 2010-04-13 20:22:29 +00:00
John Maguire f429b53212 Use static version of qsqlite plugin on mac as well & disable qxt for mac.
The plugin shipped with Qt has the sqlite symbols set to hidden. It seems dlsym() actually cares about that on Snow Leopard whereas it doesn't in Leopard.
If it can't find the sqlite functions in the given library, then it will go fishing and find /usr/lib/libsqlite3.dylib and that's bad :-(
2010-04-13 19:43:08 +00:00
David Sansome ac3dba930a Updated russian translation 2010-04-13 19:36:50 +00:00
John Maguire a4405e7877 Add support for global media keys on mac (Cocoa only).
Updates issue #6
2010-04-13 13:55:54 +00:00
David Sansome c59c7ee0ec More commandline options. Fixes issue #95 2010-04-12 23:35:47 +00:00
David Sansome 2ec6ca45c8 Commandline options support. Fixes issue #189 2010-04-12 22:44:29 +00:00
David Sansome 57bd1b0227 Use different frequency values for the equalizer. Fixes issue #192 2010-04-12 20:57:21 +00:00
David Sansome c08179aa94 Fix a race condition caused by global state in the equalizer. 2010-04-12 20:33:59 +00:00
David Sansome 1070a5fd07 Reverted r664, see issue #191 2010-04-12 20:08:23 +00:00
David Sansome ecda1787c8 Remove the CanDecode check - it's slow, and overidden by the taglib check anyway. 2010-04-12 19:46:08 +00:00
David Sansome d54c8cf2f9 Enforce a minimum row size in the playlist, and stop the current track highlight bar from becoming really pale when on an "alternate" row. 2010-04-12 18:07:07 +00:00
David Sansome 00b19ae83e Fix somafm playback on linux. Might merge this with the mac ifdef if possible? 2010-04-12 17:40:08 +00:00
David Sansome 95bfcd86a9 Only change the equalizer values when the user lets go of the slider - might make it a bit smoother. Updates issue #191 2010-04-12 17:30:56 +00:00
David Sansome 07a851c951 Oops, we'd better unref these buffers to stop memory leaks 2010-04-12 16:41:44 +00:00
David Sansome e4c3c600b9 Fix a problem where the scope would apperar to freeze for a few seconds when changing tracks. 2010-04-12 16:39:48 +00:00
John Maguire 821baa2211 Mac deployment fixes for gstreamer. 2010-04-12 12:36:30 +00:00
David Sansome d51c7444ab Fix some confusion with auto/manual track changes 2010-04-12 01:59:21 +00:00
David Sansome caa63d3095 Save the last played item when it starts playing, not when it finishes, to fix strange behaviour when you quit during a track. 2010-04-12 01:06:47 +00:00
David Sansome e755868b74 Remember which track was being played last. Fixes issue #56 2010-04-12 00:40:03 +00:00
David Sansome a25fd395f1 Fixed the easier codereview comments from r645 2010-04-12 00:26:16 +00:00
David Sansome aaee1ded22 Fix a crash at the end of the last song on a playlist 2010-04-12 00:21:41 +00:00
David Sansome 1b0b8979df Codereview comments from r637 2010-04-12 00:20:52 +00:00
David Sansome 031752823c Add support for crossfading when changing tracks automatically 2010-04-11 23:52:16 +00:00
David Sansome 152470e5b3 Codereview comments from r644 2010-04-11 23:26:06 +00:00
David Sansome c4aa779728 Clean style of Engine::Base 2010-04-11 23:24:03 +00:00
David Sansome 23880b3cb5 Crossfading in gstreamer backend 2010-04-11 23:03:39 +00:00
David Sansome c576ca92e8 Add an option to group the library by albumartist. Fixes issue #198 2010-04-11 22:21:21 +00:00
John Maguire d0ddeb2956 Also show tooltip for playlist column names.
Updates issue #181
2010-04-11 21:45:19 +00:00
John Maguire 9cce2bddd9 Show full text on tooltip for playlist & library rows.
Fixes issue #181
2010-04-11 21:43:37 +00:00
David Sansome b19fdbf272 Fadeout in gstreamer engine 2010-04-11 21:40:26 +00:00
David Sansome 656fbba37f Remove the "identity" element 2010-04-11 20:01:44 +00:00
David Sansome 14d0b00f46 Factor out the gstreamer pipeline bits into another class. 2010-04-11 19:47:21 +00:00
David Sansome 1293865fea Fix the behaviour of selecting "edit tag ..." when multiple tracks are selected. Fixes issue #139 2010-04-11 17:58:58 +00:00
David Sansome 8027449b8e Fix a bug where the OSD would move back to the top-left of the first display 2010-04-11 17:19:25 +00:00
David Sansome 8b678cba9a If the currently playing song was removed from the playlist, start from the beginning when playing the next track. Fixes issue #160 2010-04-11 15:13:39 +00:00
David Sansome 1eb9447097 Use F2 as a shortcut for editing the current track. Fixes issue #194 2010-04-11 15:05:30 +00:00
David Sansome 85032240d9 Set a plugin path on Windows, and don't do a pointless registry check any more 2010-04-11 14:26:30 +00:00
David Sansome e6da826227 Make the equalizer sliders stick in the middle around '0' when being dragged. Updates issue #166 2010-04-11 13:29:27 +00:00
David Sansome 8c1bdd1bf6 msgmerge's juggling of this translation... 2010-04-11 13:28:57 +00:00
David Sansome d8bc4c1172 Use the extra gst audio conversion on all platforms 2010-04-11 13:28:26 +00:00