File configure.ac changed (mode: 100644) (index 7993b87..69aab8b) |
... |
... |
AC_PROG_MAKE_SET |
23 |
23 |
AX_WITH_CURSES |
AX_WITH_CURSES |
24 |
24 |
PKG_CHECK_MODULES([glib], [glib-2.0 >= 2.0],, [AC_MSG_ERROR([glib 2.0 or newer is required])]) |
PKG_CHECK_MODULES([glib], [glib-2.0 >= 2.0],, [AC_MSG_ERROR([glib 2.0 or newer is required])]) |
25 |
25 |
PKG_CHECK_MODULES([libzmq], [libzmq >= 3.0],, [AC_MSG_ERROR([ZeroMQ 3.x or newer is required])]) |
PKG_CHECK_MODULES([libzmq], [libzmq >= 3.0],, [AC_MSG_ERROR([ZeroMQ 3.x or newer is required])]) |
26 |
|
PKG_CHECK_MODULES([libmpdclient], [libmpdclient >= 2.9],, [AC_MSG_ERROR([libmpdclient 2.9 or newer is required])]) |
|
|
26 |
|
PKG_CHECK_MODULES([libmpdclient], [libmpdclient >= 2.11],, [AC_MSG_ERROR([libmpdclient 2.11 or newer is required])]) |
27 |
27 |
|
|
28 |
28 |
# Checks for header files. |
# Checks for header files. |
29 |
29 |
AC_CHECK_HEADERS([arpa/inet.h fcntl.h libintl.h limits.h locale.h netdb.h netinet/in.h stdlib.h string.h sys/param.h sys/socket.h sys/time.h unistd.h]) |
AC_CHECK_HEADERS([arpa/inet.h fcntl.h libintl.h limits.h locale.h netdb.h netinet/in.h stdlib.h string.h sys/param.h sys/socket.h sys/time.h unistd.h]) |
File src/song.cpp changed (mode: 100644) (index 428f191..2807e09) |
... |
... |
Song::Song(const mpd_song * song) |
38 |
38 |
file = Pms::tostring(mpd_song_get_uri(song)); |
file = Pms::tostring(mpd_song_get_uri(song)); |
39 |
39 |
artist = Pms::tostring(mpd_song_get_tag(song, MPD_TAG_ARTIST, 0)); |
artist = Pms::tostring(mpd_song_get_tag(song, MPD_TAG_ARTIST, 0)); |
40 |
40 |
albumartist = Pms::tostring(mpd_song_get_tag(song, MPD_TAG_ALBUM_ARTIST, 0)); |
albumartist = Pms::tostring(mpd_song_get_tag(song, MPD_TAG_ALBUM_ARTIST, 0)); |
41 |
|
/* FIXME: libmpdclient support for .*sort? */ |
|
42 |
|
//artistsort = Pms::tostring(mpd_song_get_tag(ARTISTSORT)); |
|
43 |
|
//albumartistsort = Pms::tostring(mpd_song_get_tag(ALBUMARTISTSORT)); |
|
44 |
|
artistsort = artist; |
|
45 |
|
albumartistsort = albumartist; |
|
|
41 |
|
artistsort = Pms::tostring(mpd_song_get_tag(song, MPD_TAG_ARTIST_SORT, 0)); |
|
42 |
|
albumartistsort = Pms::tostring(mpd_song_get_tag(song, MPD_TAG_ALBUM_ARTIST_SORT, 0)); |
46 |
43 |
|
|
47 |
44 |
title = Pms::tostring(mpd_song_get_tag(song, MPD_TAG_TITLE, 0)); |
title = Pms::tostring(mpd_song_get_tag(song, MPD_TAG_TITLE, 0)); |
48 |
45 |
album = Pms::tostring(mpd_song_get_tag(song, MPD_TAG_ALBUM, 0)); |
album = Pms::tostring(mpd_song_get_tag(song, MPD_TAG_ALBUM, 0)); |