Commit Graph

2497 Commits

Author SHA1 Message Date
Strawbs Bot 737fbeccde Update translations 2021-10-19 01:02:20 +02:00
Jonas Kvinge ec17dc9830 TagReaderClient: Sort functions 2021-10-18 23:15:50 +02:00
Strawbs Bot 0f710ea3be Update translations 2021-10-18 01:01:58 +02:00
Jonas Kvinge bd4eec4527 Song: Only merge user set playcount and rating if set
Fixes #790
2021-10-18 00:39:26 +02:00
Jonas Kvinge b1f70982bf Make playlist column text elided
Fixes #801
2021-10-17 02:33:26 +02:00
Strawbs Bot 6128fb4f19 Update translations 2021-10-17 01:10:41 +02:00
Jonas Kvinge ee915254e7 Song: Sort code in Song::ToProtobuf() 2021-10-17 00:34:33 +02:00
Jonas Kvinge d835d4aae6 Add rating to Song::InitFromProtobuf and Song::ToProtobuf 2021-10-17 00:27:31 +02:00
Jonas Kvinge 3d3aacdcb1 InternetSearchView: Change popupmode for toolbutton to QToolButton::MenuButtonPopup 2021-10-16 22:41:14 +02:00
Jonas Kvinge c3ce6cff72 GstEngine: Move CreateElement() to GstEnginePipeline 2021-10-16 21:28:56 +02:00
buckmelanoma 90744f2965 Fix filter menu button arrow overlap
Change collection filter menu button's popupMode to MenuButtonPopup to prevent arrow overlapping with button icon
2021-10-16 13:21:15 +02:00
Strawbs Bot 2edf12e4cd Update translations 2021-10-13 01:16:38 +02:00
Jonas Kvinge c946c1d1c4 Player: Don't preload next song while playing module music
Workaround bug in GStreamer

Fixes #787
Fixes #772
2021-10-12 22:59:23 +02:00
Jonas Kvinge bb5fe5a6d1 Add Song::is_module_music() 2021-10-12 22:58:39 +02:00
Jonas Kvinge 814d2fa9fc MainWindow: Use Song::PrettyTitle() in debug message 2021-10-12 22:57:59 +02:00
Jonas Kvinge 10d89cb6a6 FileView: Add module music formats to file filter 2021-10-12 21:44:30 +02:00
Jonas Kvinge a6569d09ac Read XM and IT module music 2021-10-12 21:43:46 +02:00
staticssleever668 b38ad81928 Remove use of C-style casts 2021-10-12 18:50:17 +02:00
Jonas Kvinge 637772f8f0 GstEnginePipeline: Convert S24_32LE for analyzer 2021-10-12 18:46:12 +02:00
Jonas Kvinge 0093eb6c2c GstEnginePipeline: Refactor code 2021-10-12 18:36:58 +02:00
Jonas Kvinge f3b70d1cb2 GstEnginePipeline: Rename variable 2021-10-12 18:36:13 +02:00
Strawbs Bot 5152f57f6e Update translations 2021-10-11 01:02:01 +02:00
Jonas Kvinge e069d069d2 GstEngine: Remove unused variables 2021-10-10 21:12:31 +02:00
Jonas Kvinge fd74bbc868 Remove unused GstElementDeleter 2021-10-10 16:33:07 +02:00
Strawbs Bot 3b37aea3da Update translations 2021-10-10 01:02:39 +02:00
Jonas Kvinge 17226b524b SubsonicSettingsPage: Rename HTTP2 to HTTP/2 2021-10-09 16:38:13 +02:00
Jonas Kvinge f38b33ee50 Scrobbler: Use seconds instead of minutes for submit delay 2021-10-09 14:05:05 +02:00
Jonas Kvinge d0f1522f0d GstEnginePipeline: Use gst_bus_remove_watch to remove bus watch 2021-10-08 23:39:29 +02:00
Strawbs Bot ce3026f91c Update translations 2021-10-06 01:02:49 +02:00
Strawbs Bot da7605a234 Update translations 2021-10-03 01:08:24 +02:00
Strawbs Bot ef34199887 Update translations 2021-10-01 01:02:14 +02:00
Strawbs Bot 4636cc74dc Update translations 2021-09-29 01:03:09 +02:00
Jonas Kvinge 4cc54a2f05 PlaylistTabBar: Hide star option with clicked outside of a tab 2021-09-28 22:19:31 +02:00
Jonas Kvinge 9bd728889b PlaylistTabBar: Add right click option to star playlist
Fixes #782
2021-09-28 22:14:25 +02:00
Adam Hill d870115467 Set SmoothPixmapTransform for playing-widget and context album art display 2021-09-28 21:52:31 +02:00
Jonas Kvinge 2b445fb563 StyleSheetLoader: Cleanup code and add workaround for macOS dark theme
Fixes #778
2021-09-28 17:25:22 +02:00
Strawbs Bot 44a3bad278 Update translations 2021-09-28 01:12:34 +02:00
Jonas Kvinge 8d2615547d Add keyboard shortcut for focusing search fields
Fixes #779
2021-09-27 21:42:30 +02:00
Jonas Kvinge 3292db8b77 Add missing override 2021-09-27 21:41:45 +02:00
Jonas Kvinge 8c6ad52437 Organize: Update collection directory ID and song path immediately
Fixes #781
2021-09-27 19:30:31 +02:00
Jonas Kvinge 62e53b53f0 Replace assert with Q_ASSERT 2021-09-27 19:30:31 +02:00
Strawbs Bot 35db157617 Update translations 2021-09-27 01:22:03 +02:00
Jonas Kvinge cfb137a94b DeviceDatabaseBackend: Fix GetAllDevices() 2021-09-26 21:38:06 +02:00
Jonas Kvinge 9b4a33a612 MPris2: Remove static 2021-09-26 20:14:11 +02:00
Jonas Kvinge 918b7c1e03 Move chrono include 2021-09-26 20:06:04 +02:00
Jonas Kvinge b3826064b7 Bump device schema version 2021-09-26 18:35:03 +02:00
Jonas Kvinge acba68dab9 MergedProxyModel: Add FIXME 2021-09-26 18:34:44 +02:00
Jonas Kvinge 32ea709350 Subsonic: Turn off HTTP/2 setting by default 2021-09-26 16:50:41 +02:00
Jonas Kvinge c15dfc7c5d Subsonic: Make HTTP/2 setting visible with Qt 5.15.0 and higher 2021-09-26 16:49:53 +02:00
Jonas Kvinge 92f6a0c6c8 Add mod and s3m to filetypes 2021-09-26 16:23:02 +02:00
Jonas Kvinge 0235be538b Moodbar: Check for nullptr 2021-09-26 14:42:24 +02:00
Jonas Kvinge abf19e7a27 Moodbar: Use gst_element_link_many 2021-09-26 14:42:05 +02:00
Jonas Kvinge 1d3540dca6 Remove unused MoodbarPipeline::IsAvailable function 2021-09-26 14:41:36 +02:00
Strawbs Bot b952256988 Update translations 2021-09-26 01:02:42 +02:00
Jonas Kvinge 71868936d1 Subsonic: Use common static function CreateUrl() 2021-09-25 01:18:40 +02:00
Strawbs Bot 23ef4fb132 Update translations 2021-09-22 01:04:55 +02:00
Jonas Kvinge f74f2ca3ef Subsonic: Remove redundant null check 2021-09-21 01:36:38 +02:00
Jonas Kvinge f4f005cdd6 Subsonic: Fix auth method for URL handler 2021-09-21 01:30:01 +02:00
Jonas Kvinge 3137652280 Use ParamList 2021-09-21 01:30:01 +02:00
Strawbs Bot 88c6f0340a Update translations 2021-09-21 01:01:57 +02:00
Strawbs Bot 86146c7292 Update translations 2021-09-20 01:20:57 +02:00
Tom Kranz fad39b6d67 Store Tidal MPEG-DASH file in data uri 2021-09-19 19:56:22 +02:00
Jonas Kvinge 09a9330f3e Show error when reading or saving album covers 2021-09-19 19:31:34 +02:00
Jonas Kvinge d2d7f32c45 Add new method for updating songs based on song ID
Show status updating database.

