Commit Graph

76 Commits

Author SHA1 Message Date
Mark Furneaux d28a318437 Clang format 2018-04-14 16:57:06 -04:00
Mark Furneaux 3626d84964 Add play next from library 2018-03-18 22:44:00 -04:00
kleinfreund 2555595ce0 Determine operator enum instead of comparing with magic numbers 2018-02-12 19:13:36 +00:00
kleinfreund 4ab6f359d5 Smart Playlists: Add empty/not empty operators 2018-02-12 17:59:43 +01:00
Thomas Nilefalk 63e90791a4 Make the initial SmartPlaylistQuerySearchPage vertically resizeable, somewhat (#5799)
The outmost QWidget had vsizetype="Fixed", changed that to "Preferred" made the
preview window take up a small amount of resize. This made it possible to resize
the window a little at least.
2017-07-25 14:35:06 +01:00
Mattias Andersson 516391a599 Urlencode file names in smart playlists (#5441) 2016-07-13 17:56:01 +01:00
Nick Lanham d022f974a1 Add "Smart Playlists" for subsonic
Notes:
- These playlists allow access to the subsonic feature of pulling new, frequently played, and so on albums.
- See: http://www.subsonic.org/pages/api.jsp#getAlbumList for the subsonic description
- The subsonic api is inherently album oriented.  Therefore at the moment the "count" argument for GenerateMore is used as the number of albums to pull, which hopefully isn't a problem.
- Could be made more efficient by multi-threading the fetch of the songs for each album
2015-11-30 22:13:37 -08:00
John Maguire f300946c81 Remove most usages of QFutureWatcher 2015-11-27 14:28:12 +00:00
narunlifescience dd953fd86c check custom icon location, then system theme & then fallback theme
icons added & replaced
2015-10-13 22:35:49 -05:00
Eduardo Sánchez Muñoz acef48df5d Support showing original year tag on the playlist. 2015-06-30 19:25:38 +02:00
Chocobozzz f5d0759559 Add ability to add a search term with tab and space in the smart
playlist window
2015-06-17 13:57:51 +02:00
Krzysztof Sobiecki fa9ea6ec5f Fix compilation with moved files in internet/ 2014-12-18 23:35:21 +01:00
John Maguire 5146bcdebc Some more NULL -> nullptr conversions. 2014-02-21 17:30:46 +01:00
John Maguire 192b60d965 Use nullptr as parent parameter default everywhere 2014-02-10 16:03:54 +01:00
John Maguire 3323c2d094 Convert all instances of foreach() to a C++11 for
find ext src -name '*.cpp' -exec \
    sed -i -e 's/foreach(\([^,]\+\),/for (\1 :/' {} \;
2014-02-10 14:43:32 +01:00
David Sansome 7b93630b03 Resize the sort order combobox when its contents changes. Fixes #4173 2014-02-09 16:43:43 +11:00
John Maguire bebd781fdf Reformat all non-3rd-party C/C++/Objective-C++.
Command line:
find src ext -regex '.*\.\(h\|cpp\|mm\)' -exec clang-format -i
 -style='{BasedOnStyle: Google, DerivePointerBinding: false}' {} \;
2014-02-07 16:34:20 +01:00
John Maguire 71893e4847 Use nullptr instead of NULL everywhere. 2014-02-06 17:29:59 +01:00
John Maguire d309d4ab27 Use c++11 instead of boost where possible. 2014-02-06 16:51:39 +01:00
Arnaud Bienner 5e6821dead Add a 'favorite' widget to playlist tab, and keep in playlistlist container only favorite playlists, instead of all playlists. 2013-05-11 23:18:03 +02:00
David Sansome 7677b386bc Reorder these enum values. Fixes issue 3599. 2013-04-15 21:56:33 +10:00
Uwe Klotz a6d3b48231 Extend tag support: performer, grouping
The transaction handling while upgrading the database schema had to be revised.
Furthermore some QSqlQuery statements needed to be finished properly.

Fixes issue 2556
2013-03-10 18:16:03 +11:00
David Sansome 14c07cbaed In the smart playlist wizard, only repopulate the op combo box when changing to a field of a different type. 2012-12-10 19:44:41 +11:00
David Sansome 82575f233f Add the "not equals" operator to all fields in the smart playlist wizard. Fixes issue 3329 2012-12-10 19:44:41 +11:00
David Sansome eed126f7cd Fix the background color of the query term scroll area on OS X 2012-11-04 18:54:35 -08:00
David Sansome 5bdfa1573f Make the Remove search term button on the smart playlist dialog a little less ugly on OS X 2012-11-04 18:54:35 -08:00
David Sansome d092c5a3ce Remove the ugly empty space on the left side of the smart playlist dialog on OS X 2012-11-04 18:54:35 -08:00
David Sansome 561ac96e89 Fix a crash when deleting a search term from the smart playlist wizard on OS X. 2012-11-04 18:54:34 -08:00
David Sansome ba2f4ddedc Fix a crash in the smart playlist preview when the moodbar column is enabled 2012-05-30 11:06:25 +01:00
Jonathan Horvath fdf10af94a Display smart playlist query terms in a scrollable list instead of squishing them together when there are lots. Fixes issue 1065 2012-01-15 15:44:18 +00:00
Tyler Rhodes ded8e5f6f0 Refactor "Radio" files into "Internet" files. 2011-07-15 13:27:50 +00:00
David Sansome 9d1fdeb87d Don't included deleted songs in smart playlists. Fixes issue 1998 2011-06-17 20:16:45 +00:00
David Sansome e2c6526840 Make dynamic playlists use the limit specified in the smart playlist dialog. Thanks google@robbertkrebbers.nl. Fixes issue 1082. Fixes issue 1192. 2011-05-14 13:44:10 +00:00
Andrea Decorte 56c8567fc7 Added missing NOT conditions in smart playlists. Fixes issue 1836 2011-05-04 18:47:48 +00:00
David Sansome 06852aaeb7 Show spotify search results in a separate playlist tab rather than in a tree in the sidebar. 2011-04-28 17:50:45 +00:00
Andrea Decorte 4d19917b05 Length in smart playlists works again. Fixes issue 1796 2011-04-24 19:07:01 +00:00
Andrea Decorte c6c4902d3f Added two new options for date queries in smart playlists. Fixes issue
1141
2011-04-24 17:52:16 +00:00
David Sansome 3eedc916ad Add a new logging system 2011-04-22 16:50:29 +00:00
David Sansome 2ca38cbe99 Don't turn off dynamic mode when adding an empty smart playlist. Fixes issue #1526 2011-03-05 13:01:08 +00:00
Paweł Bara be5eb7a9fb smart playlists: 'on date' (equals for dates) operator was too precise (fixes issue #1174) 2011-01-20 18:55:28 +00:00
Paweł Bara 3b7ae72f82 smart playlists are incorrectly filtering ratings (fixes issue #1113) 2011-01-20 18:35:38 +00:00
David Sansome 135b32642e Refactor all the code that handles adding items to the playlist - whether it be by a context menu item, double clicking in a view or dragging. Everything now uses the models' mimeData() instead of duplicating the same code everywhere. 2011-01-10 22:26:13 +00:00
David Sansome 8bc23a4d66 Keep hold of the generator object while updating the smart playlist preview. Fixes issue #1139 2010-12-19 14:37:25 +00:00
Paweł Bara 4563c2dbd9 you can now use "file path" attribute when creating dynamic playlists (Fixes issue #1073)
some more MPRIS 2 corrections (Updates issue #1058)
2010-12-15 15:50:22 +00:00
David Sansome 42f1bef53f Hide the first page in the smart playlist wizard 2010-12-04 17:36:10 +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 421c04b6ec Do the limit clause in dynamic playlists properly 2010-11-27 12:24:47 +00:00
John Maguire eca1704384 Sort of working Jamendo dynamic playlist. 2010-11-26 15:16:48 +00:00