DLNA from external USB HDD

Questions regarding media streaming across varied protocols, including UPnP/DLNA/CIFS can be placed here.
Forum rules
This is a user forum for Synology users to share experience/help out each other: if you need direct assistance from the Synology technical support team, please use the following form:
https://myds.synology.com/support/suppo ... p?lang=enu

DLNA from external USB HDD

Postby jokemeister » Fri Dec 09, 2011 10:57 pm

I've searched the forums and can't find anything definitive on how to access video on an external USB HDD from a DLNA connected device, ie. WD TV Live. It seems that all video must be located on the internal HDD shared folder /video. I can't add /usbshare1 to the list of indexed folders as it's not in the list to choose from.

I'm trying to centralise my digital media but also don't want to copy everything to the internal HDD as portability of the media can be very useful. Simply put, I want to be able to connect a usb device and play it using a DLNA media player on my network.

Any help greatly appreciated.
Regards, Jokemeister
DS211J DSM 4.1-2668 2 x 2TB Seagate + 2TB Samsung USB
DGN3500 Netgear Router/Modem
DLink DGS1016D 16 port Gigabit Switch
Netgear GS105 5 port Gigabit switch
WDTVLive x 3
PC x 2 LAN
Laptop x 2 WiFi
Blackberry WiFi
Transformer Pad TF300
iPad x 4 WiFi
iPhone x 3 WiFi
iPod x 3 WiFi
PS2 x 2
xbox360
....and a partridge in a pear tree.
User avatar
jokemeister
Knowledgeable
Knowledgeable
 
Posts: 314
Joined: Sat Dec 03, 2011 10:58 pm

Re: DLNA from external USB HDD

Postby HarryPotter » Sat Dec 10, 2011 12:32 pm

jokemeister wrote:I can't add /usbshare1 to the list of indexed folders as it's not in the list to choose from.

You may try the "mount -bind" solution (forum search).
*Please do not Private Message me for support questions; leave it on the forum so all members can learn. Thanks!*

DS713+ / DSM 5.0-4458-1 / 2 x HD204UI (RAID0) / LMS 7.7.3-032
DS712+ / DSM 5.0-4458-1 / 2 x HDS721010KLA330 (RAID0)
DS110+ / DSM 5.0-4458-1 / HD154UI
DS408 / DSM 4.0 2228 / 2 x ST31000340AS (RAID0) + 1 x HDS721010KLA330
DS207+ / DSM 3.1.1637 / ST31000340AS + WD5000KS

2 Squeezebox 3 + Boom
Rapsody N35

APC Smart UPS SUA750i
User avatar
HarryPotter
Honorary Moderator
Honorary Moderator
 
Posts: 13931
Joined: Mon Oct 23, 2006 12:48 pm
Location: Switzerland

Re: DLNA from external USB HDD

Postby TomasD » Sat Dec 10, 2011 12:41 pm

  1. Create a new shared folder named USB via control panel
  2. Connect via SSH
  3. Enter the following commands:
    Code: Select all
    cd /volume1
    rmdir USB
    ln -s /usbshare1 USB
You have to make the right choice. As long as you don't choose, everything remains possible.
User avatar
TomasD
Beginner
Beginner
 
Posts: 23
Joined: Sat Oct 15, 2011 1:47 pm
Location: Lithuania

Re: DLNA from external USB HDD

Postby Ferry » Tue Dec 13, 2011 2:50 am

Alternative way:

1. Deactivate Media Server
2. Open Shared Folders
3. Rename 'video' folder to anything else
4. Rename 'usbshare1' -or the name corresponding to your external USB drive- to 'video'
5. Reactivate Media Server
6. Done!

Things to take into account if you do it that way:

1. Media (videos) in internal HDD will not be shown
2. External USB drive will not be automatically reindexed each time you add or remove a movie, you will have to reindex manually each time.

Saluditos,

Ferrán.
Ferry
Rookie
Rookie
 
Posts: 30
Joined: Tue May 12, 2009 10:10 am

Re: DLNA from external USB HDD

Postby jokemeister » Thu Dec 15, 2011 11:44 am

1/ I tried the symbolic links strategy but the usb drive didn't automatically index. Not acceptable.
2/ Next I tried replacing the Media Server app with Serviio. Wasn't to difficult and it worked quite well accept for one thing. Every 5 minutes (default setting that can easily be changed) it looks for new files etc. and updates the index sending the CPU to close to 100% which did cause some minor but noticeable jitter during media playback. To be fare, I purposely loaded the system by playing 3 movies back at once on the players around our house. Since this was a realistic scenario around my place, eg. lounge, kids rumpus and bedroom TV's / media players all going at once, have the playback stutter was unacceptable. I could set the update interval to some longer time but this would have a detrimental effect when pushing a new movie to the DS and then wanting to watch it, ie. it wouldn't be in the index so my media players wouldn't see it for some time.
3/ Since my media players are WD TV Live's I found info on the forum that it was possible to enable SMB on the DS and then search for the DS as a network share (rather than media server) through the WD TV Live. I set up a DS user account called WDTV, gave it read/write privileges to see only the media folders (shared folders) that were relevant (rather than use an open "guest" account. When the WD TV Live tries to access the DS, you are challenged for username and password. No problemo. Enter the user name (in this case WDTV) and password and hey presto, your viewing the file lists in the shared folders (video, music, usbshare etc.). Scroll to the file name you want and press play. To save re-entering the username and password, exit the player and go to the WD TV Lives network setup under settings, scroll down to the "Auto login to network share" and turn it on. The WD TV Live will not only remember your username and password, it will automatically and transparently log you into the DS. I've done this for all three WD TV Lives and had them all playing at the same time and CPU load is quite low on my 211J which let's face it, is pretty much entry level. Since there is no re-indexing or index updates going on, playback is all good.
4/ It should be noted that without a media server running to provide DLNA, I can't use a DLNA player on my iPhone for example so if I really get a hankering to play media on a DLNA device I might re-enable the standard one in DSM. For those with PS3 etc. as part of the mix, I suspect that having a DLNA media server running will be a must. All depends on your overall setup.

Playing 3 x 720P MKV's simultaneously from my USB connected drive on the DS, resource monitor shows CPU steady at about 10%, memory steady at 31% and network at under 2000KB/s. I'm running a gigabit network although WD TV Lives only support 100Mbps, ie. no network bottlenecks.

Hope this helps others who might have a similar setup or at least give some confidence when making decisions re setup and hardware.
Regards, Jokemeister
DS211J DSM 4.1-2668 2 x 2TB Seagate + 2TB Samsung USB
DGN3500 Netgear Router/Modem
DLink DGS1016D 16 port Gigabit Switch
Netgear GS105 5 port Gigabit switch
WDTVLive x 3
PC x 2 LAN
Laptop x 2 WiFi
Blackberry WiFi
Transformer Pad TF300
iPad x 4 WiFi
iPhone x 3 WiFi
iPod x 3 WiFi
PS2 x 2
xbox360
....and a partridge in a pear tree.
User avatar
jokemeister
Knowledgeable
Knowledgeable
 
Posts: 314
Joined: Sat Dec 03, 2011 10:58 pm


Return to Media Server

Who is online

Users browsing this forum: No registered users and 3 guests