User(s) browsing this thread: 1 Guest(s)
|
[200] Script request... or advice on how i can automount NAS
|
|
05-30-2011, 05:10 PM
|
|||
|
|||
|
Script request... or advice on how i can automount NAS
Hey pplz,
I run an A200 with 2TB + Nas with 4TB Im running yamj however when i want to watch the NAS movies i need to browse to the nas and then go back to my movie screen in order to mount the NAS each time (as suggested by Omertron) Is there a script out there that will automount my NAS every time i boot so that i dont ahve to exit out of yamj to do this??? -PCH A200 + 2TB WDEARS internal - NTFS -4GB micro usb - NMT Apps -Netgear Stora 4TB (2 x 2TB WDEARX) -Panasonic 42" Plasma -YAMJ w/ Unique Black Glas.
|
|||
|
05-30-2011, 06:58 PM
(This post was last modified: 05-31-2011 12:05 PM by MikeHunter.)
|
|||
|
|||
|
RE: Script request... or advice on how i can automount NAS
Maybe there exists better scripts - this is the one i use:
mymount.cgi in root dir (don't forget chmod 777) Code: #!/bin/shto start direct from TV - a second file is needed (.html) > = > // < = < Code: <HTML>if you like to automount on each startup: add this line into the start_app.sh in root dir (only if nmt apps are installed) Code: ./mymount.cgi >/share/logfile.txtmaybe this line is needed instead Code: /opt/sybhttpd/localhost_drives/SATA_DISK/mymount.cgi >/share/logfile.txtC-200 @50'' Panasonic TH-50PX8EA (BR, 2,5''HDD 500GB, LAN) A-110 @42'' LG LED-TV (3,5''HDD 1TB, LAN) CH3SNAS 1TB+500GB, DNS-323 2x2TB, ACER WHS H-340 1TB !! VOTE FOR !! multiple switchable external subtitles (srt) |
|||
|
05-30-2011, 06:59 PM
|
|||
|
|||
|
RE: Script request... or advice on how i can automount NAS
most save the jukebox on their nas so they have to mount it in order to start yamj and it's ready to play everything. which skin are you using?
|
|||
|
05-31-2011, 08:34 AM
|
|||
|
|||
|
RE: Script request... or advice on how i can automount NAS
thanks mike. thats a bit over my head but ill ahve a read throuhg and try to make it work for me
@mike. Would this cause errors if my NAS was NOT turned on? @accident: Unique black glas. The reason yamj isnt on my NAS is that the nas is for all the 'old stuff' and shows i dont watch ever but want to keep incase i want to watch them/pplz come over and we watch a few episodes etc The nas is noisy and frankly i didnt think the idea of having a HDD NAS on full time when i prob will use it once a month is worth while. I also use it for other reasons therefore it turns on at 5pm and off at midnight each day which is when i re-run yamj each day (in that gap) Generally if we watching during the day i wont be using the nas but if i ever do i want it to be available to use (or the WIFE to use... as she wont get the whole 'mounting thing' and ill get calls at work!!!) -PCH A200 + 2TB WDEARS internal - NTFS -4GB micro usb - NMT Apps -Netgear Stora 4TB (2 x 2TB WDEARX) -Panasonic 42" Plasma -YAMJ w/ Unique Black Glas.
|
|||
|
05-31-2011, 12:03 PM
|
|||
|
|||
|
RE: Script request... or advice on how i can automount NAS
error won't be shown on the big screen - but should be viewable in the logfile.txt
C-200 @50'' Panasonic TH-50PX8EA (BR, 2,5''HDD 500GB, LAN) A-110 @42'' LG LED-TV (3,5''HDD 1TB, LAN) CH3SNAS 1TB+500GB, DNS-323 2x2TB, ACER WHS H-340 1TB !! VOTE FOR !! multiple switchable external subtitles (srt) |
|||
|
05-31-2011, 12:11 PM
(This post was last modified: 05-31-2011 12:15 PM by accident.)
|
|||
|
|||
|
RE: Script request... or advice on how i can automount NAS
reading over what your trying to do, your going to have issues because your nas is not always on. It's going to unmount when that happens..
I'm not sure if unique has this feature but other skins do: 1: Setup a user/exit button to exit to the pch menu with the nas url. This SHOULD cause it to mount. Then when you need it mounted, just press your special button to mount, then back to return to yamj where you left off. 2: There is some threads around here using etherwake to wake up a nas. If you nas supports wake on lan you could do the same button but have it connect to a little php script. That script could call etherwake to wake up your nas, hidden to you mount it, and then redirect you back into yamj (or give you a success/fail message). 3: use a skin/jukebox that supports mount on demand. 4: syabas keeps saying multimounts is coming but nobody knows how they will work.. it's possible in a few weeks you'll not need a special solution. |
|||
|
09-03-2011, 03:05 PM
|
|||
|
|||
|
RE: Script request: startup script
Hi guys,
I often read about a startup script start_app.sh or startscript.sh but somehow, this doesn't seem to run on my PCM A-210. I tried different folders like root (doesn't survive a reboot), /nmt and /share and root of connected USB drive. Can somebody give me the precise filename & folder where to place the startup script? Thanx! Eylard |
|||
|
« Next Oldest | Next Newest »
|

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







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


