Commit Graph

197 Commits

Author SHA1 Message Date
Martchus dbc1c79f49 Support album artist and vendor 2019-01-01 23:44:28 +01:00
Martchus c0c413cddc Fix typo 2018-11-15 21:33:08 +01:00
Martchus 19b2cb0eb3 Show pixel/display size and PAR in CLI 2018-07-28 15:08:54 +02:00
Martchus 1bd4fed7a7 Replace typedef with using 2018-07-11 13:18:36 +02:00
Martchus c9d43c7931 Adapt to tagparser v8 2018-07-10 16:35:50 +02:00
Martchus b6ed69db8a Use constexpr AttachmentInfo and some helper 2018-07-10 14:12:26 +02:00
Martchus 53970fbf74 Fix TagParser namespace in documentation 2018-06-03 20:39:00 +02:00
Martchus 0b86408637 Fix specifying track number
The way to specify the track ID for setting meta-data on
track-level conflicted with the way to specify the track
number. The track ID is now specified via 'track-id='.

This breaks the CLI, however I see it as a bug that
'track=' worked for specifying the track ID so it should
be ok.
2018-05-31 00:32:30 +02:00
Martchus 4edeaa1ab2 Support showing unsupported fields when displaying tag info 2018-05-13 00:27:42 +02:00
Martchus a7bdc00112 Fix usage of enable_if with GCC 8
Seems like the trick with the three dots isn't working
with GCC 8 anymore. So let's make it a default template
parameter then.

