Commit Graph

595 Commits

Author SHA1 Message Date
Martchus 01daa21305 Use 'RecordDate' instead of 'Year' field, add 'ReleaseDate' field 2020-04-24 23:26:40 +02:00
Martchus 226ee9f230 Add TODO regarding ID3v2 version 2020-04-24 23:09:24 +02:00
Martchus 4e324f0001 Fix displaying tag values of type DateTime in GUI 2020-04-24 23:08:53 +02:00
Martchus 5027fdd634 Improve README.md 2020-04-24 23:08:23 +02:00
Martchus 17c75114ea Note that setting custom fields works for Opus as well 2020-04-16 20:24:58 +02:00
Martchus c8cbe2852b Add extraction example to CLI documentation 2020-04-16 20:18:37 +02:00
Martchus 911dba870e Improve CLI-only message 2020-04-16 19:52:54 +02:00
Martchus f3ce0f23ec Fix building without GUI
See https://github.com/Martchus/tageditor/issues/53
2020-04-05 21:40:12 +02:00
Martchus 976bcbb2e8 Show document title at the top of line edit
It takes more space but just looks better.
2020-03-19 16:24:32 +01:00
Martchus 82e8d28bdd Prevent crash when container has no first element 2020-03-18 17:49:02 +01:00
Martchus 67f2802e77 Avoid use of QPalette::PlaceholderText to support Qt < 5.12
Remove '<colorrole role="PlaceholderText">' elements from UI files
which are apparently added by the designer in newer Qt versions but
break compatibility with older ones.
2020-03-10 14:59:31 +01:00
Martchus a1d64f95a1 Fix spin box size policy so they are not expanding vertically 2020-03-09 19:05:41 +01:00
Martchus 7ed5723fd9 Use Q_SIGNALS instead of signals 2020-03-09 18:46:08 +01:00
Martchus a927b215bd Set window icon of RenameFilesDialog 2020-03-09 16:10:40 +01:00
Martchus 0f4bbecedc Quit app when closing stand-alone renaming utility
See https://github.com/Martchus/tageditor/issues/52
2020-03-09 15:56:48 +01:00
Martchus 3e58d67c4c Don't use lower-case Qt macros 2020-03-08 14:04:29 +01:00
Martchus f6852b2a02 Improve layout of TagEditorWidget 2020-01-11 21:34:46 +01:00
Martchus a4ae94d0b5 Fix adding "required" targets 2019-12-31 01:42:41 +01:00
Martchus 6acf1dbbfa Update translations 2019-12-30 23:54:56 +01:00
Martchus 74afa6e827 Improve canceling
* Show a specific status messages
* Allow aborting while only the percentage is updated
2019-12-30 23:54:04 +01:00
Martchus c3275b8bd7 Improve consistency of labels within settings 2019-12-30 22:45:37 +01:00
Martchus 865e461032 Avoid using QAtomicInteger functions deprecated in Qt 5.14.0 2019-12-15 19:31:34 +01:00
Martchus a1b126f18a Fix building against Qt 5.14.0 2019-12-15 19:30:50 +01:00
Martchus 4ad5608484 Reformat CMake scripts against cmake-format 0.6.3 2019-12-15 19:30:00 +01:00
Martchus 9d95bb975a Add licensing info for Windows distribution 2019-11-07 19:04:53 +01:00
Martchus e23cc76d2a Fix lyrics appearing gray 2019-11-03 23:05:35 +01:00
Martchus e7349a4dab Update README.md 2019-10-27 18:51:15 +01:00
Martchus 36655c067f Use override in CliTests 2019-10-27 18:50:56 +01:00
Martchus f228e88c5e Update translations 2019-10-11 20:03:00 +02:00
Martchus 72e918b154 Remove debugging leftover 2019-10-11 19:55:45 +02:00
Martchus 4531d10a81 Move QJSEngine into the thread which executes the JavaScript
This fixes https://github.com/Martchus/tageditor/issues/50.

