Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
service: show also network name in the service nicename
  • Loading branch information
perexg committed Jul 31, 2014
1 parent a181174 commit b6bd240
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/service.c
Expand Up @@ -850,7 +850,7 @@ service_stream_make_nicename(service_t *t, elementary_stream_t *st)
void
service_make_nicename(service_t *t)
{
char buf[200];
char buf[256];
source_info_t si;
elementary_stream_t *st;

Expand All @@ -859,8 +859,9 @@ service_make_nicename(service_t *t)
t->s_setsourceinfo(t, &si);

snprintf(buf, sizeof(buf),
"%s%s%s%s%s",
si.si_adapter ?: "", si.si_adapter && si.si_mux ? "/" : "",
"%s%s%s%s%s%s%s",
si.si_adapter ?: "", si.si_adapter && si.si_network ? "/" : "",
si.si_network ?: "", si.si_network && si.si_mux ? "/" : "",
si.si_mux ?: "", si.si_mux && si.si_service ? "/" : "",
si.si_service ?: "");

Expand Down

0 comments on commit b6bd240

Please sign in to comment.