mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-13 16:03:23 -05:00
Don't add art to .aac files
This commit is contained in:
parent
44d29752c7
commit
c4367412b2
@ -285,8 +285,9 @@ void daap_handler(WS_CONNINFO *pwsc) {
|
|||||||
if(!offset)
|
if(!offset)
|
||||||
config.stats.songs_served++; /* FIXME: remove stat races */
|
config.stats.songs_served++; /* FIXME: remove stat races */
|
||||||
|
|
||||||
if((config.artfilename) && ((img_fd=da_get_image_fd(pmp3->path)) != -1) &&
|
if((config.artfilename) &&
|
||||||
(!offset)) {
|
((img_fd=da_get_image_fd(pmp3->path)) != -1) && (!offset) &&
|
||||||
|
(strncasecmp(pmp3->type,".mp3",4) ==0)) {
|
||||||
DPRINTF(ERR_INFO,"Dynamically attaching artwork to %s (fd %d)\n",
|
DPRINTF(ERR_INFO,"Dynamically attaching artwork to %s (fd %d)\n",
|
||||||
pmp3->fname, img_fd);
|
pmp3->fname, img_fd);
|
||||||
da_attach_image(img_fd, pwsc->fd, file_fd, offset);
|
da_attach_image(img_fd, pwsc->fd, file_fd, offset);
|
||||||
@ -490,6 +491,9 @@ int main(int argc, char *argv[]) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* block signals and set up the signal handling thread */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if((config.use_mdns) && (!parseonly)) {
|
if((config.use_mdns) && (!parseonly)) {
|
||||||
DPRINTF(ERR_LOG,"Starting rendezvous daemon\n");
|
DPRINTF(ERR_LOG,"Starting rendezvous daemon\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user