Commit Graph

1458 Commits

Author SHA1 Message Date
Strawbs Bot 9db148b1ec Update translations 2020-09-05 01:03:16 +02:00
Jonas Kvinge 091b1b8209 Use QKeyCombination with Qt 6 2020-09-04 23:00:42 +02:00
Jonas Kvinge df4b2f7938 Add icon for edit tag playlist right click menu actions
Fixes #531
2020-09-04 20:55:57 +02:00
Jonas Kvinge 803f44d9bc Disable use system icons setting for macOS and Windows
Fixes #532
2020-09-04 20:51:43 +02:00
Jonas Kvinge 4b67aee020 Use | operator for QShortcut 2020-09-04 20:43:02 +02:00
Jonas Kvinge 71dc47d6c9 Use deleteLater() when destroying lazy initialized objects
Fixes #530
2020-09-04 20:25:46 +02:00
Strawbs Bot 9cb305fb0d Update translations 2020-09-04 01:02:02 +02:00
Jonas Kvinge 1672130486 Merge compilation off/off
Fixes #528
2020-09-03 19:20:59 +02:00
Jonas Kvinge ba34cf5258 Possible fix for crash when deleting queued songs from playlist
See #527
2020-09-03 16:59:18 +02:00
Strawbs Bot 647089d2a8 Update translations 2020-09-03 01:02:25 +02:00
Jonas Kvinge e6f05ae465 Make sure icon exists in GuessIconForPath 2020-09-02 20:40:07 +02:00
Jonas Kvinge a9193f9b76 Move itdb_device_free 2020-09-02 20:03:22 +02:00
Jonas Kvinge e373a17cd3 Fallback to device-ipod for ipod icon name 2020-09-02 19:36:47 +02:00
Jonas Kvinge ebab9b7e4a Delete deviceinfo using parent object 2020-09-02 19:35:13 +02:00
Jonas Kvinge 6de0399807 Guess icon for device in udisks2 lister 2020-09-02 19:34:46 +02:00
Strawbs Bot 5cc7bb80f6 Update translations 2020-09-02 01:11:51 +02:00
Jonas Kvinge 6e0bd9b3f8 Add override to LastFMImportDialog::closeEvent() 2020-09-01 22:27:34 +02:00
Jonas Kvinge d1943f72d3 Remove use of Qt::AA_UseHighDpiPixmaps with Qt 6 2020-09-01 21:05:07 +02:00
Jonas Kvinge 81709873bd Use art_manual for itdb thumbnail 2020-09-01 20:59:19 +02:00
Jonas Kvinge d1c19e431c Add check for gdk-pixbuf-2.0 2020-09-01 20:27:05 +02:00
Jonas Kvinge 9ab2dde8ab Read tumbnails from itdb tracks 2020-09-01 01:04:01 +02:00
Jonas Kvinge 71559bb125 Turn pretty covers on by default in collection model 2020-09-01 01:02:02 +02:00
Strawbs Bot ae4c95262c Update translations 2020-09-01 01:01:45 +02:00
Jonas Kvinge dbbf07c9c1 Specify JPG when saving cover to temp file for iPod's 2020-08-31 20:13:53 +02:00
Jonas Kvinge ab8cd619d5 Save cover image to file before copying to iPod
Fixes #519
2020-08-31 18:38:54 +02:00
Jonas Kvinge c30ad2819d Disable use of HTML in system tray tooltip on Cinnamon 2020-08-31 18:06:37 +02:00
Jonas Kvinge 2d49b71bc9 Read song creation time from subsonic API
Fixes #526
2020-08-31 17:05:09 +02:00
Jonas Kvinge a18a4bdf31 Set wordwrap 2020-08-31 16:25:01 +02:00
Strawbs Bot d3acbe8288 Update translations 2020-08-31 01:04:42 +02:00
Jonas Kvinge 22afcbcbb6 Only allow playlist editing if song is editable
Set proper flags in model instead of overriding edit in view.

Proper fix for #524
2020-08-30 22:23:38 +02:00
Jonas Kvinge 495c6bc21c Remove unused StyleHelper::drawIconWithShadow function 2020-08-30 21:51:26 +02:00
Jonas Kvinge cfd1fe59f3 Only allow playlist editing if song is editable.
Fixes #524
2020-08-30 21:40:04 +02:00
Jonas Kvinge c46cf5bc84 Check for missing lyrics 2020-08-30 21:13:31 +02:00
Jonas Kvinge a8742557bd Add lyrics from fandom.com 2020-08-30 21:06:58 +02:00
Jonas Kvinge 3bea58cf56 Fix resetting last.fm import dialog on close when finished 2020-08-30 18:28:51 +02:00
Jonas Kvinge 5aaa5231b8 Add Last.fm import
Fixes #247
2020-08-30 18:09:13 +02:00
Jonas Kvinge 82d10dd7cb Remove debug line 2020-08-30 01:59:26 +02:00
Jonas Kvinge 841065fb91 Load icons for buttons before setting enabled/disabled
Fixes #500
2020-08-30 01:57:21 +02:00
Strawbs Bot c7146ef138 Update translations 2020-08-30 01:02:19 +02:00
Jonas Kvinge 08f32d1de6 Refactor playlist view/header code
- Don't reload all settings when changing playlists
- Fix initial playlist header columns sizes
- Properly reset header state when resetting columns
2020-08-29 19:55:00 +02:00
Jonas Kvinge 4c3f86aa4d Remove use of Qt::AA_EnableHighDpiScaling with Qt 6 2020-08-29 19:18:56 +02:00
Jonas Kvinge 445cf22333 Use deleteLater 2020-08-29 16:24:40 +02:00
Strawbs Bot 4919de647a Update translations 2020-08-28 01:01:40 +02:00
Jonas Kvinge 77fae99528 Fix spacing for sources in scrobbling settings
Fixes #523
2020-08-27 23:36:09 +02:00
Strawbs Bot d18834b415 Update translations 2020-08-27 01:02:03 +02:00
Jonas Kvinge e52cda193e Replace QAbstractItemView::viewOptions with initViewItemOption 2020-08-26 23:35:33 +02:00
Jonas Kvinge 0d5edd35ea Register ColumnAlignmentMap 2020-08-26 22:36:09 +02:00
Strawbs Bot f3f51c3d9d Update translations 2020-08-26 01:08:17 +02:00
Jonas Kvinge 1431916183 Add setting for enabling scrobbling based on song source
Fixes #416
2020-08-25 23:44:27 +02:00
Jonas Kvinge ae48008803 Remove use of qRegisterMetaTypeStreamOperators with Qt 6 2020-08-25 22:48:21 +02:00
Jonas Kvinge 3948af80b8 Fix pixelated source icon for currently playing song in playlist 2020-08-25 21:51:23 +02:00
Strawbs Bot 343d6f9aff Update translations 2020-08-24 01:03:49 +02:00
Jonas Kvinge 51b379502f Always use qint32 for QDBusArgument 2020-08-23 21:55:34 +02:00
Jonas Kvinge 82142751de Improve playlist autoscrolling
Fixes #420
2020-08-23 19:37:24 +02:00
Jonas Kvinge 4e5755f218 Refactor some functions 2020-08-23 19:17:50 +02:00
Jonas Kvinge 2f4f29517e Create new contructor for UrlHandler 2020-08-23 18:52:30 +02:00
Strawbs Bot e8a073651f Update translations 2020-08-23 05:53:13 +02:00
Jonas Kvinge d23da7a612 Replace Qt::MidButton with Qt::MiddleButton 2020-08-23 03:27:24 +02:00
Jonas Kvinge 1ae4938da3 Register D-Bus metatype for QImage if system has D-Bus 2020-08-23 03:20:53 +02:00
Jonas Kvinge b5e27d4d69 Declare QDBusArgument for QImage in osddbus.h 2020-08-23 03:19:40 +02:00
Jonas Kvinge 7e3042c4f4 Remove AA_DontShowIconsInMenus
Possible fix for #516
2020-08-21 23:40:44 +02:00
Jonas Kvinge 1291dadbd6 Replace use of QStringRef 2020-08-21 22:39:01 +02:00
Jonas Kvinge 8f32038891 Add missing musicstorage include 2020-08-19 22:35:35 +02:00
Jonas Kvinge a6fb1dcdf9 Add missing QWindow include 2020-08-19 22:35:22 +02:00
Jonas Kvinge f01b469f3f Allow to delete files permanently in fileview with Qt < 5.15 2020-08-19 22:25:05 +02:00
Jonas Kvinge 47884919c8 Only show delete files option in setting with Qt >= 5.15 2020-08-19 22:11:03 +02:00
Jonas Kvinge 653a35496d Add optional delete from disk in collection and playlist
Fixes #284
2020-08-19 22:02:35 +02:00
Jonas Kvinge 9b14df6b27 Use static_cast in QComboBox::findData 2020-08-16 18:22:10 +02:00
Jonas Kvinge b0df63f1e8 Fix translations dir 2020-08-15 23:01:28 +02:00
Jonas Kvinge 3c4209b676 Add more compilation titles 2020-08-15 17:33:54 +02:00
Jonas Kvinge d51b9a8e0e Add more compilation titles 2020-08-15 17:29:30 +02:00
Jonas Kvinge 3b56125bd2 Increase maximum time step for seeking to 120
Fixes #509
2020-08-15 15:18:58 +02:00
Jonas Kvinge 6e69e39007 Use static_cast instead for destroyed object 2020-08-15 15:16:06 +02:00
Jonas Kvinge 414a4a97fb Use unicode option when replacing non-words
Fixes #513
2020-08-15 11:43:14 +02:00
Jonas Kvinge 17799b03f3 Fix installation directory for translations
Fixes #512
2020-08-15 11:08:47 +02:00
Strawbs Bot ce6c5af72c Update translations 2020-08-15 00:25:52 +02:00
Jonas Kvinge 171575256c Remove broken iPhone (libimobiledevice) support
Fixes #212
2020-08-14 21:38:08 +02:00
Jonas Kvinge d3664dcf78 Set QNetworkRequest::RedirectPolicyAttribute with Qt >= 5.9 2020-08-14 20:31:04 +02:00
Jonas Kvinge 0788981783 Set QNetworkRequest::RedirectPolicyAttribute with Qt >= 5.9 2020-08-14 20:20:41 +02:00
Jonas Kvinge fbc99827ab Revert "Turn off sort indicators for playlist"
This reverts commit 7b50ec4630.
2020-08-14 17:30:27 +02:00
Jonas Kvinge 3b134320c4 Fix minor issue in cue parser with date and genre 2020-08-13 21:14:12 +02:00
Jonas Kvinge c315e5016d Change mtime and ctime to qint64 2020-08-13 21:09:06 +02:00
Jonas Kvinge 7aebd6ed57 Only install translations if HAVE_TRANSLATIONS is set 2020-08-13 21:05:09 +02:00
Jonas Kvinge 1a8ca06495 Only install translations when INSTALL_TRANSLATIONS is set 2020-08-13 20:55:53 +02:00
Jonas Kvinge a27ae7e4a6 Add CMake option to install translations
Fixes #485
2020-08-13 19:53:36 +02:00
Strawbs Bot dd0ab897aa Update translations 2020-08-13 01:03:32 +02:00
Jonas Kvinge 00ad92fb6d Hide unavailable collection context menu actions 2020-08-12 21:34:42 +02:00
Jonas Kvinge f84128ecbd Remove unused collection playlist container type 2020-08-12 21:33:38 +02:00
Jonas Kvinge 0b437b3bfb Use standard text color for links in about
Fixes #508
2020-08-12 17:27:08 +02:00
Jonas Kvinge 7b50ec4630 Turn off sort indicators for playlist
Fixes #511
2020-08-12 16:56:28 +02:00
Jonas Kvinge 4ddb13abac Increase maximum time step for seeking to 60
Fixes #509
2020-08-12 16:31:32 +02:00
Strawbs Bot 9692fbf15b Update translations 2020-08-11 01:02:03 +02:00
Jonas Kvinge be966488e8 Fix OSD D-Bus assertion with Qt 6 2020-08-10 23:05:07 +02:00
Jonas Kvinge 0ce613264f Make sure to always use original metadata when editing tags 2020-08-10 21:32:14 +02:00
Jonas Kvinge 34634d776e Make sure to always use original metadata when editing tags 2020-08-10 21:27:56 +02:00
Jonas Kvinge 673ded3819 Add proper check for collection song in edit tag dialog 2020-08-10 21:27:27 +02:00
Jonas Kvinge 3f80b330cc Log artist and album name 2020-08-10 18:05:52 +02:00
Jonas Kvinge 01632d538c Decrease score for more compilation albums 2020-08-10 17:39:40 +02:00
Strawbs Bot b0a9b1cd09 Update translations 2020-08-10 01:05:14 +02:00
Jonas Kvinge 1f772081fd Only update temporary metadata when set
Fixes #507
2020-08-10 00:32:57 +02:00
Jonas Kvinge 4ae54dbaad Decrease score for more compilation albums 2020-08-09 20:58:27 +02:00
Jonas Kvinge e47f4ff731 Fix musixmatch cover size 2020-08-09 20:15:24 +02:00
Jonas Kvinge 465369d79e Base initial score on album cover sizes retrieved from API 2020-08-09 20:10:53 +02:00
Jonas Kvinge 15ddf6ff20 Save and restore playlist scrollbar position when switching between playlists 2020-08-09 14:00:56 +02:00
Jonas Kvinge 16a753bd95 Treat erors returned by the URL handler as non fatal
Fixes #505
2020-08-09 02:52:18 +02:00
Jonas Kvinge c15103636c Fix NotificationPreview signal slot 2020-08-09 02:07:22 +02:00
Jonas Kvinge 8a5f82ee7d Tidal: Only return streamable songs in result
Fixes #505
2020-08-09 01:59:28 +02:00
Jonas Kvinge 5ec33ec821 Tidal: Show API error instead of network error when available 2020-08-09 01:50:03 +02:00
Jonas Kvinge ab7d383cf1 Use virtual functions for OSD 2020-08-09 01:37:00 +02:00
Strawbs Bot 184e9a5c93 Update translations 2020-08-09 01:01:43 +02:00
Jonas Kvinge c4f5363cde Properly enable/disable queue buttons depending on selection 2020-08-08 20:36:03 +02:00
Jonas Kvinge 1cb3ec0c7b Only add autocomplete tags to playlist menu when we have chromaprint and gstreamer 2020-08-08 19:05:14 +02:00
Jonas Kvinge 6bf325c6f6 Fix QSslSocket::ignoreSslErrors compile error with Qt 6 2020-08-08 19:04:44 +02:00
Strawbs Bot 09c7ff9e8b Update translations 2020-08-08 01:01:46 +02:00
Jonas Kvinge c2a94b61bf Fixes to playlist context menu
- Add all playlist actions to initialization list
- Make rescan songs work for non-collection songs by using playlist item reload
- Only show add to another playlist and remove from playlist when songs are selected
- Add some missing icons