Fixes #750
2021-09-19 15:43:36 +02:00
Tom Kranz 120b18b399 Use XSPF image elements as manually set artwork 2021-09-19 13:40:42 +02:00
Jonas Kvinge 32b9e6b73d Make error dialog larger 2021-09-18 17:12:59 +02:00
Strawbs Bot b6f90a9715 Update translations 2021-09-15 01:02:18 +02:00
Jonas Kvinge e3d0b777fc Add algorithm include 2021-09-14 22:57:09 +02:00
Jonas Kvinge 79a8450462 SpotifyCoverProvider: Fix trying to set timer to minus value 2021-09-14 22:12:28 +02:00
EmmanuelMess 1a967597e8 Fix roundings with lround() 2021-09-14 21:29:29 +02:00
Jonas Kvinge d5b0794b00 Remove unneeded `this` 2021-09-13 20:49:33 +02:00
Jonas Kvinge d78ee3d62b Fix total playlist length for songs without length 2021-09-13 20:46:55 +02:00
Strawbs Bot 03037a9a6b Update translations 2021-09-13 01:12:16 +02:00
Emmanuel 0637b65846
Fix a few narrowing conversions (#761)
* Fix narrowing conversion in album cover loader

* Fix narrowing conversions in discogs cover provider

* Fix narrowing conversions in spotify cover provider

* Add explicit conversion in moodbarbuilder

* Fix narrowing conversions in osd dbus

* Make WordyTimeNanosec use unsigned quint64

* Fix narrowing conversions in song

* Fix narrowing conversions in qobuz stream url request

* Make ConnectionInfo.msgLen use unsigned quint64

* Make AnalizerBase.timeout to signed int

* Fix narrowing conversions in album cover fetcher

* Make fht type be unsigned int

* Correct for type in blockanalizer and use std::fill where possible

* Revert "Fix narrowing conversions in song"

This reverts commit 3de291394d.
2021-09-12 21:24:22 +02:00
Jonas Kvinge e77e914f44 Escape ampersands in playlist tabs
Fixes #760
2021-09-12 21:19:58 +02:00
EmmanuelMess 68c44daef2 Fix SingleApplication static functions called from instance 2021-09-10 18:44:36 +02:00
Strawbs Bot 8ca0b54b18 Update translations 2021-09-10 01:21:33 +02:00
Jonas Kvinge 24a3ac9811 Use static QMetaObject::invokeMethod 2021-09-09 21:53:14 +02:00
Jonas Kvinge d35d3aabc3 Show error dialog for failed SQL queries 2021-09-09 21:45:46 +02:00
Strawbs Bot 9823cd25d2 Update translations 2021-09-07 01:01:55 +02:00
Jonas Kvinge 416a8c8f5d Context: Hide albums widget in constructor 2021-09-07 00:10:05 +02:00
Strawbs Bot c55bdd423e Update translations 2021-09-06 01:02:08 +02:00
Jonas Kvinge e45e202c5e Subsonic: Make network replies timeout after 30 seconds
Fixes #754
2021-09-05 21:47:00 +02:00
Jonas Kvinge 2280a30ba9 Subsonic: Minor code style fix 2021-09-05 21:46:41 +02:00
Jonas Kvinge 9ac7518156 Subsonic: Remove obsolete return 2021-09-05 21:46:16 +02:00
Jonas Kvinge 0e6dbaf71a Settings: Fix loading subsonic auth method setting 2021-09-05 21:35:21 +02:00
Strawbs Bot fe018ff8f7 Update translations 2021-09-02 01:03:13 +02:00
Jonas Kvinge 9b01e09302 GlobalShortcutsManager: Minor code fixes 2021-09-02 00:52:44 +02:00
Jonas Kvinge 3127474fd7 GlobalShortcutsManager: Fix reading settings 2021-09-02 00:52:21 +02:00
Jonas Kvinge b849edfcca GlobalShortcutsBackend: Fix type return 2021-09-01 22:37:08 +02:00
Jonas Kvinge 20a23c2868 Various cleanup to global shortcuts code 2021-09-01 21:37:11 +02:00
Jonas Kvinge 49d9ded684 Fix null pointer crash
Possible fix for #752
2021-09-01 16:37:34 +02:00
Jonas Kvinge fc57b437c2 Fix radio items leak 2021-08-31 22:45:28 +02:00
Jonas Kvinge 1ba20561ed Fix global shortcuts memory leak 2021-08-31 21:21:59 +02:00
Strawbs Bot 2c8b26e091 Update translations 2021-08-31 01:02:17 +02:00
Strawbs Bot 44aa292bb5 Update translations 2021-08-30 01:02:16 +02:00
Strawbs Bot 5273b52c31 Update translations 2021-08-26 01:04:00 +02:00
Jonas Kvinge f143efb810 Revert "Use std::as_const"
This reverts commit 0b15e29324.
2021-08-25 03:47:50 +02:00
Jonas Kvinge 978fb06349 clazy:exclude=range-loop-reference 2021-08-25 03:45:12 +02:00
Jonas Kvinge 46bd5b42fa Use 4arg connect 2021-08-25 03:08:30 +02:00
Jonas Kvinge 0b15e29324 Use std::as_const 2021-08-25 03:00:34 +02:00
Jonas Kvinge 75b6669371 Simplify return 2021-08-25 02:58:54 +02:00
Jonas Kvinge c1c34017e4 Remove get() 2021-08-25 02:58:20 +02:00
Jonas Kvinge ed08818b6f Use multi-arg 2021-08-25 02:57:57 +02:00
Jonas Kvinge 71adfc0a74 Use std::chrono_literals 2021-08-25 02:57:09 +02:00
Jonas Kvinge 336c6cdd9d Use 4arg connect 2021-08-25 02:55:00 +02:00
Jonas Kvinge 709a706853 Delete mimedata when returning early 2021-08-25 02:38:58 +02:00
Jonas Kvinge dad62faf88 Use fully-qualified parameter for signal 2021-08-25 02:36:18 +02:00
Jonas Kvinge 4b9551d27f Simplify if statement 2021-08-25 02:28:41 +02:00
Strawbs Bot 2a67bc9926 Update translations 2021-08-25 01:16:47 +02:00
Jonas Kvinge d02241d32c Fix compile with MSVC 2021-08-24 21:49:06 +02:00
Strawbs Bot 55e038d345 Update translations 2021-08-24 01:08:33 +02:00
Jonas Kvinge ea2bfbda44 Formatting 2021-08-23 21:21:08 +02:00
Strawbs Bot 086646f311 Update translations 2021-08-23 01:02:20 +02:00
Jonas Kvinge ad169ca5a5 Remove unneeded namespace prefix 2021-08-22 23:29:44 +02:00
Jonas Kvinge 671e636aef Remove some uses of auto 2021-08-22 23:27:25 +02:00
Jonas Kvinge 72d381e9ed Replace qAsConst with C++17 std::as_const 2021-08-22 23:26:53 +02:00
Strawbs Bot 1bda6633b1 Update translations 2021-08-20 01:02:15 +02:00
Jonas Kvinge 82be53224d Simplify libgpod link directories 2021-08-19 20:23:20 +02:00
Jonas Kvinge 4fc5863888 Add taglib and tagparser link directories 2021-08-19 19:17:43 +02:00
Jonas Kvinge e2d8149dcf Formatting 2021-08-19 19:17:43 +02:00
Jonas Kvinge 5f156d6bab Only read local files in SongLoader::EffectiveSongLoad 2021-08-19 19:17:43 +02:00
Strawbs Bot 816cdcf4bf Update translations 2021-08-16 01:01:43 +02:00
Jonas Kvinge ecf2c50a26 Use QX11Application with Qt >= 6.2, use QX11Info with Qt 5 2021-08-14 17:06:40 +02:00
Jonas Kvinge cecb9293f6 Add QRegularExpression::CaseInsensitiveOption 2021-08-13 23:33:41 +02:00
Jonas Kvinge 1ebfa0ad7e Song::kAlbumRemoveDisc is already QRegularExpression 2021-08-13 23:32:54 +02:00
Jonas Kvinge 35c7b57308 Allow fading when a ALSA PCM device is selected 2021-08-13 22:39:34 +02:00
Strawbs Bot 36bfeffbcc Update translations 2021-08-13 01:03:08 +02:00
Jonas Kvinge e6858719c9 Reduce network access managers 2021-08-12 23:00:42 +02:00
Strawbs Bot f2d52f83fe Update translations 2021-08-10 01:02:54 +02:00
Jonas Kvinge f1d3cadb3b Add better logging for file open and write errors 2021-08-09 23:32:26 +02:00
Jonas Kvinge 7d61d8e646 Replace C-style cast with reinterpret_cast 2021-08-09 23:32:09 +02:00
Jonas Kvinge 6ede400f3a CMakeLists.txt formatting 2021-08-07 03:02:36 +02:00
Strawbs Bot 78de45fee2 Update translations 2021-08-07 01:01:40 +02:00
Jonas Kvinge fa10384a92 Add FreeBSD to CI 2021-08-01 08:32:50 +02:00
Strawbs Bot 7e144da6b9 Update translations 2021-07-31 01:02:51 +02:00
Jonas Kvinge 54af17e7bf Remove linker hack 2021-07-30 23:01:44 +02:00
Jonas Kvinge d4a9f5bb2e Replace Iconv_LIBRARY with Iconv_LIBRARIES 2021-07-30 23:01:07 +02:00
Jonas Kvinge 7ce922b084 Simplify CMake by using macros 2021-07-30 21:17:50 +02:00
Jonas Kvinge 0c9989695a Subsonic: Use 500 albums per request
Fixes #740
2021-07-30 21:17:44 +02:00
Jonas Kvinge 88d7cb3ed5 Add MD5 token authentication for Subsonic 2021-07-30 21:16:41 +02:00
Strawbs Bot 5b7fc80f26 Update translations 2021-07-29 01:15:44 +02:00
Jonas Kvinge 553e8baa8b Fix async song load
Fixes #739
2021-07-28 22:25:33 +02:00
Jonas Kvinge 62a5031ccf Delay pause on resume playback 2021-07-23 21:54:46 +02:00
Jonas Kvinge 4abac65316 Properly disconnect PlaylistManager::AllPlaylistsLoaded on resume 2021-07-23 21:54:21 +02:00
Jonas Kvinge c6e42e1032 Reset play offset when switching song while paused
Fixes #735
2021-07-23 21:32:12 +02:00
Jonas Kvinge a353631892 Code tidy 2021-07-23 21:30:08 +02:00
Jonas Kvinge 16625b1dc7 Move some files from ext to src 2021-07-21 17:29:16 +02:00
Strawbs Bot ffba5f7d31 Update translations 2021-07-19 01:01:56 +02:00
Strawbs Bot e0bb79b2c4 Update translations 2021-07-15 01:03:31 +02:00
Jonas Kvinge 2eab763d74 Check that QIODevice::open() is successful, and explicitly call close() 2021-07-14 20:52:57 +02:00
Jonas Kvinge fab1d94d34 Delay resume playback on startup to make sure Tidal login is refreshed 2021-07-14 13:02:54 +02:00
Jonas Kvinge facf49b2b7 Spotify: Decrease login delay on startup 2021-07-14 13:02:12 +02:00
Jonas Kvinge da86b86776 Rename variable 2021-07-14 12:53:28 +02:00
Jonas Kvinge a79d9d4e77 Move beginInsertRows() 2021-07-14 12:26:48 +02:00
Jonas Kvinge d9e378211a Fix sorting of radios 2021-07-14 11:22:24 +02:00
Strawbs Bot 99fbbf70de Update translations 2021-07-14 01:03:06 +02:00
Jonas Kvinge 50a616457d Add missing const 2021-07-13 23:25:44 +02:00
Jonas Kvinge 2ad30ebe88 Add missing Qt::CaseInsensitive 2021-07-13 23:25:36 +02:00
Jonas Kvinge 68dbc29f2c Use QString::compare with Qt::CaseInsensitive to reduce allocations 2021-07-13 23:18:12 +02:00
Strawbs Bot a87863229f Update translations 2021-07-13 01:07:37 +02:00
Jonas Kvinge f39ffcb997 Simplify if condition 2021-07-12 13:45:51 +02:00
Jonas Kvinge f20bb388be Rename variable 2021-07-12 13:27:14 +02:00
Jonas Kvinge fc45015b13 Remove unused variable 2021-07-12 13:26:41 +02:00
Jonas Kvinge 7a5f047f8e Add parent to RadioMimeData 2021-07-12 13:26:20 +02:00
Jonas Kvinge 4251bee3ca Change some uses of QMap to QHash 2021-07-12 08:28:52 +02:00
Jonas Kvinge fec7419fcc Make const 2021-07-12 07:38:49 +02:00
Jonas Kvinge e8694531f6 Iterate QMap values 2021-07-12 07:34:20 +02:00
Jonas Kvinge 461491f742 Use multiarg 2021-07-12 07:33:40 +02:00
Jonas Kvinge 1d4c736cfa Initialize container to nullptr 2021-07-12 05:51:01 +02:00
Strawbs Bot 600450082a Update translations 2021-07-12 01:18:19 +02:00
Jonas Kvinge c6da0864f2 Use std::make_shared 2021-07-11 19:57:18 +02:00
Jonas Kvinge e48b7d83a3 Formatting 2021-07-11 09:49:38 +02:00
Jonas Kvinge a6742d401c Formatting 2021-07-11 07:40:57 +02:00
Jonas Kvinge 87b9a8c4c8 Use RadioPlaylistItem 2021-07-11 07:39:27 +02:00
Jonas Kvinge 134dc55891 Rename RadioView::SetModel 2021-07-11 05:53:10 +02:00
Jonas Kvinge 295cf98e70 Add missing override 2021-07-11 05:30:35 +02:00
Jonas Kvinge 7333155b8c Edit tab order in scrobbler settings 2021-07-11 05:23:37 +02:00
Jonas Kvinge 3960c7d8e6 Add SomaFM and Radio Paradise to scrobbler sources 2021-07-11 05:18:56 +02:00
Jonas Kvinge b053f99690 Add Song::is_radio() 2021-07-11 05:18:39 +02:00
Jonas Kvinge 5700c3f72e Change GStreamer text 2021-07-11 05:17:45 +02:00
Jonas Kvinge cdb3729a88 Use Song::SourceFromURL in SongLoader::AddAsRawStream 2021-07-11 05:17:17 +02:00
Jonas Kvinge c33f2a1d27 Unref bus in SongLoader::LoadRemote() 2021-07-11 04:58:37 +02:00
Jonas Kvinge 95eec369b5 Fix includes 2021-07-11 02:31:15 +02:00
Jonas Kvinge 5d5860683b Add missing includes 2021-07-11 02:29:24 +02:00
Jonas Kvinge 434b31b932 Formatting 2021-07-11 02:27:26 +02:00
Jonas Kvinge f69e42e520 Use Q_ASSERT 2021-07-11 02:27:03 +02:00
Jonas Kvinge c5cadfe0c6 Fix memory leak in InternetSearchView::ResultsContextMenuEvent 2021-07-11 01:52:21 +02:00
Jonas Kvinge f21be30004 Use static QPixmapCache everywhere 2021-07-11 01:43:52 +02:00
Jonas Kvinge b8b21d53e1 Use static QPixmapCache 2021-07-11 01:32:51 +02:00
Jonas Kvinge 09ec39c87a Remove unused functions from RadioService 2021-07-11 01:20:42 +02:00
Jonas Kvinge dbf18db3a3 No need to pass Application to RadioBackend 2021-07-11 01:12:50 +02:00
Jonas Kvinge d8f0ae0980 Remove unused variable 2021-07-11 01:11:25 +02:00
Jonas Kvinge 09bbf1f4d7 Add radios 2021-07-11 01:08:06 +02:00
Strawbs Bot d07aff9872 Update translations 2021-07-11 01:02:12 +02:00
Jonas Kvinge 4cb3f9d177 Close files in song loader 2021-07-11 00:45:30 +02:00
Jonas Kvinge c1a815778b Formatting 2021-07-10 21:52:21 +02:00
Jonas Kvinge 5b003b09ac Make CollectionBackendInterface to PlaylistParser optional 2021-07-10 21:52:01 +02:00
Jonas Kvinge 22d0697c77 Use Song::is_stream 2021-07-10 21:50:23 +02:00
Jonas Kvinge 432b0f3e54 songloader: Make sure timeout timer is started from correct thread 2021-07-10 21:48:31 +02:00
Jonas Kvinge 2bee41e90e Fix compile of Utilities::Hmac with Qt 6.3 2021-07-07 23:54:21 +02:00
Strawbs Bot f5091339ad Update translations 2021-07-06 01:02:54 +02:00
Jonas Kvinge 3d06d68196 Fix broken context albums 2021-07-04 17:34:42 +02:00
Strawbs Bot 1a643bfa8c Update translations 2021-07-03 01:20:53 +02:00
Jonas Kvinge cd82b0a669 Fix spelling and typos 2021-07-02 18:45:53 +02:00
Jonas Kvinge 239b88aa3b Add support for TagParser as an alternative to TagLib 2021-07-02 01:16:46 +02:00
Jonas Kvinge 88819611f4 Remove TagLib dependency from Song class 2021-07-02 01:16:46 +02:00
Jonas Kvinge e6ff8368a9 Fix filefilter 2021-07-02 01:16:46 +02:00
Jonas Kvinge 8315f572ea Remove default parameter 2021-07-02 01:16:46 +02:00
Strawbs Bot 89e2070419 Update translations 2021-07-02 01:04:47 +02:00
Jonas Kvinge b5f4df0912 Refactor subsonic, tidal and qobuz code 2021-07-01 02:02:02 +02:00
Jonas Kvinge b9f3f80d50 Use std::make_unique / std::make_shared 2021-07-01 02:02:02 +02:00
Jonas Kvinge 0e8ae1a206 Change to std::shared_ptr 2021-07-01 02:02:02 +02:00
Strawbs Bot 929b031f09 Update translations 2021-07-01 01:03:41 +02:00
Jonas Kvinge 57a36491ee Remove mpris.cpp and mpris.h 2021-06-30 16:26:07 +02:00
Jonas Kvinge f3a8dde5f0 Use std::make_shared 2021-06-30 16:15:55 +02:00
Jonas Kvinge ffa2489998 Formatting 2021-06-30 16:15:55 +02:00
Strawbs Bot 6cd7bcdae6 Update translations 2021-06-28 01:07:32 +02:00
Jonas Kvinge e4f684f411 Change const_iterator to iterator 2021-06-28 00:27:28 +02:00
Jonas Kvinge fdc9a71f9e Use protected kApiUrl 2021-06-28 00:21:50 +02:00
Jonas Kvinge bb134ee7ac Rename NeedLogin to set_need_login 2021-06-28 00:21:50 +02:00
Jonas Kvinge 18dc6f3c88 Remove unused variables in InternetCollectionViewContainer 2021-06-28 00:21:50 +02:00
Jonas Kvinge 9327fd3aa1 Formatting 2021-06-28 00:21:50 +02:00
Jonas Kvinge aa859b9002 Remove dead code 2021-06-28 00:21:50 +02:00
Jonas Kvinge 20a15ecd35 Replace while with for loop 2021-06-28 00:21:50 +02:00
Jonas Kvinge 062c59b321 Rename FindSongs 2021-06-28 00:21:50 +02:00
Jonas Kvinge 9ace66edb7 Rename CollectionFilterWidget::SetCollectionModel to CollectionFilterWidget::Init 2021-06-28 00:21:50 +02:00
Jonas Kvinge a97d784f26 Rename filter to search_field 2021-06-28 00:21:50 +02:00
Jonas Kvinge a2e7173983 Rename filter to filter_widget 2021-06-28 00:21:50 +02:00
Jonas Kvinge 0869651dc3 Change parameter order of CollectionBackend::Init 2021-06-28 00:21:50 +02:00
Strawbs Bot ca42286354 Update translations 2021-06-26 01:07:31 +02:00
Jonas Kvinge 174bfcc597 Use higher resolution images from last.fm API 2021-06-25 22:41:17 +02:00
Jonas Kvinge 244d25ce53 Fix compile with Qt 5 2021-06-25 18:46:45 +02:00
Jonas Kvinge 8287efd51f Remove silencing -Wclazy-qt6-deprecated-api-fixes to workaround clazy bugs 2021-06-25 18:19:37 +02:00
Jonas Kvinge df31b5d59f Replace Q_ENUMS with Q_ENUM 2021-06-25 18:06:30 +02:00
Jonas Kvinge 53cc47a8b1 Use localhost directly as redirect for scrobbling API 2.0 2021-06-25 16:04:19 +02:00
Jonas Kvinge 55f8294a38 Remove escape characters from playlist filter string
Fixes #728
2021-06-25 12:01:05 +02:00
Strawbs Bot 67a5e3f37e Update translations 2021-06-23 01:16:19 +02:00
Jonas Kvinge 06cd2f3a57 Remove static from IsMacAccessibilityEnabled 2021-06-22 16:17:51 +02:00
Jonas Kvinge f66aca2164 Remove static from OSDPretty::current_screen 2021-06-22 14:17:24 +02:00
Jonas Kvinge b071ecb45e Formatting 2021-06-22 14:04:42 +02:00
Jonas Kvinge 83a70fecca Use QWidget::tr() 2021-06-22 14:04:42 +02:00
Jonas Kvinge dbc7c224c1 Fix setting PID 2021-06-22 14:04:42 +02:00
Jonas Kvinge 7876f9a8a5 Remove unneeded QFont in parameter initialization list 2021-06-22 14:04:42 +02:00
Jonas Kvinge 215057ce6f Remove unneeded get() 2021-06-22 14:04:42 +02:00
Jonas Kvinge 6d8b0b3ab6 Simplify return 2021-06-22 14:04:42 +02:00
Jonas Kvinge e5c85ddd32 Pass task ID to SetTaskBlocksCollectionScans 2021-06-22 14:04:42 +02:00
Jonas Kvinge 6bf3c34fe5 Fix parameter name mismatch 2021-06-22 14:04:42 +02:00
Jonas Kvinge 584f5e5935 Change bool/int condition 2021-06-22 14:04:42 +02:00
Jonas Kvinge 58a5367015 Make const 2021-06-22 14:04:42 +02:00
Jonas Kvinge 8c2b907ff5 Make static 2021-06-22 14:04:42 +02:00
Strawbs Bot e3ab0c0192 Update translations 2021-06-22 01:05:22 +02:00
Jonas Kvinge 8572e3eabb Fix volume slider regression 2021-06-21 20:21:40 +02:00
Jonas Kvinge d4f10c61ef Change lambda capture 2021-06-21 20:10:02 +02:00
Jonas Kvinge 59e11d6caa Remove reference 2021-06-21 20:00:31 +02:00
Jonas Kvinge 67778198de Formatting 2021-06-21 19:55:47 +02:00
Jonas Kvinge ebfd8cd6f7 Initialize variables and formatting 2021-06-21 19:55:18 +02:00
Jonas Kvinge 83b54f2ae6 Formatting 2021-06-21 19:54:42 +02:00
Jonas Kvinge 7ea60ed178 Update copyrights 2021-06-21 19:54:12 +02:00
Jonas Kvinge c61d1ce6b4 Use std::any_of 2021-06-21 19:52:37 +02:00
Jonas Kvinge 6a7959547e Change CoverProvider quality return type to float 2021-06-21 18:16:04 +02:00
Jonas Kvinge af3834672e Remove unneeded break 2021-06-21 18:14:59 +02:00
Jonas Kvinge f95ff6cb89 Formatting 2021-06-21 16:08:53 +02:00
Jonas Kvinge e85c13b3fe Change switch to if statement 2021-06-21 15:44:13 +02:00
Jonas Kvinge ed09627fdb Use std::make_unique 2021-06-21 15:40:44 +02:00
Jonas Kvinge 99ba2c2e8b Make playlist parameter to queue not optional 2021-06-21 15:40:44 +02:00
Jonas Kvinge 589bdf5dcd Use default 2021-06-21 15:40:44 +02:00
Jonas Kvinge 1abbd5ecbc Pass parent to queue 2021-06-21 15:40:44 +02:00
Strawbs Bot 7619e8427a Update translations 2021-06-21 01:17:51 +02:00
Jonas Kvinge 069e24d713 Fix compile 2021-06-21 00:29:38 +02:00
Jonas Kvinge 8e9b45f80f Add override 2021-06-20 23:57:19 +02:00
Jonas Kvinge 2d604a80c9 Change 0 to nullptr 2021-06-20 23:56:56 +02:00
Jonas Kvinge 1f59a1b952 unsigned long int 2021-06-20 23:56:33 +02:00
Jonas Kvinge 6e5ff01db5 Remove unused variables 2021-06-20 23:55:59 +02:00
Jonas Kvinge 50be44adf8 Add namespace comments 2021-06-20 23:55:02 +02:00
Jonas Kvinge e1bf4347ab Fix uninitialized variables 2021-06-20 23:53:28 +02:00
Jonas Kvinge 3a3305c020 Uppercase literal suffix 2021-06-20 23:49:04 +02:00
Jonas Kvinge a83f174e1a Remove unused settingsdialog variable 2021-06-20 19:47:38 +02:00
Jonas Kvinge 1295033fae Clang-Tidy and Clazy fixes 2021-06-20 19:04:08 +02:00
Jonas Kvinge 755abec636 Use QProcess::startCommand with Qt 6 2021-06-20 02:48:58 +02:00
Jonas Kvinge 310995fb87 Use static QFileInfo::exists 2021-06-20 02:26:30 +02:00
Jonas Kvinge bee30e572f Fix incorrect use of return 2021-06-20 02:25:36 +02:00
Jonas Kvinge cd37a40bab Only link to chromaprint when song fingerprinting or musicbrainz is enabled 2021-06-16 22:54:23 +02:00
Jonas Kvinge 8699790e78 Always call QFutureWatcher::setFuture after connects 2021-06-16 00:30:21 +02:00
Strawbs Bot d2d3f58a14 Update translations 2021-06-15 01:03:14 +02:00
Jonas Kvinge 081df59ed7 Only call QSystemTrayIcon::isSystemTrayAvailable once
Workaround file descriptor leak

Fixes #724
2021-06-15 00:25:54 +02:00
Strawbs Bot ec3bcdcb26 Update translations 2021-06-14 01:02:38 +02:00
Jonas Kvinge 8265cf8a6a Use selected plug devices when loading automatic/custom device 2021-06-14 00:18:14 +02:00
Jonas Kvinge dfb53fb3dd Change regex for CARD and DEV in ALSA devices 2021-06-13 23:58:47 +02:00
Jonas Kvinge 705fc920e5 Fix 2021-06-13 23:44:15 +02:00
Jonas Kvinge 99764741e4 Fix detecting ALSA PCM devices 2021-06-13 23:42:08 +02:00
Jonas Kvinge 35b3bc4522 Handle some chromaprinter error cases 2021-06-13 23:18:22 +02:00
Jonas Kvinge 91eee99bab Increase pen size for OSD Pretty border
Workaround for QTBUG-93476

Fixes #708
2021-06-13 20:56:14 +02:00
Jonas Kvinge e56defdc50 Formatting 2021-06-13 20:55:37 +02:00
Jonas Kvinge fbe4d3ce9f Add Subsonic option to turn off HTTP2
Fixes #718
2021-06-13 19:55:45 +02:00
Strawbs Bot 8cf5707575 Update translations 2021-06-13 01:16:37 +02:00
Jonas Kvinge f786a17014 Formatting 2021-06-12 20:53:23 +02:00
Jonas Kvinge 427b9c1ebc Formatting 2021-06-12 19:22:38 +02:00
Jonas Kvinge b911f4f34e Formatting 2021-06-12 16:06:41 +02:00
Strawbs Bot d636359c10 Update translations 2021-06-11 01:16:45 +02:00
Jonas Kvinge 8fd32aba4f Improve resume playback on startup, re-request stream URL when unpausing
Fixes #270
2021-06-10 23:14:05 +02:00
Strawbs Bot 9db59d5deb Update translations 2021-06-09 01:03:30 +02:00
Jonas Kvinge 80d127c277 Use fingerprints from database if available when fetching tags from MusicBrainz 2021-06-08 20:59:56 +02:00
Strawbs Bot 3ca0c828c6 Update translations 2021-06-07 01:01:41 +02:00
Strawbs Bot d3a8e03b2c Add Portuguese (Brazil) 2021-06-06 01:47:57 +02:00
Strawbs Bot 6e75de0dcb Add Chinese 2021-06-06 01:43:49 +02:00
Strawbs Bot a7bed9741a Add Catalan 2021-06-06 01:42:38 +02:00
Strawbs Bot f70e52a7a5 Add Japanese 2021-06-06 01:38:22 +02:00
Strawbs Bot 95d7de0654 Add Dutch 2021-06-06 01:36:50 +02:00
Strawbs Bot 3398d25b35 Add Ukrainian 2021-06-06 01:35:40 +02:00
Strawbs Bot 80a4a43680 Add Finnish 2021-06-06 01:34:54 +02:00
Strawbs Bot 01ac61f38c Update translations 2021-06-06 01:23:21 +02:00
Jonas Kvinge 7f085c4012 Check fingerprint for NULL 2021-06-06 00:26:11 +02:00
Jonas Kvinge 5f008d1560 Edit collection settings tab order 2021-06-05 22:34:32 +02:00
Jonas Kvinge f8ed2afef1 Add song fingerprinting and tracking
Fixes #296
2021-06-05 21:56:40 +02:00
Jonas Kvinge a883508eca Fix marking CUE songs available 2021-06-05 02:50:20 +02:00
Jonas Kvinge a4a20ec220 Make sure schedule playlist save timer is started from correct thread 2021-06-05 00:07:15 +02:00
Jonas Kvinge 0032ec5036 Don't log access tokens 2021-06-04 00:15:35 +02:00
Strawbs Bot 9df24a841f Update translations 2021-06-02 01:01:56 +02:00
Jonas Kvinge d2aa4ff2bd Remove duplicate line 2021-06-01 23:16:04 +02:00
Strawbs Bot 0112f1e11d Update translations 2021-05-31 01:01:58 +02:00
Strawbs Bot 479c2b6cec Update translations 2021-05-30 01:25:46 +02:00
Jonas Kvinge e6f50e6637 Strip mimetype when downloading covers 2021-05-29 23:27:40 +02:00
Jonas Kvinge 548f8bf23e Fix macOS compile 2021-05-29 22:47:53 +02:00
Jonas Kvinge b6bfe81f9a Use HAVE_X11_GLOBALSHORTCUTS 2021-05-29 22:20:46 +02:00
Jonas Kvinge 8b7b3df0a3 Fix Qt 5 compile 2021-05-29 20:54:01 +02:00
Jonas Kvinge 69a6416146 Change to uppercase 2021-05-29 20:37:58 +02:00
Jonas Kvinge 1ced4e277b Add global shortcuts support on MATE 2021-05-29 20:35:55 +02:00
Jonas Kvinge 0c5236ebcb Fix crash when no system tray is available 2021-05-29 18:52:47 +02:00
Jonas Kvinge 66c55c5007 Remove remaining HAVE_X11EXTRAS 2021-05-29 18:36:58 +02:00
Strawbs Bot 45df99bb56 Update translations 2021-05-26 13:00:30 +02:00
Strawbs Bot a2968e57cf Update translations 2021-05-21 01:15:12 +02:00
Jonas Kvinge 67f831beba Refactor systemtrayicon code 2021-05-20 21:40:08 +02:00
Jonas Kvinge 264d47caf4 Change playlist tabbar favorite tooltip 2021-05-20 17:12:28 +02:00
Jonas Kvinge ef72b3273e Move private Qt GUI include 2021-05-20 17:10:08 +02:00
Strawbs Bot 59897fdf55 Update translations 2021-05-14 01:02:10 +02:00
Strawbs Bot 971542d6bc Update translations 2021-05-13 01:26:18 +02:00
jonas@jkvinge.net efcd35d4a1 Remove use of X11Extras and WinExtras
Modules are deprecated in Qt 6
See: QTBUG-83251
2021-05-12 23:15:04 +02:00
Strawbs Bot a01541d7ca Update translations 2021-05-12 01:05:21 +02:00
jonas@jkvinge.net 639ea35921 Use wchar version of GetDiskFreeSpaceEx on Windows Qt 5 2021-05-11 20:32:28 +02:00
jonas@jkvinge.net dee1905e16 Make the default tabbbar background color lighter
Fixes #711
2021-05-11 20:10:31 +02:00
jonas@jkvinge.net 1803705749 Add option to turn off playlist alternating row colors 2021-05-11 19:40:47 +02:00
jonas@jkvinge.net 5d96ee5492 Add ALSA PCM devices and option to set channels
Fixes #262
2021-05-11 19:14:00 +02:00
jonas@jkvinge.net 4a0a1a32a4 Rename ENABLE_CHROMAPRINT to ENABLE_MUSICBRAINZ 2021-05-10 21:17:50 +02:00
Strawbs Bot c2108a35d0 Update translations 2021-05-09 01:01:51 +02:00
Strawbs Bot 2320c5e04c Update translations 2021-05-08 01:01:55 +02:00
Jonas Kvinge fb7b3b0295 Revert "Shuffle all songs instead of from the current to the end"
This reverts commit 316a3d51ee.
2021-05-04 23:16:18 +02:00
Jonas Kvinge 316a3d51ee Shuffle all songs instead of from the current to the end
Fixes #707
2021-05-04 22:48:18 +02:00
Jonas Kvinge 240dcf2e5c Improve device icon loading 2021-05-04 21:55:19 +02:00
Strawbs Bot 5fbdbffa23 Update translations 2021-05-04 01:04:38 +02:00