View unanswered posts | View active topics It is currently Fri May 24, 2013 12:15 pm



This topic is locked, you cannot edit posts or make further replies.  [ 139 posts ]  Go to page Previous  1 ... 8, 9, 10, 11, 12, 13, 14  Next
 [BETA] firmware version r3612 with YAMJ & Trial BT 
Author Message

Joined: Thu Jan 14, 2010 11:11 pm
Posts: 8
Post Re: [BETA] firmware version r3612 with YAMJ & Trial BT
A little bit more info.

Using telnet on the mini, here is what I could do:
[*] create a file on the share (root and Jukebox folders) (obviously the mini has write rights when logged as root)
[*] edit the index.htm (obviously the mini has write rights on that file when logged as root)

I also looked at the rights of the file in the Jukebox folder and they all have the following rights : rwsrwSrwt

Maybe that helps...


Fri Apr 23, 2010 3:21 pm
Profile

Joined: Sun Apr 18, 2010 1:42 pm
Posts: 9
Post Re: [BETA] firmware version r3612 with YAMJ & Trial BT
Memesa, Mallouck

Both of you seem to have successfully run the jukebox from an usb stick, which will be ok for me if I could get it working.

I have the same error message "read only" when I launch the jukebox from the usb stick, even if all rights seems ok:
/tmp/ramfs/volumes # ls -l
lrwxrwxrwx 1 root root 19 Jan 1 09:56 C: -> /tmp/usbmounts/sda1
/tmp/ramfs/volumes # cd /tmp/usbmounts/sda1/
/tmp/usbmounts/sda1 # ls -l
drwxrwxrwx 4 root root 20480 Apr 23 2010 Jukebox
-rwxrwxrwx 1 root root 248 Apr 23 2010 index.htm
/tmp/usbmounts/sda1 #

I'm able to create a new file on the usb stick when I'm telnet the mini.

Please tell me what special trick you applied to make it work from the usb stick?

Thanks

PS: USB stick formated in FAT32 and then in FAT (16k), same result. So frustrating!


Fri Apr 23, 2010 9:48 pm
Profile

Joined: Thu Jan 14, 2010 11:11 pm
Posts: 8
Post Re: [BETA] firmware version r3612 with YAMJ & Trial BT
no special trick. I did not even check file rights.
I copied everything to the stick and ran jukebox.

I am now trying to run the jukebox from the stick while leaving the media files on my network share. I see one advantage in doing that, the jukebox loads probably way faster.

My problem is that I don't know what to use for player_path when using YAMJ.

I tried:
/tmp/netb/mnt/My%20Shortcuts/192.168.1.100:user/My%20Book%20(J)/Films/Animation
which is the path I have to use to get to my network share when I telnet the mini but was not successful so far (maybe because of spaces (%20))....


Fri Apr 23, 2010 11:07 pm
Profile

Joined: Sun Apr 18, 2010 1:42 pm
Posts: 9
Post Re: [BETA] firmware version r3612 with YAMJ & Trial BT
Mallouck,

Path that I modified on the ACR_Libray.xml file is:
<playerpath>file://tmp/netb/mnt/DCADM/FILES/public/Media/Videos/Films/</playerpath>

before running the ACR_Library.xml, but haven't been able to test it because of the "read only" error!

Your issue could also be related with the authentication if you have one?
I'd use /tmp/netb/mnt/192.168.1.100:user/MyBook/Films/Animation or if everyone has read access /tmp/netb/mnt/192.168.1.100/MyBook/Films/Animation

really annoying this read only, could you precise what are the file rights that you can see so I could compare for:
/tmp/ramfs/volumes # ls -l
lrwxrwxrwx 1 root root 19 Jan 1 00:03 C: -> /tmp/usbmounts/sda1
/tmp/ramfs/volumes # cd C\:/
/tmp/usbmounts/sda1 # ls -l
drwxrwxrwx 4 root root 32768 Apr 23 2010 Jukebox
-rwxrwxrwx 1 root root 248 Apr 23 2010 index.htm
/tmp/usbmounts/sda1 #

If you please...

Thanks


Fri Apr 23, 2010 11:25 pm
Profile

Joined: Sun Oct 25, 2009 1:41 pm
Posts: 7227
Location: Tilburg, The Netherlands
Post Re: [BETA] firmware version r3612 with YAMJ & Trial BT
this is a copy from the r3643 thread just to inform you guy`s,

Mallouck wrote:
Thanks for your answers dirk and sorry for posting in the wrong thread.
I haven't seen the mini thread before... It is actually a sub-folder and I did not notice it... :stepout:

Nevertheless, I am afraid the issues I have are not solved and I will continue that discussion on the mini thread. ;-)

Thanks,

Mallouck


does not matter that`s why i am here for to point that out ;)

as for your questions follow that how to to the letter and it should work,
read also all the tips at the end.

" How to use and setup the YAMJ trial version."


like putting the jukebox folder and the index file in the directory where the films are,
so for the movies you need a folder in the root and not the root itself,
in that folder the jukebox folder needs to be created by the ACR_YAMJ.cmd as well as the index file.

then it does work,

it works here on the internal drive of the playonhd, and also through network,
as well as on the external HDD,

the same with the mini here except for the internal drive as it does not have it,

i am even able to start the jukebox which is on the external drive
connected to the mini from the playonhd,
as i am also able to start the jukebox from the mini on the pohd`s internal drive.

all through network.

;)

_________________
"PV73100 v7.4.4.r7317_(European)"
"PV73200 v7.4.6.r7317_(European)"
"PV73700 v9.5.3.r7317"
"PV73800 v9.5.5.r7317"
"PV76120 v8.5.4.r7317_(European)"

Via HDMI to Onkyo TX-SR508 via HDMI to the tv
All connected by cat6 trough two linksys WRT320N`s to internet. pc WIN7 en laptop Win7
Image


Sat Apr 24, 2010 4:28 pm
Profile WWW

Joined: Tue Apr 06, 2010 7:34 pm
Posts: 25
Location: The Netherlands
Post 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 &amp; Demons (2009)/Angels &amp; 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 :roll: .
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.


Sat Apr 24, 2010 5:33 pm
Profile

Joined: Wed Apr 14, 2010 7:06 pm
Posts: 57
Post Re: [BETA] firmware version r3612 with YAMJ & Trial BT
Ok, Just tried the other beta (r3615), and in that firmware, I have the option of using the USB HDD as a NAS - the Mini can mapped as a network drive. This is something I cannot do with this beta (r3612), which has the option of SAMBA, but cannot be enabled by me.

Hope that soon, there will be a new beta, that allows me to access the USB HDD and Jukebox at the same time.

_________________
Playon!HD Mini | 320Gb USB HDD| f/w - [BETA] ACR-PV73200 v7.4.x.r2115


Sat Apr 24, 2010 7:43 pm
Profile

Joined: Thu Mar 04, 2010 9:47 am
Posts: 54
Post Re: [BETA] firmware version r3612 with YAMJ & Trial BT
Seem to recall the Samba install failed first time i tried on 3612. Second time i tried it install.


Sat Apr 24, 2010 10:57 pm
Profile

Joined: Sun Apr 18, 2010 1:42 pm
Posts: 9
Post Re: [BETA] firmware version r3612 with YAMJ & Trial BT
Memesa

1/"On creating the jukebox"
==> You mean when we launch the ACR_YAMJ.cmd script? Or xhen the mini launchs it for the first time?

2/"to /usr/local/etc/scripts. Try to navigate to it using telnet"
==>I guess this test won"t work before the jukebox will be functional on the mini: navigating to /usr/local/etc/script (without "s" at the end of "sript") just shows:
/ # cd /usr/local/etc/script/
/usr/local/etc/script # ls -l
-rwxrwxr-x 1 root root 4028 Jan 5 2009 btpd
-rwxr-xr-x 1 root root 2997 Jan 1 2000 configsamba
-rwxr-xr-x 1 root root 4393 May 13 2009 samba
-rwxr-xr-x 1 root root 684 May 13 2009 samba-security
-rwxr-xr-x 1 root root 482 Nov 20 2008 unicgi
-rwxr-xr-x 1 root root 498 Sep 9 2008 unicgi-security
/usr/local/etc/script #

