
Re: [BETA] firmware version r3612 with YAMJ & Trial BT
Telemack1 and Mallouck,
The special trick regarding the playerpath is the following:
On creating the jukebox it redirects the jukebox folder (so it omits any further interaction with the index.html) to /usr/local/etc/scripts. Try to navigate to it using telnet, you will automatically be directed to the jukebox folder.
Usually the jukebox is in the movies folder, so if you take a look at the generated rss files it lists them for example:
/usr/local/etc/scripts/../Angels & Demons (2009)/Angels & Demons (2009).iso
which translates apparantly to <parent jukebox folder>/../<Movie>/<Movie>.iso
(I must admit, this is actually strange because one directory down from the jukebox folder is /usr/local/etc/ but it works apparently. To reclarify this; go to /usr/local/etc/scripts and do "cd ..", you can't navigate to the movie).
If you want it to link to the correct position, just add enough "../" to get to the root and then start navigating.
Therefore you have to modify the ACR_Library.xml (since the YAMJ Gui Config won't let ya) to "file://../../../../../<movies path>" (maybe this is one ../ too much but you can't get below root, can ya?

).
Of course, this would have been too easy to just direct it to /tmp/netb/mnt because it doesn't exist until you browse to it.
To circumvent this problem I've mounted a network share to a local folder (see
viewtopic.php?f=41&t=2656). This folder is in my case /tmp/hdd/volumes/HDD1/Movies/ because I borrowed it from the tutorial

and I still hope that some day the player will recognise it as a real HDD for the media library function

.
Mounting can be performed by the following command (as explained in the tutorial);
mount -t cifs <source/network share> <destination folder> -o username=guest
in my case for example: mount -t cifs //192.168.1.201/Movies /tmp/hdd/volumes/HDD1/Movies -o username=guest
And then I redirected my playerpath to, as explained before:
file://../../../../../tmp/hdd/volumes/HDD1/Movies/Because this folder doesn't exist on the Mini I simply created it:
mkdir /tmp/hdd/volumes
mkdir /tmp/hdd/volumes/HDD1
mkdir /tmp/hdd/volumes/HDD1/Movies
Try to create the jukebox (delete your present library first, else it won't parse the correct data to the xml files), put it on a write enabled usb pen drive (ext3 works very nice in my case, I think with fat16 the read-only error occured) and test it after you've mounted the network drive.
If it works it is time we can make it permanent.
Mounting of the network drive however has a disadvantage; it's gone after reboot. We can fix this by mounting it on player startup and I therefore want to refer to the tutorial again for the explanation.
In my case this came down to adding the following the /usr/local/etc/rcS :
mkdir /tmp/hdd/volumes
mkdir /tmp/hdd/volumes/HDD1
mkdir /tmp/hdd/volumes/HDD1/Movies
sleep 30
mount -t cifs //192.168.1.201/Movies /tmp/hdd/volumes/HDD1/Movies -o username=guest
Btw; don't leave out the "sleep 30" command, mounting doesn't work and it even increases the boot time of the player.
Keep in mind; mounting occurs during the boot of the player and if the network share is not up at that time you will have to manually mount it or reboot the player.
To summarize the changes I did:
--Player--
File: /usr/local/etc/rcS
Add:
mkdir /tmp/hdd/volumes
mkdir /tmp/hdd/volumes/HDD1
mkdir /tmp/hdd/volumes/HDD1/Movies
sleep 30
mount -t cifs //192.168.1.201/Movies //tmp/hdd/volumes/HDD1/Movies -o username=guest
--PC--
File: ACR_YAMJ.cmd
Change/add (I guess this is self explanatory; mount usb pen drive to Z:\ and create the jukebox in Z:\Jukebox):
net use Z: \\192.168.1.200\usb1
C:
CD \YAMJ
CALL moviejukebox ACR_Library.xml -o Z:\Jukebox
pause
exit
--PC--
File: ACR_Library.xml
Change (self explanatory as well, create the data from E:\Movies with the listed playerpath):
<path>E:\Movies</path>
<playerpath>file://../../../../../tmp/hdd/volumes/HDD1/Movies/</playerpath>
---
I hope you can work it out, I'll keep an eye out on the forums so just give a call if you encounter any problems.