Commit graph mcg/mcg
Author SHA1 Message Date
f4b545369c Merge release v2.1.2 2020-08-03 16:29:17 +02:00
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
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
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
ddf8368bfd Fix shortcut to exit fullscreen mode (close #71)
Fix the shortcut for fullscreen mode to also exit it. Additionally fix
the shortcuts window to show the correct shortcut for fullscreen mode.
2020-07-25 14:25:29 +02:00
4708344d4d Fix localization in Utils class
Fix the localization in the Utils class by using the “gettext” instead
of the “locale” module.
2020-03-22 15:39:58 +01:00
704fa3278a Show album length on Playlist and Library panel (close #57)
Show the length of an album in the tooltip on the Playlist and the
Library panel.
2020-03-22 11:19:03 +01:00
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
14d56452b6 Set max width for tracks on Cover panel (close #64) 2020-03-22 11:10:41 +01:00
6801dc9edd Fix setting default image
Fix setting the default image (if the selected/current album does not
has a cover) for the Cover panel, the Playlist panel and the Library
panel by using the default image instead of clearing the image widget.
Additionally fix the check for the empty URL String.
2020-03-15 15:19:04 +01:00
202bfb424c Use “gettext” instead of “locale” for L10N
As the documentation on the “locale” module states, the “gettext” module
should be used instead. Therefore adjust the localization calls to use
gettext instead.

Additionally fix one button label which did not use localization at all
and update the message catalogues.
2019-02-17 00:03:57 +01:00
047f6d0a5c Force redrawing image when setting new cover 2018-12-22 16:28:42 +01:00
d5ca0126e5 Merge release v1.3.5 2018-11-10 16:36:35 +01:00
34153044b4 Prevent redrawing cover image if size has not changed
Drawing the cover image on the Cover panel triggers the re-allocation of
the widget which in turn triggers the re-drawing of the cover image.
This led to an infinite loop of drawing the cover image causing high CPU
usage. To prevent this, the widget size is now stored and the the
resizing of the cover image is only done if the size has really changed.
2018-11-10 16:29:46 +01:00
b29926e041 Fix MPDException to save error message 2018-11-04 19:38:43 +01:00
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
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
a31bfaa53a Translate labels of buttons created in code 2018-09-01 19:35:34 +02:00
79148a56f4 Separate library album actions “queue” and “play” (close #54) 2018-09-01 19:21:33 +02:00
ec4346981f Merge release v1.3.4 2018-09-01 18:55:52 +02:00
59e276a830 Fix calculation of marks for library grid scale (close #55) 2018-09-01 18:49:16 +02:00
cb585cda1e Handle window state properly (implements #52)
Handle the window state as recommended by the Gnome HowDoI guide by
using the wrapper class WindowState with GObject properties and
bindings. Additionally use separate settings for width and height
instead of an array.
2018-07-10 22:45:29 +02:00
9783e7e6a0 Hide tracklist on Cover panel during fullscreen (see #47) 2018-07-10 22:22:56 +02:00
f98b888344 Use overlay for track list on Cover panel (implements #47) 2018-07-08 13:37:44 +02:00
coderkun
0ebb381de8 Use dark theme (close #46) 2017-12-31 18:05:37 +01:00
coderkun
17990118c7 Merge branch “issue-41-progress-bars” (close #41) 2017-12-26 10:19:46 +01:00
coderkun
16c2ffd775 Merge branch “issue-36-server-panel” (close #36, #37, #38, #35) 2017-12-26 10:18:58 +01:00
coderkun
89cf0dfcc0 Merge branch “issue-28-album-art-scaling” 2017-12-26 09:58:00 +01:00
coderkun
3d426d03c7 Handle fullscreen status for non-set album (close #43) 2017-12-26 00:14:18 +01:00
coderkun
3441812c1a Improve the visual appearance of progress bar on Library panel (close #41) 2017-12-25 17:41:02 +01:00
coderkun
abff4b9f2f Improve visual appearance of Server panel (see #36) 2017-12-25 17:01:19 +01: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
ccd355d4c2 Separate Connection panel and add Server panel (#36) 2017-12-25 13:23:11 +01:00
coderkun
f67e260994 Add marks for number of images to grid scale (#28) 2017-12-24 12:04:02 +01:00
coderkun
a765c5b401 Add styling for multiselect of albums (#29) 2017-09-09 14:06:06 +02: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
b5e76b4041 Clear Cover panel when playlist is empty (resolve #24) 2017-06-18 16:42:36 +02:00
coderkun
41d7dfaae6 Use default/dummy image for Cover panel (see #24) 2017-06-18 14:15:07 +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
680ac1896a Fix distributing and loading of data files 2017-05-06 16:38:14 +02:00
coderkun
abec42b9ea Unify name in all files and resources 2017-04-28 11:01:06 +02:00
coderkun
fcdd8b1501 Update and translate description text 2017-04-26 12:28:50 +02:00
coderkun
e24e27a7b7 Rename file “menu.ui” to “gtk.menu.ui” 2017-04-26 11:53:43 +02:00
coderkun
03fa9c4db7 Add Gtk.ShortcutsWindows to application (resolve #14) 2017-04-26 11:48:32 +02:00
coderkun
be357a7499 Disable items in app menu when not connected 2017-04-26 09:28:33 +02:00
coderkun
5e598250ab Simplify name to “CoverGrid” skipping the “MPD” prefix 2017-04-25 12:53:44 +02:00