3/"file://../../../../../<movies path>"
==> Good to know, thanks.

4/Mounting a network share seems a great trick, will try it if I manage to get the jukebox running one day.

5/ext3
==> Nobody's perfect, I'm running windows, I don't think I can copy from a windows (XP & NTFS) to an ext3 usb stick. But I hope this could be done from a Windows machine (I shouldn't be alone!) and anyway I can write on any of the folders; I only have the "read only" error when chossing the index file from the mini.

Tried on FAT16 and FAT32

6/I'm not sure to undesrtand this:
--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
==>Z is where I mounted my video directory from the network shared folder (and it does create the jukebox in Z:\Jukebox). I can't mount on the same letter an USB stick?
Plus I don't understand what is "192.168.0.200: the mini?

One thing I've noticed, it that the mini (telneting it) wasn't able to read/access the files with spaces on the name (for example Au suivant.avi). I modified each files so they won't have any strange caracters (é-è-à...) and add an undescrore instead of the space (Au_suivant.avis in the example). Now no nissues to read any files using telnet, but regarding the jukebox no change, no luck.

Still, always, again, "read only"!!

Sorry my posts are quite long, but I try to provide as most details I can to be sure I don't miss something and show what I tested so far...

Thanks!

Rgds


Sat Apr 24, 2010 11:02 pm
Profile

Joined: Tue Dec 08, 2009 4:33 pm
Posts: 531
Location: Liverpool, UK
Post Re: [BETA] firmware version r3612 with YAMJ & Trial BT
Mallouck wrote:
Here is my problem.

I am using my POHDmini to play my media stored on a HDon my PC through Wi-Fi and I just cannot find a way to use the Jukebox / YAMJ function on the mini.

My disk (J: on my PC) contains the following structure:
root
|- clips
|- Movies
|- Musique
|- Spectacle
|- TVseries

My first idea was to create a jukebox for the Movies folder only. Using YAMJ I successfully created this and ended up with a Jukebox folder and an index.html file within my Movies folder. So far everything is working right, doesn't it ?

When I go on my POHD mini, I select the Jukebox feature, then Network, then Shortcut to arrive on my Disk root. The mini then says "no index.html found" or something like that. :D
Please note that the problem does not come from my Shortcut, same thing happens when browsing network...

I read somewhere that the index.html shall be at the root of the disk. So maybe that is the reason why it fails. At the same time, Dirk, you told me that it is possible to create several jukeboxes in the same disk but then how can the mini see them since they cannot all be in the root of my disk ?

Because I am stubborn, I tried a second approach : creating a jukebox for my disk while excluding the folders I don't want to index. I edited the ACR_Library.xml to this:

- <libraries>
- <library>
<path>J:\</path>
<playerpath>file://../</playerpath>
<exclude name="Jukebox/,sample,tmp/,temp/,RECYCLE.BIN/,/clips/,/Musique/,/Spectacle/,/Manga/" />
<description>A.C. Ryan</description>
<prebuf />
<scrapeLibrary>true</scrapeLibrary>
</library>
</libraries>

But when I run YAMJ with ACR_YAMJ.cmd (CALL moviejukebox ACR_Library.xml -o J:\) it still indexes my video clips in my clips folder (although I asked it to be excluded)...

What am I doing wrong ? I am clueless now. :shock:

Thanks for helping.

that should work to exclude those folders (or any folders that end in "clips") You will need to make sure that the case (capitalisation) is correct too.

If that doesn't work. create a file called ".mjbignore" in each of the directories that you don't want indexed and they will be excluded.

_________________
Yet Another Movie Jukebox Developer


Sun Apr 25, 2010 10:27 am
Profile WWW
Display posts from previous:  Sort by  
This topic is locked, you cannot edit posts or make further replies.   [ 139 posts ]  Go to page Previous  1 ... 8, 9, 10, 11, 12, 13, 14  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by: phpBB | Innitial forum Design by: STSoftware | Modified by: AC Ryan.