Commit Graph

1744 Commits

Author SHA1 Message Date
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 47c13c4479 Listen for keyPressEvent instead of keyReleaseEvent in the library view. Thanks arnaud.bienner. Fixes issue #1042 2010-12-09 14:33:20 +00:00
John Maguire 81f43ac4f5 Unbreak the build. 2010-12-09 14:19:09 +00:00
John Maguire 4c66007e26 Code review comments from r2370. 2010-12-09 13:06:00 +00:00
John Maguire 3a19bb9d46 Fix config file location on Mac and automatically migrate. 2010-12-09 12:34:08 +00:00
Paweł Bara 04bbf73cff MPRIS' TracklistChanged event now contains the length of the playlist that has actually changed (Update issue #374)
the PlaylistChanged event now shows which playlist has changed
2010-12-08 00:09:17 +00:00
Paweł Bara 6bf3162449 some MPRIS 1 bugfixes (Updates issue #374)
also:
- PlaylistSequence: RepeatMode and ShuffleMode are changed before change event is emitted
- PlaylistManager: emits an event after it has been initialized (which, for example, indicates that it's PlaylistSequence is now in place)
2010-12-07 21:14:40 +00:00
David Sansome 579e24965a Make single clicking on an item in a library view expand it. Fixes issue #1027 2010-12-07 21:13:40 +00:00
David Sansome d761a5e91f Add a "plain sidebar" option. Fixes issue #1031 2010-12-07 21:04:52 +00:00
David Sansome 44dc05a87a Don't stop the track when it's about to end if crossfading is enabled but fadeout is disabled. Fixes issue #1040 2010-12-07 20:29:13 +00:00
David Sansome bbf0cd48c2 Insert songs as library playlist items if they're in the library. Fixes issue #1039 2010-12-07 19:33:19 +00:00
David Sansome 8aa7973312 Always create the schema in external databases if it doesn't exist yet. Fixes issue #1034 2010-12-07 19:07:12 +00:00
David Sansome 6a27020ccd Make the volume down shortcut decrease the volume instead of increasing it... Fixes issue #1033 2010-12-07 18:52:21 +00:00
David Sansome 2dce2e44fd Fix a regression where dragging songs into the playlist while a song was selected would abort the drop and start a new drag from the selected item. 2010-12-06 22:18:00 +00:00
David Sansome ef5494e08c Update Turkish translation. Thanks H. İbrahim Güngör 2010-12-06 21:20:06 +00:00
David Sansome 34532ed85f Allow editing tracks from the library pane. Thanks arnaud.bienner. Fixes issue #65 2010-12-06 21:16:04 +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
John Maguire d17703d39a Add function for getting the correct config directory on mac. 2010-12-06 17:06:02 +00:00
Paweł Bara aafb3a3b73 include mpris_common in every environment 2010-12-06 00:36:31 +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 4c72ef4177 Treat \r and \n in comment fields as newlines 2010-12-05 13:41:40 +00:00
David Sansome cef02b4f61 Fix database test 2010-12-05 12:53:12 +00:00
David Sansome 88831f4ebd Merge translations from Launchpad 2010-12-05 11:56:47 +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 f9959a4fba Treat the Jamendo database schema the same as other databases. 2010-12-05 10:55:21 +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 3216f5b75e Remove ( and ) characters from FTS queries. Fixes issue #1010 2010-12-04 18:16:00 +00:00
David Sansome ba520b3793 Elide the text on the sidebar if it's too long. Fix tab animations when the tabs have non-ascii characters. Fixes issue #987 2010-12-04 18:03:53 +00:00
David Sansome 42f1bef53f Hide the first page in the smart playlist wizard 2010-12-04 17:36:10 +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 f818577907 Regression - remove the next track from the queue if it is the currently playing track. Fixes issue #1005 2010-12-04 16:47:28 +00:00
David Sansome a07a808e5f Show new lines properly in the comment tooltip, and simplify whitespace in the comment column. Fixes issue #1011 2010-12-04 16:43:09 +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 b67bc3939a Fix a couple of mpris bugs.
Update issue #374
I've fixed some of the GetStatus/GetMetadata issues.
2010-12-03 15:01:36 +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 880909104e Fix album cover handling in Jamendo. 2010-11-29 13:34:30 +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 31a6aa2de7 Add a Comment field to the playlist. Fixes issue #890 2010-11-28 15:22:48 +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
David Sansome e3760a5bc5 And fix the length parsing 2010-11-28 14:18:07 +00:00
David Sansome 68ae8aec0e Fix genre parsing from Jamendo 2010-11-28 14:13:46 +00:00
David Sansome dd937fb06d Make searching more responsive on large libraries (Jamendo) 2010-11-27 20:20:26 +00:00
David Sansome af234763f2 Do library searching and grouping in a background thread 2010-11-27 20:09:00 +00:00
David Sansome e63c101223 Don't show the various artists node for Jamendo (there aren't any various artists albums) - making search a bit faster 2010-11-27 19:37:34 +00:00
David Sansome bea4b39020 Make Jamendo search work again 2010-11-27 19:37:09 +00:00
David Sansome 858a8650b8 Create the correct type of playlist item from query generators 2010-11-27 19:23:52 +00:00
David Sansome f11c494c44 Add a random smart playlist to Jamendo 2010-11-27 19:18:56 +00:00
David Sansome b1bf95a668 Remember which library a dynamic playlist was using when you restart clementine 2010-11-27 19:11:36 +00:00
David Sansome 623b90e5e2 Make sure the smart playlists node really really gets put at the top 2010-11-27 18:43:49 +00:00
David Sansome 70df709fc2 Don't use Connection: Keep-Alive when doing requests to the Jamendo API 2010-11-27 18:37:53 +00:00
David Sansome 69d3d89b0f Have a different list of smart playlists for Jamendo and the normal Library. Only add default Jamendo smart playlists once. 2010-11-27 17:52:08 +00:00
David Sansome b85ddbb380 Put the Jamendo songs in a separate database that gets attached to the main database. "Reload" it by deleting the file, which is much faster than DELETEing all the songs inside. Make reloading the Jamendo, Icecast and Magnatune databases always bypass the network cache. Store the Jamendo track IDs in a separate table - for some reason this makes inserts faster. Fix the Jamendo model after the inital database load. Make the Jamendo dymanic playlist use the entries that are already in the local database rather than fetching the song metadata again. 2010-11-27 16:14:09 +00:00
David Sansome 421c04b6ec Do the limit clause in dynamic playlists properly 2010-11-27 12:24:47 +00:00
John Maguire d5d058fbaa Add debug header. 2010-11-26 16:03:13 +00:00
John Maguire eca1704384 Sort of working Jamendo dynamic playlist. 2010-11-26 15:16:48 +00:00
David Sansome 4e60558053 Use the Jamendo track id as the ROWID for tracks, and implement reloading the database. 2010-11-25 23:05:37 +00:00
David Sansome 17da224283 Record the Jamendo album ID with each song, and implement the context menu items to open album info and download album pages. 2010-11-25 22:16:29 +00:00
David Sansome 927937e236 Save and restore Jamendo playlist items properly. Add a Jamendo context menu. 2010-11-25 22:04:23 +00:00
David Sansome e36cbcb50c Get proper sized album art for Jamendo songs 2010-11-25 21:20:18 +00:00
David Sansome 9483f9b930 Typo 2010-11-25 21:20:06 +00:00
David Sansome f758004760 Stop the size of the radio header widget increasing when different services are selected. 2010-11-25 19:18:41 +00:00
John Maguire 8ede752ff9 Fix small leak. 2010-11-25 17:25:50 +00:00
John Maguire b2ffc58070 Only check subversion info if $BUILDBOT_REVISION not set.
Fix compile warning.
2010-11-25 17:14:11 +00:00
David Sansome 23d1ea81ea Add dividers to the list of icecast stations 2010-11-24 21:34:54 +00:00
David Sansome c021a639c5 Remember the icecast sort by mode 2010-11-24 21:16:33 +00:00
David Sansome ad191e0880 Show a context menu for icecast stations 2010-11-24 19:41:17 +00:00
David Sansome c43a06c04e Support drag&drop of icecast streams to the playlist 2010-11-24 19:25:41 +00:00
David Sansome 9a8d01e2bd Comment(s) from r2281 2010-11-23 23:10:53 +00:00
David Sansome 83948e4973 Fix the size of the icecast filter widget icons 2010-11-23 23:10:38 +00:00
David Sansome b9f7cf78a9 Make sorting and filtering the list of icecast stations work 2010-11-23 23:05:42 +00:00
David Sansome 8d23c8b3ee Comments from r2279 2010-11-23 22:37:00 +00:00
David Sansome 188c7a53ec Add a database table, backend, and model for Icecast radio stations. Added a filter widget as well, but it doesn't actually search or sort yet. 2010-11-23 22:36:00 +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 e4a3a12a83 Show progress information while downloading and parsing Jamendo and Icecast catalogues. Also parse Jamendo in chunks rather than all in one go. 2010-11-23 18:53:08 +00:00
John Maguire 5feabe09de Add Jamendo support.
Fixes issue #470
2010-11-23 17:38:39 +00:00
David Sansome 89e3fde23b Add missing copyright headers to the icecast source and objective-c 2010-11-23 11:42:19 +00:00
David Sansome a30f9a6045 Fix compilation on Natty with the Gold linker 2010-11-22 22:57:44 +00:00
John Maguire 0d96793e59 Merge small icecast genres into "other". 2010-11-22 21:14:06 +00:00
John Maguire b6d424bc04 Add stations with no good genres to "other". 2010-11-22 20:49:09 +00:00
John Maguire a7599a1fef Move the icecast stream de-duping to get more accurate genre sizes. 2010-11-22 20:47:53 +00:00
John Maguire 36f15a3cf3 Cleanup icecast genres a bit more. 2010-11-22 20:36:16 +00:00
John Maguire b7539759fc Upper case first letter in icecast genres. 2010-11-22 20:19:50 +00:00
John Maguire 5b909a2983 Comments from r2268. 2010-11-22 20:15:07 +00:00
John Maguire c2c3c8145b Add basic icecast directory support.
Fixes issue #601
2010-11-22 16:57:26 +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 560d1c5006 When repopulating a dymanic playlist, don't remove items that are queued 2010-11-21 17:48:58 +00:00
David Sansome 59d29d7412 Show a loading bubble in the song and artist info views 2010-11-21 16:28:25 +00:00
David Sansome 4356adb9e3 Fix the windows and mac builds 2010-11-21 15:46:43 +00:00
David Sansome 0a5d286798 Bound song scores properly. Thanks arnaud.bienner 2010-11-21 15:38:26 +00:00
David Sansome 626c75cd45 Add MPRIS2 and gnome sound menu support 2010-11-21 15:13:26 +00:00
David Sansome eb818a2cd2 Remember the position in a sorted query when fetching rows for a dymanic playlist 2010-11-21 12:24:36 +00:00
David Sansome a73b46d382 Don't show smart playlists in the library when it's filtered 2010-11-21 12:16:40 +00:00
David Sansome dd1c3b2e68 Force CBR when encoding MP3s using lame, for better compatibility with MP3 players 2010-11-21 12:03:22 +00:00
David Sansome 32b3e59f46 Add xingmux and id3v2mux to the pipeline when using lamemp3enc to transcode to MP3 2010-11-20 23:46:30 +00:00
David Sansome 3e7108e9cf Stop hovering over the rating column if the mouse moves from the rating column into a scrollbar. 2010-11-20 23:20:27 +00:00
David Sansome 5969e2b3d7 Remember whether a dynamic playlist was active between restarts 2010-11-20 20:30:21 +00:00
David Sansome 3dd0e56c1b Show controls at the bottom of the playlist when a dynamic playlist is active 2010-11-20 20:00:40 +00:00
David Sansome 682a84dc61 Reword the "Don't use search terms (include all songs)" item to make it less confusing 2010-11-20 18:51:34 +00:00
David Sansome 7d54549213 Add support for dynamic playlists. A dynamic playlist is just a smart playlist that chooses and adds a new track when you finish listening to a song. 2010-11-20 18:49:54 +00:00
David Sansome 759e97c275 Fix a bug where smart playlists wouldn't get removed correctly 2010-11-20 15:47:44 +00:00
David Sansome 353485e34e Better smart playlist icons 2010-11-20 15:29:42 +00:00
David Sansome a93a4afe3b Better sidebar icons 2010-11-20 15:09:57 +00:00
David Sansome 69db0e0ee4 Don't draw the library view at all if there are no songs in the library 2010-11-20 14:59:11 +00:00
David Sansome 287f073127 Make the multi loading indicator shrinkable so it doesn't make the window bigger when lots of things are loading. Fixes issue #967 2010-11-20 14:57:02 +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 d214d36a1d Don't run searches for a preview widget while it's hidden, and run one as soon as the sort page is shown 2010-11-20 12:33:21 +00:00
David Sansome ffdfc0ed34 Make deleting smart playlists work 2010-11-20 12:27:19 +00:00
David Sansome 48868ee092 Make the search preview work in the sort tab, and don't do duplicate searches 2010-11-20 12:20:26 +00:00
David Sansome 052ddb74a1 Always show a scrollbar in the smart playlist preview (avoids flickering when the viewport resizes), and stop the new search term widget responding to mouse events when it's disabled 2010-11-20 12:10:56 +00:00
David Sansome 63d2496784 Add a couple more default smart playlists. Fixes issue #971 2010-11-20 12:05:51 +00:00
David Sansome ffb2a58daf Change the buffer duration label text 2010-11-18 23:34:31 +00:00
John Maguire 171de9dde6 Show nice title for last.fm custom radios in playlist. 2010-11-18 23:22:47 +00:00
David Sansome bb1c2b22ef Create, edit and delete smart playlists from the context menu 2010-11-18 23:08:37 +00:00
John Maguire 4ce140c614 Change loved radio station to mix radio.
Fixes issue #973
2010-11-18 21:55:50 +00:00
David Sansome 753b144752 Refactor the smart playlist wizard to move all query-specific parts into a separate class 2010-11-18 21:13:43 +00:00
David Sansome 1f267881fe Put all smart playlist classes in their own namespace 2010-11-18 20:19:33 +00:00
David Sansome d9ed5c91ef Add smart playlist context menu items 2010-11-18 19:34:04 +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
John Maguire 28a9454044 Compiler warning fix for Fedora 14 (GCC 4.5.1). 2010-11-03 21:19:26 +00:00
David Sansome 444f8ae03c Don't try to link against pthreads on windows 2010-11-03 21:11:43 +00:00
David Sansome 4eb39712ef Add a combo box to select from AND, OR or all songs. 2010-11-03 20:58:33 +00:00
David Sansome 63fc80543e Make the search term widget slightly prettier 2010-11-03 20:12:42 +00:00
John Maguire e8c271b502 Build fixes for Fedora 14. 2010-11-02 23:07:43 +00:00
David Sansome a4176b79af Merge translations from launchpad 2010-11-02 19:40:01 +00:00
David Sansome 3819a039c8 Hide the score column by default 2010-11-01 21:20:12 +00:00
David Sansome 9e20ef13bc Automatic scoring. Thanks Arnaud Bienner. Fixes issue #141 2010-11-01 21:15:52 +00:00
David Sansome 4afc5cacef Make the order by fields work in the new smart playlist wizard 2010-11-01 20:24:44 +00:00
David Sansome b71b378c3f Fix build breakage 2010-10-29 19:38:43 +00:00
David Sansome 9e09995fff Some UI polish 2010-10-29 19:26:37 +00:00
David Sansome f9bf6def04 Use an actual playlist widget in the preview 2010-10-29 18:58:43 +00:00
David Sansome 2a480f7b1c Somewhat-working smart playlist preview widget for the wizard. Still needs a lot of polish. 2010-10-29 18:41:49 +00:00
David Sansome fb224608ae Add a rating widget, use it in the smart playlist dialog, refactor the playlist delegate to use it. 2010-10-26 19:59:55 +00:00
David Sansome 9b5b4ef4c6 Make the remove button work in smart playlist search terms 2010-10-26 19:03:23 +00:00
John Maguire 6c5ce58eda Better check for MS-WMSP. 2010-10-25 12:19:36 +00:00
John Maguire cc782430cf Fix MS-WMSP streams.
Fixes issue #912
2010-10-25 12:14:28 +00:00
David Sansome f2100189cc Oops, forgot to add this file 2010-10-25 07:39:35 +00:00
David Sansome 5d9e43bc14 Add a new smart playlist wizard. Doesn't do anything yet except look pretty. 2010-10-24 23:46:05 +00:00
David Sansome f8fd0e578c Support dragging a smart playlist into a playlist 2010-10-24 16:40:19 +00:00
David Sansome a2595025b8 Give icons to the items in the playlists list 2010-10-24 16:08:40 +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 87ce2f6ee2 Use the PlaylistItemPtr typedef in more places 2010-10-24 15:34:47 +00:00
David Sansome 1e3c459e7d Don't show the artist image widget if there are no images 2010-10-23 23:44:16 +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 b35732a585 Drop the mouse hover effect on the ratings column when the mouse enters the header 2010-10-23 23:30:38 +00:00