Arnaud Bienner
4d58e75e0a
Using library item's name instead of generic text 'Playlist' when creating new playlist by DnD from the library, or when using 'Open in new playlist'
2011-02-14 23:06:36 +00:00
Paweł Bara
85b876d112
fixed broken RemoveDuplicates script
...
maybe fix the issue #1444
2011-02-14 17:44:15 +00:00
David Sansome
f801252e3d
Refactor Player and PlaylistManagers to have interfaces and add more MPRIS1 tests
2011-02-13 18:37:45 +00:00
David Sansome
507c5e2632
Change the fields in Song from seconds to nanoseconds
2011-02-13 18:34:30 +00:00
Arnaud Bienner
e6b59de56b
Corrected center on last played track
2011-02-11 20:16:42 +00:00
Arnaud Bienner
79159700fc
Center on last played song when restoring playlist. Fixes issue 410.
2011-02-10 20:55:19 +00:00
Arnaud Bienner
0544cfa90a
Sort playlist by ui_order, to keep playlist ordered even if the user re-order them. Most of the code was written, I can't figure out why this code was missing... Anyway, fixes issue 1068
2011-02-10 20:50:57 +00:00
Paweł Bara
a6b6147c9d
drag and drop to empty playlist-tab-bar's space in order to create a new playlist with the dragged items (fixes issue #1431 )
2011-02-09 18:48:31 +00:00
Paweł Bara
9a9d8ad177
don't let invalid CUE related media files into library (invalid == those which were not recognized by TagLib)
...
better logging of erroneous DB queries (error + query + bound values instead of just error)
2011-02-05 13:43:04 +00:00
Paweł Bara
a0dfaf89fb
be consistent - if we're letting playlist to decide what songs are valid then let's also restore everything it's loaded when Clementine restarts (this actually fixes some problems with a CUE I have)
2011-02-04 17:41:45 +00:00
John Maguire
c680c55379
Fix a couple of warnings found by Clang.
2011-02-04 11:17:31 +00:00
Arnaud Bienner
74a878be41
Minor modication thanks to David comment
2011-02-02 23:27:55 +00:00
Arnaud Bienner
e8720f5bda
Display item info in playlist view only if text displayed is elided
2011-02-02 22:58:19 +00:00
Arnaud Bienner
05a4cae370
Add track seeking from playlistview
2011-01-26 23:20:56 +00:00
Paweł Bara
a575dac451
restoring CUE related files in playlist after Clementine's restart (fixes issue #68 )
2011-01-19 15:36:40 +00:00
Paweł Bara
a883630ab3
duplicate remover script ( fixes #21 )
...
fix a scripting crash when one native object was registered more than once
veto mechanism for inserting songs into playlist
2011-01-16 23:46:58 +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
dc619eb437
Start refactoring the RadioModel to inherit from QStandardItemModel
2011-01-09 18:27:41 +00:00
David Sansome
7a089faa29
Fix a crash that ocurrs when something calls GetCaps over dbus before the playlist is initialised, and when a repeat mode is set.
2011-01-07 19:16:45 +00:00
David Sansome
ca032eb445
Add an "Enqueue to playlist" menu item. Thanks bendarb. Fixes issue #980
2010-12-29 15:08:43 +00:00
Paweł Bara
da5f941333
consider .cues when scanning the library
...
persist the new 'beginning' marker of songs
fixed a bug where %allsongstables script would not update the attached databases
2010-12-28 15:36:01 +00:00
David Sansome
9b82ecbb72
Add tag completers for albumartist, composer and genre, and load completion models in background threads
2010-12-25 13:11:09 +00:00
David Sansome
95ef57cf1e
Add column text alignment options to the playlist header menu. Thanks brunciter!
2010-12-22 10:45:14 +00:00
John Maguire
4e2d82f3fb
Fix mac build.
2010-12-20 14:49:47 +00:00
David Sansome
c8520021d7
Start of a new edit tag dialog. Lots of things don't work and it doesn't actually save tags yet (so it's about as useful as before).
2010-12-19 23:40:36 +00:00
David Sansome
afdf02e37b
Hide the score and comment columns by default
2010-12-19 14:27:07 +00:00
David Sansome
05a1bf6e37
Make the clear button a part of the search textbox. Fixes issue #1071
2010-12-18 20:32:05 +00:00
David Sansome
85d1f16c5e
Fix a crash when removing the active playlist when it is the first playlist. Fixes issue #1097
2010-12-18 19:37:29 +00:00
Paweł Bara
5b2625f420
fixes a crash when trying to rate the current song if there's none (rate using global shortcut)
2010-12-18 17:41:03 +00:00
David Sansome
28fdb147d8
Make last.fm optional. Thanks volkov0aa. Fixes issue #49
2010-12-18 17:28:02 +00:00
Paweł Bara
32f9825794
global shortcuts for rating songs (Fixes issue #1089 )
...
renaming *index* methods in Playlist to *row*
2010-12-17 00:21:20 +00:00
John Maguire
b9e642c864
Add more close shortcuts.
2010-12-14 17:55:08 +00:00
John Maguire
74b745366b
Add keyboard shortcut to close queue manager.
2010-12-14 17:43:03 +00:00
David Sansome
d98859eabb
Support rating multiple songs at once. Fixes issue #1017
2010-12-11 14:53:43 +00:00
David Sansome
23f2530f59
Prevent the last playlist column from being hidden, and check that at least one is visible on startup. Fixes issue #991
2010-12-11 14:26:49 +00:00
David Sansome
08b2bcc816
Always write URLs in XML based playlists, instead of URLs of relative paths. Also load playlist items from the library if possible. Fixes issue #1054
2010-12-11 10:35:07 +00:00
Paweł Bara
49f46bced8
playlists now emit PlaylistChanged also when their ordering changes (Updates issue #374 )
2010-12-09 20:43:06 +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
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
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
4c72ef4177
Treat \r and \n in comment fields as newlines
2010-12-05 13:41:40 +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
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
858a8650b8
Create the correct type of playlist item from query generators
2010-11-27 19:23:52 +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
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
927937e236
Save and restore Jamendo playlist items properly. Add a Jamendo context menu.
2010-11-25 22:04:23 +00:00
David Sansome
c43a06c04e
Support drag&drop of icecast streams to the playlist
2010-11-24 19:25:41 +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
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
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
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
John Maguire
28a9454044
Compiler warning fix for Fedora 14 (GCC 4.5.1).
2010-11-03 21:19:26 +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
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
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
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
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
b35732a585
Drop the mouse hover effect on the ratings column when the mouse enters the header
2010-10-23 23:30:38 +00:00
David Sansome
f18f935b67
Draw the background on the ratings column properly when using QGtkStyle
2010-10-23 23:27:15 +00:00
David Sansome
3a32c41c7e
Update the rating stars in the currently playing item properly, and the fix the bug that would cause the currently playing item pixmap cache to not be updated with the whole row.
2010-10-23 20:58:20 +00:00
David Sansome
eba3332a5d
Better looking star pixmaps for the ratings column, and improve the performance of drawing the stars.
2010-10-23 16:56:54 +00:00
David Sansome
acd9b2e136
Only react to *left* mouse clicks on the ratings column
2010-10-17 22:35:52 +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
f55ffe15d6
Format the last played column more nicely
2010-10-17 20:53:15 +00:00
David Sansome
0a42a9efb5
Don't ever restructure or reset the library model when statistics on a song are changed.
2010-10-17 19:34:45 +00:00
David Sansome
bbe1250c31
Add skip count and last played columns to the playlist, draw the background behind the rating column properly, hide rating and statistic columns when upgrading from an old version.
2010-10-17 18:21:30 +00:00
David Sansome
dd4afe9b06
Add rating and play count columns to the playlist
2010-10-17 17:10:19 +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
56d72a00bf
Try the next UI experiment - wide buttons down the side like Qt Creator
2010-10-01 19:27:01 +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
7a681c1198
Remember the selected playlist items when switching between playlist tabs. Fixes issue #758
2010-09-25 15:30:47 +00:00
John Maguire
71bfbd9aaa
Use per pixel scrolling on mac.
...
Fixes issue #738
2010-09-13 18:33:18 +00:00
John Maguire
9a35f0fc71
Disable removing the active playlist.
...
Fixes issue #640
2010-09-08 12:30:19 +00:00
David Sansome
c83394b6b4
Work around a bug introduced in Qt 4.7's QGtkStyle that broke our custom QTreeView::drawRow to draw the current track indicator in the playlist. Fixes issue #706
2010-09-06 22:49:15 +00:00
David Sansome
4235c0f49d
Fix playlist search - I'm looking at you, John. Fixes issue #676
2010-09-02 19:17:35 +00:00
John Maguire
214d77bc0e
Fix test and fix song loader infinite loop.
2010-08-31 21:24:57 +00:00
John Maguire
ad16a8b1ba
Load local files from the DB if we already have them.
2010-08-31 19:45:33 +00:00
David Sansome
e940f9c5d2
Ignore case when sorting the playlist. Fixes issue #650
2010-08-29 16:31:09 +00:00
David Sansome
1d5ea90b98
Use a locale aware string sort when sorting the playlist. Fixes issue #668
2010-08-29 11:28:14 +00:00
John Maguire
d87733b005
Use Mac search widget for library & magnatune.
2010-08-28 19:29:20 +00:00
David Sansome
0c5d754135
Fix the queue manager
2010-08-28 19:17:39 +00:00
David Sansome
8306ddc90b
Convert paths to native windows seperators in many places throughout the UI
2010-08-28 19:07:23 +00:00
David Sansome
dbc1bf5987
Set a better default column layout, and use a better column resizing algorithm
2010-08-27 13:15:32 +00:00
David Sansome
88a48a6bdf
Add an option to make columns in the playlist stretch to fit the window width like in Amarok 1. This option is enabled by default. Fixes issue #23
2010-08-27 12:42:06 +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
b450545a63
Disable focus rectangle on Mac for playlist & library views.
2010-08-26 12:22:13 +00:00
John Maguire
5689b39f47
Hide playlist filter clear button on mac.
2010-08-25 21:13:57 +00:00