Hi all, I have spent most of the day trying to get this to work but am having an issue which I belive is likely due to a path problem.
I have windows 7 running with a number of drives, the name of the computer on the network is media-pc and is ip address 192.168.0.16 and I have created shares using the mklink command so that my yamj\shares folder contains all my shared drives. I am running Yamj and NMTServer along with my popcornhour a210 my setup has been working fine so my popcorn hour (192.168.0.168) is succesfully seeing files on the pc etc.
I have installed 10muse library manager and added a couple of test movies, when adding the movies I have browsed to network, media-pc, shares etc and added a test movie folder this shows the movies path as \\MEDIA-PC\shares\bluray4\Alien Versus Predator
I have imported the data and exported the files to dropbox I have imported the file in 10muse on the ipad, All good so far. however whenever I try to play the movie I just get the black screen blip and nothing. I have installed apps to the usb memory stick which is in the popcorn hour which also has NMT apps installed on to run ftp etc. Having done this I was able to edit the start_app.sh in notepad plus the contents of which I have copied below. Initially it wasnt creating the shares folder within NETWORK_SHARE on the popcornhour so I tried adding it via the popcorn hour itself manually under network shares. I now find that within NETWORK_SHARE I have two shares folders one is Shares and the other is shares if I go into either folder via ftp I can see all my files so assume all is well there. Despite all this I still cannot get the file to play. because all the files show up in the NETWORK_SHARE folder I assume that all permissions are set correctly so I can only assume its a path issue somewhere.
I have opened the created MoviesLibrary.s3db file in wordpad and found the following element
PREDATORtt0370263file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/shares/bluray4/Alien Versus Predator/Alien Vs Predator.mkv&arg3=show&arg4=0start_file_playback&media_url=smb://MEDIA-PC/shares/bluray4/Alien Versus Predator/Alien Vs Predator.mkv5.40091674
which I assume is the path that the ipad uses to launch the film. Is this correct? The first path looks okay and I can see the file in that location if I ftp into the popcornhour so why doesnt it play?
If someone could give me some advice on where to look for the issue I would be most grateful as I would really like to get this to work if I can. I was just looking for a good audio file player for the nmt that would maybe link to the ipad but came across 10muse by accident but now I am determined to get it to work.
Thanks in advance for any help provided.
#!/bin/sh #
PATH=/share/Apps/Telnetd/bin:/share/bin:/share/Apps/AppInit:$PATH HOME=/share export TERM="xterm" alias mc="mc -c" #Copy waitimages when they are available if [ -n "`ls -Al /share/Photo/_waitimages_/*.jpg 2>/dev/null`" ]; then cp /share/Photo/_waitimages_/* /bin fi #For some NMT hardware (like Popcorn B-110) compatibility may go up when creating a #symbolic link HARD_DISK to SATA_DISK if [ ! -d "/opt/sybhttpd/localhost.drives/HARD_DISK" ]; then ln -s /opt/sybhttpd/localhost.drives/USB_DRIVE /opt/sybhttpd/localhost.drives/HARD_DISK fi #cleanup old files rm -f /share/busybox 2>&1 >/dev/null rm -f /share/commands.cgi 2>&1 >/dev/null #M_A_R_K_E_R_do_not_remove_me /sbin/hdparm -S244 /dev/sda mymount() { mkdir -p "/opt/sybhttpd/localhost.drives/NETWORK_SHARE/$2" /bin/mount -t cifs "//$1/$2" "/opt/sybhttpd/localhost.drives/NETWORK_SHARE/$2" -o username=admin } mymount "192.168.0.16" "Shares"
exit 0
|