Commit graph

24 commits

Author SHA1 Message Date
coderkun 04effa0ec1 Fix error handling to operate on error number
Fix the handling of MPD errors to compare the error number instead of
the complete, unparsed error message.
2021-04-18 17:09:35 +02:00
coderkun f4b545369c Merge release v2.1.2 2020-08-03 16:29:17 +02:00
coderkun 973d3dd921 Load playlist before status (close #72)
Load the playlist before loading the status for the idle event “changed”
to make sure the playlist information is attached to the current album
correctly.
2020-08-02 17:39:04 +02:00
coderkun bb8b816e8f Support “albumart” command (close #30)
Load the album covers using MPD’s new “albumart” command instead of
reading the covers from the harddrive. Remove the corresponding UI
elements and configuration option.
2020-07-26 09:40:33 +02:00
coderkun c53681ea82 Use custom buffer for reading from socket
Use the recv() method to read data from the socket instead of makefile()
to allow reading of binary data that is not text. This requires using a
custom buffer.
2020-07-26 09:40:33 +02:00
coderkun 477f89cc0b Init progress bar on Library panel (close #49)
Introduce two new callbacks for this: one when initializing the loading
of albums and another one on handling the loading of each album. Use the
first one to initialize and the second one to pulse the progress bar on
the Library panel.

Additionally use the text of the progress as status label instead of a
separate label widget.
2020-03-22 11:14:45 +01:00
coderkun b29926e041 Fix MPDException to save error message 2018-11-04 19:38:43 +01:00
coderkun 3f12eedf96 Visually indicate changes of playlist and library (close #42)
Set the GTK “needs-attention” property of the header bar stack switcher
for the playlist and the library panel when their content changes.
2018-11-04 19:11:57 +01:00
coderkun 670d50cefd Implement __hash__ method for custom classes (close #45)
Implement a reasonable __hash__ method() for the classes MCGAlbum and
MCGTrack and use a separate id for referencing albums.
2018-11-04 19:11:57 +01:00
coderkun 79148a56f4 Separate library album actions “queue” and “play” (close #54) 2018-09-01 19:21:33 +02:00
coderkun 7a28e9f4bf Add hadling for audio output devices (close #35) 2017-12-25 13:23:21 +01:00
coderkun 30175ee86a Add stats to new Server panel (close #38) 2017-12-25 13:23:18 +01:00
coderkun fe1b60ea17 Add status information to new Server panel (close #37) 2017-12-25 13:23:14 +01:00
coderkun f7d4d17c08 Add multiselect of albums in Library panel (#29) 2017-09-09 13:29:28 +02:00
coderkun 55ef86a0e5 Add multiselect of albums in Playlist panel (#29) 2017-08-26 21:03:04 +02:00
coderkun c451c32437 Add support for “albumartist” tag (resolve #27) 2017-06-18 13:10:30 +02:00
coderkun 1fdab35391 Improve creating classes from MPD responses 2017-06-18 13:10:30 +02:00
coderkun e34a253645 Reload playlist when “player” has changed 2017-04-23 12:08:10 +02:00
coderkun b88f1c6e0b PlaylistPanel: implement playing of selected album 2016-08-07 21:20:44 +02:00
coderkun 950bd54804 PlaylistPanel: implement removing of albums (resolves #3) 2016-08-07 21:13:07 +02:00
coderkun 0b0c62a313 store song-ID for MCGPlaylistTrack 2016-08-07 21:08:41 +02:00
coderkun 8ccd47d82e add support for command lists
https://www.musicpd.org/doc/protocol/command_lists.html
2016-08-07 21:08:03 +02:00
coderkun f38737e6ba use enums for tracklist size and sort order values 2016-08-01 13:08:27 +02:00
coderkun 134d1a28a7 rework project structure for more logical filenames and code separation 2016-08-01 11:39:24 +02:00
Renamed from mcg/mcg.py (Browse further)