Commit Graph

2497 Commits

Author SHA1 Message Date
Strawbs Bot 9916e34006 Update translations 2021-11-09 01:05:40 +01:00
Jonas Kvinge a729b42e5d Tidal: Fix reading keyId 2021-11-08 20:44:12 +01:00
Jonas Kvinge 01f8129ed0 Improve URL handler, return error for encrypted Tidal streams 2021-11-08 20:25:22 +01:00
Jonas Kvinge fd85763fb4 Tidal: Make sure OAuth is enabled when sending access token 2021-11-08 19:47:17 +01:00
Strawbs Bot 77fe00df30 Update translations 2021-11-03 01:02:23 +01:00
Strawbs Bot 4ae3e63dea Update translations 2021-11-01 01:20:05 +01:00
Jonas Kvinge 3329839dbe CollectionWatcher: Add `overwrite_rating_` to initialization list 2021-10-31 23:26:22 +01:00
Jonas Kvinge ca10920bb5 Add option for overwriting database rating 2021-10-31 23:24:32 +01:00
buckmelanoma 642a455a9c Add icon mappings for download and scrobble
Adds mappings for download (Cover Manager) and scrobble (Import data from last.fm):
2021-10-31 02:23:15 +01:00
Strawbs Bot 6abfa2859b Update translations 2021-10-31 01:20:21 +02:00
buckmelanoma 20c2225d8f Add icon names for missing Tools menu entries
I noticed the abort_collection_scan and console menu entries were missing matching icons.  This change adds appropriate icons for each action.
2021-10-31 00:37:57 +02:00
Jonas Kvinge 5e7759b697 Utilities: Change return type for `GetThreadId` and `SetThreadIOPriority` to `long` 2021-10-31 00:26:02 +02:00
Jonas Kvinge 1ce8d2b31d RadioView: Remove overloaded signal 2021-10-31 00:24:16 +02:00
Jonas Kvinge 1223469be9 Song: Add playcount and rating to `Song::IsMetadataEqual()` 2021-10-30 19:06:46 +02:00
Jonas Kvinge 5eae3ddd8a Use `float` for rating 2021-10-30 18:53:14 +02:00
Jonas Kvinge c6c53548ac GstEnginePipeline: Return true from BusCallback 2021-10-30 17:55:18 +02:00
Jonas Kvinge 3efe2d1e05 Initialize to 0 2021-10-30 17:10:05 +02:00
buckmelanoma 7c87b53517 PlaylistView: Use SmoothPixmapTransform when drawing play icon
Fixes #794
2021-10-30 03:36:17 +02:00
Jonas Kvinge a461c97bcf IconLoader: Log when icon fails to load 2021-10-30 03:34:52 +02:00
Jonas Kvinge 67a6d6c1e3 LyricsFetcher: Change request ID to quint64 2021-10-30 03:15:03 +02:00
Jonas Kvinge 8b8e427a2b DeleteFiles: Fix compile with older Qt versions 2021-10-30 03:13:55 +02:00
Jonas Kvinge 7d5c263ab2 FHT: Change to static_cast double 2021-10-30 03:13:12 +02:00
Jonas Kvinge 79ac53b2d9 Fix narrowing conversions 2021-10-30 02:21:29 +02:00
Jonas Kvinge a704412dee ContextAlbumsModel: Use `const_iterator` 2021-10-30 02:05:55 +02:00
Jonas Kvinge 24e2338769 ScrobblingAPI20: Add `clazy:exclude=range-loop-detach` 2021-10-30 02:02:37 +02:00
Jonas Kvinge bc240f82ef SomaFMService: Add `clazy:exclude=function-args-by-ref` 2021-10-30 02:01:48 +02:00
Jonas Kvinge a2ad68406d RadioView: Add `clazy:exclude=reserve-candidates` 2021-10-30 02:01:14 +02:00
Jonas Kvinge 3d807d2331 FilterParser: Add `iter_` and `end_` to initialization list 2021-10-30 02:00:26 +02:00
Jonas Kvinge e6a7b484ba OSDBase: Remove redundant initialization 2021-10-30 01:59:51 +02:00
Jonas Kvinge a62371829f Add `ui_` to initialization list 2021-10-30 01:58:47 +02:00
Jonas Kvinge fb98336713 Udisks2Lister: Remove redundant initialization 2021-10-30 01:58:01 +02:00
Jonas Kvinge ebadb4db0a Use `const_iterator` 2021-10-30 01:57:12 +02:00
Jonas Kvinge 9a480eb710 SqlQuery: Make `QSqlDatabase` parameter const reference 2021-10-30 01:33:16 +02:00
Jonas Kvinge 03ecde8b83 Add default to switch 2021-10-30 01:08:35 +02:00
Strawbs Bot 0291b78bfa Update translations 2021-10-30 01:02:38 +02:00
Jonas Kvinge e75c955a68 mac_startup: Remove unused functions 2021-10-30 00:48:58 +02:00
buckmelanoma 6df356327d Add 2px of padding for edit-clear icon
edit-clear icon tends to sit on left side of frame.  adding 2 px makes it look nicer.
2021-10-29 17:52:43 +02:00
buckmelanoma 7a57586f90 Map edit-clear-list system icons
Use system edit-clear-list icons when enabled instead of defaulting to edit-clear-locationbar-ltr.png
2021-10-29 17:52:43 +02:00
Strawbs Bot 1e2bad270d Update translations 2021-10-29 01:02:58 +02:00
Strawbs Bot 688d983b25 Update translations 2021-10-28 01:02:41 +02:00
Jonas Kvinge fa834a76ef ContextView: Avoid unnecessary album resize 2021-10-27 22:16:48 +02:00
Strawbs Bot df1b756a43 Update translations 2021-10-25 01:13:11 +02:00
Jonas Kvinge 30269d9d95 Organize: Remove unused "mark as listened" option 2021-10-24 23:19:01 +02:00
Jonas Kvinge d29a1de980 Allow users to select native notifications on Windows
Setting will fallback to system tray notifications which are
native notifications on Windows.
2021-10-24 23:09:20 +02:00
Jonas Kvinge 57f5ccff81 InternetSearchView: Change tool button popup mode back to InstantPopup 2021-10-24 22:05:10 +02:00
buckmelanoma 69374bfa11 Revert collection options QToolButton mode
Changing this button type fixed the arrow problem but has a side effect of making the button only clickable on the arrow portion.   #795 fixed the issue with styling on QToolButtons and ends up fixing this issue too.  Therefore the change to MenuButtonPopup should be reverted in order to restore the original functionality.
2021-10-24 20:11:27 +02:00
buckmelanoma 0d408055b2 Add settings to enable/disable playlist toolbar 2021-10-24 17:04:35 +02:00
Jonas Kvinge 496ae42d72 EditTagDialog: Change return to continue in EditTagDialog::SongRated 2021-10-24 16:11:53 +02:00
Jonas Kvinge 3ab86543ad Add support for saving playcounts and ratings to tags 2021-10-24 16:08:17 +02:00
Strawbs Bot 48c81b188c Update translations 2021-10-23 01:02:17 +02:00
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