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
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
craig
b46329d53c
Delete rows in reverse
2012-04-05 14:19:16 +00:00
craig
2d6e035b3c
debug
2012-04-02 18:01:14 +00:00
craig
197ea42c14
Fix single-tracks / multiple-artists when list is refreshed
2012-04-02 18:00:15 +00:00
craig
c4d60bc6c3
Need more work to translate errors :-(
2012-03-29 16:47:08 +00:00
craig
97ef69b80c
Translate some errors
2012-03-29 15:50:18 +00:00
craig
62bb1ee146
"listplaylist" command is not used.
2012-03-29 15:50:05 +00:00
craig
72265d2bf3
Support 'single' mode.
2012-03-29 15:49:47 +00:00
craig
5a57f336b8
Use 'plchangesposid' MPD command to get list of playqueue changes - means
...
less data needs to be read from MPD per playqueue update.
2012-03-29 15:49:19 +00:00
craig
7b7da1ef58
Fix removing, and moving, songs???
2012-03-26 19:26:56 +00:00
craig
5ad1a144b2
No need for explicit update
2012-03-26 18:33:24 +00:00
craig
74e3663c5b
Fix logic of replacing play queue - the clear message is sent in the MPD
...
thread just before the add message.
2012-03-26 18:22:26 +00:00
craig
ea932bda1c
Work on playlist editing
2012-03-21 19:04:10 +00:00
craig
e6182412c3
Initial import of grouped playlists - NOT FINISHED
2012-03-16 22:33:34 +00:00
craig
a1676f5815
Include QStringList
2012-03-14 17:27:56 +00:00
craig
b450c6ad45
Reduce QMutex usage - have MPDStats/MPDStatus emitted as objects, and
...
stored in relevant classes.
2012-03-13 19:31:25 +00:00
craig
82eb726af3
Cleanup
2012-03-06 19:01:35 +00:00
craig
a5324ca799
No quotes around MPD
2012-02-26 15:00:55 +00:00
craig
a7b78a4017
When loose MPD connection, indicate via message widget.
2012-02-16 21:05:46 +00:00
craig
a331138e97
Fx Qt only
2012-02-14 21:23:18 +00:00
craig
224b463d11
Show when lose connection
2012-02-13 21:03:27 +00:00
craig
a0f42e8413
Add 'copy to device', etc, actions to folders page.
2012-02-10 20:32:56 +00:00
craig
1f6d860b94
Query MPD for list of supported protocols - and only allow supported URLs.
2012-02-09 19:17:01 +00:00
craig
d1b25ef480
Slightly better error messages
2012-02-06 19:51:54 +00:00
craig
af9ee4d3d1
Use KMessageWidget to show errors - copy of KDE code taken for pre KDE4.7 and
...
Qt only builds.
2012-02-06 19:50:22 +00:00
craig
743ae52f5c
When using local UNIX domain socket, allow playback of non database files.
2012-02-06 19:49:53 +00:00
craig
d4e055cba3
- Don't allow to change Music folder for UMS devices when properties dialog is shown from copy dialog.
...
- Reduce MPD connect/disconnect state changes
- Clean up when abort is requested
2012-01-28 11:28:43 +00:00
craig
eae42fde39
Improve playqueue handling when we have 1000s of entries.
2012-01-24 21:59:37 +00:00
craig
8ff88cdb36
Need to place all finames in quotes
2012-01-18 21:00:49 +00:00
craig
73bc659d43
Cleanup
2012-01-04 19:19:13 +00:00
craig
7dad99ec88
Update copyright statements.
2012-01-04 19:15:55 +00:00
craig
1fca06141f
Allow to connect to local domain socket.
2011-12-28 20:55:17 +00:00
craig
1e46e13da5
Show spinner over library/album/folder view when loading. (KDE only)
2011-12-22 20:03:54 +00:00
craig
5239b22f7c
Remove debug
2011-12-14 20:48:06 +00:00
craig
03bacd43cf
Need to quote name!
2011-12-14 20:46:26 +00:00
craig
61ebd6337b
Drag and drop from/to playlists
2011-12-14 19:44:09 +00:00
craig
7cf422b9a6
Use bold text to highlight items, not italic
2011-12-14 19:42:54 +00:00
craig
2031ebd4d2
...an more playlist work
2011-12-14 19:42:15 +00:00
craig
39e0c4ef5d
Playlists work
2011-12-14 19:41:06 +00:00
craig
36641c5092
Strt of editable playlists
2011-12-14 19:39:52 +00:00
craig
e30eff786c
Start of info page
2011-12-07 21:11:35 +00:00
craig
469d115b67
Check if playlist exists in cantata - rather than talking to mpd
2011-12-07 21:09:54 +00:00
craig
80c58f82fb
Remove debug
2011-12-06 17:45:10 +00:00
craig
11c51064be
Place MPDConnection in its own thread, and use signals/slots to communicate with it.
2011-12-06 17:44:06 +00:00
craig
b4163610a8
When details change, disconnect and reconnect
2011-12-05 19:36:39 +00:00
craig
537d2f301b
Return an error in sendCommand if we are not connected
2011-12-05 19:36:21 +00:00