File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -138,7 +138,33 @@ func WrapExternalSearch(items []ExternalItem) map[string]any {
138138 "contentType" : "audio/mpeg" ,
139139 "transcodedSuffix" : "mp3" ,
140140 "transcodedContentType" : "audio/mpeg" ,
141+ "type" : "music" ,
142+ "mediaType" : "song" ,
141143 "created" : time .Now (),
144+ "channelCount" : 2 ,
145+ "bitDepth" : 16 ,
146+ "samplingRate" : 44100 ,
147+ "bpm" : 1 ,
148+ "comment" : item .Source ,
149+ "sortName" : item .Title ,
150+ "musicBrainzId" : "" ,
151+ "isrc" : []string {},
152+ "genres" : []string {
153+ item .Genre ,
154+ },
155+ "artists" : []string {
156+ item .Artist ,
157+ },
158+ "displayArtist" : item .Artist ,
159+ "albumArtists" : []string {
160+ item .Artist ,
161+ },
162+ "displayAlbumArtists" : item .Artist ,
163+ "contributors" : []string {},
164+ "displayComposer" : item .Artist ,
165+ "moods" : []string {},
166+ "replayGain" : 0 ,
167+ "explicitStatus" : "clean" ,
142168 }
143169 }
144170
You can’t perform that action at this time.
0 commit comments