Commit Graph

148 Commits

Author SHA1 Message Date
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
craig.p.drummond
279eae51a0 If socket.write() fails, to do a waitFroWritten!!! 2012-08-09 20:46:12 +00:00
craig.p.drummond
76ac26c2b7 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
a9db7a35d6 Attempt to reconnect every .5s (for 15s) when resuming 2012-08-08 11:16:26 +00:00
craig.p.drummond
e208f2bde5 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
e5420a1243 Use command list when adding songs to playlist. 2012-07-12 17:57:52 +00:00
craig.p.drummond
bbc8503ddf 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
073def4ae0 Forgot to add :-( 2012-06-27 17:07:09 +00:00
craig.p.drummond
169f8a97d9 - 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
dea1f32ea2 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
63e0431f6c Make TagLib optional. 2012-06-18 18:22:58 +00:00
craig.p.drummond
dc96d65f7d Fix saving/reading/updating connection details. 2012-06-15 22:36:55 +00:00
craig.p.drummond
09527996b1 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
3ce1821970 Show playlist files in library and album views.
BUG:27
2012-06-12 11:16:37 +00:00
craig.p.drummond
fb21e0a3a0 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
4b64fa30fc Remove double semi-colons... 2012-06-10 14:44:29 +00:00
craig.p.drummond
591e0f961b 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
28947a62b0 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
18457828c1 Fix update when chaning connection 2012-06-09 12:27:15 +00:00
craig.p.drummond
e2f63f26ec Multiple server support fixes 2012-06-08 17:54:59 +00:00
craig.p.drummond
614ad21b64 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
632bc04c9b Add support for multiple MPD servers. 2012-06-08 17:53:35 +00:00
craig.p.drummond@gmail.com
882cb8d9ec Take into account disc number when sorting songs. 2012-06-07 11:27:18 +00:00
craig.p.drummond@gmail.com
e95ba21ba7 Add support for listing playlist files in folder view.
BUG: 19
2012-06-06 11:14:29 +00:00
craig.p.drummond
f9f1edcb6f 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
c009106af9 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
7660cdc938 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
d95b7170f2 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
1f06d49b59 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
c87402d2b6 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
0687a37f86 '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
craig
5e5a10fe35 If connection fails due to password, then state this in error message. 2012-04-18 18:32:08 +00:00
craig
14b278f583 Disable debug 2012-04-17 15:52:01 +00:00
craig
800dddc394 Request list of URL handlers immediately after connecting. 2012-04-17 15:51:40 +00:00
craig
4181654bdf Improve MPD connection reliability. When one socket (command or idle) is
disconnected, only reconnect that one. If a reconnect fails, then
disconnect both. If we receive an empty reply to a command and socket has
been closed - then attempt to reconnect and resend command.
2012-04-17 15:51:10 +00:00
craig
cd3831c3db Re-arrange connection logic. dyanmizer appears to (sometimes) be causing errors! 2012-04-16 21:06:09 +00:00
craig
fdc17d2542 Need to keep track of which ids refer to streams, as these may change artist/title/etc, so will always need full updates 2012-04-08 17:39:01 +00:00
craig
7d02e8b27a Give streams key 0 2012-04-08 11:20:37 +00:00
craig
f650fa2f90 Playlists model expects rows to be in ascending order when removing 2012-04-05 14:26:58 +00:00
craig
c3a8c16884 Cleanup 2012-04-05 14:19:26 +00:00