Commit Graph

157 Commits

Author SHA1 Message Date
craig.p.drummond@gmail.com
e181289b48 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
a93dc24bf2 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
b877562085 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
005e1e28a3 D'oh!!! 2012-09-03 19:06:39 +00:00
craig.p.drummond
86a9b9db5c Reduce number of translations 2012-09-03 19:05:04 +00:00
craig.p.drummond
5c7d22c72d 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
c7006bfaab Cleanup 2012-08-31 11:44:06 +00:00
craig.p.drummond@gmail.com
320d385b60 HTTP paths should also be fixed to end with / 2012-08-23 11:05:24 +00:00
craig.p.drummond@gmail.com
b249b21b91 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
b9fd3eb225 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
62611bad53 - 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
be707eaa3c 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
7f43f2bfd8 Fix issue with filenames containing quotes for playlist items
BUG:58
2012-08-20 11:09:01 +00:00
craig.p.drummond
3a34b9203f Update playqueue, and outputs, when reconnecting. 2012-08-19 20:35:26 +00:00
craig.p.drummond
417102c325 Fix handling of filename's with quotes.
BUG:58
2012-08-19 10:56:51 +00:00
craig.p.drummond@gmail.com
b9aee91f27 Only refresh status once in praseIdle 2012-08-14 11:08:46 +00:00
craig.p.drummond
ace2380cb1 Save MPD filename scheme settings with MPD server settings. 2012-08-13 18:56:01 +00:00
craig.p.drummond@gmail.com
129172ad0f Reduce tiemout waiting for read replies - cant't jsut wait indefinetely 2012-08-13 11:06:59 +00:00
craig.p.drummond
5dd0942066 - Reset status when connection lost.
- Dont attempt to send commands if not connected.
2012-08-09 20:57:15 +00:00
craig.p.drummond
89b811ad3d If we loose MPD connection, then show error widget. 2012-08-09 20:52:03 +00:00
craig.p.drummond
7ffe313d54 If socket.write() fails, to do a waitFroWritten!!! 2012-08-09 20:46:12 +00:00
craig.p.drummond
6a09f94b64 More work on reconnectnig after 'resume'
- Use a QTimer, so that we can have queued connection
- Show info mesasge (if taken longer than 1 second) to indicate that we are resuming
2012-08-09 19:44:33 +00:00
craig.p.drummond@gmail.com
41b7f8184f Attempt to reconnect every .5s (for 15s) when resuming 2012-08-08 11:16:26 +00:00
craig.p.drummond
44bc6d6587 With KDE builds (4.7 or later), and Windows Qt builds, reconnect to MPD when system is resumed. 2012-08-06 19:07:58 +00:00
craig.p.drummond
d47747127a Use command list when adding songs to playlist. 2012-07-12 17:57:52 +00:00
craig.p.drummond
5917238c34 If 'Music folder' in settings dialog is a http folder (path starts with http://), then attempt to download cover-art from the http server. 2012-07-10 19:43:58 +00:00
craig.p.drummond
ca52bc0db5 Forgot to add :-( 2012-06-27 17:07:09 +00:00
craig.p.drummond
ce59bd7a36 - Use better names for library/folder loading signals.
- Don't pass dbDateTime into load function, instead store dbDateTime in connection and use this.
- Don't store db time all over the place in the GUI thread, turn MPDStats into a singleton like MPDStatus and use that
2012-06-27 17:05:48 +00:00
craig.p.drummond@gmail.com
6fcbfbabbb Fix noticing of tag chages when MPD database is updated. When comparing songs need to check all fields - not just filename! 2012-06-26 11:23:35 +00:00
craig.p.drummond
c1c61ce0d4 Make TagLib optional. 2012-06-18 18:22:58 +00:00
craig.p.drummond
26b3bdc59c Fix saving/reading/updating connection details. 2012-06-15 22:36:55 +00:00
craig.p.drummond
5bff55a584 Support MPD queue functionality. Add an 'Add With Priority' to menu of library, etc, views. Add a 'Set Priority' to play queue. Requires MPD 0.17.0 or newer. 2012-06-15 19:05:14 +00:00
craig.p.drummond@gmail.com
692bbf6590 Show playlist files in library and album views.
BUG:27
2012-06-12 11:16:37 +00:00
craig.p.drummond
2224e3e7f7 Call 'status' *before* 'plchangesposid'. then ensure that the list of tracks we emit is filled with the amout status has returned. This fixes the case when we are playnig with streams, and mpd just updates the first track. Before we were only getting an update with 1 row, and thinking there was only 1 item in the play queue...
BUG:22
2012-06-10 20:03:28 +00:00
craig.p.drummond
3d4c516184 Remove double semi-colons... 2012-06-10 14:44:29 +00:00
craig.p.drummond
153c04ba69 Fix adding of playlists via d'n'd.
NOTE: cannot respect position when d'n'd as dont know size of playlist
2012-06-10 14:12:49 +00:00
craig.p.drummond
21d3167bbf Disable volume control if MPD returns a volume of -1 - as it does when the mixer is disabled.
BUG:23
2012-06-10 13:45:12 +00:00
craig.p.drummond
605a469703 Fix update when chaning connection 2012-06-09 12:27:15 +00:00
craig.p.drummond
b99ec2b073 Multiple server support fixes 2012-06-08 17:54:59 +00:00
craig.p.drummond
8c9eb631f4 If an MPD connection has more than 1 output, show an 'Outputs' sub menu in the settings menu. 2012-06-08 17:54:25 +00:00
craig.p.drummond
f31a7264cd Add support for multiple MPD servers. 2012-06-08 17:53:35 +00:00
craig.p.drummond@gmail.com
e245eb305e Take into account disc number when sorting songs. 2012-06-07 11:27:18 +00:00
craig.p.drummond@gmail.com
7a489e74d2 Add support for listing playlist files in folder view.
BUG: 19
2012-06-06 11:14:29 +00:00
craig.p.drummond
f5f3114145 Reduce KDE/Qt code duplication - by creating dummy Dialog, MessageBox, and InputDialog classes/namespaces for Qt. 2012-05-31 17:45:57 +00:00
craig.p.drummond@gmail.com
da2b114c80 Only automatically start playing songs if we are replacing the playqueue, or the song is the first song added via the commandline.
BUG:13
2012-05-12 19:39:36 +00:00
craig.p.drummond@gmail.com
bb86526990 For a song to be classified as a stream, its file *must* contain :// 2012-05-02 18:36:34 +00:00
craig.p.drummond@gmail.com
56557014b7 When updating a non-MTP device, prompt the user as to whether to perform a parial scan (only new songs are scanned), or a full scan (where all songs are rescanned). 2012-05-02 11:22:14 +00:00
craig.p.drummond@gmail.com
425e7d29db Make albums view (if set to sort artist before album) more consistent with library view. i.e. Place 'Various Artists' albums first, and place 'Single Tracks' as first 'Various Artists' album. 2012-04-30 11:41:49 +00:00
craig.p.drummond@gmail.com
8b24d760a4 When grouping songs into albums, take into account song year. Its possible for an artist to release two albums with the same name in different years!
BUG:6
2012-04-30 11:07:58 +00:00
craig
0e27e4fece 'plchangesposid' sends all remaing IDs, so no need to check at end. Was causing a phatom, empty, song to appear in playqueue model. 2012-04-18 21:41:58 +00:00