Commit Graph

2014 Commits

Author SHA1 Message Date
Andrzej Rybczak 9749e49cfc Squash a few more warnings 2020-12-13 15:55:45 +01:00
Andrzej Rybczak 3b06b7e90e Allow for editing multiple titles in the tag editor 2020-12-13 15:33:27 +01:00
Andrzej Rybczak 2c91694dc4 Fix locating a song in album only view and make it play nice with dates 2020-12-13 15:18:48 +01:00
Andrzej Rybczak 00a614eec2 Use signal instead of sigignore as the latter is deprecated 2020-12-13 14:39:34 +01:00
Andrzej Rybczak 176b9714f3 Fix warnings in visualizer.cpp 2020-12-13 14:38:13 +01:00
Andrzej Rybczak d1e7c0cbf0 Disable autoscaling for visualizer by default 2020-12-13 14:22:20 +01:00
Andrzej Rybczak 28382a09b9 Fix default value of visualizer_spectrum_dft_size 2020-12-13 14:16:57 +01:00
Andrzej Rybczak b2ffa001a1 Update CHANGELOG 2020-12-13 14:14:11 +01:00
Evan Chang 47b3baf93c Use log scale for visualizer (#397)
* Visualizer: use log scale

- log scale frequency and gain
- Hamming windowing
- improve reading from fifo

* Fix Visualizer memory leaks

* Visualizer: use Blackman window

* Visualizer: support DFT zero padding

* Visualizer: support fractional height bars, fix fifo read

* Revert "Fix Visualizer memory leaks"

This reverts commit 5c6509d2b8ed985a4928f681217dc8616d053ace.

* Visualizer: fix fifo read again

* Visualizer: add cubic interpolation option

* Visualizer: Expose more config options, add docs for config options

* Visualizer: Use reverse video text for stereo visualizer smooth look

* Visualizer: use FormattedColor to for reverse-video

* Visualizer: change some config options for spectrum

* Fix build fftw disabled

* Visualizer: use [0,5] interval for dft_size config option
2020-12-13 14:13:45 +01:00
Lucas Zacharewicz 750e7ff59d Added option to hide album dates (#417)
* Added option to hide album dates

* Fixed formating typo
2020-12-13 14:02:49 +01:00
Andrzej Rybczak 99f760bdac Add new actions to sample bindings file and help screen 2020-12-13 09:35:05 +01:00
arcnmx 430cd92e96 Add an explicit Load action (#409) 2020-12-13 09:25:23 +01:00
Andrzej Rybczak 5b6736b543 Remove Lyricsmania fetcher as it doesn't work 2020-12-13 08:46:32 +01:00
Andrzej Rybczak ecc2fefa7c Fix Genius and Tekstowo fetchers 2020-12-13 08:44:18 +01:00
Andrzej Rybczak 60b8071eea Remove lyricwiki fetcher as the site closed down 2020-12-10 15:16:23 +01:00
jaredforrest aa9ca84cb2 Fix delete key in st (#425) 2020-12-10 15:04:12 +01:00
Louis Sautier 399e0f4700 Fix build with GCC 10 by adding missing include
Fixes the following error:
./mpdpp.h:438:15: error: ‘runtime_error’ is not a member of ‘std’
2020-05-09 14:31:52 +02:00
Andrzej Rybczak bdec1eb009 Merge pull request #373 from wylfen/master
Stop using deprecated removeField method
2020-01-12 12:35:13 +01:00
Andrzej Rybczak 69ec9aef63 Merge pull request #370 from dankamongmen/master
Curses: don't iterate through unbound COLORS #369
2020-01-12 12:33:03 +01:00
nick black 302bcca99a Curses: don't iterate through unbound COLORS #369
On DirectColor-capable terminals with the proper terminfo
database in use, COLORS is 2^24. Since the color map is
only 64k entries, this resulted in a segfault. I've
introduced NC::colorCount(), which bounds it by the
previously assumed maximum (and usable range) of 256.
2020-01-12 06:06:29 -05:00
Andrzej Rybczak d86c965143 Fix lyrics fetchers 2020-01-12 06:43:52 +01:00
Wynn Wolf Arbor 5e54cf2ca3 Stop using deprecated removeField method
taglib deprecated removeField internally in [1], but did not add the
deprecation warning until about four years later. The original bug
report [2] and pull request commit both mention not wanting to change
the original method's behaviour, but this was done anyway (perhaps by
mistake) in [3].

With that change, removeField(type) will not remove all tags of the
given type anymore, as the default for value has changed from
String::null to String().

This commit replaces explicit calls to removeField(type) with
removeFields(type), which has the correct behaviour. In writeXiph,
removeField is removed entirely, as addField(key, value) will replace
the tag by default.

[1] https://github.com/taglib/taglib/pull/681
[2] https://github.com/taglib/taglib/issues/651
[3] https://github.com/taglib/taglib/commit/c05fa78406fd8ce7382a11c1f63a17c4bfbe83fa
2020-01-11 15:30:08 +01:00
redoste af512a9668 Add ability to not display the "Connected to ..." message at startup 2019-10-19 21:50:33 +02:00
Larson Carter d6315ddcd7 Merge pull request #340 from sticken88/master
Changes API for directories creation.
2019-10-01 20:18:01 -05:00
Laurent Arnoud ee79bfd1d7 Move random_exclude_pattern settings to proper place 2019-10-01 19:22:16 +02:00
Laurent Arnoud 69f49d558d Add random_exclude_pattern option for random songs 2019-10-01 19:05:44 +02:00
Larson Carter 320d8d0ccb Merge pull request #240 from Polochon-street/album-view
Added a fully working 'Album-only' view
2019-09-30 18:19:21 -05:00
Larson Carter 9f6862e627 Merge pull request #338 from mvrozanti/master
allow for message_delay_time = "0"
2019-09-30 18:14:18 -05:00
Larson Carter 94bfe04994 Merge pull request #327 from FeralHedgehog/expand_with_password
Expand '~' in mpd_host when preceded by a password.
2019-09-30 18:12:11 -05:00
Larson Carter 6001a639da Merge pull request #269 from karlicoss/mpd-play
Add support for starting playback in stopped state
2019-09-30 18:06:20 -05:00
Larson Carter 3a27d15e8e Merge pull request #312 from ata2001/lyrics-zeneszoveg
lyrics fetcher: add support for zeneszoveg.hu
2019-09-30 17:57:19 -05:00
Peter Rice e1e220c975 Escape single quotes in filenames 2019-08-06 21:41:38 -04:00
Peter Rice 2ff23ed719 Skip sh and pass filename in single quotes 2019-08-05 20:22:55 -04:00
Matteo Sticco 94c74e50bf Changes API for directories creation. 2019-05-22 22:57:58 +02:00
Marcelo 444137696e allow for message_delay_time = "0" 2019-05-04 10:39:16 -03:00
feral_hedgehog 8304cb8e4c Properly expand '~' in mpd_host when preceded by a password. 2019-01-26 01:40:15 +02:00
Attila Szollosi 156be93d5a lyrics fetcher: add support for zeneszoveg.hu 2018-10-24 02:07:25 +02:00
Jan Holthuis 81cb7a4f85 Restore curses after running external command
This allows running TUI tools like vim via run_external_command without
destroying the ncmpcpp curses output.
2018-05-13 18:15:21 +02:00
Andrzej Rybczak e3e35dcbdd Fix compilation with ICU >= 61, part 2 2018-04-09 11:36:39 +02:00
Andrzej Rybczak 7a75756ca3 Fix compilation with ICU >= 61 2018-04-09 09:12:25 +02:00
Andrzej Rybczak e912a9d0c3 Lyrics: reset position of a window when fetching 2018-03-29 17:00:38 +02:00
Andrzej Rybczak 51fe8dc2c8 Statusbar: redraw separator after interface switch when MPD is stopped 2018-03-18 12:41:47 +01:00
Andrzej Rybczak e6f5179b92 Fix warnings when compiling with GCC 7 2018-03-18 12:32:52 +01:00
Andrzej Rybczak 2f3588edf3 Search engine: properly interact with filtering
See https://github.com/arybczak/ncmpcpp/issues/260
2018-03-18 11:43:59 +01:00
Andrzej Rybczak 557720061d Lyrics fetcher: fix metrolyrics.com fetchers 2018-03-18 11:07:51 +01:00
Andrzej Rybczak 1b98dd71e1 Lyrics fetcher: fix lyricsmania.com and sing365.com fetchers 2018-03-18 10:52:14 +01:00
Andrzej Rybczak db619c6159 Make it impossible for MainHeight to overflow 2018-03-18 10:31:08 +01:00
Andrzej Rybczak 0b04d9ec35 Help: display EoF properly 2018-03-18 09:26:28 +01:00
Dima Gerasimov 77f39d4979 Add support for starting playback in stopped state 2017-12-17 15:28:59 +00:00
Andrzej Rybczak b7da5d1b9a Curl: re-enable verification of the SSL certificate against host 2017-10-12 13:29:51 +02:00