Wiim Mimi fails to play files from MinimServer
|
25-07-2022, 18:24
Post: #1
|
|||
|
|||
Wiim Mimi fails to play files from MinimServer
Hi @simoncn,
I've just picked up a Wiim Mini to play with and to my surprise it refuses to play both flac and mp3 files (the only ones I tested) from MinimServer yet will from both AssetUPnP and Plex running on the same Windows machine. The specs say it supports FLAC and MP3, so I'm at a bit of a loss. It'll play radio from MinimServer, and if I transcode my flacs to wav it'll play them fine but if I try and stream the files themselves it displays the error message: Invalid MIME-type or resource not find (code: 714) Could it be something to do with the way the URL is presented? Here's a trace log during the Play action Code: 18:05:19.740 Thread-10: HTTPService: accepted incoming connection If there's anything else I can try/supply just let me know. Thanks |
|||
25-07-2022, 19:45
(This post was last modified: 25-07-2022 19:47 by simoncn.)
Post: #2
|
|||
|
|||
RE: Wiim Mimi fails to play files from MinimServer
This log shows that the renderer has started to stream audio data and has then closed the connection. There is no obvious reason for this.
At a wild guess, could it be that this renderer cannot accept the audio/x-flac MIME type (the industry standard for FLAC files)? Another possibility (perhaps more likely) is that the FLAC file contains an emdedded image that the renderer cannot handle. Transcoding to WAV would remove any embedded image. |
|||
25-07-2022, 20:26
Post: #3
|
|||
|
|||
RE: Wiim Mimi fails to play files from MinimServer
(25-07-2022 19:45)simoncn Wrote: At a wild guess, could it be that this renderer cannot accept the audio/x-flac MIME type (the industry standard for FLAC files)?I know you can put Asset in a debug mode so I'll try that to see what it's sending. (25-07-2022 19:45)simoncn Wrote: Another possibility (perhaps more likely) is that the FLAC file contains an emdedded image that the renderer cannot handle. Transcoding to WAV would remove any embedded image.I don't have embedded images so it can't be that. I tried with both BubbleUPnP and Hi-Fi Cast with exactly the same results, but I've just tried by using the accompanying Wiim Home app itself (obviously a serious downgrade from BubbleUPnP) and that does work, so I'll try and track down the MIME type tomorrow and then forward a query onto the manufacturer. If I get anywhere I'll update here just fyi. Thanks |
|||
25-07-2022, 20:52
Post: #4
|
|||
|
|||
RE: Wiim Mimi fails to play files from MinimServer
Getting that information out of Asset was easier than I thought it was going to be.
From the DIDL it looks basically the same: Code: AssetUPnP It also gives you a simpler summary Code: ===========ProcessFileRequest================ That probably rules out the MIME type, so I'll see if I get any response from Wiim. |
|||
25-07-2022, 20:58
Post: #5
|
|||
|
|||
RE: Wiim Mimi fails to play files from MinimServer
Comparing these, I see that Asset UPnP has DLNA.ORG_PN=FLAC and MinimServer doesn't.
|
|||
25-07-2022, 21:22
(This post was last modified: 25-07-2022 21:36 by simbun.)
Post: #6
|
|||
|
|||
RE: Wiim Mimi fails to play files from MinimServer
(25-07-2022 20:58)simoncn Wrote: Comparing these, I see that Asset UPnP has DLNA.ORG_PN=FLAC and MinimServer doesn't.I saw the ORG_FLAGS and managed to make some sense of those but missed that completely! I just sent an MP3 from Asset and that was tagged appropriately (DLNA.ORG_PN=MP3). I take it this isn't mandatory in ProtocolInfo (given MinimServer works with everything else I've tried it with)? I'll try to see if Plex sends this too, but Plex is a beast so I'm not very hopeful :-) |
|||
25-07-2022, 22:08
Post: #7
|
|||
|
|||
RE: Wiim Mimi fails to play files from MinimServer
When I looked at this a few years ago, I was careful to include only those values that are part of the DLNA specification: MP3, AAC_ISO_320, AAC_ISO and LPCM.
Can you repeat this exercise with an MP3 file? In this case, MinimServer should be sending DLNA.ORG_PN=MP3. |
|||
25-07-2022, 23:02
(This post was last modified: 25-07-2022 23:15 by simbun.)
Post: #8
|
|||
|
|||
RE: Wiim Mimi fails to play files from MinimServer
Yes MinimServer does send 'DLNA.ORG_PN=MP3' for mp3's so maybe it's not that that's causing the problem.
Code: AssetUPnP Looking at the control point metadata for AssetUPnP (see image attached) it seems to offer multiple streams, I have no idea how to control that (if I even can), but maybe Asset always streams, which does work in MinimServer. In the DIDL, Asset flags the mp3 streams and the WAV stream with 'DLNA.ORG_CI=0' and the L16 as 'DLNA.ORG_CI=1'. Given the WAV stream can't be the native file, that flag must be more nuanced than just native file vs stream I guess. EDIT: BubbleUPnP does indicate that a FLAC/MP3 is being played from Asset. |
|||
25-07-2022, 23:14
Post: #9
|
|||
|
|||
RE: Wiim Mimi fails to play files from MinimServer
Stream #1 and stream #4 seem identical.
You can offer the same multiple streams in MinimServer by using MinimStreamer and setting stream.transcode to mp3:-/wav/L16 |
|||
08-03-2023, 09:14
Post: #10
|
|||
|
|||
RE: Wiim Mimi fails to play files from MinimServer
Just to close this off, I think it's a bug in WiiM, nothing to do with MinimServer at all.
It seems that if there's a dot in the filename (in addition to the dot before the file extension) and there are fewer than 4 characters between it and the final dot then WiiM fails with the MIME type error, and given that my filenames are discnumber.tracknumber it was failing on all of them, but not the transcoded ones because they were suffixed with $!transcode.wav. I don't know why they're even processing the file extension as they'll have already been sent the MIME-type. AssetUPnP was working because it doesn't pass the actual filename, it uses some internal hash like structure. Not sure how the renderer worked when being sent the files from the WiiM app as opposed to a third party one either. Anyway, it's now reported so will hopefully be resolved at some point. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)