Commit Graph

121 Commits

Author SHA1 Message Date
Craig Drummond
6e100a5ef5 Use for(var: list) and not foreach(var, list) 2017-11-27 22:36:53 +00:00
Wolfgang Scherer
243235cefa forked-daapd does not generate valid play queue IDs 2017-11-20 06:30:36 +01:00
Wolfgang Scherer
bff60d1a6e Fix setServerType() 2017-11-20 05:36:09 +01:00
Wolfgang Scherer
cccfb92d12 Do not use the prefix for member variables 2017-11-20 00:40:50 +01:00
Wolfgang Scherer
13e27e56c9 serverInfo.detect() moved to setDetails() 2017-11-19 18:27:14 +01:00
Wolfgang Scherer
70bad36bbd Server feature detection 2017-11-19 16:49:01 +01:00
Wolfgang Scherer
e97ecf1609 Option to suppress update command after manipulating files 2017-11-12 07:02:26 +01:00
CraigD
92d06be949 Merge pull request #1118 from wolfmanx/forked-daapd-file-prefix
Forked daapd file prefix
2017-11-11 19:31:10 +00:00
Craig Drummond
33e1800f39 Fix MPRIS length field.
Issue #1119
2017-11-10 23:38:52 +00:00
Wolfgang Scherer
6f7f19dff2 Detect forked-daapd server 2017-11-10 23:51:27 +01:00
Wolfgang Scherer
eef8e72ed7 PlayQueue actions "Edit Track Info" and "Locate In Library" fixed for forked-daapd 2017-11-09 20:14:34 +01:00
Wolfgang Scherer
2f9f0c9588 Some incorrect handling of absolute file names fixed 2017-11-09 07:50:55 +01:00
Wolfgang Scherer
4d6a8442c4 Support for forked-daapd file names 2017-11-09 07:46:56 +01:00
Craig Drummond
790a3830b4 Remember last loaded/saved playlist name - and use this as the default
name when saving.

Closes #1116
2017-11-05 15:58:47 +00:00
Craig Drummond
0e2be1a96e Set allowLocalStreaming to false by default 2017-10-15 18:17:29 +01:00
Jonas Wielicki
040bc96f3a http: make HTTP server support configurable
This allows to configure the local files streaming option
per-connection. It defaults to enabled.
2017-10-15 16:11:42 +02:00
Craig Drummond
55cf1221e2 Remove some debug 2017-10-07 12:30:32 +01:00
Craig Drummond
51fbdc48b7 When playing MPD's HTTP output, stop backend when MPD is paused.
Issue #1086
2017-09-24 16:51:55 +01:00
Craig Drummond
f1bc08848a When playing MPD's HTTP output, only ask media backend to start playback
if it is not already playing.

Issue #1086
2017-09-24 09:39:32 +01:00
Craig Drummond
a33b275702 Fix getting all songs 2017-08-22 21:42:03 +01:00
Craig Drummond
3fb5ee3815 Add file age to sorts, and add option for ascending or descending 2017-08-22 21:31:46 +01:00
Craig Drummond
9b1ef09dea Use em-dash where appropriate
Issue #1064
2017-08-18 22:54:24 +01:00
Craig Drummond
fc88de90bc Initial implementation of smart playlists. NOT complete!!! 2017-08-18 22:45:18 +01:00
Craig Drummond
994020ce70 Fix build error - not sure why my gcc does not complain!
Issue #1067
2017-08-17 16:58:49 +01:00
Craig Drummond
221ba54596 Don't try to seek if no song loaded. 2017-08-17 16:57:55 +01:00
Craig Drummond
839b5983d1 If the initial start-up connection fails, try again every .5 second for
a few seconds.
Issue #1037
2017-08-16 20:15:49 +01:00
Craig Drummond
8ace3ccc8c Emit correct state
Dont log error if "stop" fails due to not connected
Issue #1037
2017-08-16 16:55:03 +01:00
Craig Drummond
4ab6ee771d If initial connection fails, inform ui
Issue #1037
2017-08-16 16:38:20 +01:00
Craig Drummond
32468f7e1e Revert "Use em-dash where appropriate"
This reverts commit aa41876e0c.
2017-08-15 23:00:26 +01:00
Craig Drummond
fd2f7bdbac Use em-dash where appropriate
Issue #1064
2017-08-15 22:57:07 +01:00
Craig Drummond
ace619aa2c When adding items with a custom priority, or updating a custom priority,
add option to have this priority decrease with each item.

Issue #1054
2017-08-14 19:42:11 +01:00
Tobias C. Berner
c573c15507 Fix QtMultimedia include
Don't include <QtMultimedia/QMediaPlayer> if the VLC backend is used.
2017-08-01 13:02:31 +02:00
Tobias C. Berner
e7fa1ce66a Include ctime for time_t 2017-07-31 23:25:29 +02:00
Craig Drummond
7ef78f4095 Fix some macOS warnings 2017-07-10 22:31:33 +01:00
Craig Drummond
22d091d058 Store replaygain settings in Cantata's config file, as it appears MPD
does not persist changes.
Issue #1041
2017-07-10 20:32:54 +01:00
Craig Drummond
160bb0dbd3 Add musicbrainz_albumid to metadata_to_use
Issue #1031
2017-06-24 18:51:40 +01:00
Craig Drummond
ae34c098f2 Revert 9f4a1e7ae2
Dont group albums on date - causes more issues. Albums with same name
should have different music brainz id (and MPD configured to use this).
Issue #1031
2017-06-21 22:37:49 +01:00
Craig Drummond
c6b2d36699 Use album name + year to group if no musicbrainz album id
Issue #1031
2017-06-19 18:14:47 +01:00
rezodlub
e8cc1ab8ef Fixes:
empty folders on MPD side (crash inserting/removing to/from model)
usage of sys/time.h changed to QTime
no unistd.h in Visual Studio
if QT was build without SSL support, there is no QSslSocket class (at least in 5.6 and 5.8)
missing strncasecmp in Visual Studio
utime.sys is actually sys/utime.h in Visual Studio
2017-06-11 15:31:35 +02:00
Craig Drummond
a8ab94b480 Increase socket timeouts
Issue #986
2017-05-07 21:12:26 +01:00
Craig Drummond
4a1bcd654d Add support for OriginalDate tag.
Issue #1012
2017-04-28 17:41:45 +01:00
Craig Drummond
943c5873c0 If seek backwards would be past start of song, just seek to start 2017-04-22 11:12:13 +01:00
Craig Drummond
c16be990aa When adding files to playqueue, and in btaches of up to 2000 files. 2017-04-21 18:43:40 +01:00
Craig Drummond
f76407816e Add 3 seek levels (5 seconds, 30 seconds, and 60 seconds), with
assignable shortcuts.
Issues #1008 and #1009
2017-04-21 18:35:43 +01:00
Craig Drummond
f4c48915d4 Always use external helper for tags 2017-04-09 00:31:44 +01:00
Craig Drummond
b3bc9b456c Reduce number of advanced config items - there was just too many. 2017-04-08 19:27:18 +01:00
Craig Drummond
b63c6fbe26 Use Qt5's translation framework - ts files, not po files. 2017-04-08 10:35:31 +01:00
Craig Drummond
529ab99987 When playing MPD's HTTP output stream, check periodically (for up to 2 seconds) to confirm backend is playing.
Issue #987
2017-04-03 18:46:12 +01:00
Craig Drummond
0a73215867 Update (c) year 2017-04-02 18:45:30 +01:00
Craig Drummond
b0b0140d98 Remove Qt4 support 2017-04-02 18:43:34 +01:00