Commit Graph

375 Commits

Author SHA1 Message Date
kiselev-dv f7ebeb53da Stop after each track 2015-05-22 18:11:58 +05:00
John Maguire e899598967 Revert "Add stop after each song repeat mode" 2015-05-22 11:33:59 +01:00
kiselev-dv a3bf9475a9 Rename One by One repeat mode 2015-05-19 09:56:46 +05:00
kiselev-dv 864d4162d3 Add stop after each song repeat mode 2015-05-12 14:05:46 +05:00
Martin Babutzka 258ae281d8 IDv3 tag lyrics support.
Squashed the following commits:

5c723ad commit: Fix: Includes alpha sort
15ac350 commit: Fix: Updated Database::kSchemaVersion to 49.
767a26a commit: Fixed small code style issue. Added schema-49 to data.qrc instead schema-48
bf6aa64 commit: fixup! Modified async handling of CollapsibleInfoPane as recommended by Andreas. Display of IDv2 tag lyrics works now.
c1f97e9 commit: fixup! Added support to read/display the ID tag lyrics in MP3 files:
c946b1d commit: Added support to read/display the ID tag lyrics in MP3 files:

-Added schema to the database to store it
-Added readers/writers for ID tags
-Added readers/writers for the database to the song class
-Added the taglyricsinfoprovider to show the lyrics in songinfo
2015-04-10 21:05:07 +02:00
John Maguire e5508ed53c Remove check for NSUserNotification support. 2015-02-18 17:22:01 +01:00
Fletcher Dostie 5fc4be803b Add Now Playing widget option: No Song Details 2015-01-26 13:11:19 -05:00
Krzysztof Sobiecki c4d150d3e0 Add m4b support, only for non-drm files 2014-12-25 01:12:15 +01:00
Andreas 38c51508f2 Added a preference to disable the pause notification. Fixes #2450. 2014-09-16 12:54:35 +02:00
alecksphillips 843029b334 Changes as requested
Removed unnecessary () and changed to hypnotoad_.get()
2014-06-24 11:17:46 +01:00
alecksphillips a9c944e42a Added left-click to show fullsize cover on NowPlayingWidget.
This intuitively mirrors the behaviour of clicking an image in the Artist Info page
2014-06-22 18:18:23 +01:00
David Sansome e72cd6648a Set a minimum height on the equaliser sliders. Fixes #4380 2014-06-01 20:45:14 +10:00
Mark Furneaux b76af5f792 Increase update rate of track slider
Increases the refresh rate of the track progress bar to 25fps.
This looks much better with moodbars than the previous 1fps.
All the common code that use to run at 1fps still retains that
rate so the overhead due to this is negligible.
2014-05-19 11:51:40 -04:00
Mark Furneaux 7976ad2d3c Initialize fit_width_ 2014-05-17 16:35:52 -04:00
Mark Furneaux 8269dc8613 Set text size on now playing widget
In removing the background colour I accidentally removed the text size style.
This edit re-adds it so the size is uniform against all modes.
2014-05-15 18:39:08 -04:00
Mark Furneaux 971b8ea137 Use UI background colour when in fit width mode
When in fit width mode with the details below the artwork,
drawing the black background is out of place. This uses the ui colour
making it less obtrusive.
2014-05-15 16:39:32 -04:00
Mark Furneaux 1f8fa45da0 Add ability to fit now playing cover to width
Some people seem to want to have a way of enlarging the now playing
widget cover when in large mode to get rid of the black bars on the sides.
This patch adds an option in the context menu which allows the cover to
fill the width of the panel when either large mode is enabled.
2014-05-15 16:02:46 -04:00
Mark Furneaux 20be94ee51 Change height on details change
When the details change, the height is updated so if the details
now span more or fewer lines we can accompany that
2014-05-14 22:10:39 -04:00
Mark Furneaux 9d118345c0 Add placeholder text for safety
Just to make sure that details_ has the correct height when initializing
2014-05-14 22:06:02 -04:00
Mark Furneaux eb0b53aa96 Add new now playing widget mode
In an attempt to satisfy many users, I have added another mode to the
now playing widget. This shows the large cover art however it draws the song details
below the artwork, without the gradient that everyone seems to have a problem with.
This is just an option and all the original functionality is unchanged.
2014-05-14 19:07:53 -04:00
David Sansome 98b6b6f906 Don't use italic text anywhere - Arabic text doesn't have italics. Fixes #4329 2014-05-11 20:42:49 +10:00
Andreas c04eb3da19 Only search for covers automatically if artist & album is filled. 2014-05-07 21:17:33 +02:00
John Maguire 712d8ecd8a Remove Growl support. 2014-04-07 14:54:10 +02:00
Andreas d397f711fe Better placeing of the loading icon when automatic cover loading is activated. 2014-02-22 21:27:58 +01:00
Arnaud Bienner faaa75cb61 Few style fixes + avoid unneeded copies 2014-02-12 22:11:28 +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
Krzysztof A. Sobiecki 0ecf1e76a6 Reformat done with clang-3.5 svn200967 2014-02-07 17:08:31 +01: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
John Maguire b96ec7555a Reformat all Objective-C++ files with clang-format.
clang-format -style=Google -i src/*/*.mm
2014-01-30 14:54:51 +01:00
David Sansome 7a9e5b553b Set a lower minimum column size in the playlist again. Fixes #201 2014-01-20 22:08:43 +11:00
David Sansome cfb8fc8fbc Merge pull request #4125 from Fitoschido/patch-1
Remove font customizations.  Fixes #4082
2014-01-20 02:22:43 -08:00
Arnaud Bienner a700bea095 Revert "Set padding-right correctly instead of moving the clear icon"
This reverts commit 5c05745985.
2014-01-18 00:23:07 +01:00
Arnaud Bienner b2f16b316e Revert "Oops"
This reverts commit b716f802f3.
2014-01-18 00:22:46 +01:00
Adolfo Jayme Barrientos 9642896af6 Remove font customizations
* Should respect whatever font the user has set.
  (“Respect the user’s settings by always using the system font, sizes, and colors.” http://msdn.microsoft.com/en-us/library/windows/desktop/aa511282.aspx)
* Courier looks odd and thin (a11y issue #4082).
2014-01-17 11:44:08 -06:00
ArnaudBienner bf35df140a Merge pull request #4094 from Tatsh/playback-counter-font
Revert "Update playback counter font."
2014-01-17 05:01:30 -08:00
Arnaud Bienner b716f802f3 Oops 2014-01-12 21:00:41 +01:00
Arnaud Bienner 5c05745985 Set padding-right correctly instead of moving the clear icon 2014-01-12 20:50:03 +01:00
Arnaud Bienner 3838bd7bd7 Change a bit the LTR logic (move the clear button also when editing/removing the text 2014-01-12 17:40:28 +01:00
David Sansome 7c1dc5d6cf Merge pull request #4102 from Tatsh/fix-edittagdialog-rtl
In the tag editor, make the reset button appear on the left side for RTL
Fixes #2673
2014-01-11 22:39:24 -08:00
Andrew Udvare 773258af99 Both cases move the clear button to the same position 2014-01-11 12:56:39 -08:00
Andrew Udvare a11270f749 Use isEmpty() instead of length() 2014-01-11 12:48:52 -08:00
Andrew Udvare f201a9925b Remove trailing semicolon 2014-01-11 05:13:28 -08:00
Andrew Udvare 59f033a583 Make is_rtl()/set_rtl() methods private 2014-01-11 04:01:08 -08:00
David Sansome fecdae0be3 Add mp2 to the list of extensions shown in the files tab. Fixes #4103 2014-01-11 22:47:35 +11:00
Andrew Udvare 71aeda07f7 Formatting 2014-01-11 03:46:15 -08:00
Andrew Udvare d46e0bacc6 Test for string length 2014-01-11 03:45:45 -08:00
Andrew Udvare 509a6af788 In the tag editor, make the reset button appear on the left side for RTL text; #2673 2014-01-11 00:45:13 -08:00
Andrew Udvare d48ec046a6 Revert "Update playback counter font."
This reverts commit 55b0d00e02.
2014-01-09 21:16:35 -08:00
John Maguire 55b0d00e02 Update playback counter font.
Fixes #4082
2014-01-09 15:41:51 +01:00
Mattias Andersson b0e6062a4a Fix comments and reduce translator's burden. 2014-01-07 11:44:19 +01:00
Mattias Andersson 4cb3775366 Show an OSD notification when 'Stop after this track' is toggled 2014-01-06 14:25:04 +01:00
Andreas 98ad9dbda6 Add possibility to download album covers automatically when playing a track without one. To activate: right click on now playing widget and select "Search automatically". 2013-12-30 23:50:57 +01:00
Andreas 00fd9b4724 Androids like kittens, too 2013-12-22 15:16:42 +01:00
Arnaud Bienner 9bf5690671 Use mouseReleaseEvent instead of mousePressEvent
Now, tabbar's mouseReleaseEvent will not be executed if we did something. This prevents middle-click to unstar a playlist, then remove it, with the same click.
Should prevent users to accidentaly loose their playlists.
2013-07-27 19:17:09 +02:00
Mateusz Kowalczyk ff71138079 Change file deletion question dialogs to warnings. 2013-06-01 16:23:37 +10:00
Arnaud Bienner 94a70d61b9 Save playlist' id instead of tab's id in favorite widget, so we don't have to update it when tab are moved 2013-05-12 23:36:32 +02: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 dac22dbd72 Explicitly cast scoped_ptrs to bool. Fixes issue 3570. 2013-04-15 21:41:54 +10:00
Arnaud Bienner bc5aa4055c Show a tooltip for sidebar tabs: only when needed for large side bar, always in the other cases, as I guess text will be elided most of the time.
Update issue 1202
This work around this issue a bit.
2013-04-01 17:54:33 +02:00
Arnaud Bienner 2081c30893 Revert "Show tooltips in the sidebar only in Tabs and IconsOnly modes"
This reverts commit 2dd2b615ef.
2013-04-01 16:48:21 +02: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
Mateusz Kowalczyk 7f2c17a0b7 Add track rating/score to OSD.
Fixes issue #2586
2013-02-26 16:33:05 +01:00
John Maguire 9e70fdf0c3 Add .mka to file extensions.
Fixes issue #2569
2013-02-06 17:27:13 +01:00
John Maguire ba8d382101 Add .oga to file extensions.
Fixes issue #3180
2013-02-06 17:03:11 +01:00
Martin Brodbeck d05041dfa1 Add support for Opus tags. 2013-01-26 11:18:24 +00:00
David Sansome 351a49e2b4 Elide the fancy sidebar text on the right instead of in the middle. Fixes issue 3335. 2012-12-25 13:10:10 +11:00
John Maguire 340e6dabce Use notification center on OS X when available. 2012-09-13 16:15:28 +02:00
David Sansome 0a4b6aec5c Fix a crash on exit when gnome accessibility bits are enabled. 2012-07-17 18:52:12 +01:00
David Sansome df25f6291f On Windows, don't activate the pretty OSD when it is first shown and
don't show it in the taskbar.
2012-07-15 14:46:00 +01:00
David Sansome ed5b1d787b Remove the tooltip flag on the pretty OSD on Windows, to remove the
drop-shadow that was added to tooltip windows in Qt 4.8
(QTBUG-13276).  Fixes issue 3017.
2012-07-15 13:23:14 +01:00
John Maguire 6b87318710 Revert "Typedef QSearchField to old LineEdit on non Mac, and make it compatible with QSearchField"
This reverts commit 59517f5b4e.

Update issue 3047
Status: Accepted
Breaks the mac build. We should do a proper fix for this.
2012-07-12 14:04:29 +02:00
Arnaud Bienner 59517f5b4e Typedef QSearchField to old LineEdit on non Mac, and make it compatible with QSearchField
Fixes issue 3047. (for now)
2012-07-10 00:44:05 +02:00
Arnaud Bienner c57f58862f Forward some events from QSearchField's internal lineEdit to QSearchField, so we can be aware of some events (like getting/losing focus).
Implemented for non-mac; something certainly still needs to be done for Mac
2012-07-02 00:49:37 +02:00
Arnaud Bienner 124d4e6a59 Always display "did you mean" widget in top of all windows.
Also, update its width to the text it should displayed
2012-07-01 23:55:54 +02:00
John Maguire 20d740f385 Port global search & album cover search to QSearchField and remove MacLineEdit. 2012-06-28 11:40:13 +02:00
John Maguire c62e996607 Fix come compile warnings from Clang 3.1 2012-06-04 17:44:01 +02:00
David Sansome abdc6d8844 Add moodbar settings to the settings dialog 2012-05-27 23:56:40 +01:00
David Sansome b03563f317 Make it possible to compile out moodbar support 2012-05-27 21:33:05 +01:00
David Sansome e3cfd64764 Render the moodbar data in the slider widget, and write .mood files alongside music files. 2012-05-25 22:02:10 +01:00
Martin Herkt d34c6e6475 Fix pretty OSD transparency
With certain widget styles (such as Bespin), the pretty OSD’s background
would not be fully transparent. Fix this by setting the widget’s
background color to “transparent”.

Fixes issue #2907
2012-05-01 16:56:46 -07:00
David Sansome eed3a57af8 Show thumbnails of album art in the tray icon tooltip instead of full sized images. Fixes issue 2844 2012-04-13 14:28:09 +01:00
Martin Spacek 77789aba41 Use 16x16 icons in the file view instead of 22x22. Fixes issue 2852 2012-04-13 14:19:06 +01:00
Arnaud Bienner 29cfe20160 Use QPalette::HighlightedText instead QPalette::Text for track slider popup so slider's text color really contrast with slider's background color.
Fixes issue 1757.
2012-03-20 23:00:37 +01:00
Arnaud Bienner 627ae372d4 Better check resizeEvent' size. Otherwise, the nowplayingwidget isn't always resized (even if it should), particulary at startup, when starting playing 2012-03-19 20:42:19 +01:00
David Sansome 69779374c2 Fix a funny fading bug in the podcast info widget that would occur because a ResizeEvent was being sent with oldSize() == size(). 2012-03-12 21:12:01 +00:00
David Sansome 204f7acbfa Merge branch 'podcasts'. Fixes issue 44 2012-03-12 19:40:31 +00:00
John Maguire d819c88ff8 Fix crash on exit on Mac.
Fixes issue #2661
2012-03-12 18:11:10 +01:00
David Sansome f16fc8867e Allow podcasts to be added through the normal SongLoader mechanism (dragging to the playlist, on the commandline, "Add Stream", etc.) 2012-03-11 17:57:15 +00:00
David Sansome c204dd31fb Don't crash when double clicking in the Add Podcast dialog 2012-03-10 23:38:54 +00:00
David Sansome 1abf059d16 Add a Podcasts settings page and the start of some gpodder.net syncing 2012-03-09 15:26:38 +00:00
David Sansome 3a88d8fcda Fade between podcast info screens a bit more nicely 2012-03-06 18:40:17 +00:00
David Sansome bacef04405 Refactoring: remove a couple of the AlbumCoverLoader instances and instead use a shared CurrentArtLoader. 2012-02-26 14:40:51 +00:00
David Sansome 48f15c9fc7 Refactoring: instead of passing individual pointers to useful core classes (like TaskManager or LibraryBackend) to each class that uses them, pass one singleton-like Application instance everywhere. 2012-02-26 14:40:51 +00:00
Alan Briolat 04805de5c6 Add %filename% as possible custom OSD variable. Fixes issue 2648 2012-02-02 19:31:15 +00:00
David Sansome 799c341dc5 Add .mka as well 2012-02-01 20:58:44 +00:00
John Maguire 3e65d3d5f0 Add ScopedNSAutoreleasePool from Chromium. 2012-01-31 13:54:03 +01:00
David Sansome 2cb61908a9 Add .ape and .wv files to the file view filter, and use this same list in the Open Music dialog. Fixes issue 2533 2012-01-29 20:10:00 +00:00