mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-24 13:13:17 -05:00
fix .url support for roku, which must have a asfm of pls. Doh.
This commit is contained in:
parent
7aec2d1639
commit
35d5710d65
@ -553,6 +553,7 @@ DAAP_BLOCK* daap_add_song_entry(DAAP_BLOCK* mlcl, MP3FILE* song, MetaField_t met
|
||||
/* these quite go hand in hand */
|
||||
if(wantsMeta(meta, metaSongFormat))
|
||||
g = g && daap_add_string(mlit,"asfm",song->type); /* song format */
|
||||
|
||||
if(wantsMeta(meta, metaSongDescription))
|
||||
g = g && daap_add_string(mlit, "asdt",song->description);
|
||||
|
||||
|
@ -1311,6 +1311,10 @@ void make_composite_tags(MP3FILE *song)
|
||||
if(song->url) {
|
||||
song->description = strdup("Playlist URL");
|
||||
song->data_kind=1;
|
||||
/* bit of a hack for the roku soundbridge - type *has* to be pls */
|
||||
if(song->type)
|
||||
free(song->type);
|
||||
song->type = strdup("pls");
|
||||
} else {
|
||||
song->data_kind=0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user