-
-
Save chetan/4a609d3efd484fc9e111 to your computer and use it in GitHub Desktop.
plex media server dlna profile for wdtv live
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://jamesveitch.com/add-plex-support-wdtv-live/ | |
# see also: | |
# https://forums.plex.tv/index.php/topic/42523-writing-profiles-for-dlna-devices/ | |
profiles=~/Library/Application\ Support/Plex\ Media\ Server/Profiles | |
mkdir -p $profiles | |
cd $profiles | |
wget https://gist.github.com/saracen9/8384237/raw/1e55a7f07968d6a0ef93d8afa40a194b1d8a95d4/WDTVLive.xml | |
# restart the plex service | |
#sudo service plexmediaserver restart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Client name="WD TV Live HD Media Player"> | |
<!-- Author: Plex Inc. --> | |
<!-- http://www.wdc.com/w...4779-705035.pdf --> | |
<!-- Model number tested: WDBAAN0000NBK --> | |
<!-- TODO - a few more limitations around codec profiles, which are high enough that they're probably not worth listing at present --> | |
<Identification> | |
<Header name="User-Agent" substring="alphanetworks" /> | |
<Header name="User-Agent" substring="ALPHA Networks" /> | |
</Identification> | |
<Settings> | |
<Setting name="IgnoreTranscodeByteRangeRequests" value="true" /> | |
<Setting name="TimelineBufferOffset" value="5" /> | |
</Settings> | |
<TranscodeTargets> | |
<VideoProfile container="mpeg" codec="mpeg2video" audioCodec="mp3" /> | |
<!-- VideoProfile container="avi" codec="h264" audioCodec="ac3" / Doesn't work well --> | |
<!-- VideoProfile container="avi" codec="mpeg4" audioCodec="mp3" - Works, no ff --> | |
<!-- VideoProfile container="mpeg" codec="mpeg2video" audioCodec="ac3" - no audio on vevo --> | |
<!-- VideoProfile container="mpegts" codec="h264" audioCodec="ac3" - Doesn't work, unfortunately --> | |
<PhotoProfile container="jpeg" /> | |
</TranscodeTargets> | |
<DirectPlayProfiles> | |
<VideoProfile container="avi" codec="mpeg1video,mpeg2video,mpeg4,h264,vc1" audioCodec="ac3,dca,mp2,mp3,pcm_u8" /> | |
<VideoProfile container="mpeg" codec="mpeg1video,mpeg2video" audioCodec="ac3,dca,mp2,mp3,pcm_u8" /> | |
<VideoProfile container="mkv" codec="mpeg1video,mpeg2video,mpeg4,h264,vc1" audioCodec="ac3,dca,aac,mp2,mp3,pcm_u8" /> | |
<VideoProfile container="mpegts" codec="mpeg1video,mpeg2video,h264,vc1" audioCodec="truehd,ac3,dca,mp2,mp3" /> | |
<VideoProfile container="mov" codec="h264" audioCodec="aac,pcm,pcm_s16le" /> | |
<VideoProfile container="mp4" codec="mpeg4,h264" audioCodec="aac,ac3,mp3,lpcm" /> | |
<!-- if I add h264 to above mp4 entry, vevo doesn't play --> | |
<VideoProfile container="asf" codec="vc1,mpeg2video" audioCodec="ac3,wmav2,wmapro" /> | |
<VideoProfile container="flv" codec="h264" audioCodec="aac" /> | |
<PhotoProfile container="jpeg,png,gif,bmp,tiff" /> | |
</DirectPlayProfiles> | |
<CodecProfiles> | |
<VideoCodec name="h264"> | |
<Limitations> | |
<UpperBound name="video.width" value="1920" /> | |
<UpperBound name="video.height" value="1080" /> | |
</Limitations> | |
</VideoCodec> | |
</CodecProfiles> | |
<ContainerProfiles> | |
<PhotoContainer name="jpeg"> | |
<Limitations> | |
<UpperBound name="photo.width" value="4096" /> | |
<UpperBound name="photo.height" value="4096" /> | |
</Limitations> | |
</PhotoContainer> | |
<PhotoContainer name="png,gif,bmp,tiff"> | |
<Limitations> | |
<UpperBound name="photo.width" value="2048" /> | |
<UpperBound name="photo.height" value="2048" /> | |
</Limitations> | |
</PhotoContainer> | |
</ContainerProfiles> | |
</Client> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment