mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-21 17:33:29 +01:00
Fix issue where transcoded files would not play, provide support for custom clients to transcode (#194)
This commit is contained in:
@@ -173,7 +173,10 @@ export function aTrack(fields: Partial<Track> = {}): Track {
|
||||
return {
|
||||
id,
|
||||
name: `Track ${id}`,
|
||||
mimeType: `audio/mp3-${id}`,
|
||||
encoding: {
|
||||
player: "bonob",
|
||||
mimeType: `audio/mp3-${id}`
|
||||
},
|
||||
duration: randomInt(500),
|
||||
number: randomInt(100),
|
||||
genre,
|
||||
|
||||
Reference in New Issue
Block a user