Networked Media Tank
Egreat EG-M34a not playing file via JukeBox index.htm on a NAS shares - Printable Version

+- Networked Media Tank (http://www.networkedmediatank.com)
+-- Forum: Community Jukebox, Themes, & UserApps Section (/forumdisplay.php?fid=106)
+--- Forum: Themes (/forumdisplay.php?fid=35)
+--- Thread: Egreat EG-M34a not playing file via JukeBox index.htm on a NAS shares (/showthread.php?tid=27640)



Egreat EG-M34a not playing file via JukeBox index.htm on a NAS shares - AquaFire - 09-13-2009 05:38 PM

Hello.

I have the egreat EG-M34a connected to the LAN router. There are no files on the internal HDD on the NMT. I have a wired CAT5 100Mbps LAN cable connection for everything on the network.

A western digital MyBook World 1 TB NAS is also connected to the router and is shared on the network. It holds the collection of audio and video. It is also running a small ARM version of Twonky Media, so the files are available as a DLNA server list as well as via windows network shares.


The directory structure in the shared NAS folder is like following

\\MyBookworld (Network name) \PUBLIC (Share Name)\Movies (Shared Folder) \English (Shared Folder) \xxx and yyy\xxx and yyy.avi/mkv/mp4/vob (Movie folder "xxx and yyy" with the same name and the file, CAN CONTAIN SPACES IN THE NAME, not underscores _)

Something which sums up like that

Quote:\\MyBookworld\PUBLIC\Movies\English\xxx and yyy\xxx and yyy.avi


The network share is mapped on the Windows XP PC as a driver letter "W:" and is working fine on the PC.

I went to the Network Setup of the EG-M34a and browsed the network. Naturally i could see the network share (PUBLIC) on the NAS device. I have mapped it on the NMT as a share name "Store1" ( as a SAMBA share smb:\\Windows PC name\Share Name) and I did not need any password.

Now i can see the network share "Store1" in the list of sources on the NMT home page. When I click on it I can see the further sub-folders as per the structure I have given above and can view and play the files. (One thing though I have noted here is that when I click on the network share, sometimes the files and folders are not readily displayed and it shows 'no contents', however if I go back and click again then i can see the share's contents ).

The NMT share "Store1" which is actually "\\Mybookworld\PUBLIC\Movies\English" is visible on the NMT internal system as

Quote:/opt/sybhttpd/localhost.drives/NETWORK_SHARE/Store1/Movies/English/

When browsed via telnet to the NMT , this folder correctly points and lists to all the movie files shared on the NAS device.

However the real trick comes when I have generated the JukeBox index.htm page via the MyLittleNMTExport plugin that comes with the Extreme Movie Manager Ver 7.xx.

The plugin asks for the file path on the PC and on the NMT and then when it generated the movie index.htm thumbnails it replaces the windows file paths with the linux (NMT) file paths as mapped on the NMT.

Hence the movie path to on the Windows PC mapped drive

Quote:"W:\Movies\English\Angels and Demons\Angels and Demon.avi"

is converted in the generated index.htm as

Quote:"file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/Store1/Movies/English/Angels and Demons/Angels and Demon.avi"

notice the spaces in the movie folder name and file name.

I have copied all generated folder (actors, movie cards etc) and index.htm to the root drive on the NMT. The file opens properly but when I click the play button for any movie file, it always shows the "buffering" screen for a while and then says it "cannot play the file".

The play button in the index.htm for any movie file actually has the URL link and points to
Quote:"file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/Store1/Movies/English/xxx and yyy/xxx and yyy.avi"

I have also tried generating the Index.htm with the following URL naming convention in which instead of the share name "Store1" I would have to write the "Windows PC NAME:Share Name" which would turn up to something like that

Quote:"file:///opt/sybhttpd/localhost.drives/NETWORK_BROWSER/Mybookworld:PUBLIC/Movies/English/xxx and yyy/xxx and yyy.avi"

It is not working either.

So can anyone guide me what am I doing wrong and why am I unable to play the same file via the generated links in the JukeBox index, at the same time I can see and play the same file via browsing to the network share via the NMT home screen and selecting it.

Thanks for reading the crappy post anyways.


RE: Egreat EG-M34a not playing file via JukeBox index.htm on a NAS shares - AquaFire - 09-24-2009 09:03 AM

Guess,

I was presenting the problem too technically :-)

Anyways i got to know this is common issue on NMT only mounting the network shares on demand, only one at a time.

Solved my problem by installing Mono.Wrapper which activates network shares before trying to play files.

Try searching for on demand network share mounting and you will get your answer.

Thanks.