Skip to content

Commit

Permalink
Embed service discovery related icons
Browse files Browse the repository at this point in the history
  • Loading branch information
andoma committed Aug 10, 2009
1 parent 57a5516 commit 3620d28
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ SRCS-$(CONFIG_AVAHI) += src/sd/avahi.c \
${BUILDDIR}/src/sd/avahi.o : CFLAGS = \
$(shell pkg-config --cflags avahi-client) -Wall -Werror

BUNDLES += resources/tvheadend

SRCS-$(CONFIG_BONJOUR) += src/sd/bonjour.c

Expand Down Expand Up @@ -200,7 +201,7 @@ SRCS += src/tv/htsp.c \
# Spotify
#
SRCS-${CONFIG_SPOTIFY} += src/spotify/spotify.c

BUNDLES-$(CONFIG_SPOTIFY) += resources/spotify
#
# GLW user interface
#
Expand Down Expand Up @@ -305,6 +306,7 @@ DEPS= ${OBJS:%.o=%.d}
OBJDIRS= $(sort $(dir $(OBJS)))

# File bundles
BUNDLES += $(BUNDLES-yes)
BUNDLE_SRCS=$(BUNDLES:%=$(BUILDDIR)/bundles/%.c)
BUNDLE_DEPS=$(BUNDLE_SRCS:%.c=%.d)
BUNDLE_OBJS=$(BUNDLE_SRCS:%.c=%.o)
Expand Down
Binary file added resources/spotify/spotify-core-logo-96x96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/tvheadend/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/sd/sd.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ sd_add_service_htsp(service_instance_t *si, const char *name,

if(si->si_root == NULL)
si->si_root = sd_add_service(si->si_id, name,
"http:https://www.lonelycoder.com/hts/tvheadend/docs/2_4/docresources/tvheadendlogo.png",
"bundle:https://resources/tvheadend/logo.png",
NULL);

snprintf(url, sizeof(url), "htsp:https://%s:%d", host, port);
Expand Down
2 changes: 1 addition & 1 deletion src/spotify/spotify.c
Original file line number Diff line number Diff line change
Expand Up @@ -2170,7 +2170,7 @@ be_spotify_init(void)
/* Register as a global source */

p = sd_add_service("spotify", "Spotify",
"http:https://developer.spotify.com/wp-content/uploads_dev/2009/04/spotify-core-logo-96x96.png",
"bundle:https://resources/spotify/spotify-core-logo-96x96.png",
&prop_status);

prop_set_string(prop_status, "Not logged in");
Expand Down

0 comments on commit 3620d28

Please sign in to comment.