IT would be rally Nice that plex would support flacs. On the xbox.
My understanding is that the Xbox One doesn't play Flac. Plex uses the devices native player so until Microsoft adds Flac support to the Xbox One Media Player it won't be working in the Plex App
Since the XB1 doesn't support FLAC, the Plex server should simply transcode to WAV or some other supported format. I'm actually looking into editing the XB1 DLNA profile to add FLAC support; my entire music collection is in FLAC format and I want to be able to play it!
Can anybody point me in the right direction regarding the DLNA profile? I found the following guide:
https://forums.plex.tv/topic/73702-writing-profiles-for-dlna-devices/
Since the XB1 doesn't support FLAC, the Plex server should simply transcode to WAV or some other supported format. I'm actually looking into editing the XB1 DLNA profile to add FLAC support; my entire music collection is in FLAC format and I want to be able to play it!
Can anybody point me in the right direction regarding the DLNA profile? I found the following guide:
https://forums.plex.tv/topic/73702-writing-profiles-for-dlna-devices/
Plex Apps don't have a DLNA profile.
There is a profile in the Resources/Profiles directory for the Xbox One, but the option to transcode or directplay is made on the App side. Once the app decides to transcode, then the profile is references for parameters. (This is of course what I have seen and has been reported back by other users with no confirmation/denial by Plex employees.)
With that being said, you should be able to change the TranscodeTargets section for the Music profile from:
to
This will tell the server to transcode instead of mp3 to wav LPCM. As it is, the server should already be transcoding your FLAC's into something playable (IE mp3's)
If you do decide to mess with changing the profile I would recommend placing it in the users profile directory instead of modifying the system profile directory (in windows this is: C:\Users\User name\appdata\local\plex media server\Profiles and you do need to create the profiles folder there) This will prevent your changes from getting overwritten during a server update.
Hi J_McKee,
Thanks for the help. Let me clarify what I'm trying to accomplish. Since the Plex app on XB1 doesn't (yet) support music, I'm trying to play my music through the XB1 Media Player app (using the Plex DLNA server).
I tried creating a modified profile in my user folder (C:\Users\Aaron\AppData\Local\Plex Media Server\Profiles\Xbox One.xml) using your suggestion above. I verified from the Plex DLNA server log that it is being loaded correctly, but still am unable to play any FLAC files.
If I'm understanding your suggestion correctly, changing the transcode target from MP3 to WAV will force Plex to transcode to uncompressed wav audio instead of MP3. The XB1 just throws an error regardless of what the transcode target it set to. Seems like Plex DLNA is not attempting to transcode FLAC files at all...
Hi J_McKee,
Thanks for the help. Let me clarify what I'm trying to accomplish. Since the Plex app on XB1 doesn't (yet) support music, I'm trying to play my music through the XB1 Media Player app (using the Plex DLNA server).
I tried creating a modified profile in my user folder (C:\Users\Aaron\AppData\Local\Plex Media Server\Profiles\Xbox One.xml) using your suggestion above. I verified from the Plex DLNA server log that it is being loaded correctly, but still am unable to play any FLAC files.
If I'm understanding your suggestion correctly, changing the transcode target from MP3 to WAV will force Plex to transcode to uncompressed wav audio instead of MP3. The XB1 just throws an error regardless of what the transcode target it set to. Seems like Plex DLNA is not attempting to transcode FLAC files at all...
So modifying the default profile you have to add in something for the server to recognize the Xbox One.
By default there is no recognizer (Identification section) because it isn't a DLNA profile and is specified by the App. Without that, even though your profile is being loaded, it won't be used for DLNA.
Because if you make a DLNA profile with the same name as the default profile it will overwrite your non-dlna profile the suggestion I had for those on the DLNA board was to call their profile Xbox One-DLNA.xml
The changes you need to make to the profile after renaming to that name would be:
Alright, at your suggestion I've created a DLNA profile that uses the wav container as a music transcode target for the XB1. I still can't get it to play FLAC audio though. I was able to verify that Plex is identifying the my Xbox One DLNA profile corectly:
Nov 18, 2014 22:36:48:773 [1528] DEBUG - Mapped client to profile Xbox One DLNA using header User-Agent: NSPlayer/12.00.11785.0000 WMFSDK/12.00.11785.0000
Here's the profile XML I created:
<?xml version="1.0" encoding="utf-8"?> XboxOne Microsoft Corporation http://www.microsoft.com/ Xbox One http://xbox.com Digital Media Renderer
It appears that Plex doesn't know what to do with the FLAC files, and is trying to use some sort of generic transcode profile:
Nov 18, 2014 22:45:36:410 [7808] DEBUG - Serving up item /library/metadata/3087 part 0 Nov 18, 2014 22:45:36:410 [7808] DEBUG - MDE: analyzing media 0 Nov 18, 2014 22:45:36:410 [7808] DEBUG - MDE: analyzing track part 2720: flac/flac Nov 18, 2014 22:45:36:410 [7808] DEBUG - MDE: Reach For The Dead: flac/flac is not a directplay music profile Nov 18, 2014 22:45:36:410 [7808] DEBUG - MDE: selected media 0 Nov 18, 2014 22:45:36:466 [7808] DEBUG - Proxied GET to http://127.0.0.1:32400/music/:/transcode/universal/start?directPlay=0&directStream=1&musicBitrate=192&path=%2Flibrary%2Fmetadata%2F3087&session=68a27ca707ab4037064cf5103bfe0b114dea6213: HTTP/1.1 200 Nov 18, 2014 22:45:36:466 [7808] DEBUG - Responding HTTP/1.1 200
Got any suggestions?
Alright, at your suggestion I've created a DLNA profile that uses the wav container as a music transcode target for the XB1. I still can't get it to play FLAC audio though. I was able to verify that Plex is identifying the my Xbox One DLNA profile corectly:
Nov 18, 2014 22:36:48:773 [1528] DEBUG - Mapped client to profile Xbox One DLNA using header User-Agent: NSPlayer/12.00.11785.0000 WMFSDK/12.00.11785.0000Here's the profile XML I created:
~SnippedIt appears that Plex doesn't know what to do with the FLAC files, and is trying to use some sort of generic transcode profile:
Nov 18, 2014 22:45:36:410 [7808] DEBUG - Serving up item /library/metadata/3087 part 0 Nov 18, 2014 22:45:36:410 [7808] DEBUG - MDE: analyzing media 0 Nov 18, 2014 22:45:36:410 [7808] DEBUG - MDE: analyzing track part 2720: flac/flac Nov 18, 2014 22:45:36:410 [7808] DEBUG - MDE: Reach For The Dead: flac/flac is not a directplay music profile Nov 18, 2014 22:45:36:410 [7808] DEBUG - MDE: selected media 0 Nov 18, 2014 22:45:36:466 [7808] DEBUG - Proxied GET to http://127.0.0.1:32400/music/:/transcode/universal/start?directPlay=0&directStream=1&musicBitrate=192&path=%2Flibrary%2Fmetadata%2F3087&session=68a27ca707ab4037064cf5103bfe0b114dea6213: HTTP/1.1 200 Nov 18, 2014 22:45:36:466 [7808] DEBUG - Responding HTTP/1.1 200Got any suggestions?
That log snippet actually looks correct. The universal transcode just means that it isn't trying to use a special transcoder line expecting specific parameters.
I am not actually sure of what formats are supported by the Xbox One as I do not have one. According to the Xbox One site they support WAV but they don't list the parameters. The test profile that they created in the DLNA forum only as ASF, MP3, and MP4's (with AAC) listed for Music.
I know they did a lot of testing so if those 3 are listed as working then they will work for you. Out of the 3, I would either go with MP3/MP3 or MP4/AAC. They seem to be more common then ASF music files (at least from what I have seen)
Yeah, it appears that I'm sending the wrong WAV format. I tried mp4/aac as well and that didn't work. Finally I tried mp3, which works, but somewhat intermittently. The XB1 will start playing a track, then abruptly skip 1-2 tracks, etc. I think it's the fault of the XB1, not Plex though. I've used Serviio (another DLNA server) with the XB1 and it also has some playback issues.
Hopefully Microsoft can make it's media player more robust in the future.
Anyways, if I want to dig deeper with transcoding settings, could you point me to some examples? I'd like to send higher bitrate audio than mp3@192k.
Also, I couldn't find the XB1 test profile in the DLNA forum. Thanks again for the help!
Nov 19, 2014 20:32:29:696 [10140] DEBUG - Responding HTTP/1.1 200 Nov 19, 2014 20:32:39:552 [8700] DEBUG - GET for http://192.168.1.100:32469/object/5603ead792041dbe3a24/file.flac Nov 19, 2014 20:32:39:552 [8700] DEBUG - Mapped client to profile Xbox One DLNA using header User-Agent: NSPlayer/12.00.11785.0000 WMFSDK/12.00.11785.0000 Nov 19, 2014 20:32:39:552 [8700] DEBUG - Mapped object 5603ead792041dbe3a24 to /library/metadata/22402 part 0 on server Nov 19, 2014 20:32:39:552 [8700] DEBUG - Downloading document http://127.0.0.1:32400/library/metadata/22402 Nov 19, 2014 20:32:39:553 [8700] DEBUG - HTTP requesting to: http://127.0.0.1:32400/library/metadata/22402 Nov 19, 2014 20:32:39:556 [8700] DEBUG - Caching document http://127.0.0.1:32400/library/metadata/22402 as 35e01ef84f3aa5bbec15ffffbca14bf4943e35e9 Nov 19, 2014 20:32:39:556 [8700] DEBUG - Serving up item /library/metadata/22402 part 0 Nov 19, 2014 20:32:39:556 [8700] DEBUG - MDE: analyzing media 0 Nov 19, 2014 20:32:39:556 [8700] DEBUG - MDE: analyzing track part 21410: flac/flac Nov 19, 2014 20:32:39:556 [8700] DEBUG - MDE: Herr Bar: flac/flac is not a directplay music profile Nov 19, 2014 20:32:39:556 [8700] DEBUG - MDE: selected media 0 Nov 19, 2014 20:32:39:587 [8700] DEBUG - Proxied GET to http://127.0.0.1:32400/music/:/transcode/universal/start?directPlay=0&directStream=1&musicBitrate=192&path=%2Flibrary%2Fmetadata%2F22402&session=68a27ca707ab4037064cf5103bfe0b114dea6213: HTTP/1.1 200 Nov 19, 2014 20:32:39:587 [8700] DEBUG - Responding HTTP/1.1 200 Nov 19, 2014 20:32:39:680 [10140] DEBUG - GET for http://192.168.1.100:32469/proxy/250b0f5d7c720c0e01f8/albumart.jpg Nov 19, 2014 20:32:39:680 [10140] DEBUG - Mapped client to profile Xbox One DLNA using header User-Agent: NSPlayer/12.00.11785.0000 WMFSDK/12.00.11785.0000 Nov 19, 2014 20:32:39:681 [10140] DEBUG - Proxied GET to http://127.0.0.1:32400/photo/:/transcode?format=jpg&height=512&url=http%3A%2F%2F127%2E0%2E0%2E1%3A32400%2Flibrary%2Fmetadata%2F22401%2Fthumb%2F1415685721&width=512: HTTP/1.1 200 Nov 19, 2014 20:32:39:681 [10140] DEBUG - Responding HTTP/1.1 200 Nov 19, 2014 20:32:40:381 [10140] DEBUG - GET for http://192.168.1.100:32469/object/5603ead792041dbe3a24/file.flac Nov 19, 2014 20:32:40:381 [10140] DEBUG - Mapped client to profile Xbox One DLNA using header User-Agent: NSPlayer/12.00.11785.0000 WMFSDK/12.00.11785.0000 Nov 19, 2014 20:32:40:381 [10140] DEBUG - Mapped object 5603ead792041dbe3a24 to /library/metadata/22402 part 0 on server Nov 19, 2014 20:32:40:381 [10140] DEBUG - Downloading document http://127.0.0.1:32400/library/metadata/22402 Nov 19, 2014 20:32:40:381 [10140] DEBUG - Cache hit for document http://127.0.0.1:32400/library/metadata/22402 Nov 19, 2014 20:32:40:381 [10140] DEBUG - Serving up item /library/metadata/22402 part 0 Nov 19, 2014 20:32:40:385 [10140] DEBUG - Proxied GET to http://127.0.0.1:32400/music/:/transcode/universal/start?directPlay=0&directStream=1&musicBitrate=192&path=%2Flibrary%2Fmetadata%2F22402&session=68a27ca707ab4037064cf5103bfe0b114dea6213: HTTP/1.1 200 Nov 19, 2014 20:32:40:385 [10140] DEBUG - Responding HTTP/1.1 200
https://forums.plex.tv/topic/117626-xbox-one-dnla-finally-coming/?p=738836
That was the last post in the thread. It seems to have stopped on Oct 10th so either everyone switched to the app or the profile was working well for them.
As for examples, the two profiles I usually look at are the PlayStation 3 and the Xbox 360 profiles are the two I usually look at the most when comparing profiles. I will look at the other profiles depending on if I need something specific that isn't listed in there. But between those two, that is most of the options you will need for settings.
Plex should be trying to transcode to equivalent bitrates. If your Flac's are transcoding down from 320K (just a guess) then I would assume plex is just passing into the defaults of the MP3. I am not a real expert on that front, but I don't believe anything really above 192K adds to the quality for mp3. (I could definitely be wrong though) The only option I could think of would be to put a lower limit on bitrates, but that would also bump up everything not at the limit you set.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.