Commit Graph

187 Commits

Author SHA1 Message Date
craig.p.drummond
3444e84012 If replacing playqueue with a stream, then start playing when added. 2013-02-13 19:42:27 +00:00
craig.p.drummond
a2cad3d269 Better thread termination 2013-01-30 19:16:03 +00:00
craig.p.drummond
09374f37a4 Remove Qt module prefix from includes - will make Qt5 port a little easier! 2013-01-28 19:33:42 +00:00
craig.p.drummond
c57c8e4730 Dont emit errors when setting volume. 'Fade on stop' seems to cause issues now and again, so just ignore! 2013-01-17 19:14:13 +00:00
craig.p.drummond
476d132466 Update copyright year 2013-01-17 16:57:20 +00:00
craig.p.drummond@gmail.com
727be08e0d Only set title from file, if title is empty! 2013-01-16 12:03:43 +00:00
craig.p.drummond
a993d86a79 For streams, use filename part of path as track title. 2013-01-15 22:08:43 +00:00
craig.p.drummond
3fc5151c25 Fix detection of streams in play queue when current song is updated. 2013-01-15 19:17:39 +00:00
craig.p.drummond
f87d7b063b Move server info into a dialog. 2013-01-12 08:30:57 +00:00
craig.p.drummond
5d51288af3 Only fill tags if we actually have a song - otherwise infoview loads wiki of 'Unknown'!!! 2013-01-12 08:30:17 +00:00
craig.p.drummond
396f7d8d2b For a song to be 'empty', artist, album, title, and name need to be empty.
This fixes detection of updates to the name field when playing streams.
2013-01-08 19:27:31 +00:00
craig.p.drummond
60ca81e7c7 Only guess tags / fill empty for non-stream songs 2013-01-08 19:26:00 +00:00
craig.p.drummond
0a09911a92 Fix decoding of Cantata HTTP stream URLs. 2012-12-30 21:52:11 +00:00
craig.p.drummond
b79fedfbdc Need to set key (used to group albums) AFTER guessing tags and filling empty fields.
(This was accidentaly reverted by r1759)
2012-12-15 17:39:32 +00:00
craig.p.drummond
b79f87a377 Import initial cover download dialog. This is so that trunk actually compiles!
THIS IS NOT FINISHED, NOT EVEN SLIGHTLY!!!
2012-12-15 12:39:45 +00:00
craig.p.drummond
63acab3bdb Need to set key (used to group albums) AFTER guessing tags and filling empty fields. 2012-12-14 09:10:49 +00:00
craig.p.drummond
e3f326d162 Ensure we ALWAYS guess tags for untagged playqueue items 2012-12-13 19:53:22 +00:00
craig.p.drummond
9bbb73f751 Revert playqueue guessed tags when showing tag editor 2012-12-12 20:30:11 +00:00
craig.p.drummond
858f4bb52e - When guessing tags, remove leading spaces/dashes from title.
- Also add tag/title guessing to details shown in main window.
2012-12-10 19:55:08 +00:00
craig.p.drummond
a465271b8b For playqueue items, if we only have a filename, and no artist, etc, then attempt to ascertain artist, album, title, and track number from the filename. These will be extracted if the filename has the following pattern:
"%artist%/%album%/%track% %title%"
Otherwise, if we cannot extract all of these, just set the title to the filename without path.
BUG:138
2012-12-10 19:54:34 +00:00
craig.p.drummond
9bffe212dd Move MPD thread into MPDConnection class 2012-12-08 11:25:32 +00:00
craig.p.drummond@gmail.com
1f1b5c16c2 Add 'Set Album Artist from Artist' action to tag editor. 2012-12-07 12:07:23 +00:00
craig.p.drummond
563335bc16 When refresh button is pressed send an update and stats request to MPD. 2012-11-26 21:28:05 +00:00
craig.p.drummond
ef551186e4 Apply some cppcheck and scan-build suggestions...
BUG:129
2012-11-05 20:41:30 +00:00
craig.p.drummond@gmail.com
fc7a0829e3 Handle UTF-8 playlist names.
BUG:109
2012-10-15 11:11:55 +00:00
craig.p.drummond
2521a1efd5 - Remove cover fetching from dyanmizer
- Only add config item for dynamizer port, as remote dynamizer should really be on the same machine as MPD.
2012-10-10 19:00:28 +00:00
craig.p.drummond@gmail.com
e2fd9eb105 Slightly better error messages. 2012-10-10 11:32:41 +00:00
craig.p.drummond@gmail.com
ba6e68ae73 Not used. 2012-10-08 17:22:14 +00:00
craig.p.drummond@gmail.com
70b6f5d550 Move most of Utils into support lib 2012-10-08 11:22:54 +00:00
craig.p.drummond
43ef241b02 Add setting to control name of downloaded cover files.
BUG: 104
2012-10-07 19:27:29 +00:00
craig.p.drummond@gmail.com
6ca5a860fb Set Artist, AlbumArtist, and Album of cue files to that of assigned album.
BUG:79
2012-09-10 12:07:19 +00:00
craig.p.drummond@gmail.com
1a967755b0 When sorting tracks, sort on duration after sorting on name, title, and genre. This way of tracks do not have a takc number, disc, year, etc, then we will sort on the name/title before duraiton. 2012-09-10 11:14:33 +00:00
craig.p.drummond
9654ce15a9 Add a server mode (with HTTP API) to cantata-dynamic. Intended so that dynamizer can run on same host as mpd 2012-09-07 19:42:17 +00:00
craig.p.drummond
191261759d D'oh!!! 2012-09-03 19:06:39 +00:00
craig.p.drummond
0c61131818 Reduce number of translations 2012-09-03 19:05:04 +00:00
craig.p.drummond
5669f724f6 Initial work on Qt translations. Commented out for the moment, as xgettext is crashing!!! 2012-09-02 20:13:00 +00:00
craig.p.drummond@gmail.com
fad8f81f84 Cleanup 2012-08-31 11:44:06 +00:00
craig.p.drummond@gmail.com
647530b94f HTTP paths should also be fixed to end with / 2012-08-23 11:05:24 +00:00
craig.p.drummond@gmail.com
73f3815338 If the date string recieved from MPD is longer than 4 characters, just use the first 4 - as we are only interested in the year. 2012-08-23 11:04:34 +00:00
craig.p.drummond@gmail.com
4e92b257d8 In KDE builds, check if MPD is readable each time we get a device added or removed signal from Solid. (Requires KDE4.9 to function correctly)
BUG:53
2012-08-21 17:55:06 +00:00
craig.p.drummond@gmail.com
56927b42fc - Dont split albums based upon year - this messes up compilation albums, where each track may have a different year.
- To be consistent, use the year of the lowest track number to be an album's year.
BUG:56
2012-08-21 11:05:41 +00:00
craig.p.drummond@gmail.com
a0aab6879b Fix track order when adding newly added album, via folders page, to playqueue. 2012-08-20 11:36:51 +00:00
craig.p.drummond@gmail.com
6db6265ad9 Fix issue with filenames containing quotes for playlist items
BUG:58
2012-08-20 11:09:01 +00:00
craig.p.drummond
a22e91ef78 Update playqueue, and outputs, when reconnecting. 2012-08-19 20:35:26 +00:00
craig.p.drummond
7c9a2fa74b Fix handling of filename's with quotes.
BUG:58
2012-08-19 10:56:51 +00:00
craig.p.drummond@gmail.com
64cfcab3b6 Only refresh status once in praseIdle 2012-08-14 11:08:46 +00:00
craig.p.drummond
832aaa6a08 Save MPD filename scheme settings with MPD server settings. 2012-08-13 18:56:01 +00:00
craig.p.drummond@gmail.com
a5f487644a Reduce tiemout waiting for read replies - cant't jsut wait indefinetely 2012-08-13 11:06:59 +00:00
craig.p.drummond
19092d1c1f - Reset status when connection lost.
- Dont attempt to send commands if not connected.
2012-08-09 20:57:15 +00:00
craig.p.drummond
dcf85a1cef If we loose MPD connection, then show error widget. 2012-08-09 20:52:03 +00:00