Fixes #503
2020-08-07 22:13:02 +02:00
Jonas Kvinge 1db16232de Only show rescan songs for collection songs
Fixes #503
2020-08-07 21:18:48 +02:00
Strawbs Bot a79b3e7852 Update translations 2020-08-07 01:03:20 +02:00
Jonas Kvinge b1099e6974 Handle metadata with tilde in title 2020-08-07 00:52:09 +02:00
Jonas Kvinge 4f6e06131c Change allow album cover search check 2020-08-07 00:28:46 +02:00
Jonas Kvinge 19f69e9e6c Allow cover search only using either artist, album or title 2020-08-07 00:18:31 +02:00
Jonas Kvinge 01481da773 Use Qt::QueuedConnection for cover fetcher 2020-08-06 23:55:44 +02:00
Jonas Kvinge 3e8f7e1cf1 Register CoverSearchStatistics metatype 2020-08-06 23:54:54 +02:00
Jonas Kvinge 5da69646f2 Add authentication for Qobuz cover provider 2020-08-06 22:57:44 +02:00
Jonas Kvinge 3cac01583b Add username password dialog 2020-08-06 22:54:21 +02:00
Jonas Kvinge d16a26605e Fix updating playlist songs when there are multiple files with the same URL
Fixes #501
2020-08-06 21:40:42 +02:00
Jonas Kvinge a4f692c788 Only show playlist add file(s) to transcoder when songs are selected 2020-08-06 18:37:17 +02:00
Jonas Kvinge 9f01206c57 Only show open in file browser when songs are selected 2020-08-06 18:36:52 +02:00
Jonas Kvinge d34fc551ed Add playlist right click option to copy URL 2020-08-06 18:29:35 +02:00
Jonas Kvinge 7aa5f0d258 Only show delete and save playlist button when item is selected
Fixes #500
2020-08-06 16:00:03 +02:00
Jonas Kvinge 276a34bb66 Fix parsing Tidal track duration with Qt 6 2020-08-06 15:58:53 +02:00
Strawbs Bot 1991c1b677 Update translations 2020-08-05 01:02:22 +02:00
Jonas Kvinge 459404e3f0 Rename organise to organize
Prefer US spelling
2020-08-04 21:18:14 +02:00
Jonas Kvinge 8e39f92cb7 Make album optional when reading scrobbles from cache 2020-08-03 21:50:26 +02:00
Jonas Kvinge 8390237cc4 Fix Sparkle integration for macOS 2020-08-02 06:32:01 +02:00
Jonas Kvinge 9967eae7bb Decrease album cover score if artist doesn't match and cover isn't requested using album title 2020-08-02 04:34:15 +02:00
Jonas Kvinge 33ccb5dbb2 Remove duplicate check for X11 2020-08-02 04:18:40 +02:00
Strawbs Bot 5b90c0d695 Update translations 2020-08-02 01:07:53 +02:00
Jonas Kvinge ab67536d9a Prevent compilation and live albums from being picked before studio albums for album cover searches based on artist + song title 2020-08-01 23:17:35 +02:00
Jonas Kvinge ee85fb3aec Use QString() on non-translated text in collection filter widget 2020-08-01 22:50:02 +02:00
Jonas Kvinge 214b6f4358 Use correct qt sparkle include for Qt 6 2020-08-01 03:41:48 +02:00
Jonas Kvinge af0d092054 Use sparkle to check for updates on macOS and Windows 2020-08-01 03:37:16 +02:00
Jonas Kvinge b07903c3e9 Register QVector<int> 2020-08-01 03:32:25 +02:00
Jonas Kvinge f55a80b15a Use Q_UNUSED 2020-08-01 03:23:50 +02:00
Strawbs Bot 0735483321 Update translations 2020-08-01 01:01:36 +02:00
Jonas Kvinge 53fc2c7c21 Add extra safety for overwriting files for filesystem storage 2020-07-31 21:45:01 +02:00
Jonas Kvinge 2d5a6d6583 Use album artist for album repeat mode 2020-07-30 20:46:30 +02:00
Strawbs Bot dc4adf2836 Update translations 2020-07-30 01:01:45 +02:00
Jonas Kvinge dd6e254e4f Use quotes in collection query to allow special characters
Fixes #492
2020-07-29 21:41:35 +02:00
Jonas Kvinge 4c028c1659 Use position().toPoint() with Qt 6 2020-07-29 21:40:03 +02:00
Jonas Kvinge d332a6777a Use QSortFilterProxyModel::filterRegularExpression only with Qt 6 2020-07-29 21:39:02 +02:00