Commit graph

267 commits

Author SHA1 Message Date
coderkun b90ce3299f Bump version to 3.0 2021-04-18 17:14:04 +02:00
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 f843cc629d Set logo for info dialog via code
Set the logo for the info dialog via code instead of UI file to fix
sizing issue.
2021-04-18 16:50:43 +02:00
coderkun faec824e8b Upate GTK UI files
Upate all GTK UI files by saving them with Glade 3.38.
2021-04-17 13:40:47 +02:00
coderkun 0a631877df Fix setting albumart on UI widgets 2020-10-24 14:58:28 +02:00
coderkun 8714d7a309 Update translation catalogues 2020-10-24 14:43:00 +02:00
coderkun 83082c3265 Add back shortcut to search the library 2020-10-24 14:37:38 +02:00
coderkun 32d02f2d9b Update GTK resources and schema to new domain (close #66) 2020-08-09 11:09:53 +02:00
coderkun ba373ddf4e Use GTK Composite Templates (close #62)
Use GTK Composite Templates for GUI elements to clean up and simplify
the code for widgets and all UI elements. This includes splitting the
large “gtk.glade” file into smaller .ui files and the large “widgets.py”
file into smaller .py files.
2020-08-09 10:57:01 +02:00
coderkun f4b545369c Merge release v2.1.2 2020-08-03 16:29:17 +02:00
coderkun 17fe4ee8ca Bump version to 2.1.2 2020-08-03 16:27:31 +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 83990c8796 Bump version to 2.1.1 2020-07-26 09:26:57 +02:00
coderkun 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
coderkun 9ad3086ace Bump version to 2.1 2020-03-22 15:43:28 +01:00
coderkun 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
coderkun 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
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 14d56452b6 Set max width for tracks on Cover panel (close #64) 2020-03-22 11:10:41 +01:00
coderkun 8ecc7176d7 Configure icon for application window (close #61) 2020-03-21 22:39:20 +01:00
coderkun 21f37dc62c Bump version to 2.0.2 2020-03-15 15:23:08 +01:00
coderkun aa196aa994 Save file “gtk.glade” with Glade 3.22.2 2020-03-15 15:22:40 +01:00
coderkun 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
coderkun c8e24dc8c1 Update screenshots in readme 2019-03-23 18:14:36 +00:00
coderkun 02c859ec22 Bump version to 2.0.1 2019-02-17 00:08:28 +01:00
coderkun 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
coderkun c22ce2557c Bump version to 2.0 2018-12-22 16:34:22 +01:00
coderkun 047f6d0a5c Force redrawing image when setting new cover 2018-12-22 16:28:42 +01:00
coderkun d5ca0126e5 Merge release v1.3.5 2018-11-10 16:36:35 +01:00
coderkun 424f9f200b Bump version to 1.3.5 2018-11-10 16:34:06 +01:00
coderkun 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
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
Olli e318194274 Fix links, inline code and typos in the contribution guide 2018-09-02 10:05:37 +00:00
Olli f84d878acd Add contribution guide 2018-09-02 09:53:38 +00:00
coderkun a31bfaa53a Translate labels of buttons created in code 2018-09-01 19:35:34 +02:00
coderkun 79148a56f4 Separate library album actions “queue” and “play” (close #54) 2018-09-01 19:21:33 +02:00
coderkun ec4346981f Merge release v1.3.4 2018-09-01 18:55:52 +02:00
coderkun bb4bf89079 Bump version to 1.3.4 2018-09-01 18:52:56 +02:00
coderkun 59e276a830 Fix calculation of marks for library grid scale (close #55) 2018-09-01 18:49:16 +02:00
coderkun 5c61014528 Merge release v1.3.3 2018-07-10 23:05:55 +02:00
coderkun 647ae01340 Bump versoin to 1.3.3 2018-07-10 23:00:05 +02:00
coderkun 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
coderkun 45b088bfa2 Fix line wrapping and styling of status labels on Server panel 2018-07-10 22:22:56 +02:00
coderkun 9783e7e6a0 Hide tracklist on Cover panel during fullscreen (see #47) 2018-07-10 22:22:56 +02:00
coderkun f974529f88 Remove reference to non-existing resource “mcg-tracklist.svg” (see #47)
Remove the reference to the resource file “mcg-tracklist.svg” which does
not exist and has accidentally been added to commit f98b888 (see #47).
2018-07-10 22:22:46 +02:00
coderkun f98b888344 Use overlay for track list on Cover panel (implements #47) 2018-07-08 13:37:44 +02:00