User(s) browsing this thread: 1 Guest(s)
Installing YAMJ (on QNAP)
|
|
05-28-2012, 11:18 AM
(This post was last modified: 06-01-2012 06:44 AM by Omertron.)
|
|||
|
|||
|
Installing YAMJ (on QNAP)
Hi everyone
I have spent over a week with the yamj.qpkg and still don't fully understand it as I cannot seem to get it working. Seems to install ok, but nothing ekse works properly after that. I have asked for help on both this forum + the qnap forum but no joy. My question is, could someone give me a step by step (dummies) guide how you manually install and setup the official release on a qnap (ts-112) machine. I have read countless guides but my head is spinning as I'm unsure which versions to use, where/how to install and what changes to make. I really have done a lot of reading and tried may times myself but I seem to be confusing myself even more in doing so. Have an a-300 Really grateful to anyone that can help |
|||
|
05-28-2012, 11:35 AM
|
|||
|
|||
|
RE: Installing YAMJ
I don't have a qnap, or the package that you mentioned, so I can't help with specifics, although I do understand your pain as I had to do the same with my Synology, so I can offer you generic help for a headless linux machine.
Firstly you have to have java installed and know where it is installed (as you will need to modify the moviejukebox.sh file). Secondly, installing YAMJ is as simple as getting the zip file and unpacking it to a directory. Code: wget http://moviejukebox.googlecode.com/files/moviejukebox_v2.6.1.zipOnce that has unpacked you can move the directory wherever makes sense of your machine, personally, I'd make it accessible to other machines on your network so you can update it from your main PC. If you can run "java -version" from the command line and have it return a result, try just running the "moviejukebox.sh" file and see if you get the help message. Code: ./moviejukebox.shif not, edit the file and change the path to the java command. Your goal is to get the YAMJ help text up because that means everything is roughly working as expected. Once you've done that, configuring YAMJ is easy ;-) |
|||
|
05-28-2012, 12:40 PM
(This post was last modified: 05-28-2012 12:45 PM by shengabpy.)
|
|||
|
|||
|
RE: Installing YAMJ
hi Omertron,
Using WinSCP I created a folder on the NAS and copied all the unzipped contents into /share/HDA_DATA/.qpkg/Yamj I then ran/executed "/usr/local/jre/bin/java -version" which returned /share/HDA_DATA/.qpkg/Yamj$ /usr/local/jre/bin/java -version java version "1.7.0" Java SE Runtime Environment for Embedded (build 1.7.0-b147, headless) Java HotSpot Client VM (build 21.0-b17, mixed mode) but it also gave me this error command /usr/local/jre/bin/java-version failed with return code 0 and error message java version "1.70" |
|||
|
05-28-2012, 12:58 PM
|
|||
|
|||
|
RE: Installing YAMJ
Well, it means that java is installed and working
|
|||
|
05-28-2012, 01:21 PM
|
|||
|
|||
|
RE: Installing YAMJ
Omertron, you cant believe what s breath of fresh air you are to me right now.
Running ./moviejukebox.sh returns /share/HDA_DATA/.qpkg/Yamj$ ./moviejukebox.sh -sh: line 61: ./moviejukebox.sh: No such file or directory Is this to do with having to edit the command path ? /usr/local/jre/bin/java |
|||
|
05-28-2012, 01:36 PM
|
|||
|
|||
|
RE: Installing YAMJ
No, it means one of two things; you are not in the same directory as "moviejukebox.sh" file or that file is not executable.
Code: ls moviejukebox.shCode: chmod 755 moviejukebox.sh |
|||
|
05-28-2012, 01:49 PM
|
|||
|
|||
|
RE: Installing YAMJ
Omertron, got it.
It was the permissions. Underneath the following, got all the help commands Revision: r3087 Build Date: 2012-05-20 17:01:02 Java Version: 1.7.0 Processing started at Mon May 28 12:48:16 GMT 2012 Using properties file ./properties/moviejukebox-default.properties Using properties file ./moviejukebox.properties Warning (non-fatal): User properties file './moviejukebox.properties', not found. Using properties file ./skins/default/skin.properties Using properties file ./skins/default/skin-user.properties Warning (non-fatal): User properties file './skins/default/skin-user.properties', not found. Using properties file ./skins/default/overlay/overlay.properties Using properties file ./properties/apikeys.properties Skin Name : Default Skin Version: 2.7.0 (21-03-2012) This is the default skin provided with YAMJ No library root found! Usage: Generates an HTML library for your movies library. MovieJukebox libraryRoot [-o jukeboxRoot] |
|||
|
05-28-2012, 03:08 PM
|
|||
|
|||
|
RE: Installing YAMJ
Ok, so now you just need to create your library.xml file and possibly a personal command file (so it's not overwritten when you update YAMJ).
|
|||
1 user says Thank You to Omertron for this post |
|
05-28-2012, 03:57 PM
|
|||
|
|||
RE: Installing YAMJ
(05-28-2012 03:08 PM)Omertron Wrote: Ok, so now you just need to create your library.xml file and possibly a personal command file (so it's not overwritten when you update YAMJ). Omertron, thanks for your patience I created a library.xml in the root of the Yamj folder and : <libraries> <library> <path>/share/Test/</path> <playerpath>/file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/Test/</playerpath> <exclude name="sample,tmp/,temp/,RECYCLER/,RECYCLE.BIN/"/> <description></description> <prebuf></prebuf> <scrapeLibrary>true</scrapeLibrary> </library> </libraries> I also created a run_yamj.sh and : ./MovieJukebox.sh library.xml -o /output/path Is this correct ? |
|||
|
05-28-2012, 04:15 PM
|
|||
|
|||
|
RE: Installing YAMJ
Looks good. You probably want to "-o /share/Test"
Just check that when you look at "/share/Test" you get the same sub-path as when you browse to the "Test" share on the PCH. By that I mean, that whatever files are in "/share/Test" you see the same files and folders in the "Test" share on the PCH. |
|||
|
05-28-2012, 04:48 PM
|
|||
|
|||
RE: Installing YAMJ
(05-28-2012 04:15 PM)Omertron Wrote: Looks good. You probably want to "-o /share/Test" getting closer :-) changed to -o /share/Test Ran ./run_yamj.sh It created both an index.htm file and a test/Jukebox folder in /Test on the NAS. Using the YAMJ app on the PCH, I add Jukebox, go to the Test share < enter>, nothing happens, I can see the two movie folders plus the Jukebox folder, scroll down to Jukebox < enter> and still nothing ! This is what I got running run_yamj.sh Code: /share/HDA_DATA/.qpkg/Yamj$ ./run_yamj.sh |
|||
|
05-28-2012, 05:54 PM
|
|||
|
|||
|
RE: Installing YAMJ
Ok, so you're on an A300, so you need to install the eversion skin system.
Once you've done that (and re-run YAMJ) or whilst you are doing it, you need to download the YAMJ app from the apps market. Once the YAMJ run has finished, open the App and point it to the Test jukebox and it should start up |
|||
|
05-28-2012, 10:05 PM
|
|||
|
|||
RE: Installing YAMJ
(05-28-2012 04:15 PM)Omertron Wrote: Looks good. You probably want to "-o /share/Test"Hi Omertron, Finally got it working and want to thank you very much for that. its a relief after one week of .... frustration. If i want to add multiple directories to be scanned, do I simply edit the library.xml file as such ..... Code: <libraries>How does that then work with the run_yamj.sh ? Do I add another line just with the /series path like this ? Code: ./MovieJukebox.sh library.xml -o /share/Multimedia/Movie/Thanks once again. |
|||
|
05-29-2012, 07:08 AM
|
|||
|
|||
|
RE: Installing YAMJ
you want
Code: <libraries> |
|||
|
05-29-2012, 08:58 AM
|
|||
|
|||
RE: Installing YAMJ
(05-29-2012 07:08 AM)Omertron Wrote: you want Running a scan as we speak ![]() Does running the scan include the movie files again or does it skip and just concentrate on the new series files for example ? Is it possible for future reference that when a new movie or series file is copied to the folder that it scans and updates automatically ? From what I read, not every skin is compatible with the A-300 and must be flash based. If I find one I like, is it a case of simply copying to the skin folder and editing the path as I did with eversion or am I stuck with that skin ? Last but not least, how easy is it to compile and install mediainfo ? From what I have also read, it must be the CLI version but I dont have a clue which one I need to use for a headless linux machine. You have been so helpful its unbelievable |
|||
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads... | |||||
| Thread: | Author | Replies: | Views: | Last Post | |
| Banner help - YAMJ with eversion | rave777 | 4 | 831 |
Yesterday 08:14 AM Last Post: Omertron |
|
| [YAMJ] YAMJ does not create scan files | Jascha | 16 | 372 |
05-18-2013 05:01 PM Last Post: jluc2808 |
|
| How to Setup Two YAMJ Jukeboxes? | Cappy1 | 17 | 392 |
05-16-2013 08:38 PM Last Post: Cappy1 |
|
| YAMJ-EVERSION-A300 | Arry | 12 | 385 |
05-15-2013 12:05 PM Last Post: Omertron |
|
| YAMJ/ Eversion help | flombs | 3 | 280 |
05-11-2013 11:39 AM Last Post: flombs |
|
| Auto load YAMJ (using Eversion skin) on PCH A-300 | Woodgnome | 59 | 12,281 |
05-05-2013 02:32 PM Last Post: BlueWater84 |
|
| [YAMJ] JAVA 1.7 update 21 makes YAMJ crash! | Specter | 9 | 1,077 |
04-28-2013 04:52 PM Last Post: Specter |
|
| YAMJ 2.9 r3675 problem with java | Hewon | 25 | 1,527 |
04-28-2013 04:15 PM Last Post: Omertron |
|
| YAMJ no longer works at all - USB external drives | Bumder | 16 | 1,399 |
04-26-2013 08:46 PM Last Post: Aquasport |
|
| [YAMJ] Yamj java problem ? | lepermessiah | 3 | 388 |
04-24-2013 09:15 AM Last Post: lepermessiah |
|

Twitter
Facebook
NMT Wiki
Search
Member List
Help
A-400 [13 May 2013]

Installing YAMJ (on QNAP)





![[+]](images/collapse_collapsed.gif)


![[Image: watched-fanart.jpg]](http://trakt.tv/user/Omertron/widget/watched-fanart.jpg)