When keeping the QJSEngine tied to the main thread the garbage
collector will run on the main thread's event loop. This leads to
crashes when trying to allocate memory within the engine from
another thread (`QV4::PersistentValueStorage::allocate()`).

The Qt documentation does not mention that the garbage collector
might run on the event loop of the thread tied to the JSEngine.
I expected it only to run after or before allocations/deletions
within the thread calling the engine's methods. There is already
an issue regarding the lack of documentation:
https://bugreports.qt.io/browse/QTBUG-57227

I found no way to obtain the QThread object for a thread started
with Qt Concurrent. The possibility I found was calling
`QThread::currentThread()` from the concurrent thread once it has
already been started. However, when the concurrent thread has
been started it might already be too late to move the engine.
Adding further synchronization to solve this is an overkill so
I resorted to using QThread directly.
2019-10-11 19:47:30 +02:00
Martchus bf4687d0b6 Remove leftovers from old notification system in JS code
This change was made when already investigating https://github.com/Martchus/tageditor/issues/50.
So that issue was there before this change.
2019-10-08 18:55:08 +02:00
Martchus bdc1c0d8d9 Update version: 3.3.0 -> 3.3.1 2019-09-27 15:36:57 +02:00
Martchus d92814187a Hide progress indication before showing cover/lyrics dialog 2019-09-25 18:18:06 +02:00
Martchus dc4a6b2ee9 Make "...ApiUrl()" functions static 2019-09-25 18:17:08 +02:00
Martchus 2a9b7eb48a Make LyricsWikia query more robust
This PR adds a fallback to a self-crafted URL if the XML which is
supposed to contain it broken.

That's required because it seems that the XML is sometimes not
generated correctly (e.g. missing "+" character in song name which
has the plus sign in it).
2019-09-25 18:16:20 +02:00
Martchus 7f58124bf0 Use aboutToQuit() signal for cleanup-code
As recommended by the Qt documentation
2019-09-14 19:44:34 +02:00
Martchus 474d66b25c Improve db query widget
* Trigger auto-insert also when query results are available
* Allow to refresh when new search criteria has been (automatically)
  inserted

So it is at least a little bit more convenient to use.
2019-09-03 22:04:43 +02:00
Martchus 76ba02c3c0 Improve context menu of db query widget 2019-09-02 22:13:57 +02:00
Martchus 015dc06c17 Allow to query makeitpersonal.co for lyrics 2019-09-02 21:47:11 +02:00
Martchus a94f2e3675 Improve UI of db query widget
* Move query options into menu so it is possible to add more
  without being limited by available space
* Trigger the last query action when hitting the enter key
* Change order of elements; I guess it looks better with buttons
  and fields to be used at the top
2019-09-02 21:42:56 +02:00
Martchus d3f84c4c39 Add conversion from ISO-639-2/B codes to language names 2019-08-17 20:58:14 +02:00
Martchus a5224d930d Apply clang-format 2019-08-13 00:35:04 +02:00
Martchus aa0d57f56a Apply DB query row on double click 2019-08-12 20:27:51 +02:00
Martchus 9c16e22ca8 Ignore case when matching DB query row 2019-08-12 20:27:16 +02:00
Martchus 9a37492a10 Use helper for flag enum class from c++utilities 2019-08-12 20:26:38 +02:00
Martchus 9fd765c6de Set size policy of cover type selection to minimum expanding 2019-08-12 00:31:41 +02:00
Martchus 570bfc74ac Construct QList for pages from initializer list 2019-08-10 22:04:10 +02:00
Martchus 89ccc39d4b Remove use of fallback icons from qtutilities
Rely on icons from (bundled) icon theme instead.
2019-08-08 22:57:30 +02:00
Martchus 865b3501c4 Allow scaling and converting assigned covers 2019-07-21 23:46:46 +02:00