mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-26 22:23:17 -05:00
Make transcoding work for codec types that aren't known
This commit is contained in:
parent
5d967ead1e
commit
fa2a3a1005
@ -531,6 +531,8 @@ void scan_music_file(char *path, struct dirent *pde,
|
||||
} else {
|
||||
/* just dummy up songformat, codectype and description */
|
||||
mp3file.type=strdup(type);
|
||||
mp3file.codectype = strdup("unkn");
|
||||
mp3file.song_length = 10 * 60 * 1000; /* 10 min */
|
||||
|
||||
/* upper-case types cause some problems */
|
||||
current=mp3file.type;
|
||||
|
Loading…
x
Reference in New Issue
Block a user