Commit Graph

11 Commits

Author SHA1 Message Date
d848dc0560 Readability/sensible ordering 2019-10-16 21:47:42 +04:00
ec4be8d9dc Simplify print_status by using mpd_run calls. 2019-10-16 21:32:41 +04:00
49c1a3b904 Rework handling of input reading, fix segmentation fault.
Connection to mpd is no longer left open when invalid
input received.

Segmentation fault was a result of passing getline
an uninitialized pointer.

Also make sure to free the pointer after.
2019-10-16 20:45:17 +04:00
06a70df2c5 utf8 char handling via glib's utf8 aware string functions 2019-10-16 20:45:12 +04:00
efa0e1cb70 Revert "Add handling for utf8 chars."
This reverts commit df77d46645.

We will be handling this in a much better way with glib in the future.
2019-10-16 20:42:15 +04:00
73b4db02b4 Revert "Update Makefile clean target"
This reverts commit 434c98ecea.
2019-10-16 16:29:08 +04:00
4823bc1256 Version 0.1.0 2019-10-15 23:52:35 +04:00
df77d46645 Add handling for utf8 chars. 2019-10-15 23:50:43 +04:00
434c98ecea Update Makefile clean target 2019-10-15 17:54:30 +04:00
0ff8cc70ff Added scrolling text label for artist and song name 2019-10-15 17:54:08 +04:00
5ec151409e Initial commit 2019-10-14 23:38:14 +04:00