grither Posted October 22, 2012 Share Posted October 22, 2012 Hello all! I have YAMJ setup on my server and its running well up to now, but I need advice As I’ve added more movies, and more drives to my server, I think that its causing the jukebox to be spread across a number of drives which is making my popcorn sometimes time out on launch. The reason I think this is happening is that the jukebox has to wake up several drives, and this takes a couple of minutes… currently my yamj and jukebox are installed in my movies share however I’d like it to move to my cache drive. I have an ‘apps’ share in my cache drive where I have sab and sickbeard currently installed. Can anyone advise how to move my existing setup to my cache drive? Should I do full uninstall and reinstall? Can I just move the folders out of my movies share, and paste into the cache drive? Not sure how to do this, all advice is welcome! Quote Link to comment
theone Posted October 22, 2012 Share Posted October 22, 2012 Hello all! I have YAMJ setup on my server and its running well up to now, but I need advice As I’ve added more movies, and more drives to my server, I think that its causing the jukebox to be spread across a number of drives which is making my popcorn sometimes time out on launch. The reason I think this is happening is that the jukebox has to wake up several drives, and this takes a couple of minutes… currently my yamj and jukebox are installed in my movies share however I’d like it to move to my cache drive. I have an ‘apps’ share in my cache drive where I have sab and sickbeard currently installed. Can anyone advise how to move my existing setup to my cache drive? Should I do full uninstall and reinstall? Can I just move the folders out of my movies share, and paste into the cache drive? Not sure how to do this, all advice is welcome! I have my YAMJ setup to run from my cache drive (located under an "unRAID_Apps" folder - same as your "apps"). Make sure this is not moved by the mover script by disabling the mover are setting the share as cache only. You can simply move over you YAMJ folder but make sure any refernces/pointers/links to it are also moved to the new location, for example: YAMJ.sh and crontab if you are running it using cron. Quote Link to comment
grither Posted October 22, 2012 Share Posted October 22, 2012 Thanks for the quick reply! I think that the mover won’t be a problem as I’ve got the apps share set to not be moved. There’s a couple of other things I’m unsure of; 1. In the past when I’ve tried to move or delete the jukebox folder, I get a permission denied error. I think its because the files within are created by yamj, not by ‘me’. Is there a way around this? is there a way to change the permissions on a folder in a batch way? 2. In terms of where to point yamj to the jukebox I’m going to move I want it like this: Apps <- share Yamj <-folder within share, at same level as sab folder, sickbeard folder, etc Index.html Jukebox How can I set the paths to refer to a folder within a share? I’m not sure exactly how to do this, as currently my jukebox is in the root of my media share, so everything just points to ‘media’ but now I want it to point to Apps/Yamj. Sorry for the newb questions! Quote Link to comment
theone Posted October 22, 2012 Share Posted October 22, 2012 You can post your YAMJ.sh and Library.xml file that you are using. Quote Link to comment
grither Posted October 22, 2012 Share Posted October 22, 2012 hi there, here's my current files, unaltered. i'd like to alter path to move to the yamj folder which is in the share named apps had to add .txt to end of files in order to attach PS when i try to copy my jukebox, i get error 'you need permission from the computer's administrator to make changes to this folder' My_Library.xml.txt My_YAMJ.sh.txt Quote Link to comment
grither Posted October 23, 2012 Share Posted October 23, 2012 hi there, here's my current files, unaltered. i'd like to alter path to move to the yamj folder which is in the share named apps had to add .txt to end of files in order to attach PS when i try to copy my jukebox, i get error 'you need permission from the computer's administrator to make changes to this folder' hate to be a pain but anyone able to offer advice? i can't move my jukebox because of the permission errors, plus i'm not sure how to write my paths in order to point to a folder within a share... i guess i could always just point to the root of the share but that's not really where i want my jukebox Quote Link to comment
theone Posted October 23, 2012 Share Posted October 23, 2012 What skin are you running on your YAMJ? Only eversion (flash skin for C200/A200 and up) can have the jukebox on a different share than the media itself - unless you define a simlink to it from the share folder. So if you want to have the jukebox on your cache drive and media in a user share you will have to use eversion which has automatic mounting before playing a movie (POPCORN has a limitation of only one share mounted at a specific time). Please specify again: Where your media is? Where you want YAMJ application installed? Where you want your jukebox output folder? What POPCORNHOUR you are using? What skin you are using under YAMJ - HTML/FLASH (eversion)? What share do you want/have defined on your PCH device? Quote Link to comment
grither Posted October 23, 2012 Share Posted October 23, 2012 Okay thanks. here's my specifics Media is under share called Media (two subfolders, Movies, and TV) Yamj application has been moved to apps/YAMJ Jukebox folder in apps/Jukebox Popcorn hour is A100 skin- not currently using eversion, just using the aeon skin share on popcorn hour is apps should mention that i went ahead and moved yamj, jukebox, and index.htm all to the apps share... also added new share on the pch. of course haven't moved media, still under media i can access the index screen all well and good, but can't play any files... probably due to the mounting problem you mentioned. i could undo everything without too much trouble, but then i'm back to my problem of having a jukebox across a bunch of disks and taking too long to spin up so is a simlink an option? or anything else? or just move everything back to my media share? Quote Link to comment
theone Posted October 24, 2012 Share Posted October 24, 2012 Okay thanks. here's my specifics Media is under share called Media (two subfolders, Movies, and TV) Yamj application has been moved to apps/YAMJ Jukebox folder in apps/Jukebox Popcorn hour is A100 skin- not currently using eversion, just using the aeon skin share on popcorn hour is apps should mention that i went ahead and moved yamj, jukebox, and index.htm all to the apps share... also added new share on the pch. of course haven't moved media, still under media i can access the index screen all well and good, but can't play any files... probably due to the mounting problem you mentioned. i could undo everything without too much trouble, but then i'm back to my problem of having a jukebox across a bunch of disks and taking too long to spin up so is a simlink an option? or anything else? or just move everything back to my media share? I have a C200 but also a A110. For the A110 I copied the "index.html" to the Media folder and created a simlink to the Jukebox folder on the cache drive (like you have yours). The share that should be defined in the PCH is to the media share and not the cache folder "apps". You can probably also create a simlink directly to the "index.html" file I you don't want to copy it over - it may work (may also need the simplink to jukebox) So once the PCH is mounted to the media share it will see and load the index file and have a simlink to the rest of the jukebox. Quote Link to comment
grither Posted October 24, 2012 Share Posted October 24, 2012 Ok cool would you be able to help me with how ti crete the simlink? Quote Link to comment
theone Posted October 24, 2012 Share Posted October 24, 2012 Ok cool would you be able to help me with how ti crete the simlink? Try this: ln -s /mnt/cache/apps/YAMJ /mnt/user/Media Note that simlinks do not work with NFS shares on PCH so you must use SMB shares. Quote Link to comment
grither Posted October 25, 2012 Share Posted October 25, 2012 okay its been a bit of a long night with quite a bit of drama, but think i got things working!!! the script as written above didn't seem to work for me, but i may have misunderstood. instead, i made a simlink for both the index file, and the jukebox folder. this basically created the index and jukebox back into the Media share (where i had them originally however this time i think they are simlinked to the new install which is in my apps share) so with those two simlinks, i can access the Media share from the pch, and the menu comes up right away, and things play fine!!! thanks for your help!!! Quote Link to comment
grither Posted October 26, 2012 Share Posted October 26, 2012 edit: just when i thought i was out, they pulled me back in!!! okay have a bit of a problem... i guess i had a cron job running daily back when yamj was installed in my media share... now i started a new cron job to run on my apps share... but forgot to 'kill' the original job what seems to be happening is that both jobs are running and both are putting files and indexes in the same spot in my media share! one because the was the original setup, and one because its pointing to apps BUT its simlinked to a jukebox and index in media with the exact same location seems to be causing some problems... i've been using crontab -l to list the cron jobs, and i see both running, but i can't tell how to kill the unwanted one? any help? Quote Link to comment
JP Posted October 31, 2012 Share Posted October 31, 2012 I've tried multiple times over many days to download the YAMJ_UNRAID file that is linked at the start of this post, but it consistently fails and I can't get to the files. Does anyone know why and are you seeing similar behavior? Quote Link to comment
theone Posted October 31, 2012 Share Posted October 31, 2012 There is nothing special about this YAMJ version. You can use the YAMJ you where using on any other PC. Just make sure you get mediainfo Linux version Quote Link to comment
beckp Posted October 31, 2012 Share Posted October 31, 2012 JP Try to download the file from the location in this reply http://lime-technology.com/forum/index.php?topic=6557.msg182514#msg182514 PB Quote Link to comment
JP Posted November 9, 2012 Share Posted November 9, 2012 Thanks. I was able to retrieve the file. I followed the instructions to the letter, but for whatever reason it did not work. The PCH displays YAMJ, but only part of the metadata and cover art is visible. I'll take a screenshot when I get home to offer more information. Quote Link to comment
hunter69 Posted November 16, 2012 Share Posted November 16, 2012 I currently have yamj installed and working (quite nicely). I am running unraid 4.7. I am contemplating upgrading to unraid 5 rc8. I am wondering how this will affect yamj? The web server I am using is lighthttp installed using unmenu. Please share your experiences. Quote Link to comment
odd1 Posted November 20, 2012 Share Posted November 20, 2012 So here is my dilema: I have yamj running on my unraid box. I have about half a dozen popcorn hours throughout the house. Every time someone wants to watch something, if the drives are not spinning, the popcorn hour times out waiting for them to spin up. I either have to manually spin up the drives first or reset the popcorn hour. Not very family (or wife) friendly. My idea to solve this is to install a small 40gb ssd drive to host my jukebox folder and index file. Is this doable and how would I go about setting it up in unraid? Thanks. Just looking for someone to point me in the right direction... Sent from my Nexus 7 using Tapatalk 2 Quote Link to comment
theone Posted November 20, 2012 Share Posted November 20, 2012 So here is my dilema: I have yamj running on my unraid box. I have about half a dozen popcorn hours throughout the house. Every time someone wants to watch something, if the drives are not spinning, the popcorn hour times out waiting for them to spin up. I either have to manually spin up the drives first or reset the popcorn hour. Not very family (or wife) friendly. My idea to solve this is to install a small 40gb ssd drive to host my jukebox folder and index file. Is this doable and how would I go about setting it up in unraid? Thanks. Just looking for someone to point me in the right direction... Sent from my Nexus 7 using Tapatalk 2 What unRAID version are you using? What PCHs do you have? Are you using Eversion (Flash jukebox)? You can use NFS instead of SMB to solve the timeout problem. You can place index in internal drive only if you are using Eversion (Flash jukebox) because PCH can only mount I share at a time. There are workarounds for this for HTML jukebox but needs some hacking. Quote Link to comment
hunter69 Posted November 26, 2012 Share Posted November 26, 2012 I am attempting to change my unraid server from a smb share setup to an nfs. I am attempting to change the My_library.xml to work with this setup. I cannot seem to get it to work. I have the nfs share setup and added to the PCH. Here is My_library.xml <libraries> <library> <path>/mnt/user/Movies</path> <playerpath>nfs://192.168.2.97/Movies</playerpath> <exclude name="YAMJ/, Jukebox/, nmj_database/,"/> <description></description> <prebuf></prebuf> <scrapeLibrary>true</scrapeLibrary> </library> </libraries> Can you help me make this work? Thanks Bill Quote Link to comment
maxse Posted November 27, 2012 Share Posted November 27, 2012 hey guys, looking to install yamj tonight with 2 shares Shows, and Movies... But I see that the initial files are from 2010, do they include the latest version of YAMJ? I'm looking to use it with Eversion... If not, are there any step by step guides for newbies to get this to work? Quote Link to comment
theone Posted November 27, 2012 Share Posted November 27, 2012 hey guys, looking to install yamj tonight with 2 shares Shows, and Movies... But I see that the initial files are from 2010, do they include the latest version of YAMJ? I'm looking to use it with Eversion... If not, are there any step by step guides for newbies to get this to work? Do you have any previous experience with YAMJ and Eversion? Quote Link to comment
maxse Posted November 27, 2012 Share Posted November 27, 2012 No, I don't. Wow I just read the first page of this thread and it is a bit confusing, seems like it assumes that we have some knowledge of how YAMj works.. I don't even know what a "go" script is... Also, I have 2 shares that I want to be added into one juke jukebox "Movies" and "Shows" On the NMT forum they said this was possible, I would just need to have it scan two locations... But the guide in this thread doesn't really say anything how to configure YAMJ from scratch Quote Link to comment
theone Posted November 27, 2012 Share Posted November 27, 2012 Once you know how to install YAMJ (and EVERSION as a skin) then getting it to run on unRAID is as simple as running the linux "MovieJukebox.sh" fscript/batch file instead of the Windows "MovieJukebox.bat". Start here: http://code.google.com/p/moviejukebox/wiki/StepByStepInstall and here: https://github.com/accident12123/eversion/wiki BTW, what streamer do you have? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.