Not sure whether GCC 8 is here correct and whether this
workaround causes further trouble.
2018-05-07 23:53:01 +02:00
Martchus 3411ee3eef Apply clang-format 2018-04-29 19:02:42 +02:00
Martchus 4f21442f39 Set writing application 2018-03-20 21:41:42 +01:00
Martchus 73fb412cfc Simplify creation of CLI arguments 2018-03-14 18:44:33 +01:00
Martchus e04b63d77d Colorize diag messages 2018-03-13 19:29:34 +01:00
Martchus 97518578b0 Reduce nesting in setTagInfo() 2018-03-13 19:21:12 +01:00
Martchus 1f4a79403e Turn most warnings into fatal errors 2018-03-13 19:20:41 +01:00
Martchus 99ef9643ee Parse everything in displayFileInfo()
Because displaying padding requires parsing the tags for
files with ID3 tags.
2018-03-11 19:05:45 +01:00
Martchus 4f53029a6e Refactor MediaFileInfo::createAppropriateTags() 2018-03-11 18:58:20 +01:00
Martchus 4b7d7a9499 Apply clang-format 2018-03-07 01:18:01 +01:00
Martchus c1a3e53dc9 Move tagparser to namespace TagParser 2018-03-06 23:10:13 +01:00
Martchus c2b2e4ac44 Adapt to new notification handling 2018-03-06 22:43:51 +01:00
Martchus 254b9b7661 Adapt to tagparser v7 2018-03-06 22:43:51 +01:00
Martchus 82ccb9b9f3 cli: Allow to set backup path 2018-02-20 21:36:55 +01:00
Martchus 5320ef0660 cli: Gather notifications also in the error case 2018-02-20 21:36:15 +01:00
Martchus 1a17bef9c2 Fix typo 2018-02-05 21:55:45 +01:00
Martchus 7848b285b6 Fix some warnings 2018-01-31 21:02:24 +01:00
Martchus 5254e6cdf9 Add --pretty flag to JSON export 2018-01-26 18:09:53 +01:00
Martchus ef08011167 Add #ifdef for JSON export include 2018-01-21 15:27:34 +01:00
Martchus 13d9bbf8d6 Fix include paths for reflective-rapidjson
So the paths match the actual install directory.
2018-01-20 21:16:15 +01:00
Martchus e3e9e40682 Fix error handling in JSON export 2018-01-20 00:59:50 +01:00
Martchus ae85f123f8 Export target info in a structured way 2018-01-19 23:43:54 +01:00
Martchus 01e57c86d6 Add JSON export 2018-01-15 01:08:36 +01:00
Martchus 3443729d16 Reset allTracks for following track modifier 2017-12-05 15:44:25 +01:00
Martchus d06004d01a cli: Improve help/auto-completion for track attributes 2017-12-05 15:21:59 +01:00
Martchus 79a8be22c5 cli: Parse on/off as boolean 2017-12-05 15:11:28 +01:00
Martchus 02586635b5 Add option to specify time span output format
See https://github.com/Martchus/tageditor/issues/27
2017-11-29 22:57:32 +01:00
Martchus 163abf3b02 Make use of escape codes configurable 2017-10-17 00:01:58 +02:00
Martchus b1b071aba8 Call only save functions (according to POSIX) in signal handler
It still uses some static variables. However, it seems to be
unproblematic.
2017-10-14 18:15:51 +02:00
Martchus 30f76b8d59 cli: Be sure pos is initialized 2017-10-09 21:35:16 +02:00
Martchus ec695373cf cli: Improve overall coding style
First step for further refactoring
2017-10-09 20:58:13 +02:00
Martchus 358b105b1b cli: Handle interrupt so setting tags is not force-canceled
This should prevent damaged files in case CTRL + C is used to
terminate the application during rewrite.
2017-10-09 19:25:01 +02:00
Martchus 7f7d5f22c7 cli: Clear current status after finalizing log 2017-10-09 19:03:54 +02:00
Martchus 41def42c71 cli: Use phrases also in helper 2017-10-09 19:02:28 +02:00
Martchus 4ce58426c0 cli: Catch correct exceptions when setting tags 2017-10-09 19:01:49 +02:00
Martchus f1de016b39 Move phrases for CLI to c++utilities 2017-09-26 15:25:24 +02:00
Martchus 5ffa9b7d2c Improve CLI
* Use formatting
* Use more consistent format
* Show track summary
2017-09-22 00:19:24 +02:00
Martchus 7400534d20 Use frame instead of sample count for video tracks 2017-06-27 00:37:56 +02:00
Martchus 6fb6d3dcbe Allow setting track meta-data 2017-06-17 00:45:08 +02:00
Martchus cbe6b800cd Warn when encoding not supported 2017-05-18 02:32:51 +02:00
Martchus 041b53101a Make definitions for gui support project specific 2017-04-27 22:10:55 +02:00
Martchus 59ab7e6181 Use std::make_unique provided by C++14 2017-02-05 21:04:27 +01:00
Martchus 95a1b6c620 Use string builder 2017-01-30 22:13:49 +01:00
Martchus d99956f4c9 Allow specifying native field IDs via CLI 2017-01-23 00:27:21 +01:00
Martchus 5d0db0fafe cli: Refactor printing field 2017-01-16 22:58:15 +01:00
Martchus 2f39fd4b1c Refactor CLI 2017-01-15 21:50:51 +01:00
Steven Penny 1a181d36d4 Proper include qtutilities/misc/conversion.h
C’mon man, this is just lazy.
2016-12-29 22:39:03 -06:00
Martchus 7d464f496f Consider all strings from tagparser UTF-8 2016-12-20 23:53:33 +01:00
Martchus e75ea5526a Use _wopen under Windows to support unicode filenames 2016-12-19 23:53:12 +01:00
Martchus 019e5a590e Remove unused docTitleModified 2016-12-18 17:24:54 +01:00
Martchus 65ed11f0f1 Apply changes always 2016-11-19 21:45:52 +01:00
Steven Penny 7d627b70a6 mainfeatures.cpp: Define hash functions for KnownField and TagType
Fix #12
2016-11-19 17:11:49 +01:00
Martchus 84ba55a0df Only warn when no values have been specified to be set
Allows applying file layout changes without modifying
any values, attachments, ...
2016-11-18 16:57:42 +01:00
Martchus 91dcc2f9fd Show index position 2016-11-16 19:34:40 +01:00
Martchus 015dd6e181 Fix --tag-pos option
Also add test and show tag pos for MP4 files
2016-11-15 22:45:19 +01:00
Martchus 1924c1d804 Handle unexpected exceptions when parsing/making
* Don't just ignore exception (previous behavior)
* Add critical notification
* Show results, though error (to ease debugging)
2016-11-13 22:57:02 +01:00
Martchus 8723246e55 Improve indentation 2016-10-08 00:31:13 +02:00
Martchus 71ca26d365 Allow setting multiple values per field via CLI 2016-08-14 22:47:50 +02:00
Martchus 1a7f87e21d Add --output-files options for setting tags 2016-08-07 22:08:11 +02:00
Martchus 5010d3621d Improve CLI and add more tests 2016-08-06 22:03:29 +02:00
Martchus 46f006f289 Add more CLI tests 2016-08-04 20:41:05 +02:00
Martchus 1a20eea65b Improve handling of attachments via CLI 2016-08-04 00:19:29 +02:00
Martchus 6d8833fe9d Improve CLI
- Implement tests (not everything covered yet)
- Improve documentation in README.md
- Fix issues when editing tags of multiple files at once
2016-07-30 23:17:49 +02:00
Martchus aaccbcc375 Drop Qt dependency when building only CLI 2016-07-27 19:55:32 +02:00
Martchus d69190a6e5 Remove feature for removing backup files
Simple combination of find, xargs and rm
should do the same.
2016-07-11 21:15:58 +02:00
Martchus 229e24cbe0 Hide start/end time of chapters when not set 2016-07-11 21:12:02 +02:00
Martchus dc7b4844bf Provide bash completion 2016-07-11 19:56:17 +02:00
Martchus f394dcb46b Fix bugs in cli 2016-06-25 23:11:16 +02:00
Martchus 0e488ddcd2 Remove bash completion
Support for bash completion has never been finished.
Trying to implement a general approach for bash
completion instead.
2016-06-24 23:05:57 +02:00
Martchus 2518309608 Use workaround for GCC Bug 66145 2016-06-14 22:54:49 +02:00
Martchus 72621f7ad8 Use new argument parser API 2016-06-14 00:52:33 +02:00
Martchus c1269c7945 Improve handling of targets 2016-05-26 02:15:41 +02:00
Martchus 69605bc09d reduce code duplication in build system
- get rid of qmake project file
- provide CMake modules for common tasks
- provide templates for *.desktop files
2016-04-16 00:50:57 +02:00
Martchus b105b86d29 edit document title via GUI 2015-12-27 19:49:17 +01:00
Martchus 9e82fcbe64 added file layout options to CLI 2015-11-28 00:20:49 +01:00
Martchus 35e219d833 added --doc-title 2015-10-14 19:49:48 +02:00
Martchus 53330c7d2c added --remove-targets and --remove-existing-attachments 2015-10-13 23:21:31 +02:00
Martchus bc9e21950a improved CLI and handling of attachments 2015-10-06 22:41:54 +02:00
Martchus ffa0d45397 show extension channel config 2015-09-24 01:15:48 +02:00
Martchus cbf5ce624b changed handling of SBR/PS AAC extension 2015-09-24 00:19:53 +02:00
Martchus 17923f9b23 add verbose option 2015-09-23 00:02:06 +02:00
Martchus 8c1d2eaf81 apply fields with no target to all tags 2015-09-22 23:42:59 +02:00
Martchus 77a0bc28ee fixed includes 2015-09-06 20:20:00 +02:00
Martchus 76668bf883 fixed includes 2015-09-06 15:41:17 +02:00
Martchus ed65b659de updated application startup 2015-09-01 20:20:15 +02:00
Martchus 1371ca5ce7 small adjustments 2015-08-16 23:41:49 +02:00
Martchus 7c13d0eecc added --display-file-info to CLI 2015-08-09 23:53:45 +02:00
Martchus b2b8231a27 First commit 2015-04-22 19:33:53 +02:00