[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Thread Closed 
RAM v0.1 Remote Application Manager: more
07-06-2010, 10:01 AM
Post: #1
RAM v0.1 Remote Application Manager: more
Highfeeling published an excellent application that allows you to simply stop/start any listed application, available here:
http://www.networkedmediatank.com/showth...?tid=36998

I have been using it from time, but I still have constraints while reading some huge 1080p in my HDX: black screen, and sometimes my HDX get totally frozen.
If you have sometimes such issues, I modified a little the script to ensure
1. you can run when you want your last 1080p
2. you don’t have to reboot it if too many processes has been killed

Here are the updates:

On the AppManager.cgi file, I removed (or just add a # in first char) the following:

Code:
•    Daemon_stop: those daemon can be usefull and I don’t think it is consuming a lot
#killall nmtdaemon
#killall reset_nmt

•    Kill_threads        crond is not a performance bottleneck unless it run big scripts
# killall crond        

•    Start_all
#Ftp_start
#transmission_start
#upnp_start
#MPD_start

I modified the /share/start_app.sh boot script to be sure it stops when rebooting the HDX:
Just add at the end of the file:

Code:
## Add-ons sebacool: Begin
#/share/Apps/TooKeep/Scripts/openvpn.sh start   :I run it with my crontab
# crontab update
/share/Apps/TooKeep/BootScripts/S99rootsebacool
# For AppManager:
ln -s /share/Apps/AppManager /opt/sybhttpd/default/AppManager
# stopping consuming apps
# trans
/share/Apps/AppInit/appinit.cgi stop transmission
#openvpn
nohup /share/Apps/TooKeep/Scripts/openvpn.sh stop &
#UPNP
/mnt/syb8634/server/ms stop
killall upnpapp
# mpd
export MPD_HOST=192.168.1.12
export MPD_PORT=6600
sh /share/Apps/mpd/daemon.sh stop
#samba
/mnt/syb8634/etc/smb.sh stop
## Add-ons sebacool: End

I created a /share/Apps/TooKeep/BootScripts/S99rootsebacool script for startup:

Code:
#!/bin/sh
LOG=/share/Apps/TooKeep/BootScripts/logS99rootsco
PATH1=/share/Apps/TooKeep/BootScripts
Cron=/share/Apps/TooKeep/BootScripts/Cron_temp
# ll Alias for root (sh so .profile)
echo "alias ll=\"ls -al\"" >> /root/.profile
# Crontab update
crontab -l >  $Cron
grep "/share/Apps/TooKeep/Scripts/openvpn.sh" $Cron >/dev/null 2>&1
[ "$?" = "0" ] || echo "0 8-14/2 * * 1-5 /share/Apps/TooKeep/Scripts/openvpn.sh start | tee -a /share/Apps/openvpn/log/openvpn_cron.log" >> $Cron
grep "/share/Apps/TooKeep/Scripts/check_mono.sh" $Cron >/dev/null 2>&1
[ "$?" = "0" ] || echo "0 8-18/2 * * 1-5 /share/Apps/TooKeep/Scripts/check_mono.sh" >> $Cron
crontab $Cron

You can change which applications are started on boot, it seems transmission can run in parallel to a huge 1080p if there is only 1 download running on.
Anyway I haven't suffer any issue running a 1080p since I set up these features.
When I want to start transmission, I either use my HTC Leo in wifi to run AppManager, or I simply use my PC.
Find all posts by this user
07-08-2010, 05:43 AM
Post: #2
RE: RAM v0.1 Remote Application Manager: more
(07-06-2010 10:01 AM)sebacool Wrote:  Highfeeling published an excellent application that allows you to simply stop/start any listed application, available here:
http://www.networkedmediatank.com/showth...?tid=36998

I have been using it from time, but I still have constraints while reading some huge 1080p in my HDX: black screen, and sometimes my HDX get totally frozen.
If you have sometimes such issues, I modified a little the script to ensure
1. you can run when you want your last 1080p
2. you don’t have to reboot it if too many processes has been killed

Here are the updates:

On the AppManager.cgi file, I removed (or just add a # in first char) the following:

Code:
•    Daemon_stop: those daemon can be usefull and I don’t think it is consuming a lot
#killall nmtdaemon
#killall reset_nmt

•    Kill_threads        crond is not a performance bottleneck unless it run big scripts
# killall crond        

•    Start_all
#Ftp_start
#transmission_start
#upnp_start
#MPD_start

I modified the /share/start_app.sh boot script to be sure it stops when rebooting the HDX:
Just add at the end of the file:

Code:
## Add-ons sebacool: Begin
#/share/Apps/TooKeep/Scripts/openvpn.sh start   :I run it with my crontab
# crontab update
/share/Apps/TooKeep/BootScripts/S99rootsebacool
# For AppManager:
ln -s /share/Apps/AppManager /opt/sybhttpd/default/AppManager
# stopping consuming apps
# trans
/share/Apps/AppInit/appinit.cgi stop transmission
#openvpn
nohup /share/Apps/TooKeep/Scripts/openvpn.sh stop &
#UPNP
/mnt/syb8634/server/ms stop
killall upnpapp
# mpd
export MPD_HOST=192.168.1.12
export MPD_PORT=6600
sh /share/Apps/mpd/daemon.sh stop
#samba
/mnt/syb8634/etc/smb.sh stop
## Add-ons sebacool: End

I created a /share/Apps/TooKeep/BootScripts/S99rootsebacool script for startup:

Code:
#!/bin/sh
LOG=/share/Apps/TooKeep/BootScripts/logS99rootsco
PATH1=/share/Apps/TooKeep/BootScripts
Cron=/share/Apps/TooKeep/BootScripts/Cron_temp
# ll Alias for root (sh so .profile)
echo "alias ll=\"ls -al\"" >> /root/.profile
# Crontab update
crontab -l >  $Cron
grep "/share/Apps/TooKeep/Scripts/openvpn.sh" $Cron >/dev/null 2>&1
[ "$?" = "0" ] || echo "0 8-14/2 * * 1-5 /share/Apps/TooKeep/Scripts/openvpn.sh start | tee -a /share/Apps/openvpn/log/openvpn_cron.log" >> $Cron
grep "/share/Apps/TooKeep/Scripts/check_mono.sh" $Cron >/dev/null 2>&1
[ "$?" = "0" ] || echo "0 8-18/2 * * 1-5 /share/Apps/TooKeep/Scripts/check_mono.sh" >> $Cron
crontab $Cron

You can change which applications are started on boot, it seems transmission can run in parallel to a huge 1080p if there is only 1 download running on.
Anyway I haven't suffer any issue running a 1080p since I set up these features.
When I want to start transmission, I either use my HTC Leo in wifi to run AppManager, or I simply use my PC.

Is there any possiblity to include this App into CSI?
Find all posts by this user
03-08-2011, 12:13 PM
Post: #3
RE: RAM v0.1 Remote Application Manager: more
Hi,

Apply is neither in CSI, nor on http://88.191.99.15/AppManager.zip ...

I'd like to test it, maybe it could help me to fix some issues. Could you or higfeeling provide it to me (and to the community...)

Thanks
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Pure Web Remote Control or Listening Audio with switched off TV pompon 165 66,553 03-27-2013 08:05 PM
Last Post: luciano63
  NMT remote iPhone native app. racermonoid 390 125,743 03-06-2013 08:01 PM
Last Post: mindnever
  Remote shutdown Cadish 11 4,049 11-03-2011 01:13 PM
Last Post: alamakota
  X-100 Remote Codes Banjobeni 0 1,328 08-04-2011 10:13 PM
Last Post: Banjobeni
  is there an android remote control for the A110? jadeddog 2 2,739 06-04-2011 11:27 PM
Last Post: dw_bobby
  Why can't I install an application into a A-100? applepig 1 1,351 02-02-2011 06:40 PM
Last Post: Scorpys
  CrashPlan backup application? BuzzWork 1 1,381 01-31-2011 05:05 PM
Last Post: axxcat
  NFO Manager v1.0.4 Beta Released Nov 11th - With Dynamic JukeBox vaidyasr 76 31,418 01-12-2011 02:12 PM
Last Post: mfsav2
  Setting up Popcorn Hour to Logitec Harmony Remote collingwood 5 9,447 12-30-2010 08:54 AM
Last Post: halfelite
  music player daemon MPD & PCH Remote control beatnut88 19 9,957 12-22-2010 12:31 AM
Last Post: dooly

Forum Jump: